Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Vladimir Rusinov <vrusinov(at)google(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Steele <david(at)pgmasters(dot)net>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Cynthia Shang <cynthia(dot)shang(at)crunchydata(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal
Date: 2017-01-08 03:35:59
Message-ID: e24d25f9-6ea0-3fed-8d25-002fb7735d84@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/6/17 7:21 PM, Bruce Momjian wrote:
> I don't think anyone is arguing that these API breakages are cost-free,
> but I think long-term, the costs are minor compared to the clean API we
> provide to users.

Except in this case we can provide a clean new API without gratuitously
breaking the old one.

I absolutely do agree that we have to have a way of making incompatible
changes from time to time (as I've been arguing over and over in the
plpgsql2 thread). I also think a one-size-fits-all approach to when a
break is allowed would be good. That said, the change to
pg_stat_activity caused a lot of needless user pain, and this one will
as well.

What makes this even more frustrating (to me at least) is that the
attitude that's been demonstrated around plpgsql is that there can
absolutely NEVER be a compatibility break of any kind.

So part of the project thinks it's perfectly OK to just break things
without any warning or support, while another part of the project
adamantly refuses any kind of a break at all, even what's breaking has
never officially been supported.

I don't think that dichotomy is good for the community or for our users.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryan Murphy 2017-01-08 04:51:56 Re: Adding type info etc for inheritance errmsg: "child table is missing column ..."
Previous Message Jim Nasby 2017-01-08 03:20:41 Re: pg_background contrib module proposal