pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: anup.saund@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
Date: Mon, 17 Oct 2016 14:03:03 -0400
Message-ID: <4029.1476727383@sss.pgh.pa.us> (raw)
In-Reply-To: <20161017174515.1413.64018@wrigleys.postgresql.org>
References: <20161017174515.1413.64018@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

anup.saund@gmail.com writes:
> Running the same command after installing 9.6.0 would give a list a
> databases, not tables/views/sequences.

> .\9.6\bin\psql.exe  -ltU postgres -p 5433 -h localhost -d dellstore2 -c 
> "\dtvs""

I don't think this is a bug.  -l is documented as "list available
databases, then exit".  It's not specified whether that takes preference
over -c or not.  The changes in 9.6 to make -c act more like -f evidently
caused it to not take precedence over -l anymore, and that seems fine
from here.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <4029.1476727383@sss.pgh.pa.us>
Permalink:  ../4029.1476727383@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4029.1476727383@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, anup.saund@gmail.com
  Subject: Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
  In-Reply-To: <4029.1476727383@sss.pgh.pa.us>
  References: <20161017174515.1413.64018@wrigleys.postgresql.org> <4029.1476727383@sss.pgh.pa.us>

* 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