Re: PL/pgSQL examples NOT involving functions - Mailing list pgsql-sql

From Josh Berkus
Subject Re: PL/pgSQL examples NOT involving functions
Date
Msg-id web-513889@davinci.ethosmedia.com
Whole thread Raw
In response to Re: PL/pgSQL examples NOT involving functions  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
Responses Re: PL/pgSQL examples NOT involving functions  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
Re: PL/pgSQL examples NOT involving functions  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
Re: PL/pgSQL examples NOT involving functions  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
Re: PL/pgSQL examples NOT involving functions  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
List pgsql-sql
Aasmund,

> Well - it is not 'compiled' until the first time you run it - this is
> so that it will work with circular dependancies. I am not sure how
> much it compiles it, but I think it at least stores parse-trees,
> because if you drop a table and recreate it and run the same function
> on it, it will cause an error a la 'can't find relation 11312'.

This is incorrect.  This happens with views, but not with functions.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: Kovacs Zoltan
Date:
Subject: hu.po
Next
From: "Nicole S. Weber"
Date:
Subject: count(*) - join question