Problem with compiled C

Поиск
Список
Период
Сортировка
От Héctor Morales
Тема Problem with compiled C
Дата
Msg-id 37B1CDDF.496E38D@edisa.com.gt
обсуждение исходный текст
Ответы Re: [GENERAL] Problem with compiled C  (Charles Tassell <ctassell@isn.net>)
Re: [GENERAL] Problem with compiled C  (Cesar Lombao <lombao@dycsa.es>)
Список pgsql-general
Hi , I have two problems.

1. When a use pgacces, i try connect with one database, responde the
next error.
        Error trying to connect to database "xxxx" on host "xxx"
        PostgreSQL error message: Connection to database failed
connectDB() --connect() failed: Connection refused Is the postmaster
running (whit -i) at "xxx" and accepting connections on TCP/IP por
"5432".

    I use Postgresql 6.5, on RedHat 6. I don't know why not connect.

2. When i compiled one program in C, I don't  Know what parameter i use
with gcc
but i compilied the example of the testc.c in manual of programmer no
indicate How to compiled.


Thanks for yor help.



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

Предыдущее
От: "Bryan White"
Дата:
Сообщение: Re: [GENERAL] pg_dump does not handle default dates correctly
Следующее
От: "Justin Long"
Дата:
Сообщение: RE: [GENERAL] Oracle vs. Postgres