| От | Tom Lane |
|---|---|
| Тема | Re: Show sequences owned by |
| Дата | |
| Msg-id | 7905.1320419045@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Show sequences owned by (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Show sequences owned by
|
| Список | pgsql-hackers |
Magnus Hagander <magnus@hagander.net> writes:
> Updated patch attached that does this, and the proper schema qualifications.
I'd schema-qualify the quote_ident and regclass names too.
Also, just as a matter of style, I think it'd be better to assign short
aliases to the table names ("pg_catalog.pg_class c" etc) and use those.
I forget what the letter of the SQL standard is about whether an
un-aliased schema-qualified table name can be referenced in the query
without schema-qualifying the reference, but I'm pretty sure that not
doing so is at least frowned on.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера