From 12661642c88d3cba0d77d7cb6efc17a95fc04b32 Mon Sep 17 00:00:00 2001 From: Joe Conway Date: Tue, 3 Feb 2004 08:29:57 +0000 Subject: Add function (actually an int4 and an int8 version) that generates a series of numbers, optionally using an explicit step size other than the default value (one). Use function in the information_schema to replace hard-wired knowledge of INDEX_MAX_KEYS. initdb forced due to pg_proc change. Documentation update still needed -- will be committed separately. --- src/include/utils/int8.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/include/utils/int8.h') diff --git a/src/include/utils/int8.h b/src/include/utils/int8.h index 7fe9800b235..eaaf9448a92 100644 --- a/src/include/utils/int8.h +++ b/src/include/utils/int8.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/int8.h,v 1.40 2003/12/01 21:52:38 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/int8.h,v 1.41 2004/02/03 08:29:57 joe Exp $ * * NOTES * These data types are supported on all 64-bit architectures, and may @@ -112,4 +112,7 @@ extern Datum oidtoi8(PG_FUNCTION_ARGS); extern Datum int8_text(PG_FUNCTION_ARGS); extern Datum text_int8(PG_FUNCTION_ARGS); +extern Datum generate_series_int8(PG_FUNCTION_ARGS); +extern Datum generate_series_step_int8(PG_FUNCTION_ARGS); + #endif /* INT8_H */ -- cgit v1.2.3