pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Melvin Davidson <melvin6925@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Restore relhaspkey in PostgreSQL Version 11 Beta
Date: Mon, 30 Jul 2018 16:24:48 -0700
Message-ID: <20180730232448.3pfx3slkpzua33da@alap3.anarazel.de> (raw)
In-Reply-To: <CANu8FiyZ-PJGiotyO8GQd6=aDMif9wVtm7B2+K9HK=uEs_vAyA@mail.gmail.com>
References: <CANu8Fiy2RZL+uVnnrzaCTJxMgcKBDOnAR7bDx3n0P=KycbSNhA@mail.gmail.com>
	<27216.1532961061@sss.pgh.pa.us>
	<CANu8FiyECP37xm8pPkM_RBWbaMEMzp5=-Dh8dDL-HHkAobb3pQ@mail.gmail.com>
	<CANu8FiwgjUdTVdTBLsaFb60nwBenYPv4tRci_y1b-L5UT5m0Dg@mail.gmail.com>
	<20180730222136.gyqu4gkp6zfpoaph@alap3.anarazel.de>
	<CANu8FiyZ-PJGiotyO8GQd6=aDMif9wVtm7B2+K9HK=uEs_vAyA@mail.gmail.com>

Hi,

On 2018-07-30 19:11:34 -0400, Melvin Davidson wrote:
> *Of course. Would you be so kind as to point out where in the
> information_schema  it *
> *indicates if a table has a primary key or not. Oh wait, now I
> remember...no place.*

As Adrian pointed out, that's wrong. It's in information_schema.  You're
pretty damn antagonistic while asking for things.


> *>Keeping random atavistic things around, would slow us down, which will be
> a>price everybody is paying. *

> *Random atavistic things? I hardly think relhaspkey is random. It's been
> there since version 7.2.*
> *Exactly how does keeping it around slow you/us down?*

Being old doesn't imply it's not superfluous and/or slows us
down. There've been a number of discussions and bug reports about the
inaccuracy - even though it's documented! - it in the last few
years. That alone costs time. Additionally it's code we need to
maintain.

Greetings,

Andres Freund




view thread (14+ messages)  latest in thread

Message-ID: <20180730232448.3pfx3slkpzua33da@alap3.anarazel.de>
Permalink:  ../20180730232448.3pfx3slkpzua33da@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180730232448.3pfx3slkpzua33da@alap3.anarazel.de

 · 

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: andres@anarazel.de, melvin6925@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Restore relhaspkey in PostgreSQL Version 11 Beta
  In-Reply-To: <20180730232448.3pfx3slkpzua33da@alap3.anarazel.de>
  References: <CANu8Fiy2RZL+uVnnrzaCTJxMgcKBDOnAR7bDx3n0P=KycbSNhA@mail.gmail.com> <27216.1532961061@sss.pgh.pa.us> <CANu8FiyECP37xm8pPkM_RBWbaMEMzp5=-Dh8dDL-HHkAobb3pQ@mail.gmail.com> <CANu8FiwgjUdTVdTBLsaFb60nwBenYPv4tRci_y1b-L5UT5m0Dg@mail.gmail.com> <20180730222136.gyqu4gkp6zfpoaph@alap3.anarazel.de> <CANu8FiyZ-PJGiotyO8GQd6=aDMif9wVtm7B2+K9HK=uEs_vAyA@mail.gmail.com> <20180730232448.3pfx3slkpzua33da@alap3.anarazel.de>

* 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