From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: susan@hexworx.com
Subject: Re: Create function statement with insert statement
Date: Mon, 17 Mar 2003 12:25:47 +0100
Message-ID: <3E75B0BB.1F631FDC@rodos.fzk.de> (raw)
>
> I can select from this table although the output is slightly
different:
>
> lanname | lanispl | lanpltrusted | lanplcallfoid | lancompiler
> ----------+---------+--------------+---------------+-------------
> internal | f | f | 0 | n/a
> C | f | f | 0 | /bin/cc
> sql | f | f | 0 | postgres
> (3 rows)
>
That's ok, it changed slightly between versions.
Did you make any progress?
>
> Try re-writing your function in PL/pgSQL. BTW, I think I saw from your
> other post that you don't have PL/pgSQL installed in the database you
> are using. See the createlang program or CREATE LANGUAGE statement:
>
http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/app-createlang.html>
http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/sql-createlanguage.html>
I think Joe is right. Try PL/pgSQL, it's much more flexible anyway.
Regards, Christoph
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ch@rodos.fzk.de, susan@hexworx.com
Subject: Re: Create function statement with insert statement
In-Reply-To: <3E75B0BB.1F631FDC@rodos.fzk.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox