Re: pg_class.relistemp - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_class.relistemp
Date
Msg-id 13901.1310681100@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_class.relistemp  (Josh Berkus <josh@agliodbs.com>)
Responses Re: pg_class.relistemp
Re: pg_class.relistemp
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> There are a ton of
>> things that change with each release, and all we do by putting in
>> hacks for backwards compatibility is add bloat that needs to be
>> maintained, and encourage vendors to be lazy.

> I don't agree that having comprehensive system views with multi-version
> stability would be a "hack".

If we had that, it wouldn't be a hack.  Putting in a hack to cover the
specific case of relistemp, on the other hand, is just a hack.

The real question here, IMO, is "how many applications are there that
really need to know about temporary relations, but have no interest in
the related feature of unlogged relations?".  Because only such apps
would be served by a compatibility hack for this.  An app that thinks it
knows the semantics of relistemp, and isn't updated to grok unlogged
tables, may be worse than broken --- it may be silently incorrect.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: pg_class.relistemp
Next
From: Josh Berkus
Date:
Subject: Re: pg_class.relistemp