Sebastien FLAESCH <sf@4js.com> writes:
> Ok thanks a lot I got it now, must specify double-quotes around table name.
You could use quote_ident() if you don't want to be bothered with the
rules for when to double-quote. Also, if you have the table's OID at
hand in the query, oid::regclass::text will produce a properly quoted
and schema-qualified name.
regards, tom lane