From: | "A(dot) Kretschmer" <akretschmer(at)despammed(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Stored functions |
Date: | 2005-08-19 11:38:20 |
Message-ID: | 20050819113820.GG11416@webserv.wug-glas.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
am 19.08.2005, um 12:07:57 +0100 mailte Nigel Horne folgendes:
> The on-line manual,
> http://www.postgresql.org/docs/8.0/interactive/index.html,
> doesn't describe how to call stored functions, or if it does
> it's well hidden.
test=# create function get_foobar () returns varchar as $$begin return 'foobar'; end;$$ language plpgsql;
CREATE FUNCTION
test=# select get_foobar();
get_foobar
------------
foobar
(1 row)
Okay?
Regards, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2005-08-19 11:38:32 | Re: Stored functions |
Previous Message | Tino Wildenhain | 2005-08-19 11:34:12 | Re: How to DES encrypt/decrypt strings from PL/pgSQL |