problems with query

Поиск
Список
Период
Сортировка
От Martin A. Marques
Тема problems with query
Дата
Msg-id 00122017232101.11600@math.unl.edu.ar
обсуждение исходный текст
Ответы Re: problems with query  (Thomas Swan <tswan-lst@ics.olemiss.edu>)
Список pgsql-hackers
Hi, I have this table on postgres-7.0.3

CREATE TABLE ciudad (
       id_ciudad    SERIAL,
       ciudad        VARCHAR(60)
);

GRANT ALL ON ciudad TO martin;

CREATE INDEX ciudad_idx ON ciudad (ciudad);

And I try to insert a value using this query:

INSERT INTO ciudad (ciudad) VALUES ("Villa Guillermina")

getting as responce the message:

ERROR:  Attribute 'Villa Guillermina' not found.

The field ciudad is of type varchar(60), so I don't get why it gives me this
message.

Any ideas?


--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Table name scope (was Re: [BUGS] Outer joins aren't working with views)
Следующее
От: Thomas Swan
Дата:
Сообщение: Re: problems with query