Re: Stored Procedure examples

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Walter Vaughan" <wvaughan(at)steelerubber(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Stored Procedure examples
Date: 2007-02-15 18:32:36
Message-ID: b42b73150702151032j6bc175a4wbe551e5f4d464aed@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/14/07, Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2007-02-15 18:33:08 Re: postgresql 8.2 Installation error at "gmake"
Previous Message RPK 2007-02-15 18:30:09 Re: Option to undo last update on table.