Re: make createlang match docs - Mailing list pgsql-patches

From Marko Kreen
Subject Re: make createlang match docs
Date
Msg-id 20011213062322.GA10071@l-t.ee
Whole thread Raw
In response to Re: make createlang match docs  (Thomas Lockhart <lockhart@fourpalms.org>)
Responses Re: make createlang match docs
List 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 by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: make createlang match docs
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] [GENERAL] Using Cursor in PostgreSQL 7.2