X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 08BB25406C for ; Wed, 27 Apr 2005 15:15:13 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20111-01 for ; Wed, 27 Apr 2005 18:15:03 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by svr1.postgresql.org (Postfix) with ESMTP id A8C59539D5 for ; Wed, 27 Apr 2005 15:14:58 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so532443nzf for ; Wed, 27 Apr 2005 11:14:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tXcGVAh9Mp2jqu/HMkVJBaDqdviw7JkDFf4JFbMOxCXK2E5aQf87SrOzmGmIlPQFrSaszyjPyoUL1qoyB2RrAhHR3o3mDY7jHtYhclO0kHsshTUCvsJGArUfCOzzj3AYqASYCKDr8/J3HausyESuFD08m5Z5T1Mh7DS8suTjKf4= Received: by 10.36.25.5 with SMTP id 5mr56784nzy; Wed, 27 Apr 2005 11:14:59 -0700 (PDT) Received: by 10.36.57.11 with HTTP; Wed, 27 Apr 2005 11:14:59 -0700 (PDT) Message-ID: Date: Wed, 27 Apr 2005 14:14:59 -0400 From: Mario Soto Cordones Reply-To: Mario Soto Cordones To: Alvaro Herrera Subject: Re: catalog of postgres Cc: pgsql-admin@postgresql.org In-Reply-To: <20050427180931.GC27525@dcc.uchile.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050427180931.GC27525@dcc.uchile.cl> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.621 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200504/386 X-Sequence-Number: 17399 OK but views and tables for example have the same one relkind=20 thank 2005/4/27, Alvaro Herrera : > On Wed, Apr 27, 2005 at 02:02:09PM -0400, Mario Soto Cordones wrote: >=20 > > with this query I obtain the schema name and the objects of this it , b= ut > > like I can know that they are, that is to say if they are tables, > > views, functions, sequences, etc ???????? >=20 > See pg_class.relkind. >=20 > -- > Alvaro Herrera () > "El d=EDa que dejes de cambiar dejar=E1s de vivir" >=20 --=20 cordialmente, Ing. Mario Soto Cordones