1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-16 17:07:43 +03:00

Add backup_type column to pg_stat_progress_basebackup.

This commit introduces a new column backup_type that indicates the
type of backup being performed: either 'full' or 'incremental'.

Bump catalog version.

Author: Shinya Kato <shinya11.kato@gmail.com>
Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/CAOzEurQuzbHwTj1ehk1a+eeQDidJPyrE5s6mYumkjwjZnurhkQ@mail.gmail.com
This commit is contained in:
Masahiko Sawada
2025-08-05 10:50:45 -07:00
parent 295a39770e
commit deb674454c
8 changed files with 36 additions and 7 deletions

View File

@@ -6791,6 +6791,16 @@ FROM pg_stat_get_backend_idset() AS backendid;
advances when the phase is <literal>streaming database files</literal>.
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>backup_type</structfield> <type>text</type>
</para>
<para>
Backup type. Either <literal>full</literal> or
<literal>incremental</literal>.
</para></entry>
</row>
</tbody>
</tgroup>
</table>