Re: pg_class.relistemp

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_class.relistemp
Date: 2011-07-13 19:24:35
Message-ID: 201107131924.p6DJOZp05149@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David E. Wheeler wrote:
> On Jul 13, 2011, at 12:14 PM, Bruce Momjian wrote:
>
> >> I'm wondering if it would be possible to restore the relistemp column
> >> to pg_class, at least for backwards compatibility, so that apps that
> >> expected it can continue to work on both 9.0 and 9.1. Even if it's
> >> read-only somehow, and the same as `relpersistence <> 't'`.
> >
> > Uh, that is going to require an initdb, and it is unlinkely we are going
> > to need that this far into 9.1 beta.
>
> I was afraid of that.
>
> > Also, we don't normally keep
> > system table columns around for backward compatibility because of the
> > confusion it can cause, e.g. which column do I look at?
>
> The one that's documented.

Well, that assumes people read the documention and don't just do \d.
Keeping cruft around over time makes the system more complex.

> Wasn't newsysviews supposed to deal with these sorts of issues? Why
> were they rejected?

No idea.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-07-13 19:38:43 Re: pg_class.relistemp
Previous Message David E. Wheeler 2011-07-13 19:23:07 Re: pg_class.relistemp