A minor bug and a complaint - Mailing list pgsql-general

From Nikola Milutinovic
Subject A minor bug and a complaint
Date
Msg-id 001101c1be04$c76cafa0$6e3da8c0@ev.co.yu
Whole thread Raw
Responses Re: A minor bug and a complaint  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi all.

First off, PostgreSQL 7.2; pg_ctl script has a bug I'm unable to locate. When I try to run it, I get the following:

/usr/local/pgsql/bin/postmaster: invalid argument --

Somehow, "--" gets appended to the command line. No big deal, I can start postmaster manually.

My complaint is about one other "feature" - pg_dump. It doesn't dump database encoding. I have several databases on the
systemand they use different encodings ("UNICODE" and "LATIN2"). "pg_dump" forgets to add the encoding atribute for the
database,which is problematic.
 

Earlier versions didn't even have a man page stating how to create a database from SQL with encoding. In 7.2 at least
thatis in the docs"
 

CREATE DATABASE "www" WITH ENCODING = "UNICODE";

Any chance of pg_dump being corrected to dump encoding, as well?

Nix.

pgsql-general by date:

Previous
From: mohan ananthiah
Date:
Subject: Urgnt. - problem starting postgres
Next
From: "Gregory Wood"
Date:
Subject: Re: About functions