pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Neuner <gneuner2@comcast.net>
To: pgsql-general@postgresql.org
Subject: Re: select view definition from pg_views feature request
Date: Tue, 05 Nov 2019 13:58:37 -0500
Message-ID: <9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com> (raw)
References: <CAGCvxebwiB+b5y_jAj_TLX+S6CoNbVFkmPqc9wTU5FLeNUa5jQ@mail.gmail.com>
	<31367.1572815723@sss.pgh.pa.us>
	<8r71se1hojl24v6ogd8jdicldc3g40a3t6@4ax.com>
	<CAKJS1f9S0JOoE0CVzrrrumYzBvTSGKx3rct+rvjscdurwJ_frA@mail.gmail.com>

On Tue, 5 Nov 2019 14:29:00 +1300, David Rowley
<david.rowley@2ndquadrant.com> wrote:


>See https://www.postgresql.org/docs/current/sql-set.html
>
>"SET only affects the value used by the current session."
>
>Also:
>
>"The effects of SET LOCAL last only till the end of the current transaction"
>
>Neither affects other sessions.


Ok, so you need to "ALTER DATABASE ..." for the change to affect
everyone.  Thanks for the clarification.

George






view thread (9+ messages)

Message-ID: <9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com>
Permalink:  ../9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com/
Also on:    postgresql.org/message-id/9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gneuner2@comcast.net
  Subject: Re: select view definition from pg_views feature request
  In-Reply-To: <9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com>
  References: <CAGCvxebwiB+b5y_jAj_TLX+S6CoNbVFkmPqc9wTU5FLeNUa5jQ@mail.gmail.com> <31367.1572815723@sss.pgh.pa.us> <8r71se1hojl24v6ogd8jdicldc3g40a3t6@4ax.com> <CAKJS1f9S0JOoE0CVzrrrumYzBvTSGKx3rct+rvjscdurwJ_frA@mail.gmail.com> <9fh3seh2i2h0p9hd13mj01j90fgmqvrpsa@4ax.com>

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

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