Re: [PATCH] Rename pg_switch_xlog to pg_switch_wal
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Robert Haas <robertmhaas@gmail.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Fujii Masao <masao.fujii@gmail.com>,
Vladimir Rusinov <vrusinov@google.com>,
Euler Taveira <euler@timbira.com.br>,
David Steele <david@pgmasters.net>,
Michael Paquier <michael.paquier@gmail.com>,
Andres Freund <andres@anarazel.de>,
Jim Nasby <Jim.Nasby@bluetreble.com>,
Cynthia Shang <cynthia.shang@crunchydata.com>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-01-26T18:10:55Z
Lists: pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> What I think might be worth considering is inserting underscores,
>> eg "pg_receive_wal", anywhere that we are running the abbreviation
>> directly against another word. We won't get another chance.
> Wouldn't that make it 'pg_recv_wal'? Or were you referring to the 'wal'
> as being the abbreviation?
The latter. As far as the programs go, that would be
pg_receive_wal
pg_reset_wal
pg_wal_dump
The other cases you mention are, for the most part, words that we're
running together ("db" is the only exception) so they're not committing
double sins against readability. Anyway, I'm not suggesting that we
should rename anything this patch isn't touching already.
regards, tom lane
PS: I'm trying hard not to open the can of worms labeled "pg_dump_wal".
Commits
-
Remove all references to "xlog" from SQL-callable functions in pg_proc.
- 806091c96f9b 10.0 landed
-
Replace pg_shadow and pg_group by new role-capable catalogs pg_authid
- 7762619e9527 8.1.0 cited