Re: Out parameters handling - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Out parameters handling
Date
Msg-id 5734.1236555411@sss.pgh.pa.us
Whole thread Raw
In response to Re: Out parameters handling  (Ryan Bradetich <rbradetich@gmail.com>)
Responses Re: Out parameters handling  (Ryan Bradetich <rbradetich@gmail.com>)
List pgsql-hackers
Ryan Bradetich <rbradetich@gmail.com> writes:
> This is one of the things I wanted to start looking at for 8.5.
> My idea was to optionally use : or @ (not sure which is more popular) to
> specify this token is only a variable.

This whole line of thought is really a terrible idea IMHO.  plpgsql is
supposed to follow Oracle's pl/sql syntax, not invent random syntax of
its own.  I believe that 80% of the problems here are occurring because
we used a crude substitution method that got the priorities backwards
from the way Oracle does it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: compiler failures on buildfarm member wombat
Next
From: Alvaro Herrera
Date:
Subject: Re: postgresql.conf: patch to have ParseConfigFile report all parsing errors, then bail