Lists: | pgsql-hackers |
---|
From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | proposal: plpgsql return execute ... |
Date: | 2008-02-27 14:24:55 |
Message-ID: | 162867790802270624td2146bcn41a89413cbbce016@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hello
I thing RETURN QUERY is successful idea. It should be completed with
support of dynamic SQL.
Syntax:
RETURN EXECUTE sqlstring [USING];
This is shortcut for
FOR r IN EXECUTE sqlstring USING LOOP
RETURN NEXT r;
END LOOP;
Regards
Pavel Stehule
From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-02-27 18:58:03 |
Message-ID: | 1204138683.14838.3.camel@dell.linuxdev.us.dell.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> I thing RETURN QUERY is successful idea. It should be completed with
> support of dynamic SQL.
Yeah, I can see that being useful.
> RETURN EXECUTE sqlstring [USING];
What is the USING clause for?
-Neil
From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Neil Conway" <neilc(at)samurai(dot)com> |
Cc: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-02-27 20:01:21 |
Message-ID: | b42b73150802271201n77d992b2gc6e1ae2f859c8297@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc(at)samurai(dot)com> wrote:
> On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> > I thing RETURN QUERY is successful idea. It should be completed with
> > support of dynamic SQL.
>
> Yeah, I can see that being useful.
>
> > RETURN EXECUTE sqlstring [USING];
>
> What is the USING clause for?
parameter binding.
see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php
merlin
From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
Cc: | "Neil Conway" <neilc(at)samurai(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-02-27 21:35:16 |
Message-ID: | 162867790802271335k60171bgc17639046870d108@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On 27/02/2008, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc(at)samurai(dot)com> wrote:
> > On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> > > I thing RETURN QUERY is successful idea. It should be completed with
> > > support of dynamic SQL.
> >
> > Yeah, I can see that being useful.
> >
> > > RETURN EXECUTE sqlstring [USING];
> >
> > What is the USING clause for?
>
>
> parameter binding.
>
> see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php
>
>
> merlin
>
I sent modernized version
http://archives.postgresql.org/pgsql-patches/2007-10/msg00161.php
Pavel
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Merlin Moncure <mmoncure(at)gmail(dot)com>, Neil Conway <neilc(at)samurai(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-03-03 19:20:26 |
Message-ID: | 200803031920.m23JKQY19999@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.
---------------------------------------------------------------------------
Pavel Stehule wrote:
> On 27/02/2008, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> > On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc(at)samurai(dot)com> wrote:
> > > On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> > > > I thing RETURN QUERY is successful idea. It should be completed with
> > > > support of dynamic SQL.
> > >
> > > Yeah, I can see that being useful.
> > >
> > > > RETURN EXECUTE sqlstring [USING];
> > >
> > > What is the USING clause for?
> >
> >
> > parameter binding.
> >
> > see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php
> >
> >
> > merlin
> >
>
> I sent modernized version
> http://archives.postgresql.org/pgsql-patches/2007-10/msg00161.php
>
> Pavel
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Bruce Momjian" <bruce(at)momjian(dot)us> |
Cc: | "Merlin Moncure" <mmoncure(at)gmail(dot)com>, "Neil Conway" <neilc(at)samurai(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-03-03 20:05:02 |
Message-ID: | 162867790803031205n34590a1dmd2d1b0d69cedb946@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hello
I have to write this patch first. I am waiting for apply EXECUTE USING
patch and others plpgsql patches.
Regards
Pavel Stehule
On 03/03/2008, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> Your patch has been added to the PostgreSQL unapplied patches list at:
>
> http://momjian.postgresql.org/cgi-bin/pgpatches
>
> It will be applied as soon as one of the PostgreSQL committers reviews
> and approves it.
>
> ---------------------------------------------------------------------------
>
>
>
> Pavel Stehule wrote:
> > On 27/02/2008, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> > > On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc(at)samurai(dot)com> wrote:
> > > > On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> > > > > I thing RETURN QUERY is successful idea. It should be completed with
> > > > > support of dynamic SQL.
> > > >
> > > > Yeah, I can see that being useful.
> > > >
> > > > > RETURN EXECUTE sqlstring [USING];
> > > >
> > > > What is the USING clause for?
> > >
> > >
> > > parameter binding.
> > >
> > > see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php
> > >
> > >
> > > merlin
> > >
> >
> > I sent modernized version
> > http://archives.postgresql.org/pgsql-patches/2007-10/msg00161.php
> >
> > Pavel
> >
>
> > ---------------------------(end of broadcast)---------------------------
> > TIP 7: You can help support the PostgreSQL project by donating at
> >
> > http://www.postgresql.org/about/donate
>
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://postgres.enterprisedb.com
>
> + If your life is a hard drive, Christ can be your backup. +
>
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Merlin Moncure <mmoncure(at)gmail(dot)com>, Neil Conway <neilc(at)samurai(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: plpgsql return execute ... |
Date: | 2008-03-03 20:42:33 |
Message-ID: | 200803032042.m23KgX303758@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Pavel Stehule wrote:
> Hello
>
> I have to write this patch first. I am waiting for apply EXECUTE USING
> patch and others plpgsql patches.
OK, removed. Thanks.
---------------------------------------------------------------------------
>
> Regards
> Pavel Stehule
>
> On 03/03/2008, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> >
> > Your patch has been added to the PostgreSQL unapplied patches list at:
> >
> > http://momjian.postgresql.org/cgi-bin/pgpatches
> >
> > It will be applied as soon as one of the PostgreSQL committers reviews
> > and approves it.
> >
> > ---------------------------------------------------------------------------
> >
> >
> >
> > Pavel Stehule wrote:
> > > On 27/02/2008, Merlin Moncure <mmoncure(at)gmail(dot)com> wrote:
> > > > On Wed, Feb 27, 2008 at 1:58 PM, Neil Conway <neilc(at)samurai(dot)com> wrote:
> > > > > On Wed, 2008-02-27 at 15:24 +0100, Pavel Stehule wrote:
> > > > > > I thing RETURN QUERY is successful idea. It should be completed with
> > > > > > support of dynamic SQL.
> > > > >
> > > > > Yeah, I can see that being useful.
> > > > >
> > > > > > RETURN EXECUTE sqlstring [USING];
> > > > >
> > > > > What is the USING clause for?
> > > >
> > > >
> > > > parameter binding.
> > > >
> > > > see: http://archives.postgresql.org/pgsql-patches/2006-08/msg00267.php
> > > >
> > > >
> > > > merlin
> > > >
> > >
> > > I sent modernized version
> > > http://archives.postgresql.org/pgsql-patches/2007-10/msg00161.php
> > >
> > > Pavel
> > >
> >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 7: You can help support the PostgreSQL project by donating at
> > >
> > > http://www.postgresql.org/about/donate
> >
> >
> > --
> > Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> > EnterpriseDB http://postgres.enterprisedb.com
> >
> > + If your life is a hard drive, Christ can be your backup. +
> >
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your Subscription:
> http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-hackers
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +