forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ef1eef
committed
Allow archiving via loadable modules.
Running a shell command for each file to be archived has a lot ofoverhead and may not offer as much error checking as you want, or theexact semantics that you want. So, offer the option to call a loadablemodule for each file to be archived, rather than running a shell command.Also, add a 'basic_archive' contrib module as an example implementationthat archives to a local directory.Nathan Bossart, with a little bit of kibitzing by me.Discussion:http://postgr.es/m/20220202224433.GA1036711@nathanxps131 parent7c1aead commit5ef1eef
File tree
26 files changed
+938
-64
lines changed- contrib
- basic_archive
- expected
- sql
- doc/src/sgml
- ref
- src
- backend
- access/transam
- postmaster
- utils
- init
- misc
- include
- access
- postmaster
26 files changed
+938
-64
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
0 commit comments
Comments
(0)