Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwCFi-00032y-O8 for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Oct 2016 18:03:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bwCFh-0008Lp-Rm for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Oct 2016 18:03:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bwCFg-0008LF-U3 for pgsql-bugs@postgresql.org; Mon, 17 Oct 2016 18:03:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bwCFe-0005Zp-3v for pgsql-bugs@postgresql.org; Mon, 17 Oct 2016 18:03:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u9HI33X9004030; Mon, 17 Oct 2016 14:03:03 -0400 From: Tom Lane 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. In-reply-to: <20161017174515.1413.64018@wrigleys.postgresql.org> References: <20161017174515.1413.64018@wrigleys.postgresql.org> Comments: In-reply-to anup.saund@gmail.com message dated "Mon, 17 Oct 2016 17:45:15 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4028.1476727383.1@sss.pgh.pa.us> Date: Mon, 17 Oct 2016 14:03:03 -0400 Message-ID: <4029.1476727383@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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