Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 05BB1B5DC26 for ; Sun, 30 Oct 2011 07:34:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 44596-09 for ; Sun, 30 Oct 2011 10:34:50 +0000 (UTC) X-Greylist: delayed 00:05:24.933916 by SQLgrey-1.8.0-rc2 Received: from EXCASHUBB.onmobile.com (smtp01.onmobile.com [124.30.188.114]) by mail.postgresql.org (Postfix) with ESMTP id 4B8B5B5DC0F for ; Sun, 30 Oct 2011 07:34:49 -0300 (ADT) Received: from MUSCA.onmobile.com ([172.16.28.141]) by EXCASHUBB.onmobile.com ([172.16.28.185]) with mapi; Sun, 30 Oct 2011 16:04:41 +0530 From: Akash Kodibail To: "pgsql-admin@postgresql.org" Date: Sun, 30 Oct 2011 16:04:38 +0530 Subject: SET search path Thread-Topic: SET search path Thread-Index: AcyW74Y8TY/tW//gSa23uCNTy1P63A== Message-ID: <04DA5C9AF2453F44ACD4541A08EFE9832FFC005000@MUSCA.onmobile.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: AzOq BUwv BcTx BtwL DPIx D5XF ESQj Er7B FLik FNUx G7et IM2Y IWSD ItUg JPRW KqWP; 1; cABnAHMAcQBsAC0AYQBkAG0AaQBuAEAAcABvAHMAdABnAHIAZQBzAHEAbAAuAG8AcgBnAA==; Sosha1_v1; 7; {9CA62728-C64E-4CD9-8672-C78A814F2B6A}; YQBrAGEAcwBoAC4AawBvAGQAaQBiAGEAaQBsAEAAbwBuAG0AbwBiAGkAbABlAC4AYwBvAG0A; Sun, 30 Oct 2011 10:34:38 GMT;UwBFAFQAIABzAGUAYQByAGMAaAAgAHAAYQB0AGgA x-cr-puzzleid: {9CA62728-C64E-4CD9-8672-C78A814F2B6A} acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_04DA5C9AF2453F44ACD4541A08EFE9832FFC005000MUSCAonmobile_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.403 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/134 X-Sequence-Number: 38586 --_000_04DA5C9AF2453F44ACD4541A08EFE9832FFC005000MUSCAonmobile_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am using postgresql 8.4.0 Select version() gives: PostgreSQL 8.4.0 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.4= .6 20060404 (Red Hat 3.4.6-10), 64-bit I have trying to set search path, so that I do not have to append the schem= a_name while doing a select on the tables, however, when I do so, the searc= h_path is set only for that session, it is not a permanent change that is d= one. Can you please guide me as to how to make it permanent. After I do a set search_path, pg_user view does not show any entry in the c= olumn "useconfig" for the same being set. Regards, Akash. ________________________________ DISCLAIMER: The information in this message is confidential and may be lega= lly privileged. It is intended solely for the addressee. Access to this mes= sage by anyone else is unauthorized. If you are not the intended recipient,= any disclosure, copying, or distribution of the message, or any action or = omission taken by you in reliance on it, is prohibited and may be unlawful.= Please immediately contact the sender if you have received this message in= error. Further, this e-mail may contain viruses and all reasonable precaut= ion to minimize the risk arising there from is taken by OnMobile. OnMobile = is not liable for any damage sustained by you as a result of any virus in t= his e-mail. All applicable virus checks should be carried out by you before= opening this e-mail or any attachment thereto. Thank you - OnMobile Global Limited. --_000_04DA5C9AF2453F44ACD4541A08EFE9832FFC005000MUSCAonmobile_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am using postgresql 8.4.0

 

Select version() gives:

 

PostgreSQL 8.4.0 on x86_64-unknown-linux-gnu, compil= ed by GCC gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10), 64-bit

 

I have trying to set search path, so that I do not h= ave to append the schema_name while doing a select on the tables, however, = when I do so, the search_path is set only for that session, it is not a per= manent change that is done. Can you please guide me as to how to make it permanent.

 

After I do a set search_path, pg_user view does not = show any entry in the column “useconfig” for the same being set= .

 

Regards,

Akash.



DISCLAIMER: The information = in this message is confidential and may be legally privileged. It is intend= ed solely for the addressee. Access to this message by anyone else is unaut= horized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or = omission taken by you in reliance on it, is prohibited and may be unlawful.= Please immediately contact the sender if you have received this message in= error. Further, this e-mail may contain viruses and all reasonable precaution to minimize the risk arising= there from is taken by OnMobile. OnMobile is not liable for any damage sus= tained by you as a result of any virus in this e-mail. All applicable virus= checks should be carried out by you before opening this e-mail or any attachment thereto.
Thank you - OnMobile Global Limited.
--_000_04DA5C9AF2453F44ACD4541A08EFE9832FFC005000MUSCAonmobile_--