diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-12 13:38:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-12 13:38:04 +0000 |
commit | e4ffd143a316b8b02b8ce3f4cf17e5fe8a89457d (patch) | |
tree | 867d42828105b874a644087a435cbc079c31e8cc /src | |
parent | f98f6ee0641e87c6ecc2524f5d0a8b54924ffd14 (diff) | |
download | postgresql-e4ffd143a316b8b02b8ce3f4cf17e5fe8a89457d.tar.gz postgresql-e4ffd143a316b8b02b8ce3f4cf17e5fe8a89457d.zip |
If we're going to use a SQL function for this, at least make it schema-proof.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/catalog/pg_proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index 6288ca4e770..0e83606f926 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.525 2008/11/12 13:09:28 petere Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_proc.h,v 1.526 2008/11/12 13:38:04 tgl Exp $ * * NOTES * The script catalog/genbki.sh reads this file and generates .bki @@ -998,7 +998,7 @@ DATA(insert OID = 2092 ( array_upper PGNSP PGUID 12 1 0 0 f f t f i 2 23 "22 DESCR("array upper dimension"); DATA(insert OID = 2176 ( array_length PGNSP PGUID 12 1 0 0 f f t f i 2 23 "2277 23" _null_ _null_ _null_ array_length _null_ _null_ _null_ )); DESCR("array length"); -DATA(insert OID = 2179 ( cardinality PGNSP PGUID 14 1 0 0 f f t f i 1 23 "2277" _null_ _null_ _null_ "select array_length($1, 1)" _null_ _null_ _null_ )); +DATA(insert OID = 2179 ( cardinality PGNSP PGUID 14 1 0 0 f f t f i 1 23 "2277" _null_ _null_ _null_ "select pg_catalog.array_length($1, 1)" _null_ _null_ _null_ )); DESCR("array length"); DATA(insert OID = 378 ( array_append PGNSP PGUID 12 1 0 0 f f f f i 2 2277 "2277 2283" _null_ _null_ _null_ array_push _null_ _null_ _null_ )); DESCR("append element onto end of array"); |