pgsql: Split pg_start_backup() and pg_stop_backup() into two pieces

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Split pg_start_backup() and pg_stop_backup() into two pieces
Дата
Msg-id E1Pc1fY-0000va-MX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Split pg_start_backup() and pg_stop_backup() into two pieces

Move the actual functionality into a separate function that's
easier to call internally, and change the SQL-callable function
to be a wrapper calling this.

Also create a pg_abort_backup() function, only callable internally,
that does only the most vital parts of pg_stop_backup(), making it
safe(r) to call from error handlers.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4448917d51d6f87655ce357cca009634b0a136e4

Modified Files
--------------
src/backend/access/transam/xlog.c |   66 ++++++++++++++++++++++++++++++++----
src/include/access/xlog.h         |    4 ++
2 files changed, 62 insertions(+), 8 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix crash in the new GiST insertion code, when an update splits
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve comment.