RE: add \dpS to psq [16beta1]
От
Shinoda, Noriyoshi (PN Japan FSIP)
Тема
RE: add \dpS to psq [16beta1]
Дата
Msg-id
DM4PR84MB17342A51B3A1556CFBC7A4B2EE25A@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
Ответ на
Re: add \dpS to psql (Nathan Bossart)
Список
Дерево обсуждения
add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Pavel Luzanov <p.luzanov@postgrespro.ru>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Justin Pryzby <pryzby@telsasoft.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Tom Lane <tgl@sss.pgh.pa.us>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Isaac Morland <isaac.morland@gmail.com>
Re: add \dpS to psql Pavel Luzanov <p.luzanov@postgrespro.ru>
Re: add \dpS to psql Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Tom Lane <tgl@sss.pgh.pa.us>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Michael Paquier <michael@paquier.xyz>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Andrew Dunstan <andrew@dunslane.net>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Maxim Orlov <orlovmg@gmail.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Dean Rasheed <dean.a.rasheed@gmail.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Dean Rasheed <dean.a.rasheed@gmail.com>
Re: add \dpS to psql Nathan Bossart <nathandbossart@gmail.com>
RE: add \dpS to psq [16beta1] "Shinoda, Noriyoshi (PN Japan FSIP)" <noriyoshi.shinoda@hpe.com>
Re: add \dpS to psq [16beta1] Nathan Bossart <nathandbossart@gmail.com>
Re: add \dpS to psql Isaac Morland <isaac.morland@gmail.com>
Hi, Thank you for developing a good feature. I found while testing PostgreSQL 16 Beta 1 that the output of the \? metacommand did not include \dS, \dpS. The attached patch changes the output of the \? meta command to: Current output psql=# \? \z [PATTERN] same as \dp \dp [PATTERN] list table, view, and sequence access privileges Patched output psql=# \? \dp[S] [PATTERN] list table, view, and sequence access privileges \z[S] [PATTERN] same as \dp Regards, Noriyoshi Shinoda -----Original Message----- From: Nathan Bossart Sent: Tuesday, January 10, 2023 2:46 AM To: Dean Rasheed Cc: Maxim Orlov ; Andrew Dunstan ; Michael Paquier ; Tom Lane ; Isaac Morland ; Justin Pryzby ; Pavel Luzanov ; pgsql-hackers@postgresql.org Subject: Re: add \dpS to psql On Sat, Jan 07, 2023 at 11:18:59AM +0000, Dean Rasheed wrote: > It might be true that temp tables aren't usually interesting from a > permissions point of view, but it's not hard to imagine situations > where interesting things do happen. It's also probably the case that > most users won't have many temp tables, so I don't think including > them by default will be particularly intrusive. > > Also, from a user perspective, I think it would be something of a POLA > violation for \dp[S] and \dt[S] to include different sets of tables, > though I appreciate that we do that now. There's nothing in the docs > to indicate that that's the case. Agreed. > Anyway, I've pushed the v2 patch as-is. If anyone feels strongly > enough that we should change its behaviour for temp tables, then we > can still discuss that. Thanks! -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления