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