| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | saravanan <saravanan(dot)kcse(at)gmail(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Importing the dump file in postgresql-7.4.23 |
| Date: | 2011-07-13 15:29:55 |
| Message-ID: | 4969.1310570995@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
saravanan <saravanan(dot)kcse(at)gmail(dot)com> writes:
> [postgres(at)oracle bin]$ pg_config --libdir
> /usr/local/pgsql/lib
> [postgres(at)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2011-07-13 15:40:58 | Re: file permissions for /usr/bin/postgres |
| Previous Message | Sanjay Rao | 2011-07-13 10:31:42 | How to auto switch the roles of master and standby |