Re: behavior of \dt and schemas

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: John Scalia <jayknowsunix(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: behavior of \dt and schemas
Date: 2017-01-20 15:11:58
Message-ID: CAKFQuwZvAf3GH+aaQX4WmLr=8hz0-tVRcbcPsp=p3Vedyx-fZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Friday, January 20, 2017, John Scalia <jayknowsunix(at)gmail(dot)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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2017-01-20 15:37:35 Re: behavior of \dt and schemas
Previous Message Stephen Frost 2017-01-20 15:11:26 Re: behavior of \dt and schemas