pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Andreas Seltenreich <seltenreich@gmx.de>
Cc: Piotr Stefaniak <postgres@piotr-stefaniak.me>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: [sqlsmith] Failed assertion in joinrels.c
Date: Fri, 29 Jul 2016 12:17:43 -0400
Message-ID: <15728.1469809063@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+Tgmoah9DyjU-SNL+S6H5MX92dfmS4aQTj3bBq+uoKyN2mAgA@mail.gmail.com>
References: <87wpxfygg9.fsf@credativ.de>
	<15630.1438391483@sss.pgh.pa.us>
	<87614zxroq.fsf@credativ.de>
	<2086.1438444757@sss.pgh.pa.us>
	<BLU436-SMTP121548815908D3CF56F631BF2880@phx.gbl>
	<13027.1438546710@sss.pgh.pa.us>
	<87egjhv9j8.fsf@credativ.de>
	<8205.1438906901@sss.pgh.pa.us>
	<CAB7nPqThJsGnH2JNyHPZmXFk8a26RhqRhR7in0zCpT+OttfzEw@mail.gmail.com>
	<14249.1465054181@sss.pgh.pa.us>
	<CAB7nPqRhSh1RrYRnGnk_5DZP8WoKNMuYeL4ed3LEmgQjpZHfpg@mail.gmail.com>
	<CAB7nPqTfzOVgdSK3jKM2L1Awy9nV6RQQni09f8cHjtny6jeQOw@mail.gmail.com>
	<24118.1465136174@sss.pgh.pa.us>
	<CAB7nPqTxF5dtxjEzB7xkJvOWxX8D_2atxmTu3PSnkhcWT_JY5A@mail.gmail.com>
	<CA+TgmoZ6rtR0ozn41GB63m1QitKUP45Z9dA3w4apbeHwq8SwYA@mail.gmail.com>
	<CAB7nPqSW-rUBUaECXzi1ZNMpNLdEsDYec=2mWNQ+J4qeGKF2OQ@mail.gmail.com>
	<CA+Tgmoah9DyjU-SNL+S6H5MX92dfmS4aQTj3bBq+uoKyN2mAgA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jul 26, 2016 at 9:27 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> While looking at the series of functions pg_get_*, I have noticed as
>> well that pg_get_userbyid() returns "unknown (OID=%u)" when it does
>> not know a user. Perhaps we'd want to change that to NULL for
>> consistency with the rest?

> That's probably correct in theory, but it's a little less closely
> related, and I'm not entirely sure how far we want to go with this.
> Remember, the original purpose was to avoid having an internal error
> (cache lookup failed, XX000) exposed as a user-visible error message.
> Are we at risk from veering from actual bug-fixing off into useless
> tinkering?  Not sure.

I'd vote for leaving that one alone; yeah, it's a bit inconsistent
now, but no one has complained about its behavior.

			regards, tom lane


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



view thread (55+ messages)  latest in thread

Message-ID: <15728.1469809063@sss.pgh.pa.us>
Permalink:  ../15728.1469809063@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15728.1469809063@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, michael.paquier@gmail.com, seltenreich@gmx.de, postgres@piotr-stefaniak.me
  Subject: Re: [sqlsmith] Failed assertion in joinrels.c
  In-Reply-To: <15728.1469809063@sss.pgh.pa.us>
  References: <87wpxfygg9.fsf@credativ.de> <15630.1438391483@sss.pgh.pa.us> <87614zxroq.fsf@credativ.de> <2086.1438444757@sss.pgh.pa.us> <BLU436-SMTP121548815908D3CF56F631BF2880@phx.gbl> <13027.1438546710@sss.pgh.pa.us> <87egjhv9j8.fsf@credativ.de> <8205.1438906901@sss.pgh.pa.us> <CAB7nPqThJsGnH2JNyHPZmXFk8a26RhqRhR7in0zCpT+OttfzEw@mail.gmail.com> <14249.1465054181@sss.pgh.pa.us> <CAB7nPqRhSh1RrYRnGnk_5DZP8WoKNMuYeL4ed3LEmgQjpZHfpg@mail.gmail.com> <CAB7nPqTfzOVgdSK3jKM2L1Awy9nV6RQQni09f8cHjtny6jeQOw@mail.gmail.com> <24118.1465136174@sss.pgh.pa.us> <CAB7nPqTxF5dtxjEzB7xkJvOWxX8D_2atxmTu3PSnkhcWT_JY5A@mail.gmail.com> <CA+TgmoZ6rtR0ozn41GB63m1QitKUP45Z9dA3w4apbeHwq8SwYA@mail.gmail.com> <CAB7nPqSW-rUBUaECXzi1ZNMpNLdEsDYec=2mWNQ+J4qeGKF2OQ@mail.gmail.com> <CA+Tgmoah9DyjU-SNL+S6H5MX92dfmS4aQTj3bBq+uoKyN2mAgA@mail.gmail.com> <15728.1469809063@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