X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 41D57D9212; Wed, 16 Nov 2005 18:27:01 -0400 (AST) 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 60087-07; Wed, 16 Nov 2005 22:27:02 +0000 (GMT) X-Greylist: delayed 23:27:46.678631 by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail1.utiba.com (eth2643.vic.adsl.internode.on.net [150.101.158.82]) by svr1.postgresql.org (Postfix) with ESMTP id 72BB3D914E; Wed, 16 Nov 2005 18:26:57 -0400 (AST) Received: from rotate-the-shield-harmonics.utiba.com (localhost [127.0.0.1]) by mail1.utiba.com (Postfix) with ESMTP id EE7EB13ECBD; Thu, 17 Nov 2005 09:27:14 +1100 (EST) From: Philip Yarra Organization: Utiba Pty Ltd To: Andrew Dunstan Subject: Re: [PATCHES] pl/pgSQL doco patch Date: Thu, 17 Nov 2005 09:26:55 +1100 User-Agent: KMail/1.7.2 Cc: pgsql-patches@postgresql.org, pgsql-docs@postgresql.org References: <200511160959.04771.philip@utiba.com> <437B44E5.5000200@dunslane.net> In-Reply-To: <437B44E5.5000200@dunslane.net> X-enigma: Naturally a smoked function is living MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511170926.55631.philip@utiba.com> X-Utiba-MailScanner-Information: Please contact the Systems Administrator at Utiba for more information X-Utiba-MailScanner: Found to be clean Utiba-MailScanner-MCPCheck: X-MailScanner-From: philip@utiba.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/28 X-Sequence-Number: 3338 On Thu, 17 Nov 2005 01:40 am, Andrew Dunstan wrote: > I am wondering we should make this warning more prominent - it would be > easily missed buried on the Oracle porting section, and I have seen > people caught by it lots of times. I added it to the Oracle section because I found this syntax while porting an Oracle stored proc to a pl/pgSQL function, and assumed it was an Oracle-ism. Do other RDBMSs also allow you to qualify function_name.param_name to distinguish a param from a column of the same name? If so, sure, I'll put it somewhere more general (suggestions?), and Tom, I think that would lend weight to allowing PostgreSQL to do it too (not because it's The Right Thing, but for interoperability and ease of porting). Thoughts? Regards, Philip. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ----------------- Utiba Pty Ltd This message has been scanned for viruses and dangerous content by Utiba mail server and is believed to be clean.