Table with Field Serial - Problem

Поиск
Список
Период
Сортировка
От Yostin Vargas
Тема Table with Field Serial - Problem
Дата
Msg-id CAPMdYjB-DZO7V2oNDV0o+Z=qRtpSQ4vYjPoqg6v1fZqTnBS7dg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Table with Field Serial - Problem  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general

I have a table with only one Field ID type Serial Autonumeric and is a PK,  i want insert a new record but it show me error  Not null violation, but  if i put a value  the first INSERT work correctly but the  next Insert it Show me error  Unique violation, 

So i try adding a new field in this table and put a value null to this field, and the ID  Autonumeric  work .

Exist a way to do it only with a field, i'm working with PHP???



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

Предыдущее
От: si24
Дата:
Сообщение: Explanantion on pgbouncer please
Следующее
От: Igor Neyman
Дата:
Сообщение: Re: Explanantion on pgbouncer please