Re: Sequence generating negative numbers - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Sequence generating negative numbers
Date
Msg-id cef509ae-c9b8-c88b-42e6-c5bc5485438c@aklaver.com
Whole thread Raw
In response to Re: Sequence generating negative numbers  (Shantanu Shekhar <shekharshan@yahoo.com>)
List pgsql-general
On 8/20/20 9:21 AM, Shantanu Shekhar wrote:
> Adrian,
> 
> The sequence is not set as a default on PK. The sequence is exclusively 
> being used by the ORM.

Then something there is generating negative numbers and using them to 
populate the PK.

> 
> Thanks,


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Shantanu Shekhar
Date:
Subject: Re: Sequence generating negative numbers
Next
From: Tom Lane
Date:
Subject: Re: Database logins taking longer and longer, showing up as "authentication" in ps(1)