Re: Show sequences owned by

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Show sequences owned by
Дата
Msg-id CABUevEyDdTM5+moXKME3v58GtqWcnZkMQGhG0P4+xcce2gFrkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Show sequences owned by  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Nov 4, 2011 at 16:04, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Fixed, and applied.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: IDLE in transaction introspection
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Show statistics target in \d+