Bug when special table names meet autoincrement field !!!!

Поиск
Список
Период
Сортировка
От Constantin Teodorescu
Тема Bug when special table names meet autoincrement field !!!!
Дата
Msg-id 3643050B.D005BA96@flex.ro
обсуждение исходный текст
Список pgsql-hackers
I have discovered today an interesting bug , when creating table name
containing spaces and one of the fields are auto_increment-able.
See the example below :


showroom=> create sequence student_id;
CREATE
showroom=> create table students (id int4 default
nextval('student_id'),name text);
CREATE
showroom=> drop table students;
DROP
showroom=> create table "my students" (id int4 default
nextval('student_id'), name text);
ERROR:  my: Table does not exist.

Please CC: me directly the answer.


Constantin Teodorescu
FLEX Consulting Braila, ROMANIA


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] linux libc6 & pgsql 6.4
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] PL/pgSQL a great procedural language for PostgreSQL