Search Postgresql Archives

Table with Field Serial - Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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???




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux