pg.ddx.io pgsql-interfaces@postgresql.org mailing list archivehelp / color / mirror / Atom feed
client machine requirements 2+ messages / 2 participants [nested] [flat]
* client machine requirements @ 2005-02-15 11:18 =?ISO-2022-JP?B?GyRCJVYlaSUkJSIlcxsoQg==?= <brian@ssl.fujitsu.com> 2005-02-15 12:43 ` Re: client machine requirements jtv@xs4all.nl 0 siblings, 1 reply; 2+ messages in thread From: ブライウ3柑ン @ 2005-02-15 11:18 UTC (permalink / raw) To: pgsql-interfaces I have successfully set up and accessed a Postgre DB running on a remote server. I want to access the remote server via perl from my client machine. Without installing full Postgre Package on the Unix client machine I tried installing the perl module DBD::Pg This led to various install errors such as Pg.h:17:22: libpq-fe.h: No such file or directory Pg.h:39:67: DBIXS.h: No such file or directory I know that these errors are occuring because I have not installed the Postgre package on the client machine but I can nowhere find a Postgre Client Software installation package for UNIX. Do I have to install the full package (Postgre Server software as well) to access the remote Postgre server from my client's machine perl program? My boss is breathing down my neck saying "that cannot be right" but I have not been able to discover another way. Thanks in advance brian sweeney ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: client machine requirements 2005-02-15 11:18 client machine requirements =?ISO-2022-JP?B?GyRCJVYlaSUkJSIlcxsoQg==?= <brian@ssl.fujitsu.com> @ 2005-02-15 12:43 ` jtv@xs4all.nl 0 siblings, 0 replies; 2+ messages in thread From: jtv@xs4all.nl @ 2005-02-15 12:43 UTC (permalink / raw) To: unreadable name <brian@ssl.fujitsu.com>; +Cc: pgsql-interfaces > I know that these errors are occuring because I have not installed the > Postgre package > on the client machine but I can nowhere find a Postgre Client Software > installation > package for UNIX. It may depend on your precies operating system--Unix is a big family. Various GNU/Linux distributions, for instance, have a separate package for just the client library. The library is called libpq, so you may want to look under that name if you're trying to find ready-made packages for your environment. > Do I have to install the full package (Postgre Server software as well) to > access > the remote Postgre server from my client's machine perl program? > > My boss is breathing down my neck saying "that cannot be right" but I have > not been able > to discover another way. It may sound strange, but actually the server package isn't all that big. I've got a local installation here that's about 12 MB, not counting the data directory, of which the library binaries make up about one-third; the server itself is 3 MB; includes are 2.5; other binaries (which you are likely to want on the client side) are about 1.5. So surprisingly, the client library (the part you need) is the bulk of the installed package--the server only makes up about one-fourth! There may well be a prepackaged client library for your system, or you could do things by hand, but for the short term you might as well install the whole base package and just not run the server on startup. If taking the unneeded parts off the system is very important, do that later but don't expect huge savings--and at least you'll have a running system right away. Jeroen ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-02-15 12:43 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-02-15 11:18 client machine requirements =?ISO-2022-JP?B?GyRCJVYlaSUkJSIlcxsoQg==?= <brian@ssl.fujitsu.com> 2005-02-15 12:43 ` jtv@xs4all.nl
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox