Re: [PATCHES] Patch - Have psql show current values

From: Dhanaraj M <Dhanaraj(dot)M(at)Sun(dot)COM>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] Patch - Have psql show current values
Date: 2006-08-24 06:31:50
Message-ID: 44ED47D6.50804@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

For \ds command,
this patch displays the current sequence value(last_value) for each
sequence.
This was suggested during the earlier discussion.

Output of the current patch:
--------------------------------------
mydb=# \ds
List of relations
Schema | Name | Type | Owner | Seq Value
--------+------+----------+----------+-----------
public | a | sequence | Dhanaraj | 5
public | b | sequence | Dhanaraj | 2
public | c | sequence | Dhanaraj | 1
(3 rows)

output without aplying the patch
--------------------------------------------
mydb=# \ds
List of relations
Schema | Name | Type | Owner
--------+------+----------+----------+-----
public | a | sequence | Dhanaraj
public | b | sequence | Dhanaraj
public | c | sequence | Dhanaraj
(3 rows)

Peter Eisentraut wrote:

>Dhanaraj M wrote:
>
>
>>This patch was discussed a few months ago.
>>I could not complete this patch at that time.
>>I hope that the current version of my patch is acceptable.
>>
>>
>
>What is this patch supposed to be doing?
>
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Kronuz 2006-08-24 06:52:26 Re: ISBN/ISSN/ISMN/EAN13 module
Previous Message Peter Eisentraut 2006-08-24 06:25:29 Re: [PATCHES] Patch - Have psql show current values

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2006-08-24 09:19:21 Re: [PATCHES] selecting large result sets in psql using
Previous Message Peter Eisentraut 2006-08-24 06:25:29 Re: [PATCHES] Patch - Have psql show current values