git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7c1aead) | patch
Allow archiving via loadable modules.
Thu, 3 Feb 2022 18:57:27 +0000 (13:57 -0500)
Thu, 3 Feb 2022 19:05:02 +0000 (14:05 -0500)
commit 5ef1eefd76f404ddc59b885d50340e602b70f05f
Allow archiving via loadable modules.

Running a shell command for each file to be archived has a lot of
overhead and may not offer as much error checking as you want, or the
exact semantics that you want. So, offer the option to call a loadable
module for each file to be archived, rather than running a shell command.

Also, add a 'basic_archive' contrib module as an example implementation
that archives to a local directory.

Nathan Bossart, with a little bit of kibitzing by me.

Discussion: http://postgr.es/m/20220202224433.GA1036711@nathanxps13
26 files changed:
contrib/Makefile diff | blob | blame | history
contrib/basic_archive/.gitignore [new file with mode: 0644] blob
contrib/basic_archive/Makefile [new file with mode: 0644] blob
contrib/basic_archive/basic_archive.c [new file with mode: 0644] blob
contrib/basic_archive/basic_archive.conf [new file with mode: 0644] blob
contrib/basic_archive/expected/basic_archive.out [new file with mode: 0644] blob
contrib/basic_archive/sql/basic_archive.sql [new file with mode: 0644] blob
doc/src/sgml/archive-modules.sgml [new file with mode: 0644] blob
doc/src/sgml/backup.sgml diff | blob | blame | history
doc/src/sgml/basic-archive.sgml [new file with mode: 0644] blob
doc/src/sgml/config.sgml diff | blob | blame | history
doc/src/sgml/contrib.sgml diff | blob | blame | history
doc/src/sgml/filelist.sgml diff | blob | blame | history
doc/src/sgml/high-availability.sgml diff | blob | blame | history
doc/src/sgml/postgres.sgml diff | blob | blame | history
doc/src/sgml/ref/pg_basebackup.sgml diff | blob | blame | history
doc/src/sgml/ref/pg_receivewal.sgml diff | blob | blame | history
doc/src/sgml/wal.sgml diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/postmaster/pgarch.c diff | blob | blame | history
src/backend/postmaster/shell_archive.c diff | blob | blame | history
src/backend/utils/init/miscinit.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/backend/utils/misc/postgresql.conf.sample diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
src/include/postmaster/pgarch.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /