Re: [PORTS] Port Bug Report: Can not create table with a number as first character

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [PORTS] Port Bug Report: Can not create table with a number as first character
Дата
Msg-id 36DCC015.82B8DB3D@alumni.caltech.edu
обсуждение исходный текст
Ответ на Port Bug Report: Can not create table with a number as first character  (Unprivileged user <nobody>)
Список pgsql-ports
> Summary: Can not create table with a number as first character
>   PostgreSQL version : 6.4.2
> create table 622 (etc char(25));
> create table v-22 (etc char(10));

You must use the SQL92 conventions to accomplish this:

postgres=> create table "622" (etc char(25));
CREATE
postgres=> insert into "622" values ('hi there');
INSERT 144982 1
postgres=> select * from "622";
etc
-------------------------
hi there
(1 row)

Same with your hyphen example. Good luck.

                   - Tom

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

Предыдущее
От: "Billy G. Allie"
Дата:
Сообщение: ...
Следующее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: destroydb fails with ERROR: typeidTypeRelid: Invalid type - oid = 0