Сбой сервера Postgresql для любой вставки / обновления - PullRequest
0 голосов
/ 27 июня 2019

У меня есть рабочая база данных в PG 12 Beta 1. Сегодня я обновил ее до Beta 2. Все идет хорошо, и сервер работает.но при попытке ВСТАВИТЬ / ОБНОВИТЬ сервер вылетает:

=# select id from user where id=0;
 id 
----
  0
(1 row)
=# UPDATE user SET is_deleted = true WHERE id = 0;
psql: server closed the connection unexpectedly
    This probably means the server terminated abnormally
    before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

и в журнале сервера больше ничего нет:

2019-06-27 12:49:07.348  [16336] LOG:  server process (PID 17680) was terminated by signal 11: Segmentation fault
2019-06-27 12:49:07.348  [16336] DETAIL:  Failed process was running: UPDATE user SET is_deleted = true WHERE id = 0;
2019-06-27 12:49:07.348  [16336] LOG:  terminating any other active server processes
2019-06-27 12:49:07.348  [16436] WARNING:  terminating connection because of crash of another server process
2019-06-27 12:49:07.348  [16436] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2019-06-27 12:49:07.348  [16436] HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2019-06-27 12:49:07.350  [17787] postgres@db_01 FATAL:  the database system is in recovery mode
2019-06-27 12:49:07.363  [16336] LOG:  all server processes terminated; reinitializing
2019-06-27 12:49:07.821  [17788] LOG:  database system was interrupted; last known up at 2019-06-27 12:39:53 
2019-06-27 12:49:07.858  [17788] LOG:  database system was not properly shut down; automatic recovery in progress
2019-06-27 12:49:07.868  [17788] LOG:  redo starts at 4B2/5A000AF8
2019-06-27 12:49:07.868  [17788] LOG:  invalid record length at 4B2/5A000B30: wanted 24, got 0
2019-06-27 12:49:07.868  [17788] LOG:  redo done at 4B2/5A000AF8
2019-06-27 12:49:08.063  [16336] LOG:  database system is ready to accept connections
...