Re: pg_get_INDEXdef - opclass

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pg_get_INDEXdef - opclass
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E401388881@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответы Re: pg_get_INDEXdef - opclass
Список pgsql-hackers
Bah, I mean pg_get_indexdef of course :-)

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dave Page
> Sent: 12 June 2006 12:12
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] pg_get_viewdef - opclass
>
> Following a pgAdmin bug report, I noticed that pg_get_viewdef doesn't
> return the opclass when called for a specific column (in 8.1
> at least) -
> for example, for the index:
>
> CREATE UNIQUE INDEX bar_pattern_idx2 ON foofoo USING btree
> (lower((bar)::text) bpchar_pattern_ops, bar2)
>
> A query on column 1 returns:
>
> lower((bar)::text)
>
> It seems to me that the opclass should be included as well.
>
> Regards, Dave.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org
> so that your
>        message can get through to the mailing list cleanly
>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: pg_get_viewdef - opclass
Следующее
От: Böszörményi Zoltán
Дата:
Сообщение: Re: Extended SERIAL parsing