pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Remove all references to "xlog" from SQL-callable functions in p
7+ messages / 4 participants
[nested] [flat]
* pgsql: Remove all references to "xlog" from SQL-callable functions in p
@ 2017-02-09 20:36 Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Robert Haas @ 2017-02-09 20:36 UTC (permalink / raw)
To: pgsql-committers
Remove all references to "xlog" from SQL-callable functions in pg_proc.
Commit f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e renamed the pg_xlog
directory to pg_wal. To make things consistent, and because "xlog" is
terrible terminology for either "transaction log" or "write-ahead log"
rename all SQL-callable functions that contain "xlog" in the name to
instead contain "wal". (Note that this may pose an upgrade hazard for
some users.)
Similarly, rename the xlog_position argument of the functions that
create slots to be called wal_position.
Discussion: https://www.postgresql.org/message-id/CA+Tgmob=YmA=H3DbW1YuOXnFVgBheRmyDkWcD9M8f=5bGWYEoQ@mail.gmail...
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/806091c96f9b81f7631e4e37a05af377b473b5da
Modified Files
--------------
contrib/bloom/t/001_wal.pl | 2 +-
contrib/test_decoding/expected/ddl.out | 2 +-
contrib/test_decoding/sql/ddl.sql | 2 +-
doc/src/sgml/backup.sgml | 2 +-
doc/src/sgml/func.sgml | 72 +++++++++++-----------
doc/src/sgml/high-availability.sgml | 14 ++---
doc/src/sgml/logicaldecoding.sgml | 2 +-
doc/src/sgml/recovery-config.sgml | 2 +-
src/backend/access/transam/recovery.conf.sample | 2 +-
src/backend/access/transam/xlog.c | 2 +-
src/backend/access/transam/xlogfuncs.c | 36 +++++------
src/backend/catalog/system_views.sql | 10 +--
src/bin/pg_basebackup/t/030_pg_recvlogical.pl | 2 +-
src/bin/pg_rewind/RewindTest.pm | 2 +-
src/bin/pg_rewind/libpq_fetch.c | 4 +-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 54 ++++++++--------
src/test/modules/commit_ts/t/002_standby.pl | 8 +--
src/test/modules/commit_ts/t/003_standby_2.pl | 4 +-
src/test/perl/PostgresNode.pm | 10 +--
src/test/recovery/t/002_archiving.pl | 6 +-
src/test/recovery/t/003_recovery_targets.pl | 16 ++---
src/test/recovery/t/005_replay_delay.pl | 4 +-
src/test/recovery/t/008_fsm_truncation.pl | 4 +-
src/test/regress/expected/hs_standby_functions.out | 2 +-
src/test/regress/sql/hs_primary_extremes.sql | 2 +-
src/test/regress/sql/hs_primary_setup.sql | 2 +-
src/test/regress/sql/hs_standby_functions.sql | 2 +-
src/test/subscription/t/001_rep_changes.pl | 2 +-
src/test/subscription/t/002_types.pl | 2 +-
30 files changed, 138 insertions(+), 138 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
@ 2017-02-13 16:43 ` Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Fujii Masao @ 2017-02-13 16:43 UTC (permalink / raw)
To: Robert Haas <rhaas@postgresql.org>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Fri, Feb 10, 2017 at 5:36 AM, Robert Haas <rhaas@postgresql.org> wrote:
> Remove all references to "xlog" from SQL-callable functions in pg_proc.
>
> Commit f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e renamed the pg_xlog
> directory to pg_wal. To make things consistent, and because "xlog" is
> terrible terminology for either "transaction log" or "write-ahead log"
> rename all SQL-callable functions that contain "xlog" in the name to
> instead contain "wal". (Note that this may pose an upgrade hazard for
> some users.)
There are still some mentions to "xlog" in the doc. Maybe we should replace
them with "wal" as the attached patch does.
Regards,
--
Fujii Masao
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Attachments:
xlog2wal.patch (application/octet-stream, 2.8K) download
*** a/doc/src/sgml/datatype.sgml
--- b/doc/src/sgml/datatype.sgml
***************
*** 4572,4578 **** SELECT * FROM pg_attribute
<para>
The <type>pg_lsn</type> data type can be used to store LSN (Log Sequence
! Number) data which is a pointer to a location in the XLOG. This type is a
representation of <type>XLogRecPtr</type> and an internal system type of
<productname>PostgreSQL</productname>.
</para>
--- 4572,4578 ----
<para>
The <type>pg_lsn</type> data type can be used to store LSN (Log Sequence
! Number) data which is a pointer to a location in the WAL. This type is a
representation of <type>XLogRecPtr</type> and an internal system type of
<productname>PostgreSQL</productname>.
</para>
*** a/doc/src/sgml/pgstandby.sgml
--- b/doc/src/sgml/pgstandby.sgml
***************
*** 22,28 ****
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg choice="plain"><replaceable>archivelocation</replaceable></arg>
<arg choice="plain"><replaceable>nextwalfile</replaceable></arg>
! <arg choice="plain"><replaceable>xlogfilepath</replaceable></arg>
<arg choice="opt"><replaceable>restartwalfile</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
--- 22,28 ----
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg choice="plain"><replaceable>archivelocation</replaceable></arg>
<arg choice="plain"><replaceable>nextwalfile</replaceable></arg>
! <arg choice="plain"><replaceable>walfilepath</replaceable></arg>
<arg choice="opt"><replaceable>restartwalfile</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
*** a/doc/src/sgml/protocol.sgml
--- b/doc/src/sgml/protocol.sgml
***************
*** 1371,1377 **** The commands accepted in walsender mode are:
</term>
<listitem>
<para>
! Current xlog flush location. Useful to get a known location in the
transaction log where streaming can start.
</para>
</listitem>
--- 1371,1377 ----
</term>
<listitem>
<para>
! Current WAL flush location. Useful to get a known location in the
transaction log where streaming can start.
</para>
</listitem>
*** a/doc/src/sgml/storage.sgml
--- b/doc/src/sgml/storage.sgml
***************
*** 810,816 **** data. Empty in ordinary tables.</entry>
<entry>pd_lsn</entry>
<entry>PageXLogRecPtr</entry>
<entry>8 bytes</entry>
! <entry>LSN: next byte after last byte of xlog record for last change
to this page</entry>
</row>
<row>
--- 810,816 ----
<entry>pd_lsn</entry>
<entry>PageXLogRecPtr</entry>
<entry>8 bytes</entry>
! <entry>LSN: next byte after last byte of WAL record for last change
to this page</entry>
</row>
<row>
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
@ 2017-02-13 17:06 ` Robert Haas <robertmhaas@gmail.com>
2017-02-13 17:31 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Robert Haas @ 2017-02-13 17:06 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
On Mon, Feb 13, 2017 at 11:43 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Fri, Feb 10, 2017 at 5:36 AM, Robert Haas <rhaas@postgresql.org> wrote:
>> Remove all references to "xlog" from SQL-callable functions in pg_proc.
>>
>> Commit f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e renamed the pg_xlog
>> directory to pg_wal. To make things consistent, and because "xlog" is
>> terrible terminology for either "transaction log" or "write-ahead log"
>> rename all SQL-callable functions that contain "xlog" in the name to
>> instead contain "wal". (Note that this may pose an upgrade hazard for
>> some users.)
>
> There are still some mentions to "xlog" in the doc. Maybe we should replace
> them with "wal" as the attached patch does.
+1. Patch looks good to me.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
@ 2017-02-13 17:31 ` Fujii Masao <masao.fujii@gmail.com>
2017-02-13 22:00 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Fujii Masao @ 2017-02-13 17:31 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
On Tue, Feb 14, 2017 at 2:06 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Mon, Feb 13, 2017 at 11:43 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Fri, Feb 10, 2017 at 5:36 AM, Robert Haas <rhaas@postgresql.org> wrote:
>>> Remove all references to "xlog" from SQL-callable functions in pg_proc.
>>>
>>> Commit f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e renamed the pg_xlog
>>> directory to pg_wal. To make things consistent, and because "xlog" is
>>> terrible terminology for either "transaction log" or "write-ahead log"
>>> rename all SQL-callable functions that contain "xlog" in the name to
>>> instead contain "wal". (Note that this may pose an upgrade hazard for
>>> some users.)
>>
>> There are still some mentions to "xlog" in the doc. Maybe we should replace
>> them with "wal" as the attached patch does.
>
> +1. Patch looks good to me.
Thanks! Pushed.
Regards,
--
Fujii Masao
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
2017-02-13 17:31 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
@ 2017-02-13 22:00 ` Michael Paquier <michael.paquier@gmail.com>
2017-02-14 17:08 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Michael Paquier @ 2017-02-13 22:00 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Tue, Feb 14, 2017 at 2:31 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Tue, Feb 14, 2017 at 2:06 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Mon, Feb 13, 2017 at 11:43 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>>> On Fri, Feb 10, 2017 at 5:36 AM, Robert Haas <rhaas@postgresql.org> wrote:
>>>> Remove all references to "xlog" from SQL-callable functions in pg_proc.
>>>>
>>>> Commit f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e renamed the pg_xlog
>>>> directory to pg_wal. To make things consistent, and because "xlog" is
>>>> terrible terminology for either "transaction log" or "write-ahead log"
>>>> rename all SQL-callable functions that contain "xlog" in the name to
>>>> instead contain "wal". (Note that this may pose an upgrade hazard for
>>>> some users.)
>>>
>>> There are still some mentions to "xlog" in the doc. Maybe we should replace
>>> them with "wal" as the attached patch does.
>>
>> +1. Patch looks good to me.
>
> Thanks! Pushed.
It seems like the previous review I provided for the set of renaming
patches has been ignored:
https://www.postgresql.org/message-id/CAB7nPqSm=PNSe3EfvnEResdFzpQMcXXgapFBcF=EFdxVW4=fDQ@mail.gmail...
Good that somebody else checked...
--
Michael
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
2017-02-13 17:31 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 22:00 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Michael Paquier <michael.paquier@gmail.com>
@ 2017-02-14 17:08 ` Robert Haas <robertmhaas@gmail.com>
2017-02-15 00:05 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 7+ messages in thread
From: Robert Haas @ 2017-02-14 17:08 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: Fujii Masao <masao.fujii@gmail.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Mon, Feb 13, 2017 at 5:00 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> It seems like the previous review I provided for the set of renaming
> patches has been ignored:
> https://www.postgresql.org/message-id/CAB7nPqSm=PNSe3EfvnEResdFzpQMcXXgapFBcF=EFdxVW4=fDQ@mail.gmail...
> Good that somebody else checked...
Sorry about that, Michael. That was careless of me.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
2017-02-13 17:31 ` Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Fujii Masao <masao.fujii@gmail.com>
2017-02-13 22:00 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Michael Paquier <michael.paquier@gmail.com>
2017-02-14 17:08 ` Re: Re: [COMMITTERS] pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <robertmhaas@gmail.com>
@ 2017-02-15 00:05 ` Michael Paquier <michael.paquier@gmail.com>
0 siblings, 0 replies; 7+ messages in thread
From: Michael Paquier @ 2017-02-15 00:05 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: Fujii Masao <masao.fujii@gmail.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Wed, Feb 15, 2017 at 2:08 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Mon, Feb 13, 2017 at 5:00 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> It seems like the previous review I provided for the set of renaming
>> patches has been ignored:
>> https://www.postgresql.org/message-id/CAB7nPqSm=PNSe3EfvnEResdFzpQMcXXgapFBcF=EFdxVW4=fDQ@mail.gmail...
>> Good that somebody else checked...
>
> Sorry about that, Michael. That was careless of me.
No problem. Thanks.
--
Michael
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2017-02-15 00:05 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 20:36 pgsql: Remove all references to "xlog" from SQL-callable functions in p Robert Haas <rhaas@postgresql.org>
2017-02-13 16:43 ` Fujii Masao <masao.fujii@gmail.com>
2017-02-13 17:06 ` Robert Haas <robertmhaas@gmail.com>
2017-02-13 17:31 ` Fujii Masao <masao.fujii@gmail.com>
2017-02-13 22:00 ` Michael Paquier <michael.paquier@gmail.com>
2017-02-14 17:08 ` Robert Haas <robertmhaas@gmail.com>
2017-02-15 00:05 ` Michael Paquier <michael.paquier@gmail.com>
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