X-Original-To: pgadmin-support-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 813D03A492D; Fri, 21 Jan 2005 20:16:39 +0000 (GMT) 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 98769-02; Fri, 21 Jan 2005 20:16:31 +0000 (GMT) Received: from lucifer.oficina (unknown [200.68.121.201]) by svr1.postgresql.org (Postfix) with ESMTP id DFB853A4ACF; Fri, 21 Jan 2005 20:15:09 +0000 (GMT) Received: from localhost (localhost.akyasociados.com.ar [127.0.0.1]) by lucifer.oficina (8.13.1/8.12.10) with ESMTP id j0LKEv5E047059; Fri, 21 Jan 2005 17:14:57 -0300 (ART) (envelope-from franco@akyasociados.com.ar) Received: from lucifer.oficina ([127.0.0.1]) by localhost (lucifer.oficina [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 44819-19; Fri, 21 Jan 2005 17:14:56 -0300 (ART) Received: from [192.168.1.168] (taz.oficina [192.168.1.168]) (authenticated bits=0) by lucifer.oficina (8.13.1/8.12.10) with ESMTP id j0LKEqfD047056; Fri, 21 Jan 2005 17:14:53 -0300 (ART) (envelope-from franco@akyasociados.com.ar) Message-ID: <41F162C0.2070101@akyasociados.com.ar> Date: Fri, 21 Jan 2005 17:14:56 -0300 From: Franco Bruno Borghesi User-Agent: Mozilla Thunderbird 1.0 (X11/20041216) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Ing. Jhon Carrillo" Cc: pgadmin-support@postgresql.org, pgsql-odbc@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Schema? References: <005801c4ffe2$c6b307d0$1400a8c0@tgusta2> In-Reply-To: <005801c4ffe2$c6b307d0$1400a8c0@tgusta2> Content-Type: multipart/alternative; boundary="------------020007050504020008090904" X-Virus-Scanned: by amavisd-new at akyasociados.com.ar X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.233 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, HTML_MESSAGE, HTML_TITLE_EMPTY, RCVD_IN_SORBS_DUL X-Spam-Level: X-Archive-Number: 200501/52 X-Sequence-Number: 4024 This is a multi-part message in MIME format. --------------020007050504020008090904 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit well, you could add the schemas you work with into your path. Just open postgresql.conf, search for a line like this: /search_path = '$user,public' # schema names/ and add your schema names to the list. This should do what you want. Ing. Jhon Carrillo wrote: > I want to make a query without to indicate the schema name, for example: > > > Select * from tabla where .... > > and not > > select * from schema.tabla where ... > > not to show the shema or system tables from odbc and jdbc > > can you help me? > > thanks > --------------020007050504020008090904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit well, you could add the schemas you work with into your path. Just open postgresql.conf, search for a line like this:
search_path = '$user,public'       # schema names

and add your schema names to the list. This should do what you want.

Ing. Jhon Carrillo wrote:
I want  to make a query without to indicate the schema name, for example:
 
Select  *  from  tabla where  ....
 
and not
 
select   *  from  schema.tabla where  ...
 
not to show the shema or system  tables from odbc and jdbc
 
can you help me?
 
thanks

--------------020007050504020008090904--