Thread: minor CVS regression

minor CVS regression

From
Neil Conway
Date:
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


Re: minor CVS regression

From
Tom Lane
Date:
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