minor CVS regression

Started by Neil Conwayover 23 years ago2 messages
#1Neil Conway
nconway@klamath.dyndns.org

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#1)
Re: 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