Re: Automatic PK values not added to new rows

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Automatic PK values not added to new rows
Дата
Msg-id c8e3b0d2-dd92-3764-74c2-fb70b6b8bbc4@aklaver.com
обсуждение исходный текст
Ответ на Automatic PK values not added to new rows  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: Automatic PK values not added to new rows  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
On 5/25/22 10:43 AM, Rich Shepard wrote:
> The People table has 965 rows; the table structure is:

> 
> person_nbr 683 is not in any row to be inserted.
> 
> I was under the impression that the person_nbr for the new rows would start
> with 966 but that's apparently not happening.
> 
> What have I missed?

Do:

  select * from people_person_nbr_seq;

and report back the results.

> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Automatic PK values not added to new rows
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Automatic PK values not added to new rows