Re: Stored Procedure examples - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Stored Procedure examples
Date
Msg-id b42b73150702151032j6bc175a4wbe551e5f4d464aed@mail.gmail.com
Whole thread Raw
In response to Re: Stored Procedure examples  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Stored Procedure examples  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
On 2/14/07, Martijn van Oosterhout <kleptog@svana.org> wrote:
> On Wed, Feb 14, 2007 at 05:18:10PM -0500, Walter Vaughan wrote:
> > This may not help, but I noticed using pgAdminIII, you can create a
> > procedure or a function, but they seem to have the same creation interface
> > and use the same icon.
>
> Way back when I learned that procedures are merely functions that don't
> return a value. So in that sense procedures are indeed just functions.
> You obviously mean something else but I'm not sure what.

I thought stored procedures did not run implicitly in transactions
like functions do.  If that's the case, that's a huge
difference....you could do vacuum, large loads, etc. that you
currently have to do outside the database.  I'm not sure about this
though.

merlin

pgsql-general by date:

Previous
From: Emi Lu
Date:
Subject: Re: postgresql 8.2 Installation error at "gmake"
Next
From: Alan Hodgson
Date:
Subject: Re: Option to undo last update on table.