From 68aec9593c0f37dddbaa4f2e2b34a9ba3f5b11d9 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Mon, 14 Mar 2022 11:11:06 -0400 Subject: [PATCH] Fix various misspellings This patch fixes various misspellings of committed, constraint and insufficient in code, comments and documentation. --- CHANGELOG.md | 2 +- src/hypertable.c | 2 +- src/process_utility.c | 2 +- test/sql/updates/setup.repair.sql | 2 +- tsl/src/remote/txn.c | 2 +- tsl/test/expected/chunk_api.out | 2 +- tsl/test/expected/compression_errors.out | 2 +- tsl/test/expected/data_node.out | 8 ++-- tsl/test/expected/dist_grant-12.out | 2 +- tsl/test/expected/dist_grant-13.out | 2 +- tsl/test/expected/dist_grant-14.out | 2 +- tsl/test/expected/dist_hypertable-12.out | 10 ++--- tsl/test/expected/dist_hypertable-13.out | 10 ++--- tsl/test/expected/dist_hypertable-14.out | 10 ++--- tsl/test/expected/dist_query.out | 2 +- tsl/test/expected/remote_txn_resolve.out | 50 ++++++++++++------------ tsl/test/sql/chunk_api.sql | 2 +- tsl/test/sql/dist_hypertable.sql.in | 2 +- tsl/test/src/remote/txn_resolve.c | 11 +++--- 19 files changed, 63 insertions(+), 62 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a95a18f..eda620084 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,7 +58,7 @@ The release also includes several bug fixes. Telemetry reports now include new a **Bugfixes** * #3808 Properly handle `max_retries` option * #3863 Fix remote transaction heal logic -* #3869 Fix ALTER SET/DROP NULL contstraint on distributed hypertable +* #3869 Fix ALTER SET/DROP NULL constraint on distributed hypertable * #3944 Fix segfault in add_compression_policy * #3961 Fix crash in EXPLAIN VERBOSE on distributed hypertable * #4015 Eliminate float rounding instabilities in interpolate diff --git a/src/hypertable.c b/src/hypertable.c index 0a2596fbe..ed7839432 100644 --- a/src/hypertable.c +++ b/src/hypertable.c @@ -1665,7 +1665,7 @@ ts_hypertable_check_partitioning(const Hypertable *ht, int32 id_of_updated_dimen num_nodes > first_closed_dim->fd.num_slices) ereport(WARNING, (errcode(ERRCODE_WARNING), - errmsg("insuffient number of partitions for dimension \"%s\"", + errmsg("insufficient number of partitions for dimension \"%s\"", NameStr(dim->fd.column_name)), errdetail("There are not enough partitions to make" " use of all data nodes."), diff --git a/src/process_utility.c b/src/process_utility.c index 0383bd8da..42de18a50 100644 --- a/src/process_utility.c +++ b/src/process_utility.c @@ -301,7 +301,7 @@ check_altertable_add_column_for_compressed(Hypertable *ht, ColumnDef *col) { ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("cannot add column with NOT NULL contraint without default " + errmsg("cannot add column with NOT NULL constraint without default " "to a hypertable that has compression enabled"))); } } diff --git a/test/sql/updates/setup.repair.sql b/test/sql/updates/setup.repair.sql index f0113a0b7..ba8d77d24 100644 --- a/test/sql/updates/setup.repair.sql +++ b/test/sql/updates/setup.repair.sql @@ -53,7 +53,7 @@ INSERT INTO repair_test_date VALUES -- -- This way if there are constraint violations remaining that wasn't -- repaired properly, we will notice them when restoring the --- contraint. +-- constraint. ALTER TABLE _timescaledb_catalog.chunk_constraint DROP CONSTRAINT chunk_constraint_dimension_slice_id_fkey; diff --git a/tsl/src/remote/txn.c b/tsl/src/remote/txn.c index 822cf0559..ad21e274f 100644 --- a/tsl/src/remote/txn.c +++ b/tsl/src/remote/txn.c @@ -60,7 +60,7 @@ typedef struct RemoteTxn * multiple remote commands to be executed (e.g. a join of two tables on one remote * node might not be pushed down and instead two different queries are sent * to the remote node, one for each table in the join). Since in READ - * COMMITED the snapshot is refreshed on each command, the semantics are off + * COMMITTED the snapshot is refreshed on each command, the semantics are off * when multiple commands are meant to be part of the same one. * * This isn't great but we have no alternative unless we ensure that each access diff --git a/tsl/test/expected/chunk_api.out b/tsl/test/expected/chunk_api.out index 500bd35c5..1d14be864 100644 --- a/tsl/test/expected/chunk_api.out +++ b/tsl/test/expected/chunk_api.out @@ -803,7 +803,7 @@ FROM _timescaledb_internal.show_chunk(:'CHUNK_SCHEMA'||'.'||:'CHUNK_NAME') \gset CREATE TABLE original_chunk_constraints AS SELECT "Constraint", "Type", "Columns", "Index"::text, "Expr", "Deferrable", "Deferred", "Validated" FROM test.show_constraints(format('%I.%I', :'CHUNK_SCHEMA', :'CHUNK_NAME')::regclass); --- Save contraints metadata +-- Save constraints metadata CREATE TABLE original_chunk_constraints_metadata AS SELECT chunk_id, diff --git a/tsl/test/expected/compression_errors.out b/tsl/test/expected/compression_errors.out index a1e33bf12..39409b3b2 100644 --- a/tsl/test/expected/compression_errors.out +++ b/tsl/test/expected/compression_errors.out @@ -328,7 +328,7 @@ ERROR: cannot add column with constraints to a hypertable that has compression ALTER TABLE table_constr ADD COLUMN newcol integer PRIMARY KEY; ERROR: cannot add column with constraints to a hypertable that has compression enabled ALTER TABLE table_constr ADD COLUMN newcol integer NOT NULL; -ERROR: cannot add column with NOT NULL contraint without default to a hypertable that has compression enabled +ERROR: cannot add column with NOT NULL constraint without default to a hypertable that has compression enabled ALTER TABLE table_constr ADD COLUMN newcol integer DEFAULT random() + random(); ERROR: cannot add column with non-constant default expression to a hypertable that has compression enabled ALTER TABLE table_constr ADD COLUMN IF NOT EXISTS newcol integer REFERENCES fortable(col); diff --git a/tsl/test/expected/data_node.out b/tsl/test/expected/data_node.out index 7de6ba4ab..228bfe450 100644 --- a/tsl/test/expected/data_node.out +++ b/tsl/test/expected/data_node.out @@ -281,7 +281,7 @@ SET ROLE :ROLE_1; -- warning SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', 2); NOTICE: adding not-null constraint to column "time" -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 2 | public | disttable | t @@ -387,7 +387,7 @@ ERROR: server "data_node_4" does not exist -- number_partitions lower than number of servers to raise a warning SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', number_partitions => 1, replication_factor => 2, data_nodes => '{ "data_node_2", "data_node_3" }'); NOTICE: adding not-null constraint to column "time" -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 3 | public | disttable | t @@ -811,7 +811,7 @@ SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', 2, replication_factor => 2, data_nodes => '{"data_node_1", "data_node_2", "data_node_3"}'); NOTICE: adding not-null constraint to column "time" -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 5 | public | disttable | t @@ -861,7 +861,7 @@ SELECT * FROM _timescaledb_catalog.chunk_data_node; CREATE TABLE disttable_2(time timestamptz, device int, temp float); SELECT * FROM create_distributed_hypertable('disttable_2', 'time', 'device', 2, replication_factor => 2, data_nodes => '{"data_node_1", "data_node_2", "data_node_3"}'); NOTICE: adding not-null constraint to column "time" -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+-------------+--------- 6 | public | disttable_2 | t diff --git a/tsl/test/expected/dist_grant-12.out b/tsl/test/expected/dist_grant-12.out index e13f402c4..f25f5aebd 100644 --- a/tsl/test/expected/dist_grant-12.out +++ b/tsl/test/expected/dist_grant-12.out @@ -681,7 +681,7 @@ CREATE TABLE conditions( PRIMARY KEY (time,device) ); SELECT * FROM create_distributed_hypertable('conditions', 'time', 'device', 3); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 4 | public | conditions | t diff --git a/tsl/test/expected/dist_grant-13.out b/tsl/test/expected/dist_grant-13.out index e13f402c4..f25f5aebd 100644 --- a/tsl/test/expected/dist_grant-13.out +++ b/tsl/test/expected/dist_grant-13.out @@ -681,7 +681,7 @@ CREATE TABLE conditions( PRIMARY KEY (time,device) ); SELECT * FROM create_distributed_hypertable('conditions', 'time', 'device', 3); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 4 | public | conditions | t diff --git a/tsl/test/expected/dist_grant-14.out b/tsl/test/expected/dist_grant-14.out index 0a4fb87d8..cd6b555f4 100644 --- a/tsl/test/expected/dist_grant-14.out +++ b/tsl/test/expected/dist_grant-14.out @@ -681,7 +681,7 @@ CREATE TABLE conditions( PRIMARY KEY (time,device) ); SELECT * FROM create_distributed_hypertable('conditions', 'time', 'device', 3); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 4 | public | conditions | t diff --git a/tsl/test/expected/dist_hypertable-12.out b/tsl/test/expected/dist_hypertable-12.out index 6a4d70a0a..3abd646c2 100644 --- a/tsl/test/expected/dist_hypertable-12.out +++ b/tsl/test/expected/dist_hypertable-12.out @@ -48,7 +48,7 @@ ERROR: operation not supported -- constraint to test how those work CREATE TABLE disttable(time timestamptz, device int CHECK (device > 0), color int, temp float, PRIMARY KEY (time,device)); SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', 1); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 1 | public | disttable | t @@ -56,7 +56,7 @@ WARNING: insuffient number of partitions for dimension "device" -- Increase the number of partitions. Expect warning since still too low SELECT * FROM set_number_partitions('disttable', 2); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" set_number_partitions ----------------------- @@ -2056,7 +2056,7 @@ ORDER BY 1, 2; -- Attach another data node but do not auto-repartition, i.e., -- increase the number of slices. SELECT * FROM attach_data_node(:'DATA_NODE_2', '"Table\\Schema"."Param_Table"', repartition => false); -WARNING: insuffient number of partitions for dimension "__region" +WARNING: insufficient number of partitions for dimension "__region" hypertable_id | node_hypertable_id | node_name ---------------+--------------------+---------------------- 4 | 3 | db_dist_hypertable_2 @@ -3377,7 +3377,7 @@ id|hypertable_id|column_name|column_type|aligned|num_slices|partitioning_func_sc -- well. We're setting num_partitions lower than the number of servers -- and expect a warning. SELECT * FROM add_dimension('disttable', 'device', 1, partitioning_func => '_timescaledb_internal.get_partition_hash'); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" dimension_id | schema_name | table_name | column_name | created --------------+-------------+------------+-------------+--------- 22 | public | disttable | device | t @@ -5925,7 +5925,7 @@ SELECT compress_chunk(show_chunks) FROM show_chunks('test'); (1 row) DROP TABLE test; --- Fix ALTER SET/DROP NULL contstraint on distributed hypertable +-- Fix ALTER SET/DROP NULL constraint on distributed hypertable -- -- #3860 -- diff --git a/tsl/test/expected/dist_hypertable-13.out b/tsl/test/expected/dist_hypertable-13.out index dbd7230d4..e5e3ef16a 100644 --- a/tsl/test/expected/dist_hypertable-13.out +++ b/tsl/test/expected/dist_hypertable-13.out @@ -48,7 +48,7 @@ ERROR: operation not supported -- constraint to test how those work CREATE TABLE disttable(time timestamptz, device int CHECK (device > 0), color int, temp float, PRIMARY KEY (time,device)); SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', 1); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 1 | public | disttable | t @@ -56,7 +56,7 @@ WARNING: insuffient number of partitions for dimension "device" -- Increase the number of partitions. Expect warning since still too low SELECT * FROM set_number_partitions('disttable', 2); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" set_number_partitions ----------------------- @@ -2055,7 +2055,7 @@ ORDER BY 1, 2; -- Attach another data node but do not auto-repartition, i.e., -- increase the number of slices. SELECT * FROM attach_data_node(:'DATA_NODE_2', '"Table\\Schema"."Param_Table"', repartition => false); -WARNING: insuffient number of partitions for dimension "__region" +WARNING: insufficient number of partitions for dimension "__region" hypertable_id | node_hypertable_id | node_name ---------------+--------------------+---------------------- 4 | 3 | db_dist_hypertable_2 @@ -3376,7 +3376,7 @@ id|hypertable_id|column_name|column_type|aligned|num_slices|partitioning_func_sc -- well. We're setting num_partitions lower than the number of servers -- and expect a warning. SELECT * FROM add_dimension('disttable', 'device', 1, partitioning_func => '_timescaledb_internal.get_partition_hash'); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" dimension_id | schema_name | table_name | column_name | created --------------+-------------+------------+-------------+--------- 22 | public | disttable | device | t @@ -5924,7 +5924,7 @@ SELECT compress_chunk(show_chunks) FROM show_chunks('test'); (1 row) DROP TABLE test; --- Fix ALTER SET/DROP NULL contstraint on distributed hypertable +-- Fix ALTER SET/DROP NULL constraint on distributed hypertable -- -- #3860 -- diff --git a/tsl/test/expected/dist_hypertable-14.out b/tsl/test/expected/dist_hypertable-14.out index 83958a290..7239e9892 100644 --- a/tsl/test/expected/dist_hypertable-14.out +++ b/tsl/test/expected/dist_hypertable-14.out @@ -48,7 +48,7 @@ ERROR: operation not supported -- constraint to test how those work CREATE TABLE disttable(time timestamptz, device int CHECK (device > 0), color int, temp float, PRIMARY KEY (time,device)); SELECT * FROM create_distributed_hypertable('disttable', 'time', 'device', 1); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" hypertable_id | schema_name | table_name | created ---------------+-------------+------------+--------- 1 | public | disttable | t @@ -56,7 +56,7 @@ WARNING: insuffient number of partitions for dimension "device" -- Increase the number of partitions. Expect warning since still too low SELECT * FROM set_number_partitions('disttable', 2); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" set_number_partitions ----------------------- @@ -2059,7 +2059,7 @@ ORDER BY 1, 2; -- Attach another data node but do not auto-repartition, i.e., -- increase the number of slices. SELECT * FROM attach_data_node(:'DATA_NODE_2', '"Table\\Schema"."Param_Table"', repartition => false); -WARNING: insuffient number of partitions for dimension "__region" +WARNING: insufficient number of partitions for dimension "__region" hypertable_id | node_hypertable_id | node_name ---------------+--------------------+---------------------- 4 | 3 | db_dist_hypertable_2 @@ -3383,7 +3383,7 @@ id|hypertable_id|column_name|column_type|aligned|num_slices|partitioning_func_sc -- well. We're setting num_partitions lower than the number of servers -- and expect a warning. SELECT * FROM add_dimension('disttable', 'device', 1, partitioning_func => '_timescaledb_internal.get_partition_hash'); -WARNING: insuffient number of partitions for dimension "device" +WARNING: insufficient number of partitions for dimension "device" dimension_id | schema_name | table_name | column_name | created --------------+-------------+------------+-------------+--------- 22 | public | disttable | device | t @@ -5931,7 +5931,7 @@ SELECT compress_chunk(show_chunks) FROM show_chunks('test'); (1 row) DROP TABLE test; --- Fix ALTER SET/DROP NULL contstraint on distributed hypertable +-- Fix ALTER SET/DROP NULL constraint on distributed hypertable -- -- #3860 -- diff --git a/tsl/test/expected/dist_query.out b/tsl/test/expected/dist_query.out index c2c59add3..224d33b83 100644 --- a/tsl/test/expected/dist_query.out +++ b/tsl/test/expected/dist_query.out @@ -95,7 +95,7 @@ SELECT * FROM reference WHERE time < '2019-01-02 05:10'::timestamptz ORDER BY time; SELECT * FROM set_number_partitions('hyper', 2); -psql:include/dist_query_load.sql:44: WARNING: insuffient number of partitions for dimension "device" +psql:include/dist_query_load.sql:44: WARNING: insufficient number of partitions for dimension "device" set_number_partitions ----------------------- diff --git a/tsl/test/expected/remote_txn_resolve.out b/tsl/test/expected/remote_txn_resolve.out index f44ae4206..4d3b1b9cb 100644 --- a/tsl/test/expected/remote_txn_resolve.out +++ b/tsl/test/expected/remote_txn_resolve.out @@ -95,10 +95,10 @@ SELECT _timescaledb_internal.remote_txn_heal_data_node((SELECT OID FROM pg_forei (1 row) SELECT * FROM table_modified_by_txns; - describes ------------------------ + describes +------------------------ committed - prepared not comitted + prepared not committed (2 rows) SELECT count(*) FROM pg_prepared_xacts; @@ -125,7 +125,7 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal (3 rows) @@ -171,10 +171,10 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal committed - prepared not comitted + prepared not committed (5 rows) SELECT count(*) FROM pg_prepared_xacts; @@ -210,11 +210,11 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal committed - prepared not comitted - prepared not comitted + prepared not committed + prepared not committed (6 rows) SELECT count(*) FROM pg_prepared_xacts; @@ -249,12 +249,12 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal committed - prepared not comitted - prepared not comitted - prepared not comitted + prepared not committed + prepared not committed + prepared not committed (7 rows) SELECT count(*) FROM pg_prepared_xacts; @@ -300,14 +300,14 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal committed - prepared not comitted - prepared not comitted - prepared not comitted - prepared not comitted - prepared not comitted + prepared not committed + prepared not committed + prepared not committed + prepared not committed + prepared not committed (9 rows) SELECT count(*) FROM pg_prepared_xacts; @@ -352,14 +352,14 @@ SELECT * FROM table_modified_by_txns; describes -------------------------------- committed - prepared not comitted + prepared not committed committed with concurrent heal committed - prepared not comitted - prepared not comitted - prepared not comitted - prepared not comitted - prepared not comitted + prepared not committed + prepared not committed + prepared not committed + prepared not committed + prepared not committed non-ts-txn (10 rows) diff --git a/tsl/test/sql/chunk_api.sql b/tsl/test/sql/chunk_api.sql index 103536f7a..851d9ba82 100644 --- a/tsl/test/sql/chunk_api.sql +++ b/tsl/test/sql/chunk_api.sql @@ -408,7 +408,7 @@ CREATE TABLE original_chunk_constraints AS SELECT "Constraint", "Type", "Columns", "Index"::text, "Expr", "Deferrable", "Deferred", "Validated" FROM test.show_constraints(format('%I.%I', :'CHUNK_SCHEMA', :'CHUNK_NAME')::regclass); --- Save contraints metadata +-- Save constraints metadata CREATE TABLE original_chunk_constraints_metadata AS SELECT chunk_id, diff --git a/tsl/test/sql/dist_hypertable.sql.in b/tsl/test/sql/dist_hypertable.sql.in index ce3051bf2..e057a45f1 100644 --- a/tsl/test/sql/dist_hypertable.sql.in +++ b/tsl/test/sql/dist_hypertable.sql.in @@ -1948,7 +1948,7 @@ INSERT INTO test VALUES (now(), 0); SELECT compress_chunk(show_chunks) FROM show_chunks('test'); DROP TABLE test; --- Fix ALTER SET/DROP NULL contstraint on distributed hypertable +-- Fix ALTER SET/DROP NULL constraint on distributed hypertable -- -- #3860 -- diff --git a/tsl/test/src/remote/txn_resolve.c b/tsl/test/src/remote/txn_resolve.c index e01e23452..f28e3e190 100644 --- a/tsl/test/src/remote/txn_resolve.c +++ b/tsl/test/src/remote/txn_resolve.c @@ -30,7 +30,7 @@ prepared_txn(TSConnectionId *id, const char *sql) } static void -create_commited_txn(TSConnectionId *id) +create_committed_txn(TSConnectionId *id) { RemoteTxn *tx = prepared_txn(id, "INSERT INTO public.table_modified_by_txns VALUES ('committed');"); @@ -40,7 +40,8 @@ create_commited_txn(TSConnectionId *id) static void create_prepared_txn(TSConnectionId *id) { - prepared_txn(id, "INSERT INTO public.table_modified_by_txns VALUES ('prepared not comitted');"); + prepared_txn(id, + "INSERT INTO public.table_modified_by_txns VALUES ('prepared not committed');"); } static void @@ -58,7 +59,7 @@ ts_test_remote_txn_resolve_create_records(PG_FUNCTION_ARGS) id.server_id = GetForeignServerByName("loopback", false)->serverid; id.user_id = GetUserId(); - create_commited_txn(&id); + create_committed_txn(&id); id.server_id = GetForeignServerByName("loopback2", false)->serverid; create_prepared_txn(&id); @@ -91,7 +92,7 @@ send_heal() } static void -create_commited_txn_with_concurrent_heal(TSConnectionId *id) +create_committed_txn_with_concurrent_heal(TSConnectionId *id) { RemoteTxn *tx = palloc0(remote_txn_size()); memcpy(tx, id, sizeof(*id)); @@ -115,7 +116,7 @@ ts_test_remote_txn_resolve_create_records_with_concurrent_heal(PG_FUNCTION_ARGS) TSConnectionId id = { .server_id = GetForeignServerByName("loopback2", false)->serverid, .user_id = GetUserId() }; - create_commited_txn_with_concurrent_heal(&id); + create_committed_txn_with_concurrent_heal(&id); PG_RETURN_VOID(); }