Tab completion for INHERIT and NO INHERIT

Lists: pgsql-hackers
From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Tab completion for INHERIT and NO INHERIT
Date: 2012-07-24 01:22:41
Message-ID: CAMkU=1yT1mY1bxspQEf+ULe7xgROj1Sd0pt1-yBwA1TE7rJkFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I was playing around with partitioning recently, and was annoyed that
tab completion doesn't work for setting the table to (dis)inherit.

It seemed easy enough to add.

For the "NO INHERIT" case, it would be nice to complete only table
names currently being inherited by the first table, but I don't know
how to make that happen.

Cheers,

Jeff

Attachment Content-Type Size
complete_inherit_v1.patch application/octet-stream 1023 bytes

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tab completion for INHERIT and NO INHERIT
Date: 2012-07-26 14:18:10
Message-ID: CA+TgmoZ-+MBofwwKOwDp0vX4b6Xe=bHdv2AHk=_j3KGZKDqR2Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Jul 23, 2012 at 9:22 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
> I was playing around with partitioning recently, and was annoyed that
> tab completion doesn't work for setting the table to (dis)inherit.

Thanks for the patch. Committed.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company