pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: virgile.crevon@dassault-aviation.com
Cc: pgsql-bugs@lists.postgresql.org, Thomas Munro <thomas.munro@gmail.com>
Subject: Re: BUG #16026: default_tablespace in postgresql.conf is used instead of the database's default.
Date: Thu, 26 Sep 2019 11:01:17 -0400
Message-ID: <12186.1569510077@sss.pgh.pa.us> (raw)
In-Reply-To: <16026-7938df12bae60c5e@postgresql.org>
References: <16026-7938df12bae60c5e@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> 1- create a tablespace data  (whereever you want it to be). Note that data
> is lowercase without quotation marks.
> 2- set default_tablespace='DATA' in postgresql.conf. Note this is un
> UPPERCASE.
> 3- reload conf.
> 4- create a database with default tablespace data (lowercase).
> 5- create a query that is using parallel (gather step) to seq scan.

This is the same issue discussed in

https://www.postgresql.org/message-id/flat/15726-6d67e4fa14f027b3%40postgresql.org

I'm not sure why progress on that thread has come to a dead halt,
but in any case, the general opinion seems to be that all we're
going to do about it is improve the error reporting.  Wrong values
in postgresql.conf aren't a well-supported or encouraged situation,
even if it seems to mostly work for default_tablespace.

BTW, it occurred to me to wonder if we could make the situation
better by running RestoreGUCState() *outside* a transaction,
but that just moves the problems around:

+ERROR:  invalid value for parameter "session_authorization": "postgres"
+CONTEXT:  parallel worker

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <12186.1569510077@sss.pgh.pa.us>
Permalink:  ../12186.1569510077@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12186.1569510077@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, virgile.crevon@dassault-aviation.com, thomas.munro@gmail.com
  Subject: Re: BUG #16026: default_tablespace in postgresql.conf is used instead of the database's default.
  In-Reply-To: <12186.1569510077@sss.pgh.pa.us>
  References: <16026-7938df12bae60c5e@postgresql.org> <12186.1569510077@sss.pgh.pa.us>

* 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