Re: Why are default encoding conversions namespace-specific?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why are default encoding conversions namespace-specific?
Date: 2006-03-27 23:02:23
Message-ID: 24632.1143500543@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> writes:
>> I don't mind having encoding conversions be named within schemas,
>> but I propose that any given encoding pair be allowed to have only
>> one default conversion, period, and that when we are looking for
>> a default conversion we find it by a non-namespace-aware search.

> That doesn't sound good idea to me.

What does it mean to have different "default" encoding conversions in
different schemas? Even if this had a sensible interpretation, I don't
think the existing code implements it properly.

> Then why do we have CREATE DEFAULT CONVERSION command at all?

So you can create the one you're allowed to have, of course ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-27 23:30:14 Re: Why are default encoding conversions namespace-specific?
Previous Message Tatsuo Ishii 2006-03-27 22:56:03 Re: Why are default encoding conversions