Re: inquiry on readline functionality on psql client

From: Carlo Florendo <list-subscriber(at)hq(dot)astra(dot)ph>
To: Carlo Florendo <list-subscriber(at)hq(dot)astra(dot)ph>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: inquiry on readline functionality on psql client
Date: 2004-10-21 02:13:38
Message-ID: 41771B52.6050002@hq.astra.ph
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Carlo Florendo wrote:

> Hello,
>
> I appreciate very much the readline functionality on the psql client.
> However, I'd like to ask if it is possible for the readline
> functionality to gobble up even table names and field names:
>
> For example, if have tables
>
> `table1' with 3 fields `field1', 'field2', and `field3'
>
> and
>
> `table2' with 3 fields `field1', 'field2', and `field3',
>
> Is it possible to do
>
> select <tab> # then, after tabbing I select `table1'
>
> then
>
> select table1.<tab> # then, after tabbing I select field2
>
> Thus, I would have the complete statment
>
> `select table1.field2 from table1'
>
> Well, the above statement is equivalent to
>
> `select field1 from table1'

Sorry, the above sql shoud read `select field2 from table1'

Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hicham G. Elmongui 2004-10-21 03:04:03 Re: generic sql question
Previous Message Dennis Gearon 2004-10-21 01:57:41 generic sql question