Re: [ADMIN] behavior of \dt and schemas - Mailing list pgsql-admin

From David G. Johnston
Subject Re: [ADMIN] behavior of \dt and schemas
Date
Msg-id CAKFQuwZvAf3GH+aaQX4WmLr=8hz0-tVRcbcPsp=p3Vedyx-fZg@mail.gmail.com
Whole thread Raw
In response to [ADMIN] behavior of \dt and schemas  (John Scalia <jayknowsunix@gmail.com>)
Responses Re: [ADMIN] behavior of \dt and schemas
List pgsql-admin


On Friday, January 20, 2017, John Scalia <jayknowsunix@gmail.com> wrote:

So, to me this is somewhat non-intuitive behavior, but maybe I'm all wet here. Shouldn't \dt report all the tables it can see with the search_path set to some value? And btw, this is was the behavior on 9.4.10, so if it's changed in more recent versions, I haven't tested there yet.


It shows the definition of the table you would be referencing if you used that name in a query.  This seems like a useful behavior.

David J.

pgsql-admin by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [ADMIN] behavior of \dt and schemas
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] behavior of \dt and schemas