Re: Restore relhaspkey in PostgreSQL Version 11 Beta - Mailing list pgsql-general

From Melvin Davidson
Subject Re: Restore relhaspkey in PostgreSQL Version 11 Beta
Date
Msg-id CANu8FiwgjUdTVdTBLsaFb60nwBenYPv4tRci_y1b-L5UT5m0Dg@mail.gmail.com
Whole thread Raw
In response to Re: Restore relhaspkey in PostgreSQL Version 11 Beta  (Melvin Davidson <melvin6925@gmail.com>)
Responses Re: Restore relhaspkey in PostgreSQL Version 11 Beta  (Andres Freund <andres@anarazel.de>)
List pgsql-general


>it has never been the case that relhaspkey meant that the table *currently* has a primary key. 

Hmmm, I guess it's a lot harder to fix "squishy semantics"
from      "True if the table has (or once had) a primary key"
  to    "True if the table has a primary key after vacuum"
rather than just dropping a column that has existed from version 7.2.

So now I guess the policy is break code instead of fix documention.
That meakes sense...NOT!


--
Melvin Davidson
Maj. Database & Exploration Specialist

Universe Exploration Command – UXC

Employment by invitation only!

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Restore relhaspkey in PostgreSQL Version 11 Beta
Next
From: Rob Sargent
Date:
Subject: Re: alter table docs