pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lxzou <zoulx1982@163.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6018: ctrl +C cause data inconsistent for sync standby
Date: Tue, 10 May 2011 02:38:42 GMT
Message-ID: <201105100238.p4A2cgx4000328@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6018
Logged by:          lxzou
Email address:      zoulx1982@163.com
PostgreSQL version: 9.1beta1
Operating system:   Linux
Description:        ctrl +C cause data inconsistent for sync standby
Details: 

Dear Sir:
  I am interested in standby function of PG, so i test the new feature about
sync standby in PG9.1. I have a question, i install only one primary
postgres and no standby server. When i execute an insert statement in
primary, this statement was blocked. But when I press Ctrl + C in psql, the
statement was commited. In my view, the walsender can't send the xlog to
standby server, the statement should be rollback, but not commit; because
this will cause the data between primary and standby inconsistent. 
Thank you for your time.
Look forward to your reply.



view thread (2+ messages)  latest in thread

Message-ID: <201105100238.p4A2cgx4000328@wwwmaster.postgresql.org>
Permalink:  ../201105100238.p4A2cgx4000328@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201105100238.p4A2cgx4000328@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: zoulx1982@163.com
  Subject: Re: BUG #6018: ctrl +C cause data inconsistent for sync standby
  In-Reply-To: <201105100238.p4A2cgx4000328@wwwmaster.postgresql.org>
  References: <201105100238.p4A2cgx4000328@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox