Re: OS X library path issues for libpq (ver 8.3

Поиск
Список
Период
Сортировка
От Jerry LeVan
Тема Re: OS X library path issues for libpq (ver 8.3
Дата
Msg-id 76EE02EE-26DC-439E-BB7A-425CB4AFC89C@eku.edu
обсуждение исходный текст
Список pgsql-general
Have you tried putting your environmental variables
in:
    .MacOSX

I have some apps that need access to some PG enviromental
variables and I had to put them in a plist in the
directory .MacOSX

e.g.

[mbp:~/.MacOSX]$ ls -al ~/.MacOSX
total 8
drwxr-xr-x    3 jerry  jerry   102 Jun 25  2007 .
drwxr-xr-x+ 113 jerry  jerry  3842 Sep  7 12:45 ..
-rw-r--r--    1 jerry  jerry   334 Jun 25  2007 environment.plist

and

[mbp:~/.MacOSX]$ cat environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd
">
<plist version="1.0">
<dict>
    <key>PGDATABASE</key>
    <string>levan</string>
    <key>PGHOST</key>
    <string>localhost</string>
    <key>PGUSER</key>
    <string>levan</string>
</dict>
</plist>

The plist contents act like regular unix style environmental variables
for apps started from the Finder.

Perhaps placing the path informationfor the dynamic loader in the
plist would
solve your problems.

Jerry


В списке pgsql-general по дате отправления:

Предыдущее
От: btober@ct.metrocast.net
Дата:
Сообщение: pg_dumpall problem when roles have default schemas
Следующее
От: "Ricardo Antonio Yepez Jimenez"
Дата:
Сообщение: You need to rebuild PostgreSQL using --with-libxml.