From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Jim Holliday <jholliday@aurigin.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: bug in info.c file - incorrect SQL
Date: Fri, 03 Jan 2003 16:38:42 -0500
Message-ID: <11662.1041629922@sss.pgh.pa.us> (raw)
In-Reply-To: <200301032117.h03LHCX10106@candle.pha.pa.us>
References: <200301032117.h03LHCX10106@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The attached patch fixes this by creating a pn1 and pn2 alias for
> pg_namespace in FROM. It also improves some of the alias tags. Applied
> to ODBC CVS. Can someone run some tests on these?
I see another bug here:
The 7.3-and-up versions of these queries should explicitly prefix
"pg_catalog." to the names of all system catalogs (and types and
functions) they reference. This will make them bulletproof against
conflicts against user-defined names, which might appear in front of
the system names in the search path.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, Inoue@tpf.co.jp, jholliday@aurigin.com
Subject: Re: bug in info.c file - incorrect SQL
In-Reply-To: <11662.1041629922@sss.pgh.pa.us>
References: <200301032117.h03LHCX10106@candle.pha.pa.us> <11662.1041629922@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox