pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: pgsql-hackers@postgreSQL.org
Cc: cgg007@yahoo.com
Subject: Re: Schema search for default operator classes (was: [ADMIN] Cross schema Primary Key Indexes problem with datatype in the public schema)
Date: Thu, 09 Feb 2006 09:09:45 -0500
Message-ID: <523.1139494185@sss.pgh.pa.us> (raw)
In-Reply-To: <20060209124248.GC5234@surnet.cl>
References: <20060208195933.6993.qmail@web32515.mail.mud.yahoo.com>
	<22538.1139450686@sss.pgh.pa.us>
	<20060209124248.GC5234@surnet.cl>

Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> Given that we only allow one default opclass for a datatype regardless
>> of schema (see DefineOpClass), it's not really necessary for
>> GetDefaultOpClass to restrict its search.

> How about doing the constrained search first, and revert to the
> unconstrained behavior if it doesn't find the desired opclass?

Seems like rather a lot of work to preserve a behavior that (AFAICS)
isn't even documented anywhere.

			regards, tom lane



view thread (4+ messages)

Message-ID: <523.1139494185@sss.pgh.pa.us>
Permalink:  ../523.1139494185@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/523.1139494185@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@commandprompt.com, pgsql-hackers@postgreSQL.org, cgg007@yahoo.com
  Subject: Re: Schema search for default operator classes (was: [ADMIN] Cross schema Primary Key Indexes problem with datatype in the public schema)
  In-Reply-To: <523.1139494185@sss.pgh.pa.us>
  References: <20060208195933.6993.qmail@web32515.mail.mud.yahoo.com> <22538.1139450686@sss.pgh.pa.us> <20060209124248.GC5234@surnet.cl> <523.1139494185@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox