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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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