Re: make createlang match docs

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: make createlang match docs
Date: 2001-12-13 06:23:22
Message-ID: 20011213062322.GA10071@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-12-13 10:49:01 Re: [HACKERS] [GENERAL] Using Cursor in PostgreSQL 7.2
Previous Message Thomas Lockhart 2001-12-13 05:47:37 Re: make createlang match docs