Re: [Win2k - Version 8.0.2] - StartupMessage Format Question - Mailing list pgsql-novice

From Olivier Thauvin
Subject Re: [Win2k - Version 8.0.2] - StartupMessage Format Question
Date
Msg-id 200505150304.17114.olivier.thauvin@aerov.jussieu.fr
Whole thread Raw
In response to [Win2k - Version 8.0.2] - StartupMessage Format Question  ("Tom Pfeifer" <tpfeifer@tela.com>)
List pgsql-novice
Le Sunday 15 May 2005 02:04, Tom Pfeifer a écrit :
> I don't know where to go with this question.
> If this is the wrong place, please disregard.
>
> I'm trying to learn more about how to connect to the backend with perl, not
> using DBI, just straight perl (pure perl).  I feel like an idiot asking
> this question, but I don't seem to understand what the "zero byte"
> terminator is.  What is the equivalent ASCII character?  Or is perl unable
> to process this "zero byte" terminator?
>
> This is the page I am lookin at in the docs:
> http://www.postgresql.org/docs/8.0/static/protocol-message-formats.html

Zero byte terminator come from C functions, aka character number 0 (not the
0), this is the first (non printable) character in map. I don't know how to
put in a scalar from perl code, maybe "\0".

Attachment

pgsql-novice by date:

Previous
From: "Tom Pfeifer"
Date:
Subject: [Win2k - Version 8.0.2] - StartupMessage Format Question
Next
From: John DeSoi
Date:
Subject: Re: [Win2k - Version 8.0.2] - StartupMessage Format Question