Re: PL/pgSQL examples NOT involving functions

Поиск
Список
Период
Сортировка
От Andrew G. Hammond
Тема Re: PL/pgSQL examples NOT involving functions
Дата
Msg-id E166iNA-0002ib-00@xyzzy.lan.internal
обсуждение исходный текст
Ответ на Re: PL/pgSQL examples NOT involving functions  (Roland Roberts <roland@astrofoto.org>)
Ответы 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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2001 November 19 09:42 am, Roland Roberts wrote:
> >>>>> "Aasmund" == Aasmund Midttun Godal <postgresql@envisity.com> writes:
>     >> So I *could* create a pl/pgsql function and call it like that,
>     >> but since pl/pgsql procedures aren't compiled I wondered if I
>     >> could do it inline.
>
>     Aasmund> I do believe they are compiled.
>
> Hmm, I'm going to have to look over the docs again.  I missed that
> change; I'm pretty sure that as of 6.2 there were *not* compiled and
> that was clearly stated in the docs.

You're right, they're interpreted at run time.  If you want proof, just write 
a bogus function definition.  It'll CREATE just fine, but barf with a syntax 
error when you try and execute it.

- -- 
Andrew G. Hammond     mailto:drew@xyzzy.dhs.org   http://xyzzy.dhs.org/~drew/
56 2A 54 EF 19 C0 3B 43 72 69 5B E3 69 5B A1 1F                  613-389-5481
5CD3 62B0 254B DEB1 86E0  8959 093E F70A B457 84B1
"To blow recursion you must first blow recur" -- me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjv8UFoACgkQCT73CrRXhLHSBwCeKEbDRUezLXS/Q1vP1VlXAdTD
RVoAoI8qA8Q5C2hVdXwPGBt/3UnOKF4T
=8+Us
-----END PGP SIGNATURE-----


В списке pgsql-sql по дате отправления:

Предыдущее
От: clayton cottingham
Дата:
Сообщение: ldap support
Следующее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: ORDER BY question