Re: CONSULTA QUE MUESTRE EL ESQUEMA DE TABLAS Y VISTAS DE LA DB

From: Sergio Sinuco <sergiosinuco(at)datatraffic(dot)com(dot)co>
To: Luis Fernando Ortiz Vera <lfernandortiz(at)gmail(dot)com>
Cc: "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: CONSULTA QUE MUESTRE EL ESQUEMA DE TABLAS Y VISTAS DE LA DB
Date: 2014-08-07 19:21:45
Message-ID: CAHn1vgGAcQ46Q-eehL8i07FYsyn55f-XBiuM_x8A6o7gq2ybPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola. Puede hechar un vistazo a System Catalog

http://www.postgresql.org/docs/9.3/static/catalogs.html

En especial a las tablas pg_tables y pg_views

On Thursday, August 7, 2014, Luis Fernando Ortiz Vera <
lfernandortiz(at)gmail(dot)com> wrote:

> Apreciada y respetada lista, estoy tratando de hacer una consulta que me
> retorne las tablas de mi base. Para este fin utilizo el siguiente codigo
> "select * from pg_stat_user_tables". No obstante, necesito dentro de la
> misma consulta obtener las vistas de mi base de datos; y nose como formular
> el atributo de vistas.
>
> Agradezco la ayuda a mi solicitud.
>
> Atentamente,
>
> --
>
> *Luis Fernando Ortiz Vera.*
> *+Luis Fernando Ortiz Vera | **(at)lfernandortiz *
> |Colombia|
>
>

--
Sergio E. Sinuco Leon
Arquitecto de soluciones
Datatraffic S.A.S.
Móvil: (57) 310 884 26 50
Fijo (+571) 7426160 Ext 115
Diagonal 34 bis No 18 - 44
Bogotá, Colombia.
www.datatraffic.com.co

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Luis Fernando Ortiz Vera 2014-08-08 14:34:55 Re: CONSULTA QUE MUESTRE EL ESQUEMA DE TABLAS Y VISTAS DE LA DB
Previous Message Jose Moreira 2014-08-07 18:39:26 Copiar tabla binaria desde MS Server