Re: [HACKERS] Problem trying to implement version 3.0 of the PostgreSQL protocol

2003-06-05 Thread Carlos Guzman Alvarez
Hello: > Sounds like you are sending junk following the Parse message. You are right thanks very much, but now i have another problem, i don't get response from the postgresql server, hummm this is what i'm sending for test: Byte1 ('P') Int32 (40) String ('') String ('SELECT

Re: [HACKERS] Problem trying to implement version 3.0 of the PostgreSQL protocol

2003-06-05 Thread Tom Lane
Carlos Guzman Alvarez <[EMAIL PROTECTED]> writes: > You are right thanks very much, but now i have another problem, i don't > get response from the postgresql server, hummm this is what i'm sending > for test: Your Parse message looks fine, but the server will not actually send its ParseComplete

Re: [HACKERS] Problem trying to implement version 3.0 of the PostgreSQL

2003-06-05 Thread Carlos Guzman Alvarez
Hello: Your Parse message looks fine, but the server will not actually send its ParseComplete response until you send a Sync or Flush message. The idea is that Parse is usually going to be part of a series of operations, and you don't want a separate network packet coming back for each operation

Re: [HACKERS] Problem trying to implement version 3.0 of the PostgreSQL protocol

2003-06-05 Thread Carlos Guzman Alvarez
Hello: > Sounds like you are sending junk following the Parse message. You are right thanks very much, but now i have another problem, i don't get response from the postgresql server, hummm this is what i'm sending for test: Byte1 ('P') Int32 (40) String ('') String ('SELECT