From: | "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> |
---|---|
To: | tgl(at)sss(dot)pgh(dot)pa(dot)us |
Cc: | jd(at)commandprompt(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Proposal: TABLE functions |
Date: | 2007-02-09 16:58:48 |
Message-ID: | BAY114-F362FE22CD34D29EACD84B6F99C0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>
>"Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> writes:
> > it can by more simple than I though. I need only one flag, and if its
>true
> > then I don't create language variables for OUT params. But I need one
>next
> > column in pg_proc.
>
>I thought you said this was just syntactic sugar for capabilities we
>already had?
>
My mistake. I am sorry. I have to store somewhere flag. One bit, which
signalise "don't use OUT arguments as function's parameters". Other is only
game in parser.
> > Currently a lot of columns in pg_proc is bool. What about one binary
>columns
> > for other options? I hope so next versions can support autonomous
> > transaction, which need flag too.
>
>I think stored procedures of that sort aren't functions at all, and
>probably don't belong in pg_proc.
>
Why not? Some people use "ugly" implementation of it in plperlu and DBI.
pg_proc and related infrastructure works well. It miss only little bit
bigger adaptability. I thing so can be interesting one general option byte,
and one byte reservated for language handlers.
Regards
Pavel Stehule
_________________________________________________________________
Najdete si svou lasku a nove pratele na Match.com. http://www.msn.cz/
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-02-09 17:02:17 | Re: Proposal: TABLE functions |
Previous Message | Jim Nasby | 2007-02-09 16:50:20 | Re: Re-ordering of OR conditions |