From 7b62174d0073ee758fb5fcf8e21ff35cfc766c83 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 25 Jun 2022 21:50:32 +0200 Subject: -fix typos --- src/exchangedb/common-0001.sql | 4 ++-- src/exchangedb/plugin_exchangedb_postgres.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/exchangedb') diff --git a/src/exchangedb/common-0001.sql b/src/exchangedb/common-0001.sql index c493af9bd..5ae67edd1 100644 --- a/src/exchangedb/common-0001.sql +++ b/src/exchangedb/common-0001.sql @@ -70,7 +70,7 @@ BEGIN END $$; --- We need a seperate function for this, as we call create_table only once but need to add +-- We need a separate function for this, as we call create_table only once but need to add -- those constraints to each partition which gets created CREATE OR REPLACE FUNCTION add_constraints_to_wire_targets_partition( IN partition_suffix VARCHAR @@ -866,7 +866,7 @@ BEGIN PERFORM create_partitioned_table( 'CREATE TABLE IF NOT EXISTS %I' '(aggregation_serial_id BIGINT GENERATED BY DEFAULT AS IDENTITY' -- UNIQUE' - ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME chnage to coint_pub + deposit_serial_id for more efficient depost -- or something else ??? + ',deposit_serial_id INT8 PRIMARY KEY' -- REFERENCES deposits (deposit_serial_id) ON DELETE CASCADE' -- FIXME change to coin_pub + deposit_serial_id for more efficient depost -- or something else ??? ',wtid_raw BYTEA NOT NULL' -- CONSTRAINT wire_out_ref REFERENCES wire_out(wtid_raw) ON DELETE CASCADE DEFERRABLE' ') %s ;' ,table_name diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 74424e63e..d3bbb4d6a 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -14970,7 +14970,7 @@ postgres_delete_shard_locks (void *cls) /** * Function called to save the configuration of an extension - * (age-restriction, peer2peer, ...). After succesfull storage of the + * (age-restriction, peer2peer, ...). After successful storage of the * configuration it triggers the corresponding event. * * @param cls the @e cls of this struct with the plugin-specific state @@ -15225,7 +15225,7 @@ postgres_insert_contract ( /** - * Function called to reutrn meta data about a purse by the + * Function called to return meta data about a purse by the * purse public key. * * @param cls the @e cls of this struct with the plugin-specific state -- cgit v1.2.3