Re: [PATCHES] pl/pgSQL doco patch

From: Philip Yarra <philip(at)utiba(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [PATCHES] pl/pgSQL doco patch
Date: 2005-11-16 22:26:55
Message-ID: 200511170926.55631.philip@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-patches

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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Andreas Seltenreich 2005-11-19 21:41:34 Texinfo docs/target
Previous Message Andrew Dunstan 2005-11-16 14:40:37 Re: [PATCHES] pl/pgSQL doco patch

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-11-17 01:24:31 Re: drop if exists
Previous Message Simon Riggs 2005-11-16 17:13:49 Numeric 508 datatype