Re: [HACKERS] A bug of psql completion

2016-12-05 Thread Kyotaro HORIGUCHI
At Mon, 28 Nov 2016 11:52:07 -0500, Tom Lane wrote in <4624.1480351...@sss.pgh.pa.us> tgl> Kyotaro HORIGUCHI writes: tgl> > I noticed that the psql completion code for "ALTER TABLE x ALTER tgl> > [COLUMN] x DROP" is wrong. It works as the

Re: [HACKERS] A bug of psql completion

2016-11-28 Thread Tom Lane
Kyotaro HORIGUCHI writes: > I noticed that the psql completion code for "ALTER TABLE x ALTER > [COLUMN] x DROP" is wrong. It works as the following > =# alter table x alter x drop > [nothing suggested] > =# alter table x table x alter x drop > DEFAULT NOT

[HACKERS] A bug of psql completion

2016-11-28 Thread Kyotaro HORIGUCHI
Hello. I noticed that the psql completion code for "ALTER TABLE x ALTER [COLUMN] x DROP" is wrong. It works as the following =# alter table x alter x drop [nothing suggested] =# alter table x table x alter x drop DEFAULT NOT NULL The attached patch fixes it. -- Kyotaro Horiguchi NTT