Thread: Error on commi()

Error on commi()

From
"Arsalan Zaidi"
Date:
Hi.

I occasionally get this error on commit(). What's up?

I'm using pg 7.2 and jdbc7.2dev-1.2.jar

Exception in thread "main" java.sql.SQLException: FATAL 1:  Socket command
type

        at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:94)
        at org.postgresql.Connection.ExecSQL(Connection.java:398)
        at org.postgresql.Connection.ExecSQL(Connection.java:381)
        at org.postgresql.Connection.commit(Connection.java:878)
        at nameWatchWhois.start(nameWatchWhois.java:102)
        at nameWatchWhois.main(nameWatchWhois.java:44)

--Arsalan.

-------------------------------------------------------------------
People often hate those things which they do not know, or cannot understand.
--Ali Ibn Abi Talib (A.S.)


Re: Error on commi()

From
"Dave Cramer"
Date:
Arsalan,

Do you have any error messages from the backend that can help here?

Dave

> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org
> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Arsalan Zaidi
> Sent: Thursday, March 28, 2002 3:42 AM
> To: PostgreSQL jdbc list
> Subject: [JDBC] Error on commi()
>
>
>
> Hi.
>
> I occasionally get this error on commit(). What's up?
>
> I'm using pg 7.2 and jdbc7.2dev-1.2.jar
>
> Exception in thread "main" java.sql.SQLException: FATAL 1:
> Socket command type
>
>         at
> org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:94)
>         at org.postgresql.Connection.ExecSQL(Connection.java:398)
>         at org.postgresql.Connection.ExecSQL(Connection.java:381)
>         at org.postgresql.Connection.commit(Connection.java:878)
>         at nameWatchWhois.start(nameWatchWhois.java:102)
>         at nameWatchWhois.main(nameWatchWhois.java:44)
>
> --Arsalan.
>
> -------------------------------------------------------------------
> People often hate those things which they do not know, or
> cannot understand. --Ali Ibn Abi Talib (A.S.)
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an
> appropriate subscribe-nomail command to
> majordomo@postgresql.org so that your message can get through
> to the mailing list cleanly
>
>