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

Re: make createlang match docs

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: make createlang match docs
Date: 2001-12-12 23:37:29
Message-ID: 20011212233729.GA5865@l-t.ee (view raw or flat)
Thread:
Lists: pgsql-patches
On Wed, Dec 12, 2001 at 03:40:30PM -0500, Tom Lane wrote:
> Marko Kreen <marko(at)l-t(dot)ee> writes:
> > * make createlang match docs: "createlang dbname" did not work.
> 
> Unless you can demonstrate that createlang changed behavior recently,
> this is the wrong fix.  Breaking existing scripts that use createlang
> is not the way to go; fixing the documentation to match the code is
> the way to go.

in app-createlang.html:
Synopsis

	createlang [connection-options...] [langname] dbname

	createlang [connection-options...] --list | -l dbname

---

	$ createlang --help
	...
	Usage:
	  createlang [options] [langname] dbname
	....
	$ createlang foo
	createlang: missing required argument database name
	Try 'createlang -?' for help.
	$

With my patch:

	$  createlang foo
	Language to install in database foo:

I would say 'createlang foo' has been error-message-only command
all the 7.x.x, so it should not break anything.

What way the docs should be changed?

-- 
marko


In response to

pgsql-patches by date

Next:From: Marko KreenDate: 2001-12-12 23:49:25
Subject: Re: make createlang match docs
Previous:From: Peter EisentrautDate: 2001-12-12 22:27:37
Subject: Re: make createlang match docs

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