current_setting returns 'unset'

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: current_setting returns 'unset'
Date: 2006-01-10 10:41:18
Message-ID: 200601101141.18851.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The function current_setting returns 'unset' if a parameter is not set.
Should it not return null? This is not documented, so I guess this just
arose out of the implementation, or is this intentional?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-01-10 14:47:50 Re: lookup_rowtype_tupdesc considered harmful
Previous Message Greg Stark 2006-01-10 03:08:38 Re: Improving N-Distinct estimation by ANALYZE