pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: daveg <daveg@sonic.net>
To: Dickson S. Guedes <guediz@gmail.com>
Cc: pgsql-patches@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: TODO item: Have psql show current values for a sequence
Date: Fri, 23 May 2008 22:25:04 -0700
Message-ID: <20080524052504.GE2470@sonic.net> (raw)
In-Reply-To: <f0b79c6f0805232027j4771b7do1ca7dd7ce5c85335@mail.gmail.com>
References: <f0b79c6f0805232027j4771b7do1ca7dd7ce5c85335@mail.gmail.com>

On Sat, May 24, 2008 at 12:27:16AM -0300, Dickson S. Guedes wrote:
> Hi all,
> 
> These patch implements the TODO item: Have psql show current values
> for a sequence.
> Comments are welcome.
> 
>           Sequence "public.foo_bar_seq"
> +---------------+---------+---------------------+
> |    Column     |  Type   |        Value        |
> +---------------+---------+---------------------+
> | sequence_name | name    | foo_bar_seq         |
> | last_value    | bigint  | 11                  |
> | start_value   | bigint  | 1                   |
> | increment_by  | bigint  | 1                   |
> | max_value     | bigint  | 9223372036854775807 |
> | min_value     | bigint  | 1                   |
> | cache_value   | bigint  | 1                   |
> | log_cnt       | bigint  | 31                  |
> | is_cycled     | boolean | f                   |
> | is_called     | boolean | t                   |
> +---------------+---------+---------------------+

Is it now the style to draw a complete box around /d* displays? Or can we
dispense with the top and bottom rows of dashes?

-dg

-- 
David Gould       daveg@sonic.net      510 536 1443    510 282 0869
If simplicity worked, the world would be overrun with insects.



view thread (7+ messages)  latest in thread

Message-ID: <20080524052504.GE2470@sonic.net>
Permalink:  ../20080524052504.GE2470@sonic.net/
Also on:    postgresql.org/message-id/20080524052504.GE2470@sonic.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-patches@postgresql.org
  Cc: daveg@sonic.net, guediz@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: TODO item: Have psql show current values for a sequence
  In-Reply-To: <20080524052504.GE2470@sonic.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox