Re: make createlang match docs

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: make createlang match docs
Дата
Msg-id 20011213062322.GA10071@l-t.ee
обсуждение исходный текст
Ответ на Re: make createlang match docs  (Thomas Lockhart <lockhart@fourpalms.org>)
Ответы Re: make createlang match docs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
On Thu, Dec 13, 2001 at 05:47:37AM +0000, Thomas Lockhart wrote:
> > > > * make createlang match docs: "createlang dbname" did not work.
> > > What is the meaning of that command?
> > You give a database to act on, like to other scripts, then it
> > asks what language to install.
>
> But since it respects PGHOST and should use a database name the same as
> your user name, that usage is degenerate with "createlang newlanguage".
> Isn't it? Or shouldn't it be?

Well, it does not respect PGDATABASE nor uses username as
default - and making it do so changes the current behaviour...

Although I think too 'createlang langname' would be saner.

--
marko


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: make createlang match docs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] [GENERAL] Using Cursor in PostgreSQL 7.2