1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Rewrite nodeRead() in a less obfuscated fashion, per discussion with

Neil Conway.
This commit is contained in:
Tom Lane
2004-05-06 14:01:33 +00:00
parent 839be02ee1
commit eee6f9d5c2
4 changed files with 55 additions and 83 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.233 2004/03/17 20:48:42 tgl Exp $
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.234 2004/05/06 14:01:33 tgl Exp $
*
* NOTES
* Every node type that can appear in stored rules' parsetrees *must*
@ -130,7 +130,6 @@ _outToken(StringInfo str, char *s)
/* These characters only need to be quoted at the start of the string */
if (*s == '<' ||
*s == '\"' ||
*s == '@' ||
isdigit((unsigned char) *s) ||
((*s == '+' || *s == '-') &&
(isdigit((unsigned char) s[1]) || s[1] == '.')))