Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc74d49d

Browse files
committed
Fix many typos and inconsistencies
Author: Alexander LakhinDiscussion:https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
1 parent459c3cd commitc74d49d

File tree

50 files changed

+76
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+76
-89
lines changed

‎contrib/bloom/blutils.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ BloomPageAddItem(BloomState *state, Page page, BloomTuple *tuple)
341341
/*
342342
* Allocate a new page (either by recycling, or by extending the index file)
343343
* The returned buffer is already pinned and exclusive-locked
344-
* Caller is responsible for initializing the page by callingBloomInitBuffer
344+
* Caller is responsible for initializing the page by callingBloomInitPage
345345
*/
346346
Buffer
347347
BloomNewBuffer(Relationindex)

‎contrib/intarray/_int_selfuncs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static intcompare_val_int4(const void *a, const void *b);
4343
*
4444
* The default array selectivity operators for the @>, && and @< operators
4545
* work fine for integer arrays. However, if we tried to just use arraycontsel
46-
* andarracontjoinsel directly as the cost estimator functions for our
46+
* andarraycontjoinsel directly as the cost estimator functions for our
4747
* operators, they would not work as intended, because they look at the
4848
* operator's OID. Our operators behave exactly like the built-in anyarray
4949
* versions, but we must tell the cost estimator functions which built-in

‎contrib/pg_trgm/trgm_regexp.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,9 @@ typedef struct
441441
structTrgmPackedGraph
442442
{
443443
/*
444-
* colorTrigramsCount andcolorTrigramsGroups contain information about
445-
*howtrigrams are grouped into color trigrams. "colorTrigramsCount" is
446-
*thecount of color trigrams and "colorTrigramGroups" contains number of
444+
* colorTrigramsCount andcolorTrigramGroups contain information about how
445+
* trigrams are grouped into color trigrams. "colorTrigramsCount" is the
446+
* count of color trigrams and "colorTrigramGroups" contains number of
447447
* simple trigrams for each color trigram. The array of simple trigrams
448448
* (stored separately from this struct) is ordered so that the simple
449449
* trigrams for each color trigram are consecutive, and they're in order

‎contrib/pgcrypto/crypt-des.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*binaries of libcrypt exportable from the USA
1212
*
1313
* Adapted for FreeBSD-4.0 by Mark R V Murray
14-
*this file should now *only* exportcrypt_des(), in order to make
14+
*this file should now *only* exportpx_crypt_des(), in order to make
1515
*a module that can be optionally included in libcrypt.
1616
*
1717
* Redistribution and use in source and binary forms, with or without

‎contrib/postgres_fdw/expected/postgres_fdw.out‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ EXPLAIN (VERBOSE, COSTS OFF) SELECT * FROM ft1 t1 WHERE c1 = ANY(ARRAY[c2, 1, c1
665665
Remote SQL: SELECT "C 1", c2, c3, c4, c5, c6, c7, c8 FROM "S 1"."T 1" WHERE (("C 1" = ANY (ARRAY[c2, 1, ("C 1" + 0)])))
666666
(3 rows)
667667

668-
EXPLAIN (VERBOSE, COSTS OFF) SELECT * FROM ft1 t1 WHERE c1 = (ARRAY[c1,c2,3])[1]; --ArrayRef
668+
EXPLAIN (VERBOSE, COSTS OFF) SELECT * FROM ft1 t1 WHERE c1 = (ARRAY[c1,c2,3])[1]; --SubscriptingRef
669669
QUERY PLAN
670670
----------------------------------------------------------------------------------------------------------------------
671671
Foreign Scan on public.ft1 t1

‎contrib/postgres_fdw/sql/postgres_fdw.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ EXPLAIN (VERBOSE, COSTS OFF) SELECT * FROM ft1 t1 WHERE c1 = -c1; -- Op
297297
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE1= c1!;-- OpExpr(r)
298298
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE (c1IS NOT NULL) IS DISTINCTFROM (c1IS NOT NULL);-- DistinctExpr
299299
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE c1= ANY(ARRAY[c2,1, c1+0]);-- ScalarArrayOpExpr
300-
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE c1= (ARRAY[c1,c2,3])[1];--ArrayRef
300+
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE c1= (ARRAY[c1,c2,3])[1];--SubscriptingRef
301301
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE c6= E'foo''s\\bar';-- check special chars
302302
EXPLAIN (VERBOSE, COSTS OFF)SELECT*FROM ft1 t1WHERE c8='foo';-- can't be sent to remote
303303
-- parameterized remote path for foreign table

‎doc/src/sgml/diskusage.sgml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ WHERE c.relname = 'customer' AND
8787
c2.oid = i.indexrelid
8888
ORDER BY c2.relname;
8989

90-
relname | relpages
91-
----------------------+----------
92-
customer_id_indexdex | 26
90+
relname | relpages
91+
-------------------+----------
92+
customer_id_index | 26
9393
</programlisting>
9494
</para>
9595

‎src/backend/access/brin/brin_tuple.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
*brin_tuples.c
2+
*brin_tuple.c
33
*Method implementations for tuples in BRIN indexes.
44
*
55
* Intended usage is that code outside this file only deals with
@@ -207,7 +207,7 @@ brin_form_tuple(BrinDesc *brdesc, BlockNumber blkno, BrinMemTuple *tuple,
207207
/*
208208
* Note that we reverse the sense of null bits in this module: we
209209
* store a 1 for a null attribute rather than a 0. So we must reverse
210-
* the sense of the att_isnull test inbr_deconstruct_tuple as well.
210+
* the sense of the att_isnull test inbrin_deconstruct_tuple as well.
211211
*/
212212
bitP= ((bits8*) ((char*)rettuple+SizeOfBrinTuple))-1;
213213
bitmask=HIGHBIT;

‎src/backend/access/nbtree/nbtree.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,8 @@ btparallelrescan(IndexScanDesc scan)
621621

622622
/*
623623
* _bt_parallel_seize() -- Begin the process of advancing the scan to a new
624-
*page. Other scans must wait until we callbt_parallel_release() or
625-
*bt_parallel_done().
624+
*page. Other scans must wait until we call_bt_parallel_release()
625+
*or _bt_parallel_done().
626626
*
627627
* The return value is true if we successfully seized the scan and false
628628
* if we did not. The latter case occurs if no pages remain for the current

‎src/backend/access/nbtree/nbtxlog.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ btree_xlog_insert(bool isleaf, bool ismeta, XLogReaderState *record)
181181

182182
if (PageAddItem(page, (Item)datapos,datalen,xlrec->offnum,
183183
false, false)==InvalidOffsetNumber)
184-
elog(PANIC,"btree_insert_redo: failed to add item");
184+
elog(PANIC,"btree_xlog_insert: failed to add item");
185185

186186
PageSetLSN(page,lsn);
187187
MarkBufferDirty(buffer);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp