Re: Views, views, views! (long)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: andrew@supernews.com
Cc: pgsql-hackers@postgresql.org
Date: 2005-05-06T04:13:14Z
Lists: pgsql-hackers
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> On 2005-05-06, Robert Treat <xzilla@users.sourceforge.net> wrote:
>> On Thursday 05 May 2005 19:17, Andrew - Supernews wrote:
>>> furthermore, writing the views has often required
>>> delving into details of the backend implementation that are not well
>>> documented. (See a recent discussion here on typmods for an example.)
>> 
>> This argument at least is a red herring.

> I disagree. If you have a bad interface, the fix is to provide a better
> one, not aggravate the problem by encouraging even more use of the bad
> interface.

"Bad" and "poorly documented" are two quite different aspersions.

More to the point: how can you build a "good" interface on top of a
"bad" one?  Whatever fundamental shortcomings exist in the latter cannot
be hidden by the former.

			regards, tom lane