Re: Seeing tables with the same name on different schemas

From: raghavendra(dot)rao(at)enterprisedb(dot)com
To: "Robert Sosinski" <rsosinski(at)ticketevolution(dot)com>, pgsql-general-owner(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Seeing tables with the same name on different schemas
Date: 2012-09-14 12:59:02
Message-ID: 986680767-1347627567-cardhu_decombobulator_blackberry.rim.net-528136949-@b27.c12.bise7.blackberry
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How about using this way ?

\dt *.*

Or

\dt schemaname.*

--Raghav
Sent from my BlackBerry® smartphone from !DEA

-----Original Message-----
From: Robert Sosinski <rsosinski(at)ticketevolution(dot)com>
Sender: pgsql-general-owner(at)postgresql(dot)orgDate: Fri, 14 Sep 2012 08:47:54
To: <pgsql-general(at)postgresql(dot)org>
Subject: [GENERAL] Seeing tables with the same name on different schemas

Hey Everyone,

Question, I have multiple schemas on a database, and these schemas sometimes have the tables of the same name. However, when I do \d to see what tables I have, I only see the first table (based on the order of the search path), but no the other tables that have the same name on different schemas.

Is there a way to see all tables across all schemas?

Thanks,

--
Robert Sosinski

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Yvon Thoraval 2012-09-14 13:09:54 SQLSTATE[08006] [7] server closed the connection unexpectedly
Previous Message Robert Sosinski 2012-09-14 12:47:54 Seeing tables with the same name on different schemas