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.