Re: Reset sequence number - Mailing list pgsql-admin

From Lonh SENG
Subject Re: Reset sequence number
Date
Msg-id 000f01c1be5f$467be5e0$05a00017@idlonh
Whole thread Raw
In response to Reset sequence number  (Marc <syn_uw@nospan_hotmail.com>)
List pgsql-admin
I use truncate table $table_name.
This will delete all data from that table and reset the sequense number.
----- Original Message -----
From: "Marc" <syn_uw@nospan_hotmail.com>
To: <pgsql-admin@postgresql.org>
Sent: Saturday, February 23, 2002 6:37 PM
Subject: [ADMIN] Reset sequence number


> Hello,
>
> How can I reset a sequence number back to 0 ?
>
> Regards
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump error
Next
From: "Gaetano Mendola"
Date:
Subject: Regression tests failed