author | Sebastian Harl <sh@tokkee.org> | |
Tue, 23 Oct 2012 11:34:56 +0000 (13:34 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 23 Oct 2012 11:34:56 +0000 (13:34 +0200) | ||
commit | 268b0952f08832fe7539b767abeaaafe8f57dec0 | |
tree | 13e5ab407abe4ce762d91a4db42628bd7e54a3b6 | tree | snapshot |
parent | 355393a5307e37b13fc70ef84d651761d236c398 | commit | diff |
postrr.sql: Added PostRR_update() functions.
These functions may be used to insert or update a value in an archive. The
functions expect a timestamp and double precision value as arguments to
describe the new values. The postrr.rrarchives will then be used to look up
the actual place where to store the values (there may be multiple ones).
There are currently two overloaded versions of this function. One accepts the
name of an archive and the other expects the definition of an archive as
arguments. The latter is meant to be used for internal purposes while the
other is meant to be used by the user. This is not enforced in any way, though
(and I don't see any reason to do so).
These functions may be used to insert or update a value in an archive. The
functions expect a timestamp and double precision value as arguments to
describe the new values. The postrr.rrarchives will then be used to look up
the actual place where to store the values (there may be multiple ones).
There are currently two overloaded versions of this function. One accepts the
name of an archive and the other expects the definition of an archive as
arguments. The latter is meant to be used for internal purposes while the
other is meant to be used by the user. This is not enforced in any way, though
(and I don't see any reason to do so).
src/postrr.sql.in | diff | blob | history |