Bug #551: alter table add field serial - does not create serial field
В списке pgsql-bugs по дате отправления:
| От | pgsql-bugs@postgresql.org |
|---|---|
| Тема | Bug #551: alter table add field serial - does not create serial field |
| Дата | |
| Msg-id | 200201041158.g04BwSm50383@postgresql.org обсуждение исходный текст |
| Ответы |
Re: Bug #551: alter table add field serial - does not create
|
| Список | pgsql-bugs |
wolfgang fuertbauer (w.fuertbauer@eunet.at) reports a bug with a severity of 3
The lower the number the more severe it is.
Short Description
alter table add field serial - does not create serial field
Long Description
altering an existing table and adding a field from type serial via
>>alter table test add (s serial);<<
does not add a serial, but an integer field.
Sample Code
create table t (t text);
CREATE
\d t
Table "t"
Attribute | Type | Modifier
-----------+------+----------
t | text |
alter table t add s serial;
ALTER
\d t
Table "t"
Attribute | Type | Modifier
-----------+---------+----------
t | text |
s | integer |
No file was uploaded with this report
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера