hint unique result fro union

Поиск
Список
Период
Сортировка
От Matteo Bertini
Тема hint unique result fro union
Дата
Msg-id 1e2c38000608160823x70db6813l2cec3e45dca9372e@mail.gmail.com
обсуждение исходный текст
Ответы Re: hint unique result fro union
Re: hint unique result fro union
Список pgsql-general
Hello all!

I'm quite new to pg, but I'm using it quite a lot in the last few monts.

Deeping in new features, I found a question: is it possible to hint an unique result from a select?

Mainly, thinking about partitions, I'd like to create a small, frequently accessed partition and a big, rarely accessed partition.

I'd like to hint pg to stop the query on the parent partition at the first found item (and so hint not to analyze all the childs), because I know the index I'm using is unique.

Possible? Usefull?

Thanks,
Matteo Bertini

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: [NOVICE] DB insert Error
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: limitations of constraints, possible bugs