mirror of https://github.com/postgres/postgres
This reverts commit 0ad3c60, as per feedback from Tom Lane, Robert Haas
and Andres Freund. The new name used for the module had little
support.
This moves back to basic_archive as module name, and we will likely use
that as template for recovery modules, as well.
Discussion: https://postgr.es/m/CA+TgmoYG5uGOp7DGFT5gzC1kKFWGjkLSj_wOQxGhfMcvVEiKGA@mail.gmail.com
pull/115/head
parent
1a8e72bff7
commit
9aeff092c0
@ -0,0 +1,4 @@ |
||||
archive_mode = on |
||||
archive_library = 'basic_archive' |
||||
basic_archive.archive_directory = '.' |
||||
wal_level = replica |
||||
@ -0,0 +1,34 @@ |
||||
# Copyright (c) 2022-2023, PostgreSQL Global Development Group |
||||
|
||||
basic_archive_sources = files( |
||||
'basic_archive.c', |
||||
) |
||||
|
||||
if host_system == 'windows' |
||||
basic_archive_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ |
||||
'--NAME', 'basic_archive', |
||||
'--FILEDESC', 'basic_archive - basic archive module',]) |
||||
endif |
||||
|
||||
basic_archive = shared_module('basic_archive', |
||||
basic_archive_sources, |
||||
kwargs: contrib_mod_args, |
||||
) |
||||
contrib_targets += basic_archive |
||||
|
||||
tests += { |
||||
'name': 'basic_archive', |
||||
'sd': meson.current_source_dir(), |
||||
'bd': meson.current_build_dir(), |
||||
'regress': { |
||||
'sql': [ |
||||
'basic_archive', |
||||
], |
||||
'regress_args': [ |
||||
'--temp-config', files('basic_archive.conf'), |
||||
], |
||||
# Disabled because these tests require "shared_preload_libraries=basic_archive", |
||||
# which typical runningcheck users do not have (e.g. buildfarm clients). |
||||
'runningcheck': false, |
||||
}, |
||||
} |
||||
@ -1,4 +0,0 @@ |
||||
archive_mode = on |
||||
archive_library = 'basic_wal_module' |
||||
basic_wal_module.archive_directory = '.' |
||||
wal_level = replica |
||||
@ -1,34 +0,0 @@ |
||||
# Copyright (c) 2022-2023, PostgreSQL Global Development Group |
||||
|
||||
basic_wal_module_sources = files( |
||||
'basic_wal_module.c', |
||||
) |
||||
|
||||
if host_system == 'windows' |
||||
basic_wal_module_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ |
||||
'--NAME', 'basic_wal_module', |
||||
'--FILEDESC', 'basic_wal_module - basic write-ahead log module',]) |
||||
endif |
||||
|
||||
basic_wal_module = shared_module('basic_wal_module', |
||||
basic_wal_module_sources, |
||||
kwargs: contrib_mod_args, |
||||
) |
||||
contrib_targets += basic_wal_module |
||||
|
||||
tests += { |
||||
'name': 'basic_wal_module', |
||||
'sd': meson.current_source_dir(), |
||||
'bd': meson.current_build_dir(), |
||||
'regress': { |
||||
'sql': [ |
||||
'basic_wal_module', |
||||
], |
||||
'regress_args': [ |
||||
'--temp-config', files('basic_wal_module.conf'), |
||||
], |
||||
# Disabled because these tests require "shared_preload_libraries=basic_wal_module", |
||||
# which typical runningcheck users do not have (e.g. buildfarm clients). |
||||
'runningcheck': false, |
||||
}, |
||||
} |
||||
@ -1,25 +0,0 @@ |
||||
<!-- doc/src/sgml/appendix-obsolete-basic-archive.sgml --> |
||||
<!-- |
||||
See doc/src/sgml/appendix-obsolete.sgml for why this file exists. Do not change the id attribute. |
||||
--> |
||||
|
||||
<sect1 id="basic-archive" xreflabel="basic_archive"> |
||||
<title><command>basic_archive</command> renamed to <command>basic_wal_module</command></title> |
||||
|
||||
<indexterm> |
||||
<primary>basic_archive</primary> |
||||
<see>basic_wal_module</see> |
||||
</indexterm> |
||||
|
||||
<para> |
||||
PostgreSQL 15 provided an archive module named |
||||
<filename>basic_archive</filename> |
||||
<indexterm><primary>basic_archive</primary></indexterm>. |
||||
This module was renamed to <filename>basic_wal_module</filename>. See |
||||
<xref linkend="basic-wal-module"/> for documentation of |
||||
<filename>basic_wal_module</filename>, and see |
||||
<link linkend="release-prior">the release notes for PostgreSQL 16</link> |
||||
for details on this change. |
||||
</para> |
||||
|
||||
</sect1> |
||||
Loading…
Reference in new issue