public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pavel Stehule <[email protected]>
To: Ron Johnson <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: search_path and SET ROLE
Date: Wed, 22 May 2024 21:40:52 +0200
Message-ID: <CAFj8pRDnocKb-HV=t1Dk1VQa0y2Kh7XBwLz3DjCiMP+_y-UTQw@mail.gmail.com> (raw)
In-Reply-To: <CANzqJaCKvZ-8VgqNTpJK2Tm9iXp+rMbs2RV+CTQSETUTua8cdA@mail.gmail.com>
References: <CANzqJaBoAkdXMkPvdXqhkBduLqpTbU7BdjyZePcuWkFnKi1SDQ@mail.gmail.com>
	<[email protected]>
	<CANzqJaDfSaB=EvGCABT8VA_2FwYM4MYUmQYT5e-bw-Tf_EH13Q@mail.gmail.com>
	<CAMsGm5e8pJ0QgBdKr=bHzZNwugwd+rG8=3CzDzQZLyq+0W5APQ@mail.gmail.com>
	<CANzqJaCKvZ-8VgqNTpJK2Tm9iXp+rMbs2RV+CTQSETUTua8cdA@mail.gmail.com>

st 22. 5. 2024 v 21:38 odesílatel Ron Johnson <[email protected]>
napsal:

> On Wed, May 22, 2024 at 2:02 PM Isaac Morland <[email protected]>
> wrote:
>
>> On Wed, 22 May 2024 at 13:48, Ron Johnson <[email protected]>
>> wrote:
>>
>> As a superuser administrator, I need to be able to see ALL tables in ALL
>>> schemas when running "\dt", not just the ones in "$user" and public.  And I
>>> need it to act consistently across all the systems.
>>>
>>
>> \dt *.*
>>
>
> Also shows information_schema, pg_catalog, and pg_toast.  I can adjust to
> that, though.
>
>
>> But I am skeptical how often you really want this in a real database with
>> more than a few tables. Surely \dn+ followed by \dt [schemaname].* for a
>> few strategically chosen [schemaname] would be more useful?
>>
>
> More than you'd think.  I'm always looking up the definition of this table
> or that table (mostly for indices and keys), and I never remember which
> schema they're in.
>

\d *.pg_class

Unfortunately  in this case, tab complete doesn't work


view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: search_path and SET ROLE
  In-Reply-To: <CAFj8pRDnocKb-HV=t1Dk1VQa0y2Kh7XBwLz3DjCiMP+_y-UTQw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox