Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbR9H-0006TR-Gv for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Apr 2022 18:09:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nbR9G-0003IX-BR for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Apr 2022 18:09:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbR9F-0003IO-L3 for pgsql-hackers@lists.postgresql.org; Mon, 04 Apr 2022 18:09:54 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nbR9B-0000S3-90 for pgsql-hackers@postgresql.org; Mon, 04 Apr 2022 18:09:53 +0000 Received: by mail-pj1-x102b.google.com with SMTP id 2so2320202pjw.2 for ; Mon, 04 Apr 2022 11:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=fkZ2byt8CzktgOc2WBuG8L/H+VzQvbwStfN5pMLGGO0=; b=WJ0TrcO6YBe/rk4nTSiIIgZftP+bbCgs/yW3X4o4siuBs0+PYbb6csgiYhhy+ONyx1 9UhuQifwa+3nRd5IqMKvQIZddbqMlBzIaxxKmVCQk75NN+4BFypE7FNvKGyFvQgzpLL3 xdjfxXY6Xh92TBw8f6S20u3vxv1WrlEr4bfvUMnw/+C0QLGIwiNvbDNcrkliWoJm/7jX L/CFRWUhyIjhRqDBRDw9mZCXqC+7eCsZprZVXjAfNBZy/BKtE1gypId2iJpG4kcEIVQw 93vPflgxRHwn4f1RpLv7BiTgpRDbLbp4KX/ex2uxrUVTbICAfpPHAZGmAn0gQODHBVi6 qq2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=fkZ2byt8CzktgOc2WBuG8L/H+VzQvbwStfN5pMLGGO0=; b=D6fJVxQaRajS1OjQUGj9R6gz4i6MGVXP+RfDQgdtBplmBpTbpAqtCrRkehEPmpAcbR 0+EOKxeNWDdo3VVISBccymI7d3XtpRgWH+8ZVwm5P8qInhlq6LCMVx/IzSkJK2fnkxRK Ob2nh41TnjNCPddbwfiVL3B6a13T8xOnL1Nm4SMlRbqpB3u6fc/mLuh1xKxx1cjn7xfV GM0DZBA3/0iov4CM/cLlI7p/8M9ccg6N5eKzrAqrmUtWZWzYPODHQa+unVQRJZcHT1xR hSfGcPLGGQJ5kZcMtTjdzQC8jY5PeLL04BXkxb7Pnm//u47khbNqmPQ7BleXWOP9Mabg LlmQ== X-Gm-Message-State: AOAM531Wi6O/3JCwwUPIYSRD6xRndUrjO25mkQHYT1dmhRvLMZXGOQMG W24IkrShpdOe8z8bgTEPsiQoIQWRjURXVYprOEi04OOd7j+ez7snw1Mcyjt46BHGOfDkUajZWK5 p6MaRBnydpsQljFtt0aYx5DOm0h4saijqJlU69tC/MQFcknvZiEx/61K0bf0NEkHdhbBvNyMQrT GuS//afcH/pW0Y9YlFVxmQlIaafVZhrc7ZxsgC X-Google-Smtp-Source: ABdhPJzDCabBCHxjWSsPygxw4W0XftgbhSTZF87s+Ujez9xzTgp2HDN5oiZ93MKhZN8YKFIYAfupwg== X-Received: by 2002:a17:90a:58f:b0:1ca:7a28:273f with SMTP id i15-20020a17090a058f00b001ca7a28273fmr470272pji.62.1649095787178; Mon, 04 Apr 2022 11:09:47 -0700 (PDT) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id y16-20020a637d10000000b00381268f2c6fsm11249463pgc.4.2022.04.04.11.09.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2022 11:09:46 -0700 (PDT) From: Mark Dilger Message-Id: <2BD8BDA8-A963-4D64-8B69-8F7EDF9AEA2D@enterprisedb.com> Content-Type: multipart/mixed; boundary="Apple-Mail=_1B1A39F5-8B2D-47CF-A2BE-6EE2EAD611AB" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: New Object Access Type hooks Date: Mon, 4 Apr 2022 11:09:45 -0700 In-Reply-To: <1925660.1649095626@sss.pgh.pa.us> Cc: Thomas Munro , PostgreSQL-development , Joshua Brindle , Robert Haas , Andrew Dunstan , Jeff Davis , Joe Conway To: Tom Lane References: <47F87A0E-C0E5-43A6-89F6-D403F2B45175@enterprisedb.com> <17BD82D7-49AC-40C9-8204-E7ADD30321A0@enterprisedb.com> <1918971.1649091790@sss.pgh.pa.us> <1922986.1649094077@sss.pgh.pa.us> <1923706.1649094673@sss.pgh.pa.us> <1925660.1649095626@sss.pgh.pa.us> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_1B1A39F5-8B2D-47CF-A2BE-6EE2EAD611AB Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On Apr 4, 2022, at 11:07 AM, Tom Lane wrote: > > I was hoping to see regress_log_013_crash_restart, though. --Apple-Mail=_1B1A39F5-8B2D-47CF-A2BE-6EE2EAD611AB Content-Disposition: attachment; filename=regress_log_013_crash_restart Content-Type: application/octet-stream; x-unix-mode=0644; name="regress_log_013_crash_restart" Content-Transfer-Encoding: 7bit # Checking port 49823 # Found port 49823 Name: primary Data directory: /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata Backup directory: /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/backup Archive directory: /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/archives Connection string: port=49823 host=/var/folders/6n/3f4vwbnn7fz5qk0xqhgbjrkw0000gp/T/hDGeeFsYRd Log file: /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/log/013_crash_restart_primary.log # Running: initdb -D /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata -A trust -N The files belonging to this database system will be owned by user "mark.dilger". This user must also own the server process. The database cluster will be initialized with this locale configuration: provider: libc LC_COLLATE: en_US.UTF-8 LC_CTYPE: en_US.UTF-8 LC_MESSAGES: C LC_MONETARY: en_US.UTF-8 LC_NUMERIC: en_US.UTF-8 LC_TIME: en_US.UTF-8 The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... America/Los_Angeles creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata -l logfile start # Running: /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/../../../src/test/regress/pg_regress --config-auth /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata ### Starting node "primary" # Running: pg_ctl -w -D /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata -l /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/log/013_crash_restart_primary.log -o --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 2070 ok 1 - acquired pid for SIGQUIT ok 2 - inserted in-progress-before-sigquit ok 3 - monitor connected # Running: pg_ctl kill QUIT 2083 ok 4 - killed process with SIGQUIT # pump_until: process terminated unexpectedly when searching for "(?^m:WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost)" with stream: "psql::9: WARNING: terminating connection because of unexpected SIGQUIT signal # psql::9: could not send data to server: Socket is not connected # " not ok 5 - psql query died successfully after SIGQUIT # Failed test 'psql query died successfully after SIGQUIT' # at t/013_crash_restart.pl line 109. ok 6 - psql monitor died successfully after SIGQUIT ok 7 - reconnected after SIGQUIT ok 8 - acquired pid for SIGKILL ok 9 - inserted in-progress-before-sigkill ok 10 - monitor connected # Running: pg_ctl kill KILL 2103 ok 11 - killed process with KILL ok 12 - psql query died successfully after SIGKILL ok 13 - psql monitor died successfully after SIGKILL ok 14 - reconnected after SIGKILL ok 15 - data survived ok 16 - can still write after crash restart ### Restarting node "primary" # Running: pg_ctl -w -D /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata -l /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/log/013_crash_restart_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "primary" is 2127 ok 17 - data survived ok 18 - can still write after orderly restart ### Stopping node "primary" using mode fast # Running: pg_ctl -D /Users/mark.dilger/hydra/altersystem_v15_devel.7/src/test/recovery/tmp_check/t_013_crash_restart_primary_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary" 1..18 # Looks like you failed 1 test of 18. --Apple-Mail=_1B1A39F5-8B2D-47CF-A2BE-6EE2EAD611AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --Apple-Mail=_1B1A39F5-8B2D-47CF-A2BE-6EE2EAD611AB--