Excerpts from Leslie Satenstein's message of dom dic 19 23:39:38 -0300 2010:
> The insert examples in section 2.4 do not function if a cut and paste from
> pdf to psql is done
>
> This is the problem
> INSERT INTO weather VALUES (âSan Franciscoâ, 46, 50, 0.25,
> â1994-11-27â);
> The fields city and date should have ' as delimiter, not
> â
> Corrected is the following that works. Error messages are not clear. It
> would be great if psql indicated invalid character as error type.
The problem is that â seems to be a valid character for identifiers:
alvherre=# create table âohâ (âahâ int);
CREATE TABLE
alvherre=# \d âohâ
Tabla «alvherre.âohâ»
Columna â Tipo â Modificadores
ââââââââââ¼ââââââââââ¼âââââââââââââââ
âahâ â integer â
--
Ãlvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support