Code

pgtest.sh: Improved help/usage output.
[postrr.git] / src / postrr.h.in
index 9a25d4e9f0c76375cbaab4a97c6ac85273644e2a..798fd3fea523a84ae66e2d1111b9ce88dee8514c 100644 (file)
@@ -78,31 +78,33 @@ rrtimeslice_typmodout(PG_FUNCTION_ARGS);
 /* casts */
 Datum
 rrtimeslice_to_rrtimeslice(PG_FUNCTION_ARGS);
+Datum
+rrtimeslice_to_timestamp(PG_FUNCTION_ARGS);
 
 /* comparison operators */
 Datum
-rrtimeslice_eq(PG_FUNCTION_ARGS);
+rrtimeslice_seq_eq(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_ne(PG_FUNCTION_ARGS);
+rrtimeslice_seq_ne(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_lt(PG_FUNCTION_ARGS);
+rrtimeslice_seq_lt(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_le(PG_FUNCTION_ARGS);
+rrtimeslice_seq_le(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_gt(PG_FUNCTION_ARGS);
+rrtimeslice_seq_gt(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_ge(PG_FUNCTION_ARGS);
+rrtimeslice_seq_ge(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_cmp(PG_FUNCTION_ARGS);
+rrtimeslice_seq_cmp(PG_FUNCTION_ARGS);
 Datum
-rrtimeslice_hash(PG_FUNCTION_ARGS);
+rrtimeslice_seq_hash(PG_FUNCTION_ARGS);
 
 /*
  * internal (not fmgr-callable) functions
  */
 
 int
-rrtimeslice_cmp_internal(rrtimeslice_t *ts1, rrtimeslice_t *ts2);
+rrtimeslice_seq_cmp_internal(rrtimeslice_t *ts1, rrtimeslice_t *ts2);
 
 /*
  * CData data type
@@ -132,6 +134,12 @@ Datum
 cdata_to_cdata(PG_FUNCTION_ARGS);
 Datum
 int32_to_cdata(PG_FUNCTION_ARGS);
+Datum
+cdata_to_float8(PG_FUNCTION_ARGS);
+
+/* aux. functions */
+Datum
+cdata_update(PG_FUNCTION_ARGS);
 
 #endif /* ! POSTRR_H */