pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Russ Brown <pickscrape@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Replication
Date: Tue, 13 Sep 2005 21:00:29 +0200
Message-ID: <200509132100.29894.peter_e@gmx.net> (raw)
In-Reply-To: <4326F406.7010402@gmail.com>
References: <KGEFLMPJFBNNLNOOOPLGOEOGCIAA.simon@2ndquadrant.com>
	<4326F406.7010402@gmail.com>

Russ Brown wrote:
> Apologies for going slighly off topic, but isn't this basically how
> MySQL does replication?

The PostgreSQL WAL log stores information on the level of "write these 
bytes to disk", the MySQL replication log stores information on the 
level of "user called this statement".  So in MySQL, inserting the 
value of now() into a table might give different results if a slave 
runs in a different time zone.  So it's sort of the same from the 
outside, but the internals are different and yield different 
possibilities and restrictions.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (131+ messages)  latest in thread

Message-ID: <200509132100.29894.peter_e@gmx.net>
Permalink:  ../200509132100.29894.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200509132100.29894.peter_e@gmx.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: peter_e@gmx.net, pickscrape@gmail.com
  Subject: Re: Replication
  In-Reply-To: <200509132100.29894.peter_e@gmx.net>

* 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