pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
2+ messages / 2 participants
[nested] [flat]

* BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
@ 2016-10-17 17:45 anup.saund@gmail.com
  2016-10-17 18:03 ` Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: anup.saund@gmail.com @ 2016-10-17 17:45 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14374
Logged by:          Anup Saund
Email address:      anup.saund@gmail.com
PostgreSQL version: 9.6.0
Operating system:   Windows 7 (64bit)
Description:        

SCREENSHOT OF OUTPUT
====================
https://dl.dropboxusercontent.com/u/312296/output.PNG

Test Scenario
=============
PostgreSQL - 9.4 was already installed.
Running the following command would produce an output as per the screenshot
above.

CD c:\Program Files\PostgreSQL

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


Issue
=====

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""


Also tested with PostgreSQL version 9.5 - that version does produce the same
output as 9.4.

Unfortunately, I cannot get the commands to work with 9.6.

I have read over the documentation but that specific section is suggesting
the same usage as 9.5/9.4.

Any help would be greatly appreciated.


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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
  2016-10-17 17:45 BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences. anup.saund@gmail.com
@ 2016-10-17 18:03 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-10-17 18:03 UTC (permalink / raw)
  To: anup.saund@gmail.com; +Cc: pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-10-17 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 17:45 BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences. anup.saund@gmail.com
2016-10-17 18:03 ` Tom Lane <tgl@sss.pgh.pa.us>

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