Re: BUG #12024: autocomplete doesn't work for ALTER CONSTRAINT - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #12024: autocomplete doesn't work for ALTER CONSTRAINT
Date
Msg-id CAB7nPqSg53+PbDa89DDUHeAhroqrL7Gsy3cy5qeNqdm5cOkViA@mail.gmail.com
Whole thread Raw
In response to BUG #12024: autocomplete doesn't work for ALTER CONSTRAINT  (lizenko79@gmail.com)
Responses Re: BUG #12024: autocomplete doesn't work for ALTER CONSTRAINT  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-bugs
On Sat, Nov 22, 2014 at 12:19 AM, <lizenko79@gmail.com> wrote:
If I try to press "tab" to complete
ALTER TABLE <some_table> ALTER CO...

only COLUMN hint is shown, CONSTRAINT is missing
Yes, indeed. Supporting ALTER TABLE <foo> ALTER CONSTRAINT has proved not to be that complicated. Per se the patch attached. I haven't added the part about deferred constraints but still that's an improvement as it can go up to the constraint detection.
--
Michael
Attachment

pgsql-bugs by date:

Previous
From: David G Johnston
Date:
Subject: Re: BUG #11902: PostgreSQL 9.5 crashes on alter table in function seems to be fixed
Next
From: maxim.boguk@gmail.com
Date:
Subject: BUG #12071: Stat collector went crasy (50MB/s constant writes)