X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 022C89FB2C9 for ; Wed, 9 Aug 2006 04:33:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 16658-02 for ; Wed, 9 Aug 2006 04:33:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from bugaboo.mu (ns1.bugaboo.mu [213.133.111.57]) by postgresql.org (Postfix) with ESMTP id AEBFA9FA7BA for ; Wed, 9 Aug 2006 04:33:38 -0300 (ADT) Received: from [192.168.77.23] (p54BDB7DE.dip0.t-ipconnect.de [::ffff:84.189.183.222]) (AUTH: CRAM-MD5 markus@bluegap.ch) by bugaboo.mu with esmtp; Wed, 09 Aug 2006 09:33:36 +0200 id 00E06104.44D98FD0.0000513B Message-ID: <44D98FCF.90408@bluegap.ch> Date: Wed, 09 Aug 2006 07:33:35 +0000 From: Markus Schiltknecht User-Agent: Thunderbird 1.5.0.4 (X11/20060713) MIME-Version: 1.0 To: alfranio correia junior CC: Christopher Browne , pgsql-hackers@postgresql.org Subject: Re: standard interfaces for replication providers References: <44D30B31.2070403@lsd.di.uminho.pt> <200608041733.24228.jop@lsd.di.uminho.pt> <44D70EDA.9060602@bluegap.ch> <200608071940.26750.jop@lsd.di.uminho.pt> <44D89EA5.5090703@bluegap.ch> <87irl3uqgx.fsf@wolfe.cbbrowne.com> <44D8D334.5050808@bluegap.ch> <44D8D9DE.50000@lsd.di.uminho.pt> In-Reply-To: <44D8D9DE.50000@lsd.di.uminho.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.675 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, SARE_SPEC_REPLICA X-Spam-Level: X-Archive-Number: 200608/537 X-Sequence-Number: 88030 Hello Alfranio, alfranio correia junior wrote: > Of course not... > It is impossible to build a replication system entirely by only using > triggers... Hm, I don't think it's impossible, just unpractical. Anyway, if you say so yourself, I really doubt the use of GAPI. If you need to create your own hooks anyway beside GAPI, why use GAPI at all? Better have one kind of 'hooking' (i.e. with a dynamically loaded library). > But definitely, there is a set of common requirements among a variety of > replication systems. Moreover, such requirements are also useful to > other systems as well. So far, they are only partly usable for replication. I never looked into materialized views or anything else that would benefit from such triggers. Regards Markus