Обсуждение: Missing PgAdmin Feature

Поиск
Список
Период
Сортировка

Missing PgAdmin Feature

От
yoursoft
Дата:
Dear Developers,

Create varchar index with command:
CREATE INDEX name ON table (colum text_pattern_ops);

When you select index or table in left tree, In the reversed sql window 
you will see:
CREATE INDEX name ON table USING btree (column);

In the properties window of index you see:
operator classes: text_pattern_ops

I think in the reversed sql window should be:
CREATE INDEX name ON table (colum text_pattern_ops);

If you backup the table, you will find in the sql script:
CREATE INDEX name ON table (colum text_pattern_ops);
(it is good)

Best Regards,   Ferenc Lutischan


Re: Missing PgAdmin Feature

От
"Dave Page"
Дата:

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of yoursoft
> Sent: 03 August 2006 11:13
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Missing PgAdmin Feature
>
> Dear Developers,
>
> Create varchar index with command:
> CREATE INDEX name ON table (colum text_pattern_ops);
>
> When you select index or table in left tree, In the reversed
> sql window
> you will see:
> CREATE INDEX name
>   ON table
>   USING btree
>   (column);
>
> In the properties window of index you see:
> operator classes: text_pattern_ops
>
> I think in the reversed sql window should be:
> CREATE INDEX name ON table (colum text_pattern_ops);
>
> If you backup the table, you will find in the sql script:
> CREATE INDEX name ON table (colum text_pattern_ops);
> (it is good)

Already fixed for 1.6.0:

2006-06-13 DP  1.6.0  Display non-default op classes in index
definitions.

Regards, Dave.