"Hiroshi Inoue" <[EMAIL PROTECTED]> writes:
> Hmm,Andreas's original function seems to contain other statements.
> If the function contains DML statements for the table Temp_Num_Table,
> it wouldn't work properly. i.e 1st call would work but 2nd call woudn't.
Are you thinking about plpgsql's caching of query plans (and
specifically the table OIDs stored in those plans) or is there another
issue here?
We do need to think about invalidating cached query plans when updates
happen...
regards, tom lane
- [SQL] Create table in functions Andreas Tille
- Re: [SQL] Create table in functions Tom Lane
- RE: [SQL] Create table in functions Hiroshi Inoue
- RE: [SQL] Create table in functions Tom Lane
- RE: [SQL] Create table in functions Hiroshi Inoue
- [SQL] RE: Create table in functions Andreas Tille
- Re: [SQL] RE: Create table in functions Jan Wieck
- [SQL] Re: RE: Create table in function... Andreas Tille
- Re: [SQL] Create table in functions Jie Liang
- Re: [SQL] Create table in functions hlefebvre
