pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedorg.postgresql.util.PSQLException: The backend has broken the connection.
2+ messages / 2 participants
[nested] [flat]
* org.postgresql.util.PSQLException: The backend has broken the connection.
@ 2005-09-20 12:30 salman.ashraf@gmail.com <salman.ashraf@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: salman.ashraf@gmail.com @ 2005-09-20 12:30 UTC (permalink / raw)
To: pgsql-jdbc
Hi
I am quite new to postgreSQL. I just need to do a simple insert
operation on a table in PGSQL database. Now the problem I am facing is:
when I am connected to the server (on which postgresql server is up and
running) remotely with the username exactly same as that of postgres
username. I can connect to the database easily and can perform any DB
operation I want to.
But whenever I try connecting to the same DB from my Java code, I get
the exception
org.postgresql.util.PSQLException: The backend has broken the
connection. Possibly the action you have attempted has caused it to
close.
(thats it, no more details on the exception)
Furthermore If I try to connect to same database using some windows
client e.g EMS PG Manager, I am unable to move forward as well, 'coz
there is an error message again:
"Server closed the connection unexpectedly
This probably means server terminated abnormally
before or after the processing"
When I recheck by logging in to server remotely. PG server is running.
I have done a couple of steps,
I have given access previliges to my IP by modifying pg_hba.conf
I have set tcpip_connect=TRUE in postgresql.conf file
Now any pointers if you could guide me. I have tried to give every
detail of the problem
Regards
Salman
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: org.postgresql.util.PSQLException: The backend has broken
@ 2005-09-20 22:26 Oliver Jowett <oliver@opencloud.com>
parent: salman.ashraf@gmail.com <salman.ashraf@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2005-09-20 22:26 UTC (permalink / raw)
To: salman.ashraf@gmail.com <salman.ashraf@gmail.com>; +Cc: pgsql-jdbc
salman.ashraf@gmail.com wrote:
> org.postgresql.util.PSQLException: The backend has broken the
> connection. Possibly the action you have attempted has caused it to
> close.
You should check the server-side logs for errors.
-O
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-09-20 22:26 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 12:30 org.postgresql.util.PSQLException: The backend has broken the connection. salman.ashraf@gmail.com <salman.ashraf@gmail.com>
2005-09-20 22:26 ` Re: org.postgresql.util.PSQLException: The backend has broken Oliver Jowett <oliver@opencloud.com>
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