Re: Include access method in listTables output

Поиск
Список
Период
Сортировка
От vignesh C
Тема Re: Include access method in listTables output
Дата
Msg-id CALDaNm23zSPK6x1ybPkCkGJMixqm0i=9=DUwPfWEyaHVL=T7CA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Include access method in listTables output  (Georgios <gkokolatos@protonmail.com>)
Ответы Re: Include access method in listTables output  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Jun 30, 2020 at 2:53 PM Georgios <gkokolatos@protonmail.com> wrote:
>
>
> As promised, I gladly ament upon your request. Also included a fix for
> a minor oversight in tests, they should now be stable. Finally in this
> version, I extended a bit the logic to only include the access method column
> if the relations displayed can have one, for example sequences.
>

Patch applies cleanly, make check & make check-world passes.
One comment:
+               if (pset.sversion >= 120000 && !pset.hide_tableam &&
+                       (showTables || showViews || showMatViews ||
showIndexes))
+                       appendPQExpBuffer(&buf,
+                                                         ",\n
am.amname as \"%s\"",
+
gettext_noop("Access Method"));

I'm not sure if we should include showViews, I had seen that the
access method was not getting selected for view.

Regards,
Vignesh
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: Cleanup - Removed unused function parameter in reorder buffer & parallel vacuum
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Built-in connection pooler