> Oh, I forgot to mention.  The patch doesn't change any existing
> behaviour; the new behaviour can be invoked only by adding a new boolean
> argument:
> 
> SELECT pg_advisory_lock(1, false);
> 
> The lock space is the same though, but I don't feel strongly about it.

I could use this, and I think a lot more people would use advisory locks
with it.  Put it in the next CF and remind me to test it.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to