Re: Obtener esquemas y tablas en postgres

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Linder Poclaba Lazaro <linderlpl(at)gmail(dot)com>
Cc: oscar arocha <arocha(dot)oscar(at)gmail(dot)com>, gilberto(dot)castillo(at)etecsa(dot)cu, pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Obtener esquemas y tablas en postgres
Date: 2012-03-02 02:16:00
Message-ID: CAJKUy5gMNPwWtdMgyLz5q2=PBtKfSFjze0oDv5z8bUTvGS3eug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2012/3/1 Linder Poclaba Lazaro <linderlpl(at)gmail(dot)com>:
> Hola a todos gracias por responder yo estoy usando esta consulta para sacar
> las tablas de un esquema
>
> select tablename from pg_tables where schemaname='nombreesquema';
>

SELECT schemaname, relname FROM pg_stat_user_tables

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2012-03-02 02:30:50 Re: AYUDA CON POSTGRES 8.3.11
Previous Message SYSWARP - Carlos Enrique Perez 2012-03-01 16:34:17 Re: Between