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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: anup(dot)saund(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.
Date: 2016-10-17 18:03:03
Message-ID: 4029.1476727383@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

anup(dot)saund(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message son102yh 2016-10-17 18:39:57 BUG #14375: ODBC driver SQLDescibeCol always returns the column size 28
Previous Message anup.saund 2016-10-17 17:45:15 BUG #14374: psql.exe command options \dtvs produces a database list, not table/view/sequences.