pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anthony Sotolongo <asotolongo@gmail.com>
To: pallavi.pathak@outlook.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #16011: Select * query for sequences does not show all columns in output.
Date: Tue, 17 Sep 2019 14:57:55 -0300
Message-ID: <e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com> (raw)
In-Reply-To: <16011-caedeeb0f1fc79b7@postgresql.org>
References: <16011-caedeeb0f1fc79b7@postgresql.org>

hi, this is not a bug, the catalog change from pg 10 , you can get the 
rest of columns in pg_sequences catalog view


select * from pg_sequences  where sequencename  = 'session_SEQ'

  regards


On 17-09-19 2:45 p. m., PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference:      16011
> Logged by:          Pallavi Pathak
> Email address:      pallavi.pathak@outlook.com
> PostgreSQL version: 11.5
> Operating system:   Windows
> Description:
>
> 0
>
>
> I am upgrading postgres from 9.1 to 11.5 .
>
> but select query on sequences is returning different output in 11.5 as
> compared to 9.1, not all columns are shown in the output.
>
> Output in 11.5
>
> SELECT * FROM session_SEQ;
>
> 11.5 : last_value | log_cnt | is_called ------------+---------+----------- 1
> | 0 | f (1 row)
>
> Output in 9.1:
>
> SELECT * FROM session_SEQ;
>
> sequence_name | last_value | start_value | increment_by | max_value |
> min_value | cache_value | log_cnt | is_cycled | is_called
> ---------------+------------+-------------+--------------+-----------+-----------+-------------+---------+-----------+-----------
> session_seq | 1 | 1 | 1 | 99999999 | 1 | 1 | 0 | f | f
>
> How can we display all the columns in 11.5? is there any workaround?
>





view thread (2+ messages)

Message-ID: <e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com>
Permalink:  ../e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com/
Also on:    postgresql.org/message-id/e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: asotolongo@gmail.com, noreply@postgresql.org
  Subject: Re: BUG #16011: Select * query for sequences does not show all columns in output.
  In-Reply-To: <e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com>
  References: <16011-caedeeb0f1fc79b7@postgresql.org> <e1e9ca36-7ae0-a33c-f8e4-c8fbdc00f78b@gmail.com>

* 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