Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 46C63B6245B for ; Wed, 1 Jun 2011 15:34:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 11652-01 for ; Wed, 1 Jun 2011 18:34:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f46.google.com (mail-pz0-f46.google.com [209.85.210.46]) by mail.postgresql.org (Postfix) with ESMTP id DA81EB62462 for ; Wed, 1 Jun 2011 15:34:45 -0300 (ADT) Received: by pzk9 with SMTP id 9so36922pzk.19 for ; Wed, 01 Jun 2011 11:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=MDei+2m2ivEMGfrPbDxX9DszgLzCT514D2g3qRQd5O8=; b=j9p4IJDXR5N/c9a/oiP6slt5Zg8GwrRvLS0lvay3bs1FNppk9sP2piKJbFo07/OWNY vexKw15CLZe+VCJMMbGWSHeEvM8VGkgWy9UdhAGN/V+sb9xPyysxYJJFQF208oprZzZT l7YQLtja8hAt/liKJ3RVxMeU0O9MR0T6GuN3Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OxsNCmry520K4vX/Y7904nWm50Yp6beP0+9QScxoP9AefXtYsEl5ur72a9c6dj6DEo eqIERosZ8XXH8zVkcWMXrpXpcxfufMuMTidxrBY+TwhYHDgzz0kH2zam4XQGJT3zjJxT wPCaX8lLC/DCd34chsm9a1Y2GafyT25D46bco= MIME-Version: 1.0 Received: by 10.68.34.72 with SMTP id x8mr2991503pbi.312.1306953285224; Wed, 01 Jun 2011 11:34:45 -0700 (PDT) Received: by 10.68.56.70 with HTTP; Wed, 1 Jun 2011 11:34:45 -0700 (PDT) In-Reply-To: References: <201105270526.p4R5Qlxs072183@wwwmaster.postgresql.org> Date: Wed, 1 Jun 2011 14:34:45 -0400 Message-ID: Subject: Re: BUG #6042: unlogged table with Streaming Replication From: Robert Haas To: Jaime Casanova Cc: Tomonari Katsumata , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.421 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, FS_REPLICA=3.599, RFC_ABUSE_POST=0.001, SARE_SPEC_REPLICA=0.72 X-Spam-Level: ** X-Archive-Number: 201106/10 X-Sequence-Number: 30389 On Fri, May 27, 2011 at 1:53 AM, Jaime Casanova wrote: > btw, i guess we should be defaulting to asynchronous standbys (ie: > synchronous_commit=local) By default, synchronous_standby_names is empty, which makes synchronous_commit=on equivalent to synchronous_commit=local. So I think the current default is good, because it means you only need to change ONE parameter to switch from async rep to sync rep (namely, synchronous_standby_names). -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company