Re: An Idea for OID conflicts

From: Tom Dunstan <pgsql(at)tomd(dot)cc>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: An Idea for OID conflicts
Date: 2006-09-18 22:15:19
Message-ID: 450F1A77.1040702@tomd.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark wrote:
> Those types, functions and operators that aren't used by system tables could
> be created by a simple SQL script instead. It's a hell of a lot easier to
> write a CREATE OPERATOR CLASS call than to get all the OIDs in in four
> different include files to line up properly.

No kidding.

Just FYI that wouldn't have worked for the enums patch, though, because
of the pseudo anyenum type. That stuff really did need to be in the
backend. For more common user defined types like uuid that are being
discussed, it might work well. Heck, a bunch of the existing casts etc
could probably be changed to SQL, and would become a great deal more
readable in the process. Not that I'm advocating fixing a non-broken
thing... :)

Cheers

Tom

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gevik Babakhani 2006-09-18 22:27:30 Re: Patch for UUID datatype (beta)
Previous Message Tom Lane 2006-09-18 22:12:45 Re: 8.2 beta blockers