Re: [ADMIN] Functions - Mailing list pgsql-general

From Scott Marlowe
Subject Re: [ADMIN] Functions
Date
Msg-id dcc563d10809151057r3a76027ao562a79dc8c051fd2@mail.gmail.com
Whole thread Raw
In response to Re: Functions  ("c k" <shreeseva.learning@gmail.com>)
Responses Re: [ADMIN] Functions  ("Rafael Domiciano" <rafael.domiciano@gmail.com>)
List pgsql-general
On Mon, Sep 15, 2008 at 11:53 AM, c k <shreeseva.learning@gmail.com> wrote:
>
>
> If I have a function having:
> begin
> insert into something ...
> select max(primary key) from something..
> end;
>
> does the second statement within a function can view the results after
> execution of first statement to get max(P.K.)?

Yep.

pgsql-general by date:

Previous
From: "c k"
Date:
Subject: Re: Functions
Next
From: Pedro Doria Meunier
Date:
Subject: Re: Oracle and Postgresql