pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL clustering VS MySQL clustering
Date: Sat, 19 Feb 2005 00:20:08 +0100
Message-ID: <cv5t83$1njl$1@news.hub.org> (raw)
In-Reply-To: <200501201949.24292.josh@agliodbs.com>
References: <20050120144416.GO10437@ns.snowman.net>
	<200501200929.37228.darcy@wavefire.com>
	<20050121.104007.74755729.t-ishii@sra.co.jp>
	<200501201949.24292.josh@agliodbs.com>

Josh Berkus wrote:
> Tatsuo,
> 
> 
>>Yes. However it would be pretty easy to modify pgpool so that it could
>>cope with Slony-I. I.e.
>>
>>1) pgpool does the load balance and sends query to Slony-I's slave and
>>   master if the query is SELECT.
>>
>>2) pgpool sends query only to the master if the query is other than
>>   SELECT.

Don't you think that this is unsafe ?


SELECT foo(id), id
FROM bar;


where foo have side effect.

Is pgpool able to detect it and perform this select on the master ?


Regards
Gaetano Mendola






view thread (131+ messages)  latest in thread

Message-ID: <cv5t83$1njl$1@news.hub.org>
Permalink:  ../cv5t83$1njl$1@news.hub.org/
Also on:    postgresql.org/message-id/cv5t83$1njl$1@news.hub.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com
  Subject: Re: PostgreSQL clustering VS MySQL clustering
  In-Reply-To: <cv5t83$1njl$1@news.hub.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