Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group