X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id C024BD1B526; Mon, 8 Sep 2003 12:43:08 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 34297-05; Mon, 8 Sep 2003 09:42:41 -0300 (ADT) Received: from smtp1.mts.net (smtp1.mts.net [205.200.16.74]) by svr1.postgresql.org (Postfix) with ESMTP id 85AF2D1B520; Mon, 8 Sep 2003 09:42:37 -0300 (ADT) Received: from cleartag (wnpgmb01bbw-ac01-p8-237.mts.net [142.161.8.237]) by smtp1.mts.net (8.12.8p1/8.11.3) with SMTP id h88Cfp4q012407; Mon, 8 Sep 2003 07:41:52 -0500 (CDT) Message-ID: <007401c37606$9f5c8d30$fd09a18e@cleartag> From: "George Weaver" To: "Richard Huxton" , , "Lista dyskusyjna pgsql-general" , "Lista dyskusyjna pgsql-sql" , "Lista dyskusyjna pgsql-bugs" References: <004901c375e3$bd31f660$4701a8c0@marek> <200309081309.16255.dev@archonet.com> Subject: Re: [SQL] [GENERAL] plPGSQL bug in function creation Date: Mon, 8 Sep 2003 07:41:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/85 X-Sequence-Number: 6716 I had the same success using 7.3.2 with Cygwin: e=# SELECT functest1('A','B'), functest1(null,'B'), functest2('A','B'), functest2(null,'B'); functest1 | functest1 | functest2 | functest2 -----------+-----------+-----------+----------- A | B | A | B (1 row) e=# select version(); version ---------------------------------------------------------------------------- ---------- PostgreSQL 7.3.2 on i686-pc-cygwin, compiled by GCC gcc (GCC) 3.2 20020927 (prerelease) (1 row) George - snip - > Not sure whether this is because of the change 7.3.1->7.3.2 or cygwin vs > linux. Don't have a copy of 7.3.1 to check against, sorry. Perhaps check the > changes list to see if it mentions something like this. > > -- > Richard Huxton > Archonet Ltd > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match >