Bypassing useless ORDER BY in a VIEW

Поиск
Список
Период
Сортировка
От Robins Tharakan
Тема Bypassing useless ORDER BY in a VIEW
Дата
Msg-id 36af4bed0802280631ja29c636w2256fb329e14b95e@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bypassing useless ORDER BY in a VIEW  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Hi,

While designing a complex database structure I wanted to ask a basic question about views.

If I give an ORDER BY clause in a VIEW and then use it in another query where the VIEW's ORDER BY is immaterial, would the planner be able to discard this ORDER BY clause ?

Any pointers / feedbacks would be really helpful.

Regards,
Robins Tharakan

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: t1.col like '%t2.col%'
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bypassing useless ORDER BY in a VIEW