Michael Gould wrote:
> I have created the following in my postgres.conf file
> 
> custom_variable_classes = 'iss'
> 
> In a SQL session I've tried 
> 
> Set iss.one = '1'
> set iss.two = '2'
> 
> Select * from iss;
> 
> How do I access the values from the custom class in sql code?

show iss.one;
select current_setting('iss.one');

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Reply via email to