slotname vs slot_name - Mailing list pgsql-hackers

From Andres Freund
Subject slotname vs slot_name
Date
Msg-id 20140604232414.GO785@awork2.anarazel.de
Whole thread Raw
Responses Re: slotname vs slot_name  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Hi,

Due to the opened window of the pg_control/catalog version bump a chance
has opened to fix a inconsistency I've recently been pointed
towards:
Namely that replication slots are named 'slot_name' in one half of the
cases and 'slotname' in the other. That's in views, SRF columns,
function parameters and the primary_slotname recovery.conf parameter.

My personal tendency would be to make it slot_name everywhere except the
primary_slotname recovery.conf parameter. There we already have
precedent for shortening names.

Other opinions?

Greetings,

Andres Freund

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sigh, we need an initdb
Next
From: Andres Freund
Date:
Subject: Re: btree_gist valgrind warnings about uninitialized memory