From: | Jaime Casanova <jaime(at)2ndquadrant(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | streaming header too small |
Date: | 2012-01-09 06:34:11 |
Message-ID: | CAJKUy5hLChrLCGN2SrRuEFqXVTyRE3LyiqjRpsEq4e8YN99d9g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I was trying pg_basebackup on head, i used this command:
"""
postgres(at)jaime:/usr/local/pgsql/9.2$ bin/pg_basebackup -D $PWD/data2
-x stream -P -p 54392
"""
i got this error
"""
19093/19093 kB (100%), 1/1 tablespace
pg_basebackup: streaming header too small: 17
pg_basebackup: child process exited with error 1
"""
now, this streaming header size is defined in
src/bin/pg_basebackup/receivelog.c as "#define STREAMING_HEADER_SIZE
(1+8+8+8)", so WTF is this?
what are these numbers? shouldn't be at least a comment explaining
those? more important it's seems obvious something broke that, unless
i misunderstood something which is completely possible, and that the
way is do it it will broke again in the future if the header change
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2012-01-09 08:35:50 | Re: [PATCH] Allow breaking out of hung connection attempts |
Previous Message | Josh Berkus | 2012-01-09 00:38:34 | SFPUG reviewfest for 2012-01-12 |