Re: ALTER SYSTEM RESET?
От | Fujii Masao |
---|---|
Тема | Re: ALTER SYSTEM RESET? |
Дата | |
Msg-id | CAHGQGwF_kbu0P2_hcte-xwg0ntactCAUK3Mr0g-xZ2BsN6OyPw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: ALTER SYSTEM RESET? (Amit Kapila <amit.kapila16@gmail.com>) |
Ответы |
Re: ALTER SYSTEM RESET?
|
Список | pgsql-hackers |
On Sat, Aug 30, 2014 at 12:27 PM, Amit Kapila <amit.kapila16@gmail.com> wrote: > On Wed, Aug 27, 2014 at 7:16 PM, Fujii Masao <masao.fujii@gmail.com> wrote: >> The patch looks good to me. One minor comment is; probably you need to >> update the tab-completion code. > > Thanks for the review. I have updated the patch to support > tab-completion. > As this is a relatively minor change, I will mark it as > "Ready For Committer" rather than "Needs Review". Thanks for updating the patch! One more minor comment is; what about applying the following change for the tab-completion for RESET ALL? This causes the tab-completion of even ALTER SYSTEM SET to display "all" and that's strange. But the tab-completion of "SET" has already had the same problem. So I think that we can live with that. Attached is the patch that I added the following change onto your patch. Barring any objection, I will commit the patch. @@ -545,7 +545,8 @@ static const SchemaQuery Query_for_list_of_matviews = { "SELECT name FROM "\ " (SELECT pg_catalog.lower(name) AS name FROM pg_catalog.pg_settings "\ " WHERE context != 'internal') ss "\ -" WHERE substring(name,1,%d)='%s'" +" WHERE substring(name,1,%d)='%s'"\ +" UNION ALL SELECT 'all' ss" Regards, -- Fujii Masao
Вложения
В списке pgsql-hackers по дате отправления: