aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/builtins.h
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>2000-09-05 20:25:14 +0000
committerJan Wieck <JanWieck@Yahoo.com>2000-09-05 20:25:14 +0000
commitdaf1e3a7026e367d630be3ac34ac0a9e7cf1340f (patch)
tree88420f149500bb3205f390fc7e3c42907e0e66b9 /src/include/utils/builtins.h
parentd7f1e110267de738499ec6dc8b7cf6443e8c3a67 (diff)
downloadpostgresql-daf1e3a7026e367d630be3ac34ac0a9e7cf1340f.tar.gz
postgresql-daf1e3a7026e367d630be3ac34ac0a9e7cf1340f.zip
Added functions
quote_ident(text) returns text quote_literal(text) returns text These are handy to build up properly quoted query strings for the new PL/pgSQL EXECUTE functionality to submit dynamic DDL statements. Jan
Diffstat (limited to 'src/include/utils/builtins.h')
-rw-r--r--src/include/utils/builtins.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 2c42899b1c0..cbb0aabe498 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.135 2000/08/25 18:05:53 tgl Exp $
+ * $Id: builtins.h,v 1.136 2000/09/05 20:25:14 wieck Exp $
*
*-------------------------------------------------------------------------
*/
@@ -585,4 +585,8 @@ extern Datum format_type(PG_FUNCTION_ARGS);
extern Datum oidvectortypes(PG_FUNCTION_ARGS);
extern int32 type_maximum_size(Oid type_oid, int32 typemod);
+/* quote.c */
+extern Datum quote_ident(PG_FUNCTION_ARGS);
+extern Datum quote_literal(PG_FUNCTION_ARGS);
+
#endif /* BUILTINS_H */