text_pattern_ops not shown in index command

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: pgadmin-support(at)postgresql(dot)org
Subject: text_pattern_ops not shown in index command
Date: 2006-11-26 00:19:17
Message-ID: ekanac$572$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

To reproduce:

create table foo ( bar char(20));
CREATE UNIQUE INDEX bar_pattern_idx ON foo(LOWER(bar) text_pattern_ops);

Observed in pgAdmin 1.6 post beta-1 table definition pane:

CREATE UNIQUE INDEX bar_pattern_idx
ON foo
USING btree
(lower(bar::text));

Expected:

text_pattern_ops must be present

Remarks:

1. pg_get_indexdef() returns text_pattern_ops . I'm wondering why pgAdmin
does not use this.

2. Similar issue with bpchar_pattern_ops is fixed, thanks.

Andrus.

"PostgreSQL 8.2beta1 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2
(mingw-special)"

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message novnov 2006-11-26 02:07:16 Re: Newbie questions, diff between functions and
Previous Message Dave Page 2006-11-25 23:08:59 Re: Add CASCADE to DROP SCHEMA, please