I'm seeing this with the current CVS code:

[nconway:/home/nconway/pgsql]% initdb -D /data/pgsql/pgdata
The files belonging to this database system will be owned by user "nconway".
This user must also own the server process.

/data/pgsql/bin/initdb: test: =: unary operator expected
The database cluster will be initialized with locales:
    COLLATE:  C	CTYPE:   	MESSAGES: C
    MONETARY: C	NUMERIC: C	TIME:     C

<snip>

Namely, the "unary operator expected" warning.

BTW, does that "CTYPE:" element look correct? Just from a visual
point of view, I'd expect it to have a value (e.g. C).

Cheers,

Neil

Thu, 16 May 2002 22:00:10 -0400
Neil Conway <nconway@klamath.dyndns.org>
minor CVS regression
Neil Conway <nconway@klamath.dyndns.org> writes:
> I'm seeing this with the current CVS code:
> [nconway:/home/nconway/pgsql]% initdb -D /data/pgsql/pgdata
> The files belonging to this database system will be owned by user "nconway".
> This user must also own the server process.

> /data/pgsql/bin/initdb: test: =: unary operator expected
> The database cluster will be initialized with locales:
>     COLLATE:  C	CTYPE:   	MESSAGES: C
>     MONETARY: C	NUMERIC: C	TIME:     C

> <snip>

> Namely, the "unary operator expected" warning.

Fixed.

> BTW, does that "CTYPE:" element look correct? Just from a visual
> point of view, I'd expect it to have a value (e.g. C).

Apparently you are running with LC_CTYPE explicitly set to "".

			regards, tom lane

Thu, 16 May 2002 22:21:25 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: minor CVS regression 