Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 13162475B47 for ; Mon, 6 Jan 2003 00:19:08 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id BE968475C26 for ; Mon, 6 Jan 2003 00:19:06 -0500 (EST) Received: (qmail 6906 invoked from network); 6 Jan 2003 05:19:10 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 6 Jan 2003 05:19:10 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id OAA14464; Mon, 6 Jan 2003 14:19:04 +0900 (JST) Message-ID: <3E191241.325D0D3D@tpf.co.jp> Date: Mon, 06 Jan 2003 14:21:05 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Tom Lane Cc: Bruce Momjian , Jim Holliday , pgsql-odbc@postgresql.org Subject: Re: bug in info.c file - incorrect SQL References: <200301032117.h03LHCX10106@candle.pha.pa.us> <11662.1041629922@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/23 X-Sequence-Number: 2522 Tom Lane wrote: > > Bruce Momjian 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. OK I would change as such when I have a time. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/