Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f94JYXn54251 for ; Thu, 4 Oct 2001 15:34:33 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f94JEId71130 for pgsql-admin@postgresql.org; Thu, 4 Oct 2001 15:14:18 -0400 (EDT) (envelope-from news) From: =?ISO-8859-1?Q?Bj=F6rn?= Lundin X-Newsgroups: comp.databases.postgresql.admin Subject: Re: so much to learn Date: Thu, 04 Oct 2001 21:14:50 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 31 Message-ID: <9pice6$25e8$1@news.tht.net> References: <9pfvgb$19kb$1@news.tht.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit X-Complaints-To: scrappy@hub.org User-Agent: KNode/0.6 To: pgsql-admin@postgresql.org X-Archive-Number: 200110/47 X-Sequence-Number: 2293 John Fabiani wrote: > Hi, > I have just installed RH 7.1 server on a 733MHz machine. I also have > installed postgresql 7.1.3. I can run the examples from the postgres > interactive tutorial but I can't figure out how to access the data from a > remote computer. I have a laptop with RH 7.0 (all the network things work > i.e. telenet,NFS) and want to be able to connect to the server to access > the postgresql. I think I'm missing something or just don't understand > what I'm suppose to do. What I really want to do is get Kylix to access > the data from the laptop. I hoping someone knows how to access the > postgres server via the network or point me to a website. > TIA > John Read the Programmers guide, the chapter of JDBC interface. There is how to set up pg_hba.conf proper for tcp/ip connections By default, Postgre only allows local connections. If your laptop runs windows, read the chapter of ODBC too, else if your laptop is a Linux, you link your program with libpq. How to do that from Kylix I don't know, but I'm using Ada, and link with libpq, and it works fine. Read the chapter of libpq too if you'll use it, it contains a lot. (this was lots of reading :-) Björn