Re: [Win2k - Version 8.0.2] - StartupMessage Format Question

From: Olivier Thauvin <olivier(dot)thauvin(at)aerov(dot)jussieu(dot)fr>
To: "Tom Pfeifer" <tpfeifer(at)tela(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [Win2k - Version 8.0.2] - StartupMessage Format Question
Date: 2005-05-15 01:04:16
Message-ID: 200505150304.17114.olivier.thauvin@aerov.jussieu.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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".

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2005-05-15 01:47:45 Re: [Win2k - Version 8.0.2] - StartupMessage Format Question
Previous Message Tom Pfeifer 2005-05-15 00:04:14 [Win2k - Version 8.0.2] - StartupMessage Format Question