minor CVS regression

Поиск
Список
Период
Сортировка
Искать

minor CVS regression

От:
Neil 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



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

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Neil Conway  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

> 

> 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

FAQ