X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 006F453B13 for ; Sun, 10 Apr 2005 05:28:37 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20982-10 for ; Sun, 10 Apr 2005 04:28:29 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id D7BB6533EF for ; Sun, 10 Apr 2005 05:28:28 +0100 (BST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j3A4SOH28330; Sun, 10 Apr 2005 00:28:24 -0400 (EDT) From: Bruce Momjian Message-Id: <200504100428.j3A4SOH28330@candle.pha.pa.us> Subject: Re: Problems with PQfmod() returning -1 on varchar f In-Reply-To: <4852.1112665398@sss.pgh.pa.us> To: Tom Lane Date: Sun, 10 Apr 2005 00:28:24 -0400 (EDT) Cc: Jerry Day , "'pgsql-interfaces@postgresql.org'" X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/42 X-Sequence-Number: 5458 Tom Lane wrote: > > SELECT a.data,a.int16_col,a.int64_col,a.float32_col, > > a.float6_col,a.date_col,a.row_id > > FROM table2 a > > LEFT JOIN > > (SELECT * > > FROM table3 > > ) d ON (a.ROW_ID = d.ROW_ID) > > WHERE d.ROW_ID IS NULL > > ) V__282 LIMIT 0; > > The UNION will drop the typmod, even if both its inputs have the same > typmod. See e.g. > http://archives.postgresql.org/pgsql-general/2005-04/msg00204.php > > This is on the agenda to look at for 8.1 ... This is not on the community TODO? Is it on yours? Should it be on the communties? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073