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

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

From: John DeSoi <desoi(at)pgedit(dot)com>
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:47:45
Message-ID: c27fa316c78fea0047e957ef0f887227@pgedit.com (view raw or flat)
Thread:
Lists: pgsql-novice
On May 14, 2005, at 8:04 PM, Tom Pfeifer wrote:

> 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?
>

The equivalent ASCII character is NULL, a non-printable character with 
ASCII code 0.

So in your hex dump you should have 00 after each string. Looks like 
you have a space (20)

75 73 65 72 20 70 6F 73  ..."....user pos



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


In response to

Responses

pgsql-novice by date

Next:From: Tom PfeiferDate: 2005-05-15 02:16:18
Subject: Re: [Win2k - Version 8.0.2] - StartupMessage Format Question
Previous:From: Olivier ThauvinDate: 2005-05-15 01:04:16
Subject: Re: [Win2k - Version 8.0.2] - StartupMessage Format Question

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