Re: Create function statement with insert statement

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Re: Create function statement with insert statement
Дата
Msg-id 3E75B0BB.1F631FDC@rodos.fzk.de
обсуждение исходный текст
Ответ на Create function statement with insert statement  ("Susan Hoddinott" <susan@hexworx.com>)
Список pgsql-sql
>
> 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




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

Предыдущее
От: Tomasz Myrta
Дата:
Сообщение: Re: String aggregate function
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Formatting intervals..