Re: PL/pgSQL examples NOT involving functions

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: PL/pgSQL examples NOT involving functions
Дата
Msg-id web-513889@davinci.ethosmedia.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>)
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>)
Список 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 по дате отправления:

Предыдущее
От: Kovacs Zoltan
Дата:
Сообщение: hu.po
Следующее
От: "Nicole S. Weber"
Дата:
Сообщение: count(*) - join question