pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: maxim.boguk <maxim.boguk@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #10675: alter database set tablespace and unlogged table
Date: Tue, 21 Oct 2014 00:01:50 +0200
Message-ID: <20141020220150.GI7176@awork2.anarazel.de> (raw)
In-Reply-To: <CAHGQGwG+QTOdqR1xOqvREXJdXkknq9s13QGU6+M8cKp1Ku+igw@mail.gmail.com>
References: <CABOikdPiDnBsAvdxo-wE6hY=UPUQPKQTRK5Cg=h0caMDgdxM+A@mail.gmail.com>
	<20140618101045.GG3115@awork2.anarazel.de>
	<CABOikdPY9AKdrzsOhfeoOv1xSWNsrZxKWGRthYaFdsxHXjiKfQ@mail.gmail.com>
	<20140618110240.GJ3115@awork2.anarazel.de>
	<11621.1403099146@sss.pgh.pa.us>
	<20140618141949.GC3968@awork2.anarazel.de>
	<CABOikdNMWyfvcm+1Ks-VVRzRDyKsEZj5Ehb3C2+-MYBYftcs+w@mail.gmail.com>
	<CABOikdN=3B7zXfOnPTjDzRu6SsuDJsYGE14cu7t2NRv3CffdVw@mail.gmail.com>
	<20141009135247.GB29124@awork2.int>
	<CAHGQGwG+QTOdqR1xOqvREXJdXkknq9s13QGU6+M8cKp1Ku+igw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2014-10-10 16:15:58 +0900, Fujii Masao wrote:
> +1 for applying this change.

I've just done so.

> -         (flags & CHECKPOINT_CAUSE_TIME) ? " time" : "");
> +         (flags & CHECKPOINT_CAUSE_TIME) ? " time" : "",
> +         (flags & CHECKPOINT_FLUSH_ALL) ? " flush-all" :"");
> 
> ISTM that you forgot to add the following change.
> 
> -               msg = "restartpoint starting:%s%s%s%s%s%s%s";
> +               msg = "restartpoint starting:%s%s%s%s%s%s%s%s";
>         else
> -               msg = "checkpoint starting:%s%s%s%s%s%s%s";
> +               msg = "checkpoint starting:%s%s%s%s%s%s%s%s";

Good catch. Thanks for having a look! Interesting that gcc can't deduce
this...

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (35+ messages)

Message-ID: <20141020220150.GI7176@awork2.anarazel.de>
Permalink:  ../20141020220150.GI7176@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20141020220150.GI7176@awork2.anarazel.de

 · 

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: andres@2ndquadrant.com, masao.fujii@gmail.com, pavan.deolasee@gmail.com, tgl@sss.pgh.pa.us, maxim.boguk@gmail.com
  Subject: Re: BUG #10675: alter database set tablespace and unlogged table
  In-Reply-To: <20141020220150.GI7176@awork2.anarazel.de>
  References: <CABOikdPiDnBsAvdxo-wE6hY=UPUQPKQTRK5Cg=h0caMDgdxM+A@mail.gmail.com> <20140618101045.GG3115@awork2.anarazel.de> <CABOikdPY9AKdrzsOhfeoOv1xSWNsrZxKWGRthYaFdsxHXjiKfQ@mail.gmail.com> <20140618110240.GJ3115@awork2.anarazel.de> <11621.1403099146@sss.pgh.pa.us> <20140618141949.GC3968@awork2.anarazel.de> <CABOikdNMWyfvcm+1Ks-VVRzRDyKsEZj5Ehb3C2+-MYBYftcs+w@mail.gmail.com> <CABOikdN=3B7zXfOnPTjDzRu6SsuDJsYGE14cu7t2NRv3CffdVw@mail.gmail.com> <20141009135247.GB29124@awork2.int> <CAHGQGwG+QTOdqR1xOqvREXJdXkknq9s13QGU6+M8cKp1Ku+igw@mail.gmail.com> <20141020220150.GI7176@awork2.anarazel.de>

* 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