Re: bpchar_pattern_ops not shown in index command

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Andrus" <eetasoft(at)online(dot)ee>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: bpchar_pattern_ops not shown in index command
Date: 2006-06-13 14:48:48
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4013888F3@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner(at)postgresql(dot)org
> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Dave Page
> Sent: 12 June 2006 12:13
> To: Andrus; pgadmin-support(at)postgresql(dot)org
> Subject: Re: [pgadmin-support] bpchar_pattern_ops not shown
> in index command
>
>
>
> > -----Original Message-----
> > From: pgadmin-support-owner(at)postgresql(dot)org
> > [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Andrus
> > Sent: 06 June 2006 09:17
> > To: pgadmin-support(at)postgresql(dot)org
> > Subject: [pgadmin-support] bpchar_pattern_ops not shown in
> > index command
> >
> > To reproduce, run:
> >
> > create table foo ( bar char(20));
> > CREATE UNIQUE INDEX bar_pattern_idx ON foo(LOWER(bar)
> > bpchar_pattern_ops);
> >
> >
> > Observed in pgadmin:
> >
> > CREATE UNIQUE INDEX bar_pattern_idx
> > ON foo
> > USING btree
> > (lower(bar::text));
>
> This appears to be an issue with the PostgreSQL function
> pg_get_indexdef
> - I've raised the issue on -hackers.

Apparently it was intended to work that way. SQL based fix committed to
trunk.

Thanks, Dave.

Browse pgadmin-support by date

  From Date Subject
Next Message Devrim GUNDUZ 2006-06-14 09:12:53 Re: init script for redhat
Previous Message Dave Page 2006-06-12 16:25:51 Re: Problems with SVN win32 build.