Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1EDF0B5DC45 for ; Wed, 13 Jul 2011 12:30:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 34817-03 for ; Wed, 13 Jul 2011 15:29:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C63B9B5DC44 for ; Wed, 13 Jul 2011 12:29:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p6DFTt8M004970; Wed, 13 Jul 2011 11:29:55 -0400 (EDT) To: saravanan cc: pgsql-admin@postgresql.org Subject: Re: Importing the dump file in postgresql-7.4.23 In-reply-to: <1310541937561-4581840.post@n5.nabble.com> References: <1310475278308-4578769.post@n5.nabble.com> <10783.1310476776@sss.pgh.pa.us> <1310541937561-4581840.post@n5.nabble.com> Comments: In-reply-to saravanan message dated "Wed, 13 Jul 2011 00:25:37 -0700" Date: Wed, 13 Jul 2011 11:29:55 -0400 Message-ID: <4969.1310570995@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/81 X-Sequence-Number: 37860 saravanan writes: > [postgres@oracle bin]$ pg_config --libdir > /usr/local/pgsql/lib > [postgres@oracle bin]$ pg_config --pkglibdir > /usr/local/pgsql/lib > I set environment variables in .bash_profile > LD_LIBRARY_PATH=/usr/local/pgsql/lib > export LD_LIBRARY_PATH That would only help if it were in the environment of the running server process. Depending on how you start Postgres, putting it in the postgres user's .bash_profile and restarting the server might get the job done ... but it's also possible you need to change your server start script. regards, tom lane