Is it possible, via standard PostgreSQL or an extension, to set up a user-defined global variable outside of a stored procedure, and be able to query against the value of that variable?