Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
Date
Msg-id 4029.1476727383@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.  (anup.saund@gmail.com)
List 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

pgsql-bugs by date:

Previous
From: anup.saund@gmail.com
Date:
Subject: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
Next
From: son102yh@yahoo.ca
Date:
Subject: BUG #14375: ODBC driver SQLDescibeCol always returns the column size 28