aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-06-13 17:43:13 +0000
committerRobert Haas <rhaas@postgresql.org>2010-06-13 17:43:13 +0000
commit26b7abfa32b657e21911e82b38eeb8fc81c9dc77 (patch)
tree5b1cc05119859da9e1676fc24962862aa17afd61 /src/include/utils/builtins.h
parenta079efa641fbfa0ad32c6218e8dc6d949989a247 (diff)
downloadpostgresql-26b7abfa32b657e21911e82b38eeb8fc81c9dc77.tar.gz
postgresql-26b7abfa32b657e21911e82b38eeb8fc81c9dc77.zip
Fix ALTER LARGE OBJECT and GRANT ... ON LARGE OBJECT for large OIDs.
The previous coding failed for OIDs too large to be represented by a signed integer.
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r--src/include/utils/builtins.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index e7edc5717f1..1fc36d74061 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.348 2010/02/26 02:01:28 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.349 2010/06/13 17:43:13 rhaas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -479,6 +479,7 @@ extern Datum oidvectorle(PG_FUNCTION_ARGS);
extern Datum oidvectorge(PG_FUNCTION_ARGS);
extern Datum oidvectorgt(PG_FUNCTION_ARGS);
extern oidvector *buildoidvector(const Oid *oids, int n);
+extern Oid oidparse(Node *node);
/* pseudotypes.c */
extern Datum cstring_in(PG_FUNCTION_ARGS);