public inbox for [email protected]  
help / color / mirror / Atom feed
From: Laurenz Albe <[email protected]>
To: Roberto Taglia <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Another view
Date: Wed, 25 Mar 2020 11:26:14 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <DB6PR0101MB231190238BECD0AE3973DE38F5CE0@DB6PR0101MB2311.eurprd01.prod.exchangelabs.com>
References: <DB6PR0101MB231190238BECD0AE3973DE38F5CE0@DB6PR0101MB2311.eurprd01.prod.exchangelabs.com>

On Wed, 2020-03-25 at 10:10 +0000, Roberto Taglia wrote:
> I'm coming from SQL server world and when i use PGADMIN4, i'm very disappointed to find my tables if i have more than on schema.
> 
> In SSMS, i have the following :
> + [database]
> > + [Tables]
> > > schemaName1.TableName1
> > > schemaName2.TableName1
> > > schemaName3.TableName1
> 
> I've got all my table in just few clicks.
> 
> In PGADMIN4, it's a little bit painful , to access TableName1, i must click 5 times and again 5 times more for another table of another schema : 
> + [database]
> > + [Schemas]
> > > + schemaName1
>  
> > > > + [Tables]
>  
> > > > > TableName1
> 
> SSMS is more efficient and saves my time every day.
> To save my time, i must reconsider creating ONLY one schema, it is not best practice.
> 
> Will you implement another database explorer view for PGADMIN4 ? 

If you want a flexible and convenient PostgreSQL client tool, use psql.

There, you can do what you want with

\dt schemaname*.tablename1

Not a single click is necessary!

It is also possible to use an SQL query:

  SELECT table_schema, table_name
  FROM information_schema.tables
  ORDER BY table_name, table_schema;

That will also be possible with pgAdmin's query tool.

It is not a good idea to choose a database design based on convenience
in using a certain schema browser.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (3+ messages)  latest in thread

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], [email protected]
  Subject: Re: Another view
  In-Reply-To: <[email protected]>

* 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