Re: simple plpgsql / sql function question - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: simple plpgsql / sql function question
Date
Msg-id b42b73150803111054t31ab9a23i6bf46976ffeef88e@mail.gmail.com
Whole thread Raw
In response to Re: simple plpgsql / sql function question  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-hackers
On Tue, Mar 11, 2008 at 1:53 PM, Merlin Moncure <mmoncure@gmail.com> wrote:
>  >  I have a series of SQL Update statements. I would like to write a
>  >  function which runs all of the SQL Update statements one at a time, in
>  >  order from top to bottom. Can somebody share the basic syntax that I
>  >  would need to write the aforementioned function?
>
>  please ask future questions of this nature on the general list.  the
>  hackers list is reserved for things pertaining to postgresql
>  development.
>
>  anywyays [sic], the answer is easy:
>  sql (imo preferred for this case):

left off parens
>  create function do_stuff returns void as
create function do_stuff() returns void as

merlin


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: simple plpgsql / sql function question
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Fix for large file support (nonsegment mode support)