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

Поиск
Список
Период
Сортировка
От Dhanaraj M
Тема Re: [PATCHES] Patch - Have psql show current values
Дата
Msg-id 44ED47D6.50804@sun.com
обсуждение исходный текст
Ответ на Re: [PATCHES] Patch - Have psql show current values  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
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 relationsSchema | Name |   Type   |  Owner   | Seq Value
--------+------+----------+----------+-----------public | a    | sequence | Dhanaraj |         5public | b    |
sequence| Dhanaraj |         2public | c    | sequence | Dhanaraj |         1
 
(3 rows)

output without aplying the patch
--------------------------------------------
mydb=# \ds               List of relationsSchema | Name |   Type   |  Owner  
--------+------+----------+----------+-----public | a    | sequence | Dhanarajpublic | b    | sequence | Dhanarajpublic
|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?
>
>  
>



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCHES] Patch - Have psql show current values
Следующее
От: "Jeremy Kronuz"
Дата:
Сообщение: Re: ISBN/ISSN/ISMN/EAN13 module