Re: catalog of postgres

From: Mario Soto Cordones <msotocl(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: catalog of postgres
Date: 2005-04-27 18:14:59
Message-ID: e9b17cde050427111471ef2bb3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

OK but views and tables for example have the same one relkind

thank

2005/4/27, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>:
> On Wed, Apr 27, 2005 at 02:02:09PM -0400, Mario Soto Cordones wrote:
>
> > with this query I obtain the schema name and the objects of this it , but
> > like I can know that they are, that is to say if they are tables,
> > views, functions, sequences, etc ????????
>
> See pg_class.relkind.
>
> --
> Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
> "El día que dejes de cambiar dejarás de vivir"
>

--
cordialmente,

Ing. Mario Soto Cordones

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-04-27 18:29:47 Re: catalog of postgres
Previous Message Alvaro Herrera 2005-04-27 18:09:31 Re: catalog of postgres