> AFAICS you'd either use transactional or session level, but to use
> both seems bizarre. And if you really did need both, you can put a
> wrapper around the function to check whether a session level exists
> before you grant the transaction level lock, or vice versa.
You wouldn't want to *intentionally*. On a large complex codebase,
though, who knows?
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com