Re: Reset sequence to current maximum value of rows - Mailing list pgsql-general

From Jeremy Smith
Subject Re: Reset sequence to current maximum value of rows
Date
Msg-id CAM8SmLUzKLyS6sahhGZZn2cgRQ6jzHJ6ynRHLm6AcSapWMvjSA@mail.gmail.com
Whole thread Raw
In response to Re: Reset sequence to current maximum value of rows  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Reset sequence to current maximum value of rows
List pgsql-general
> Aha! So it's likely that by listing the PK column name in the list of
> columns to be inserted was what caused the problem? No need to specify
> DEFAULT for it?
>
There's no need to specify the column if it has a default value, but
specifying it did not cause the issue that you saw.



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Reset sequence to current maximum value of rows [RESOLVED]
Next
From: Rich Shepard
Date:
Subject: Re: Reset sequence to current maximum value of rows