Pavel Stehule <[email protected]> writes:
> 2009/12/29 Alvaro Herrera <[email protected]>:
>> Can we use a trick similar to pg_dump's?
> I see it - we can move function (content) fmtId from dumputils.c to libpq.
This is not a good idea. pg_dump can be expected to be up-to-date with
the backend's keyword list, but libpq cannot.
Just quote the thing unconditionally. It's not worth working harder
than that anyway.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers