Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group