Re: quoting psql varible as identifier
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Robert Haas <robertmhaas@gmail.com>
Date: 2009-12-29T18:36:21Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes: > so we cannot simply implement quote_ident on client side :(. So we > have to use a real query. > It is acceptable for you? No, certainly not --- that adds a boatload of failure conditions. Just quote it unconditionally. regards, tom lane