From jdigital@cantv.net Fri Jan 21 17:57:15 2005 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 DA8583A4BD4; Fri, 21 Jan 2005 17:57:15 +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 66526-08; Fri, 21 Jan 2005 17:57:06 +0000 (GMT) Received: from rs25s9.datacenter.cha.cantv.net (rs25s9.datacenter.cha.cantv.net [200.44.33.10]) by svr1.postgresql.org (Postfix) with ESMTP id D939B3A4C29; Fri, 21 Jan 2005 17:56:54 +0000 (GMT) Received: from tgusta2 (dC9F37969.dslam-14-24-3-06-01-02.fsl.dsl.cantv.net [201.243.121.105]) by rs25s9.datacenter.cha.cantv.net (8.13.0/8.13.0/3.0) with SMTP id j0LHuonU006390; Fri, 21 Jan 2005 13:56:51 -0400 X-Matched-Lists: [] Message-ID: <003f01c4ffe2$9a847400$1400a8c0@tgusta2> Reply-To: "Ing. Jhon Carrillo" From: "Ing. Jhon Carrillo" To: , , Subject: Schema? Date: Fri, 21 Jan 2005 13:56:55 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_003C_01C4FFC1.116AF610" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: ClamAV 0.80/636/Tue Dec 21 07:38:44 2004 clamav-milter version 0.80j on rs25s9.datacenter.cha.cantv.net X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.971 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200501/55 X-Sequence-Number: 4027 This is a multi-part message in MIME format. ------=_NextPart_000_003C_01C4FFC1.116AF610 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_003C_01C4FFC1.116AF610 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I want  to make a = query without=20 to indicate the schema name, for example:
 
Select  *  from  tabla = where =20 ....
 
and not
 
select   *  from  = schema.tabla=20 where  ...
 
not to show the shema or system =  tables=20 from odbc and jdbc
 
can you help me?
 
thanks
------=_NextPart_000_003C_01C4FFC1.116AF610-- From jdigital@cantv.net Fri Jan 21 17:58:54 2005 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 7B8463A4B7C; Fri, 21 Jan 2005 17:58:54 +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 67503-01; Fri, 21 Jan 2005 17:58:37 +0000 (GMT) Received: from rs25s12.datacenter.cha.cantv.net (rs25s12.datacenter.cha.cantv.net [200.44.33.13]) by svr1.postgresql.org (Postfix) with ESMTP id E13D53A4B0C; Fri, 21 Jan 2005 17:58:08 +0000 (GMT) Received: from tgusta2 (dC9F37969.dslam-14-24-3-06-01-02.fsl.dsl.cantv.net [201.243.121.105]) by rs25s12.datacenter.cha.cantv.net (8.13.0/8.13.0/3.0) with SMTP id j0LHw5Gs028307; Fri, 21 Jan 2005 13:58:06 -0400 X-Matched-Lists: [] Message-ID: <005801c4ffe2$c6b307d0$1400a8c0@tgusta2> Reply-To: "Ing. Jhon Carrillo" From: "Ing. Jhon Carrillo" To: , , Subject: Schema? Date: Fri, 21 Jan 2005 13:58:11 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0055_01C4FFC1.3E9FD650" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: ClamAV 0.80/636/Tue Dec 21 07:38:44 2004 clamav-milter version 0.80j on rs25s12.datacenter.cha.cantv.netClamAV 0.80/636/Tue Dec 21 07:38:44 2004 clamav-milter version 0.80j on rs25s12.datacenter.cha.cantv.netClamAV 0.80/636/Tue Dec 21 07 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.81 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200501/54 X-Sequence-Number: 4026 This is a multi-part message in MIME format. ------=_NextPart_000_0055_01C4FFC1.3E9FD650 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0055_01C4FFC1.3E9FD650 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I want  to make a = query without=20 to indicate the schema name, for example:
 
Select  *  from  tabla = where =20 ....
 
and not
 
select   *  from  = schema.tabla where  ...
 
not to show the shema or system =  tables=20 from odbc and jdbc
 
can you help me?
 
thanks
------=_NextPart_000_0055_01C4FFC1.3E9FD650-- From books@ejurka.com Fri Jan 21 19:56:39 2005 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 267DD3A4BBC for ; Fri, 21 Jan 2005 19:56: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 93902-05 for ; Fri, 21 Jan 2005 19:56:32 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 1530D3A4CDE for ; Fri, 21 Jan 2005 19:55:46 +0000 (GMT) Received: (qmail 31359 invoked by uid 1112); 21 Jan 2005 19:59:06 -0000 Date: Fri, 21 Jan 2005 14:59:05 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Ing. Jhon Carrillo" Cc: pgadmin-support@postgresql.org, pgsql-odbc@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Schema? In-Reply-To: <005801c4ffe2$c6b307d0$1400a8c0@tgusta2> Message-ID: References: <005801c4ffe2$c6b307d0$1400a8c0@tgusta2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/53 X-Sequence-Number: 4025 On Fri, 21 Jan 2005, Ing. Jhon Carrillo wrote: > I want to make a query without to indicate the schema name, for example: > > Select * from tabla where .... > See the search_path server configuration variable. It may be set at a number of levels to indicate what schemas to look in for the requested table. Kris Jurka From franco@akyasociados.com.ar Fri Jan 21 20:16:39 2005 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--