mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Add logic to find the real oid of the test1 database during restore testing.
This commit is contained in:
parent
f0250dab4b
commit
d924f3d50a
@ -89,6 +89,10 @@
|
||||
</release-improvement-list>
|
||||
|
||||
<release-development-list>
|
||||
<release-item>
|
||||
<p>Add logic to find the real oid of the <id>test1</id> database during restore testing.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Document build improvements. Perform <code>apt-get update</code> to ensure packages are up to date before installing. Add <id>-p</id> to the repository <file>mkdir</file> so it won't fail if the directory already exists, handy for testing packages.</p>
|
||||
</release-item>
|
||||
|
@ -1203,9 +1203,15 @@
|
||||
<execute-list host="{[host-pg1]}">
|
||||
<title>Show space used by test1 database</title>
|
||||
|
||||
<execute show="n" variable-key="database-test1-oid">
|
||||
<exe-cmd>
|
||||
psql -Atc "select oid from pg_database where datname = 'test1'"
|
||||
</exe-cmd>
|
||||
</execute>
|
||||
|
||||
<execute output="y" filter="n">
|
||||
<exe-cmd>
|
||||
du -sh {[pg-path]}/base/16384
|
||||
du -sh {[pg-path]}/base/{[database-test1-oid]}
|
||||
</exe-cmd>
|
||||
</execute>
|
||||
</execute-list>
|
||||
@ -1267,7 +1273,7 @@
|
||||
|
||||
<execute output="y" filter="n">
|
||||
<exe-cmd>
|
||||
du -sh {[pg-path]}/base/16384
|
||||
du -sh {[pg-path]}/base/{[database-test1-oid]}
|
||||
</exe-cmd>
|
||||
</execute>
|
||||
</execute-list>
|
||||
|
Loading…
x
Reference in New Issue
Block a user