Fix some typos in comments

pull/5785/head
Hanefi Onaldi 2022-03-08 01:09:22 +03:00 committed by Hanefi Onaldi
parent 551a7d1383
commit d153c2de0d
6 changed files with 10 additions and 10 deletions

View File

@ -1259,7 +1259,7 @@ ExpandCitusSupportedTypes(ObjectAddressCollector *collector, ObjectAddress targe
/*
* Tables could have indexes. Indexes themself could have dependencies that
* need to be propagated. eg. TEXT SEARCH CONFIGRUATIONS. Here we add the
* need to be propagated. eg. TEXT SEARCH CONFIGURATIONS. Here we add the
* addresses of all indices to the list of objects to vist, as to make sure we
* create all objects required by the indices before we create the table
* including indices.

View File

@ -245,7 +245,7 @@ InitializeTransactionManagement(void)
* transaction independent connection management.
*
* NB: There should only ever be a single transaction callback in citus, the
* ordering between the callbacks and thee actions within those callbacks
* ordering between the callbacks and the actions within those callbacks
* otherwise becomes too undeterministic / hard to reason about.
*/
static void

View File

@ -65,7 +65,7 @@ ORDER BY 1,2,3;
(18 rows)
-- check the constraint names on the worker node
-- verify that check constraınts do not have a shardId suffix
-- verify that check constraints do not have a shardId suffix
\c - - - :worker_1_port
SELECT relname, conname, pg_catalog.pg_get_constraintdef(con.oid, true)
FROM pg_constraint con JOIN pg_class rel ON (rel.oid=con.conrelid)

View File

@ -1,7 +1,7 @@
CREATE SCHEMA text_search;
CREATE SCHEMA text_search2;
SET search_path TO text_search;
-- create a new configruation from scratch
-- create a new configuration from scratch
CREATE TEXT SEARCH CONFIGURATION my_text_search_config ( parser = default );
CREATE TABLE t1(id int, name text);
CREATE INDEX t1_search_name ON t1 USING gin (to_tsvector('text_search.my_text_search_config'::regconfig, (COALESCE(name, ''::character varying))::text));
@ -150,14 +150,14 @@ $$) ORDER BY 1,2;
ALTER TEXT SEARCH CONFIGURATION french_noaccent DROP MAPPING IF EXISTS FOR asciihword;
NOTICE: mapping for token type "asciihword" does not exist, skipping
-- Comment on a text search configuration
COMMENT ON TEXT SEARCH CONFIGURATION french_noaccent IS 'a text configuration that is butcherd to test all edge cases';
COMMENT ON TEXT SEARCH CONFIGURATION french_noaccent IS 'a text configuration that is butchered to test all edge cases';
SELECT * FROM run_command_on_workers($$
SELECT obj_description('text_search.french_noaccent'::regconfig);
$$) ORDER BY 1,2;
nodename | nodeport | success | result
---------------------------------------------------------------------
localhost | 57637 | t | a text configuration that is butcherd to test all edge cases
localhost | 57638 | t | a text configuration that is butcherd to test all edge cases
localhost | 57637 | t | a text configuration that is butchered to test all edge cases
localhost | 57638 | t | a text configuration that is butchered to test all edge cases
(2 rows)
-- Remove a comment

View File

@ -42,7 +42,7 @@ WHERE relname LIKE 'part_table%'
ORDER BY 1,2,3;
-- check the constraint names on the worker node
-- verify that check constraınts do not have a shardId suffix
-- verify that check constraints do not have a shardId suffix
\c - - - :worker_1_port
SELECT relname, conname, pg_catalog.pg_get_constraintdef(con.oid, true)
FROM pg_constraint con JOIN pg_class rel ON (rel.oid=con.conrelid)

View File

@ -2,7 +2,7 @@ CREATE SCHEMA text_search;
CREATE SCHEMA text_search2;
SET search_path TO text_search;
-- create a new configruation from scratch
-- create a new configuration from scratch
CREATE TEXT SEARCH CONFIGURATION my_text_search_config ( parser = default );
CREATE TABLE t1(id int, name text);
CREATE INDEX t1_search_name ON t1 USING gin (to_tsvector('text_search.my_text_search_config'::regconfig, (COALESCE(name, ''::character varying))::text));
@ -84,7 +84,7 @@ $$) ORDER BY 1,2;
ALTER TEXT SEARCH CONFIGURATION french_noaccent DROP MAPPING IF EXISTS FOR asciihword;
-- Comment on a text search configuration
COMMENT ON TEXT SEARCH CONFIGURATION french_noaccent IS 'a text configuration that is butcherd to test all edge cases';
COMMENT ON TEXT SEARCH CONFIGURATION french_noaccent IS 'a text configuration that is butchered to test all edge cases';
SELECT * FROM run_command_on_workers($$
SELECT obj_description('text_search.french_noaccent'::regconfig);
$$) ORDER BY 1,2;