summaryrefslogtreecommitdiff
path: root/src/include/nodes/pg_list.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-31 10:22:13 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-31 10:22:13 +0000
commit73874a06f02691b32c07318e543d83e7947efa51 (patch)
treec401c757c898211a54701e728b120dd7178e77d5 /src/include/nodes/pg_list.h
parentd397c1c8a2dfec4ac93eb0e1b3f96418bb98fdd7 (diff)
downloadpostgresql-73874a06f02691b32c07318e543d83e7947efa51.tar.gz
Change the parser to convert SQL "position" and "substring" syntax to
position() and substring() functions, so that it works transparently for bit types as well. Alias the text functions appropriately. Add position() for bit types. Add new constant node T_BitString that represents literals of the form B'1001 and pass those to zpbit type.
Diffstat (limited to 'src/include/nodes/pg_list.h')
-rw-r--r--src/include/nodes/pg_list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/pg_list.h b/src/include/nodes/pg_list.h
index 07c58348e0..1e11e4504f 100644
--- a/src/include/nodes/pg_list.h
+++ b/src/include/nodes/pg_list.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_list.h,v 1.21 2000/10/05 19:11:36 tgl Exp $
+ * $Id: pg_list.h,v 1.22 2000/10/31 10:22:12 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -118,6 +118,7 @@ extern bool intMember(int datum, List *list);
extern Value *makeInteger(long i);
extern Value *makeFloat(char *numericStr);
extern Value *makeString(char *str);
+extern Value *makeBitString(char *str);
extern List *lappend(List *list, void *datum);
extern List *lappendi(List *list, int datum);
extern List *lremove(void *elem, List *list);