Commit 338fd40b authored by Tom Lane's avatar Tom Lane

Revise quoting conventions in outfuncs/readfuncs so that nodeRead doesn't

choke on relation or attribute names containing spaces, quotes, or other
special characters.  This fixes a TODO item.  It also forces initdb,
since stored rule strings change.
parent 46a28f1b
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: readfuncs.h,v 1.7 1999/02/13 23:21:41 momjian Exp $ * $Id: readfuncs.h,v 1.8 2000/01/14 00:53:20 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
* prototypes for functions in read.c (the lisp token parser) * prototypes for functions in read.c (the lisp token parser)
*/ */
extern char *lsptok(char *string, int *length); extern char *lsptok(char *string, int *length);
extern char *debackslash(char *token, int length);
extern void *nodeRead(bool read_car_only); extern void *nodeRead(bool read_car_only);
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment