Re: pgsql/src/backend/commands define.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql/src/backend/commands define.c
Дата
Msg-id Pine.LNX.4.30.0110132030460.643-100000@peter.localdomain
обсуждение исходный текст
Ответ на pgsql/src/backend/commands define.c  (momjian@postgresql.org)
Ответы Re: pgsql/src/backend/commands define.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-committers
momjian@postgresql.org writes:

>     Mention createlang when language not installed, per problem report.

I think this is inappropriate.  It's quite possible that an ordinary user
is trying to create a function in a non-existent language, and he won't
have the authority to use createlang.  Or the language name is a typo and
the language doesn't exist at all.  Or the language is provided by a third
party and createlang doesn't support it.

You will find that almost nowhere a program will report 'foo not found --
use bar to install it' because 'foo' missing might be fully intentional.
(Or otherwise one might ask, if the program knows how to fix the
situation, why doesn't it do so itself?)

A user that has problems in this area can read the CREATE FUNCTION man
page and find a reference to createlang there (or should find one).

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: petere@postgresql.org
Дата:
Сообщение: pgsql/src/interfaces/odbc odbc.sql
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql/src/backend/commands define.c