"Greg Sabino Mullane" <g...@turnstep.com> writes:
> The rules should be:

> Requires quoting only if the first character:
>  &  *  !  |  >  '  "  %  @  ` #

> Same as above, but no quoting if the second character is "safe":
>  -  ?  :

> Always requires quoting:
>  ":<space>"  "<space>#"  aka  ': '  ' #'

> Always requires quoting:
>  ,  [  ]  {  }

> Always require quoting:
>  (leading space) (trailing space) (empty string)

Egad ... this is supposed to be an easily machine-generatable format?

If it's really as broken as the above suggests, I think we should
rip it out while we still can.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to