Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProcessStartupPacket issues #62

Closed
zachaller opened this issue Oct 30, 2011 · 2 comments
Closed

ProcessStartupPacket issues #62

zachaller opened this issue Oct 30, 2011 · 2 comments

Comments

@zachaller
Copy link

Error with postgres works fine on node v0.5.9 but breaks on 0.5.10 and up I am currently running off node master since v0.6 is so close to coming out. Also running postgres 9.1

{ [error: invalid startup packet layout: expected terminator as last byte]
length: 126,
name: 'error',
severity: 'FATAL',
code: '08P01',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
file: 'postmaster.c',
line: '1761',
routine: 'ProcessStartupPacket' }
error: invalid startup packet layout: expected terminator as last byte
at [object Object]. (/home/zachaller/zonemap2/node_modules/pg/lib/connection.js:387:11)
at [object Object].parseMessage (/home/zachaller/zonemap2/node_modules/pg/lib/connection.js:262:17)
at Socket. (/home/zachaller/zonemap2/node_modules/pg/lib/connection.js:45:22)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:306:14)

@brianc
Copy link
Owner

brianc commented Oct 31, 2011

@shytlman closed this for you. :)

@brianc brianc closed this as completed Oct 31, 2011
@zachaller
Copy link
Author

fantastic thanks a bunch

brianc added a commit that referenced this issue Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants