Thread: Re: Problem trying to implement version 3.0 of the PostgreSQL protocol

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

From
Carlos Guzman Alvarez
Date:
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 * FROM  public.test_table')
    Int16 (0)


The buffer is anything like this (without commas):


40,0,0,0,40,0,83,69,76,69,67,84,32,42,32,70,82,79,77,32,32,112,117,98,108,105,99,46,116,101,115,116,95,116,97,98,108,101,0,0,0


Any idea ??




-- 
Best regards

Carlos Guzmán Álvarez
Vigo-España

"No tengo dones especiales.Sólo soy apasionadamente curioso"
Albert Einstein, científico.