Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG: Protoc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 3710 of 3967
Post > Topic >>

Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' character

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) Apr 16, 2008 at 10:27 AM

Eugen.Konkov@[EMAIL PROTECTED]
 wrote:
> 53 46 41 54 41 4C 00 43 30 38 50 30 31 00 4D 69  SFATAL.C08P01.Mi
> 6E 76 61 6C 69 64 20 73 74 61 72 74 75 70 20 70  nvalid.startup.p
> 61 63 6B 65 74 20 6C 61 79 6F 75 74 3A 20 65 78  acket.layout:.ex
> 70 65 63 74 65 64 20 74 65 72 6D 69 6E 61 74 6F  pected.terminato
> 72 20 61 73 20 6C 61 73 74 20 62 79 74 65 00 46  r.as.last.byte.F
> 2E 5C 73 72 63 5C 62 61 63 6B 65 6E 64 5C 70 6F  .\src\backend\po
> 73 74 6D 61 73 74 65 72 5C 70 6F 73 74 6D 61 73  stmaster\postmas
> 74 65 72 2E 63 00 4C 31 35 35 37 00 52 50 72 6F  ter.c.L1557.RPro
> 63 65 73 73 53 74 61 72 74 75 70 50 61 63 6B 65  cessStartupPacke
> 74 00 00                                         t..
> 
> Last 'null' character seems odd

It's part of the protocol, actually (yes, two NUL bytes -- first one
signals the end of the previous string, the second one signals the end
of the packet).

-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 5 Posts in Topic:
BUG: Protocol 3.0 ErrorResponse: Last 'null' character seems odd
Eugen.Konkov@[EMAIL PROTE  2008-04-16 17:09:05 
Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' character
alvherre@[EMAIL PROTECTED  2008-04-16 10:27:18 
Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' characterseems
Eugen.Konkov@[EMAIL PROTE  2008-04-16 17:42:07 
Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' characterseems
tgl@[EMAIL PROTECTED] (T  2008-04-16 11:34:37 
Re: BUG: Protocol 3.0 ErrorResponse: Last 'null' characterseems
Eugen.Konkov@[EMAIL PROTE  2008-04-17 13:01:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Aug 20 7:39:32 CDT 2008.