Re: Remove "FROM" in "DELETE FROM" when using tab-completion
От | Dilip Kumar |
---|---|
Тема | Re: Remove "FROM" in "DELETE FROM" when using tab-completion |
Дата | |
Msg-id | CAFiTN-s1uOqL1N46c+bOLMv_ymeP5+V7kdkOwgE9tYhxQgqJ-Q@mail.gmail.com обсуждение исходный текст |
Ответ на | RE: Remove "FROM" in "DELETE FROM" when using tab-completion ("tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>) |
Ответы |
Re: Remove "FROM" in "DELETE FROM" when using tab-completion
|
Список | pgsql-hackers |
On Mon, May 10, 2021 at 5:57 PM tanghy.fnst@fujitsu.com <tanghy.fnst@fujitsu.com> wrote: > > On Monday, May 10, 2021 4:15 PM, Julien Rouhaud <rjuju123@gmail.com> wrote > >We should change all to DELETE FROM (apart from \help of course), and same for > >INSERT, change to INSERT INTO everywhere it makes sense. > > Thanks for the reply. Your advice sounds reasonable to me. > So I tried to change all "DELETE" to "DELETE FROM" and "INSERT" to "INSERT INTO" in the attached patch except > the follow cases which I think is in accordance with what PG-Doc said. > CREATE POLICY > CREATE [ OR REPLACE ] RULE > CREATE [ OR REPLACE ] TRIGGER > ALTER DEFAULT PRIVILEGES > > After applying the patch, the tap-tests for psql is passed. > Please be free to tell me anything insufficient you found in my fix. Thanks. LGTM. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: