Обсуждение: Hello

Поиск
Список
Период
Сортировка

Hello

От
john tankersley
Дата:
My name is John Tankersley. I am sending this email to ask for
assistance with
parser error message. I am learning to code in postgresql on my system.
I am using SuSE linux distribution.  Postgresql runs fine on my system a
Athalon processor with a 1.5 gigaherz processor. I am using a book
titled "PostgreSQL"
Developers Handbook by Ewald Geschwinde. I also am using a book titled
"Practical PostgreSQL" by Oreilly.  I don't understand why sometimes I
get an error parser error message and what it means. I have been trying
to find more books on how to code in postgresql but can't seem to find
any. I would like to link two pc's together through a netgear switch and
access the database on my main machine through the client machine.
Thanks for any help.

John Tankersley
johntank@merr.com

Re: Hello

От
Oliver Elphick
Дата:
On Mon, 2003-12-01 at 15:08, john tankersley wrote:
>  I don't understand why sometimes I
> get an error parser error message and what it means.

You can ask here about a specific message.

>  I have been trying
> to find more books on how to code in postgresql but can't seem to find
> any. I would like to link two pc's together through a netgear switch and
> access the database on my main machine through the client machine.

The server machine's postmaster must be listening on a TCP/IP port; turn
on TCP/IP listening in $PGDATA/postgresql.conf.

$PGDATA/pg_hba.conf should allow access to connections from the client
machine.  Remember to make the postmaster reload its configuration after
you change either of those two files.  ("pg_ctl reload" will do that.)

Then you should be able to connect with "psql -h myserver -d mydatabase"

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Who is like unto thee, O LORD, among the gods? who is
      like thee, glorious in holiness, fearful in praises,
      doing wonders?"             Exodus 15:11