Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

text_pattern_ops not shown in index command



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)" 





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group