Re: all serial type was changed to 1

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Max Wang <mwang(at)1080agile(dot)com>, Amitabh Kant <amitabhkant(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: all serial type was changed to 1
Date: 2017-05-01 23:31:15
Message-ID: f25d7103-617e-e0af-ca5a-c30506578a87@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/01/2017 04:11 PM, Max Wang wrote:
> Hi Amitabh,
>
>
>
> Thank you for suggestion. We did not reach the limit of serial type.
> Some tables only have hundreds of rows.

It would helpful if you ran the query I showed in my previous post on
one the sequences just so we can see.

From subsequent post of yours:

"Sorry. I mean all tables’ id column were reset to 1."

I thought I understood on this, now I am not sure. Do you mean that the
actual values in the id column in all the tables have been set to 1 or
that the serial sequence that controls the id value has been set to 1?

>
>
>
> Regards,
>
> Max
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Max Wang 2017-05-01 23:36:00 Re: all serial type was changed to 1
Previous Message Max Wang 2017-05-01 23:29:42 Re: all serial type was changed to 1