public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected]
To: [email protected]
Subject: values of column source in pg_settings
Date: Wed, 10 Sep 2025 21:21:10 +0200
Message-ID: <[email protected]> (raw)

Hi all,

 

I could find several distinct values for column "source" in pg_settings
view. Examples of these values are: client, environment variable,
configuration file, default, database, override, session.

Are there other values?

The documentation doesn't mention any thing (Any way I didn't find).

In some of my databases, I have this:

 

postgres# select name, source from pg_settings where source like 'environ%';

      name       |        source       

-----------------+----------------------

max_stack_depth | environment variable

 

What is the meaning of 'environment_variable' here?

For the other listed values, I have "almost" got it but I don't see anything
for "environment variable".

 

Thanks in advance

 

Michel SALAIS



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: values of column source in pg_settings
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox