postrr.sql: Added 'postrr.rrarchives' table.
This table will be used to store "Round Robin Archive" definitions. Each
archive has a name which may be used to identify the archive and a description
of the table(s) that store the values of the archive. Each entry specifies the
table as well as the RRTimeslice and CData columns to be used for storing the
values.
This table will be used to store "Round Robin Archive" definitions. Each
archive has a name which may be used to identify the archive and a description
of the table(s) that store the values of the archive. Each entry specifies the
table as well as the RRTimeslice and CData columns to be used for storing the
values.
pgtest.sh: Added documentation for 'restart'.
pgtest.sh: Added 'restart' command.
This will restart the PostgreSQL server in the background if it was running
previously.
This will restart the PostgreSQL server in the background if it was running
previously.
CData: Check both arguments of CData_update() for NULL.
CData: Declared CData_update() as not strict.
Any or all arguments may in fact be NULL. This happens, e.g., when updating
single CData columns one by one. In this case, use the other argument as
return value, i.e. leaving it unmodified.
Any or all arguments may in fact be NULL. This happens, e.g., when updating
single CData columns one by one. In this case, use the other argument as
return value, i.e. leaving it unmodified.
CData: Include CF function in output string.
This makes all information available that are required to regenerate the same
CData object from the stringified version.
This makes all information available that are required to regenerate the same
CData object from the stringified version.
pgtest.sh: Exit with status zero when using the 'help' command.
pgtest.sh: Improved help/usage output.
pgtest.sh: Changed PostgreSQL port to 2345.
This is somewhat related to the default port (5432) but we can probably be
fairly sure this is not used otherwise.
This is somewhat related to the default port (5432) but we can probably be
fairly sure this is not used otherwise.
pgtest.sh: 'setup': Create database for the current user.
… rather than using a hard-coded value.
… rather than using a hard-coded value.
postrr_comments.sql: Added comment for CData type.
postrr.7: Added a short description for the CData data type.
configure: Added a few "checking ..." messages for convenience.
configure.ac: Replaced place-holder help text.
autogen.sh: Improved "help" output.
CData: added a cast to double precision.
The cast may only be done explicitly.
The cast may only be done explicitly.
CData: Added cdata_update().
This function may be used to update an existing data set by "merging" another
data set according to the consolidation function.
This function may be used to update an existing data set by "merging" another
data set according to the consolidation function.
RRTimeslice: added a cast to timestamp.
RRTimeslice: Changed all comparison operators to compare SEQ only.
Else, a b-tree won't work (d'oh!).
Else, a b-tree won't work (d'oh!).
rrtimeslice: Added hash function and operator class.
pgtest.sh: Pass additional arguments to client and start.
Also, check for any additional arguments in all other commands.
Also, check for any additional arguments in all other commands.
CData: Added casts from integer and numeric to cdata.
Both casts are marked 'AS ASSIGNMENT'.
Both casts are marked 'AS ASSIGNMENT'.
CData: Use float8 rather than double.
This makes the storage size explicit.
This makes the storage size explicit.
uninstall_postrr.sql: Drop CData type and all related functions, casts, too.
CData: Added support for a type modifier.
The type modifier may be any of 'MIN', 'AVG', 'MAX', specifying the
consolidation function to be used.
The type modifier may be any of 'MIN', 'AVG', 'MAX', specifying the
consolidation function to be used.
CData: fixed typo: RRTIMESLICE → CDATA.
Since the affected macro basically did the same, this error did not matter
much, though.
Since the affected macro basically did the same, this error did not matter
much, though.
Added initial version of the CData data type.
For now, the type provides simple input and output functions only.
For now, the type provides simple input and output functions only.
pgtest.sh: Added a small helper script to setup/run a PG test setup.
Initial import of PostRR -- the PostgreSQL Round-Robin Extension.
For now, this is an early and highly experimental incomplete draft ;-)
The current version provides a new data type "RRTimeslice" implementing basic
round-robin features. It is defined by the length of the slice and the number
of slices before wrapping around, both specified using the type modifier. It
provides basic comparison operators and an operator class for the btree
indexing method.
For now, this is an early and highly experimental incomplete draft ;-)
The current version provides a new data type "RRTimeslice" implementing basic
round-robin features. It is defined by the length of the slice and the number
of slices before wrapping around, both specified using the type modifier. It
provides basic comparison operators and an operator class for the btree
indexing method.