diff options
author | Bruce Momjian <bruce@momjian.us> | 2008-07-16 00:48:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2008-07-16 00:48:54 +0000 |
commit | 2c773296f88fe800315ca1bf131287662ecef999 (patch) | |
tree | 15ae3bf7473fcaadffd3b4400edcb55c5b728260 /src/include/utils/array.h | |
parent | 2fa42cc9ee599339bd109bed1a9e621a6d47c3c3 (diff) |
Add array_fill() to create arrays initialized with a value.
Pavel Stehule
Diffstat (limited to 'src/include/utils/array.h')
-rw-r--r-- | src/include/utils/array.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/utils/array.h b/src/include/utils/array.h index f8595d908b1..9efa78e6f3e 100644 --- a/src/include/utils/array.h +++ b/src/include/utils/array.h @@ -49,7 +49,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/array.h,v 1.67 2008/04/28 14:48:57 alvherre Exp $ + * $PostgreSQL: pgsql/src/include/utils/array.h,v 1.68 2008/07/16 00:48:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -202,6 +202,8 @@ extern Datum array_larger(PG_FUNCTION_ARGS); extern Datum array_smaller(PG_FUNCTION_ARGS); extern Datum generate_subscripts(PG_FUNCTION_ARGS); extern Datum generate_subscripts_nodir(PG_FUNCTION_ARGS); +extern Datum array_fill(PG_FUNCTION_ARGS); +extern Datum array_fill_with_lower_bounds(PG_FUNCTION_ARGS); extern Datum array_ref(ArrayType *array, int nSubscripts, int *indx, int arraytyplen, int elmlen, bool elmbyval, char elmalign, |