pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_basebackup is not checking IDENTIFY_SYSTEM numbre of columns
Date: 2012-01-11 21:31:33
Message-ID: CAJKUy5h+-bkqB3UOKaAd1nio=zSNcOyYWhQCrC+LmP63U96rpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I just notice $SUBJECT and this could lead us to a segmentation fault
if by accident we point to a system with a different number of columns
in IDENTIFY_SYSTEM, at least i point pg_receivexlog from current head
to a 9.0 instalation and got that.

Any reason for not checking number of columns?

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2012-01-11 21:52:03 Re: PL/Python result metadata
Previous Message Dan Scales 2012-01-11 21:25:21 Re: [WIP] Double-write with Fast Checksums