Search Postgresql Archives

Re: Locking of auto generated sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sid tow wrote:
Hi All,

Is there a way to stop a auto generated sequence from incrementing
for some time and then activate it to do the increments.

You might be able to do something by revoking permissions to the sequence, and wrapping nextval/currval with security=owner functions. If you can describe what you're trying to achieve and why that might help.


--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@xxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux