Re: Open Items

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Open Items
Date: 2004-10-18 03:31:40
Message-ID: 200410180331.i9I3VeL04455@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > o fix ambiguity for objects using default tablespaces
>
> > CREATE TABLE test(a int4) tablespace loc;
> > CREATE UNIQUE INDEX test_a_idx3 ON test(a) tablespace pg_default;
>
> > Index test_a_idx3 has a tablespace value of zero. pg_get_indexdef()
> > thinks the index is in loc even though it is in pg_default. And
> > if you move test the index is thought to move too. The confusion
> > is that there are not separate defaults for database/schema/table.
>
> I don't think it's nearly as complicated as all that; it's just a thinko
> in pg_get_indexdef.
>
> http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ruleutils.c.diff?r1=1.182&r2=1.183

OK, I see that now. Item marked as done.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-18 03:31:56 Re: Interesting bug in tablespaces
Previous Message Neil Conway 2004-10-18 03:01:15 Re: additional GCC warnings