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

Commitb4dbf3e

Browse files
committed
Fix various typos
This fixes many spelling mistakes in comments, but a few references toinvalid parameter names, function names and option names too in commentsand also some in string constantsAlso, fix an #undef that was undefining the incorrect definitionAuthor: Alexander LakhinReviewed-by: Justin PryzbyDiscussion:https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com
1 parente39d512 commitb4dbf3e

File tree

35 files changed

+46
-46
lines changed

35 files changed

+46
-46
lines changed

‎contrib/amcheck/verify_heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ check_tuple_header(HeapCheckContext *ctx)
10091009
* TOAST tuples -- are eligible for pruning.
10101010
*
10111011
* Sets *xmin_commit_status_ok to true if the commit status of xmin is known
1012-
* and false otherwise. If it's set to true, then also set *xid_commit_status
1012+
* and false otherwise. If it's set to true, then also set *xmin_commit_status
10131013
* to the actual commit status.
10141014
*/
10151015
staticbool

‎contrib/pg_walinspect/pg_walinspect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ GetWALBlockInfo(FunctionCallInfo fcinfo, XLogReaderState *record,
401401
values,nulls);
402402
}
403403

404-
#undefPG_GET_WAL_FPI_BLOCK_COLS
404+
#undefPG_GET_WAL_BLOCK_INFO_COLS
405405
}
406406

407407
/*

‎contrib/postgres_fdw/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ pgfdw_abort_cleanup(ConnCacheEntry *entry, bool toplevel)
16861686
*
16871687
* Returns true if the abort command or cancel request is successfully issued,
16881688
* false otherwise. If the abort command is successfully issued, the given
1689-
* connection cache entry is appended to *pending_entries.Othewise, if the
1689+
* connection cache entry is appended to *pending_entries.Otherwise, if the
16901690
* cancel request is successfully issued, it is appended to *cancel_requested.
16911691
*/
16921692
staticbool

‎contrib/postgres_fdw/postgres_fdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5016,7 +5016,7 @@ postgresGetAnalyzeInfoForForeignTable(Relation relation, bool *can_tablesample)
50165016
pgfdw_report_error(ERROR,res,conn, false,sql.data);
50175017

50185018
if (PQntuples(res)!=1||PQnfields(res)!=2)
5019-
elog(ERROR,"unexpected result fromdeparseAnalyzeTuplesSql query");
5019+
elog(ERROR,"unexpected result fromdeparseAnalyzeInfoSql query");
50205020
reltuples=strtod(PQgetvalue(res,0,0),NULL);
50215021
relkind=*(PQgetvalue(res,0,1));
50225022
}

‎meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,7 @@ endif
29632963
# generation happens during install, so that's not a real issue.
29642964
nls_mo_targets= []
29652965
if libintl.found()andmeson.version().version_compare('>=0.60')
2966-
# use range() to avoid the flattening of the list thatforech() would do
2966+
# use range() to avoid the flattening of the list thatforeach() would do
29672967
foreachoff: range(0, nls_targets.length())
29682968
# i18n.gettext() list containing 1) list of built .mo files 2) maintainer
29692969
# -pot target 3) maintainer -pot target

‎src/backend/backup/basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ perform_base_backup(basebackup_options *opt, bbsink *sink)
254254

255255
total_checksum_failures=0;
256256

257-
/* Allocate backup relatedvarilables. */
257+
/* Allocate backup relatedvariables. */
258258
backup_state= (BackupState*)palloc0(sizeof(BackupState));
259259
tablespace_map=makeStringInfo();
260260

‎src/backend/executor/execUtils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ GetResultRTEPermissionInfo(ResultRelInfo *relinfo, EState *estate)
14031403
}
14041404

14051405
/*
1406-
*GetResultRelCheckAsUser
1406+
*ExecGetResultRelCheckAsUser
14071407
*Returns the user to modify passed-in result relation as
14081408
*
14091409
* The user is chosen by looking up the relation's or, if a child table, its

‎src/backend/executor/nodeModifyTable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ ExecInsert(ModifyTableContext *context,
904904
* If these are the first tuples stored in the buffers, add the
905905
* target rel and the mtstate to the
906906
* es_insert_pending_result_relations and
907-
* es_insert_pending_modifytables lists respectively,execpt in
907+
* es_insert_pending_modifytables lists respectively,except in
908908
* the case where flushing was done above, in which case they
909909
* would already have been added to the lists, so no need to do
910910
* this.

‎src/backend/rewrite/rewriteManip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ contains_multiexpr_param(Node *node, void *context)
343343
* the RTEs in 'src_rtable' to now point to the perminfos' indexes in
344344
* *dst_perminfos.
345345
*
346-
* Note that this changes both 'dst_rtable' and 'dst_perminfo' destructively,
346+
* Note that this changes both 'dst_rtable' and 'dst_perminfos' destructively,
347347
* so the caller should have better passed safe-to-modify copies.
348348
*/
349349
void

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@ ExtendBufferedRelShared(ExtendBufferedWhat eb,
20462046
io_start=pgstat_prepare_io_time();
20472047

20482048
/*
2049-
* Note: ifsmgzerorextend fails, we will end up with buffers that are
2049+
* Note: ifsmgrzeroextend fails, we will end up with buffers that are
20502050
* allocated but not marked BM_VALID. The next relation extension will
20512051
* still select the same block number (because the relation didn't get any
20522052
* longer on disk) and so future attempts to extend the relation will find

‎src/backend/storage/lmgr/predicate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
*PredicateLockPage(Relation relation, BlockNumber blkno,
165165
*Snapshot snapshot)
166166
*PredicateLockTID(Relation relation, ItemPointer tid, Snapshot snapshot,
167-
* TransactionIdinsert_xid)
167+
* TransactionIdtuple_xid)
168168
*PredicateLockPageSplit(Relation relation, BlockNumber oldblkno,
169169
* BlockNumber newblkno)
170170
*PredicateLockPageCombine(Relation relation, BlockNumber oldblkno,

‎src/backend/storage/smgr/md.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ mdzeroextend(SMgrRelation reln, ForkNumber forknum,
597597
/*
598598
* Even if we don't want to use fallocate, we can still extend a
599599
* bit more efficiently than writing each 8kB block individually.
600-
*pg_pwrite_zeroes() (via FileZero()) uses
600+
*pg_pwrite_zeros() (via FileZero()) uses
601601
* pg_pwritev_with_retry() to avoid multiple writes or needing a
602602
* zeroed buffer for the whole length of the extension.
603603
*/

‎src/backend/utils/adt/acl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4825,7 +4825,7 @@ RoleMembershipCacheCallback(Datum arg, int cacheid, uint32 hashvalue)
48254825
* Get a list of roles that the specified roleid is a member of
48264826
*
48274827
* Type ROLERECURSE_MEMBERS recurses through all grants; ROLERECURSE_PRIVS
4828-
* recurses only through inheritable grants; andROLERECURSE_SETROLe recurses
4828+
* recurses only through inheritable grants; andROLERECURSE_SETROLE recurses
48294829
* only through grants with set_option.
48304830
*
48314831
* Since indirect membership testing is relatively expensive, we cache
@@ -5020,7 +5020,7 @@ member_can_set_role(Oid member, Oid role)
50205020
}
50215021

50225022
/*
5023-
* Permission violationeror unless able to SET ROLE to target role.
5023+
* Permission violationerror unless able to SET ROLE to target role.
50245024
*/
50255025
void
50265026
check_can_set_role(Oidmember,Oidrole)

‎src/backend/utils/adt/array_userfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ array_agg_array_combine(PG_FUNCTION_ARGS)
10431043
state1->nitems+=state2->nitems;
10441044

10451045
state1->dims[0]+=state2->dims[0];
1046-
/*remaing dims already match, per test above */
1046+
/*remaining dims already match, per test above */
10471047

10481048
Assert(state1->array_type==state2->array_type);
10491049
Assert(state1->element_type==state2->element_type);

‎src/backend/utils/misc/guc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ check_GUC_name_for_parameter_acl(const char *name)
13871387
*
13881388
* This performs two sanity checks. First, it checks that the initial
13891389
* value of a GUC is the same when declared and when loaded to prevent
1390-
* anybody looking at the C declarations of theseGUCS from being fooled by
1390+
* anybody looking at the C declarations of theseGUCs from being fooled by
13911391
* mismatched values. Second, it checks for incorrect flag combinations.
13921392
*
13931393
* The following validation rules apply for the values:
@@ -6272,7 +6272,7 @@ ProcessGUCArray(ArrayType *array, ArrayType *usersetArray,
62726272
userSetDatum=BoolGetDatum(false);
62736273

62746274
/*
6275-
* USER SET values areappliciable only for PGC_USERSET parameters. We
6275+
* USER SET values areapplicable only for PGC_USERSET parameters. We
62766276
* use InvalidOid as role in order to evade possible privileges of the
62776277
* current user.
62786278
*/
@@ -6365,8 +6365,8 @@ GUCArrayAdd(ArrayType *array, ArrayType **usersetArray,
63656365
}
63666366

63676367
/*
6368-
* Recheckpermissons if we found an option without USER SET
6369-
* flag while we're setting anoptionn with USER SET flag.
6368+
* Recheckpermissions if we found an option without USER SET
6369+
* flag while we're setting anoption with USER SET flag.
63706370
*/
63716371
if (!currentUserSet&&user_set)
63726372
(void)validate_option_array_item(name,value,

‎src/backend/utils/misc/ps_status.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static size_t ps_buffer_cur_len;/* nominal strlen(ps_buffer) */
8787
staticsize_tps_buffer_fixed_size;/* size of the constant prefix */
8888

8989
/*
90-
* Length of ps_buffer before the suffix wasappeneded to the end, or 0 if we
90+
* Length of ps_buffer before the suffix wasappended to the end, or 0 if we
9191
* didn't set a suffix.
9292
*/
9393
staticsize_tps_buffer_nosuffix_len;

‎src/backend/utils/mmgr/mcxt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ MemoryContextAllocAligned(MemoryContext context,
13821382
alloc_size=size+PallocAlignedExtraBytes(alignto);
13831383

13841384
#ifdefMEMORY_CONTEXT_CHECKING
1385-
/* ensure there's space for asentinal byte */
1385+
/* ensure there's space for asentinel byte */
13861386
alloc_size+=1;
13871387
#endif
13881388

‎src/backend/utils/resowner/resowner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ ResourceOwnerReleaseInternal(ResourceOwner owner,
521521
{
522522
/*
523523
* Abort failed buffer IO. AbortBufferIO()->TerminateBufferIO() calls
524-
*ResourceOwnerForgetBufferIOs(), so we just have to iterate till
524+
*ResourceOwnerForgetBufferIO(), so we just have to iterate till
525525
* there are none.
526526
*
527527
* Needs to be before we release buffer pins.

‎src/bin/pg_dump/compress_lz4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ LZ4Stream_get_error(CompressFileHandle *CFH)
342342
/*
343343
* Initialize an already alloc'ed LZ4State struct for subsequent calls.
344344
*
345-
* Creates the necessary contexts for eithercompresion or decompression. When
345+
* Creates the necessary contexts for eithercompression or decompression. When
346346
* compressing data (indicated by compressing=true), it additionally writes the
347347
* LZ4 header in the output stream.
348348
*

‎src/bin/pg_dump/pg_dump_sort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static const int dbObjectTypePriority[] =
137137
PRIO_DEFAULT_ACL,/* DO_DEFAULT_ACL */
138138
PRIO_TRANSFORM,/* DO_TRANSFORM */
139139
PRIO_LARGE_OBJECT,/* DO_LARGE_OBJECT */
140-
PRIO_LARGE_OBJECT_DATA,/*DO_LARGE_OJECT_DATA */
140+
PRIO_LARGE_OBJECT_DATA,/*DO_LARGE_OBJECT_DATA */
141141
PRIO_PRE_DATA_BOUNDARY,/* DO_PRE_DATA_BOUNDARY */
142142
PRIO_POST_DATA_BOUNDARY,/* DO_POST_DATA_BOUNDARY */
143143
PRIO_EVENT_TRIGGER,/* DO_EVENT_TRIGGER */

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,7 @@ dumpTimestamp(const char *msg)
19231923
}
19241924

19251925
/*
1926-
* Helper function forrolenamehash hash table.
1926+
* Helper function forrolename_hash hash table.
19271927
*/
19281928
staticuint32
19291929
hash_string_pointer(char*s)

‎src/bin/scripts/t/100_vacuumdb.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
'vacuumdb --no-process-main');
7272
$node->command_fails(
7373
['vacuumdb','--analyze-only','--no-process-main','postgres' ],
74-
'--analyze-only and --no-process_main specified together');
74+
'--analyze-only and --no-process-main specified together');
7575
$node->issues_sql_like(
7676
['vacuumdb','--no-process-toast','postgres' ],
7777
qr/statement: VACUUM\(PROCESS_TOAST FALSE, SKIP_DATABASE_STATS\).*;/,

‎src/include/access/rmgrdesc_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ extern void offset_elem_desc(StringInfo buf, void *offset, void *data);
6363
externvoidredirect_elem_desc(StringInfobuf,void*offset,void*data);
6464
externvoidoid_elem_desc(StringInfobuf,void*relid,void*data);
6565

66-
#endif/*RMGRDESC_UTILS_H */
66+
#endif/*RMGRDESC_UTILS_H_ */

‎src/include/port/pg_iovec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct iovec
3636
#definePG_IOV_MAX Min(IOV_MAX, 32)
3737

3838
/*
39-
* Note that pg_preadv andpg_writev have a pg_ prefix as a warning that the
39+
* Note that pg_preadv andpg_pwritev have a pg_ prefix as a warning that the
4040
* Windows implementations have the side-effect of changing the file position.
4141
*/
4242

‎src/include/regex/regcustom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
#include"mb/pg_wchar.h"
4646

47-
#include"miscadmin.h"/* needed bystacktoodeep */
47+
#include"miscadmin.h"/* needed byrstacktoodeep */
4848

4949

5050
/* overrides for regguts.h definitions, if any */

‎src/include/utils/memutils_memorychunk.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
* In some cases, for example when memory allocations become large, it's
3838
* possible fields 3 and 4 above are not large enough to store the values
3939
* required for the chunk. In this case, the MemoryContext can choose to mark
40-
* the chunk as "external" by calling theMemoryChunkSetExternal() function.
41-
* When this is done, fields 3 and 4 are unavailable for use by the
40+
* the chunk as "external" by calling theMemoryChunkSetHdrMaskExternal()
41+
*function.When this is done, fields 3 and 4 are unavailable for use by the
4242
* MemoryContext and it's up to the MemoryContext itself to devise its own
4343
* method for getting the reference to the block.
4444
*

‎src/include/utils/tuplesort.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ typedef int (*SortTupleComparator) (const SortTuple *a, const SortTuple *b,
146146

147147
/*
148148
* The public part of a Tuple sort operation state. This data structure
149-
*containsthe definition of sort-variant-specific interface methods and
149+
*contains the definition of sort-variant-specific interface methods and
150150
* the part of Tuple sort operation state required by their implementations.
151151
*/
152152
typedefstruct
@@ -189,7 +189,7 @@ typedef struct
189189
* Function to do some specific release of resources for the sort variant.
190190
* In particular, this function should free everything stored in the "arg"
191191
* field, which wouldn't be cleared on reset of the Tuple sort memory
192-
*contextes. This can be NULL if nothing specific needs to be done.
192+
*contexts. This can be NULL if nothing specific needs to be done.
193193
*/
194194
void(*freestate) (Tuplesortstate*state);
195195

‎src/interfaces/libpq/fe-secure-gssapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ pqsecure_open_gss(PGconn *conn)
624624

625625
if (conn->gssdeleg&&pg_strcasecmp(conn->gssdeleg,"enable")==0)
626626
{
627-
/* Acquire credentials ifpossbile */
627+
/* Acquire credentials ifpossible */
628628
if (conn->gcred==GSS_C_NO_CREDENTIAL)
629629
(void)pg_GSS_have_cred_cache(&conn->gcred);
630630

‎src/interfaces/libpq/t/004_load_balance_dns.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414

1515
# This tests loadbalancing based on a DNS entry that contains multiple records
1616
# for different IPs. Since setting up a DNS server is more effort than we
17-
# consider reasonable to run this test, this situation is insteadimmitated by
17+
# consider reasonable to run this test, this situation is insteadimitated by
1818
# using a hosts file where a single hostname maps to multiple different IP
19-
# addresses. This test requires theadminstrator to add the following lines to
20-
# the hosts file (if we detect that this hasn'thappend we skip the test):
19+
# addresses. This test requires theadministrator to add the following lines to
20+
# the hosts file (if we detect that this hasn'thappened we skip the test):
2121
#
2222
# 127.0.0.1 pg-loadbalancetest
2323
# 127.0.0.2 pg-loadbalancetest
2424
# 127.0.0.3 pg-loadbalancetest
2525
#
2626
# Windows or Linux are required to run this test because these OSes allow
27-
# binding to 127.0.0.2 and 127.0.0.3addresess by default, but other OSes
27+
# binding to 127.0.0.2 and 127.0.0.3addresses by default, but other OSes
2828
# don't. We need to bind to different IP addresses, so that we can use these
2929
# different IP addresses in the hosts file.
3030
#

‎src/port/dirmod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ pgreadlink(const char *path, char *buf, size_t size)
400400
* If the path starts with "\??\" followed by a "drive absolute" path
401401
* (known to Windows APIs as RtlPathTypeDriveAbsolute), then strip that
402402
* prefix. This undoes some of the transformation performed by
403-
*pqsymlink(), to get back to a format that users are used to seeing. We
403+
*pgsymlink(), to get back to a format that users are used to seeing. We
404404
* don't know how to transform other path types that might be encountered
405405
* outside PGDATA, so we just return them directly.
406406
*/

‎src/test/kerberos/t/001_auth.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ sub test_query
413413
$node->connect_ok(
414414
$node->connstr('postgres')
415415
." user=test1 host=$host hostaddr=$hostaddr gssencmode=disable require_auth=gss",
416-
"GSS authentication requested, works with non-encyrpted GSS");
416+
"GSS authentication requested, works with non-encrypted GSS");
417417
$node->connect_ok(
418418
$node->connstr('postgres')
419419
." user=test1 host=$host hostaddr=$hostaddr gssencmode=require require_auth=gss",

‎src/test/ldap/LdapServer.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LdapServer - class for an LDAP server for testing pg_hba.conf authentication
1919
2020
use LdapServer;
2121
22-
# have we found openldapbinaies suitable for setting up a server?
22+
# have we found openldapbinaries suitable for setting up a server?
2323
my $ldap_binaries_found = $LdapServer::setup;
2424
2525
# create a server with the given root password and auth type
@@ -254,7 +254,7 @@ sub _ldapenv
254254
255255
=over
256256
257-
=itemldap_add(filename)
257+
=itemldapadd_file(filename)
258258
259259
filename is the path to a file containing LDIF data which is added to the LDAP
260260
server.

‎src/test/modules/ldap_password_func/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ldap_password_func_sources = files(
99
if host_system=='windows'
1010
ldap_password_func_sources+= rc_lib_gen.process(win32ver_rc,extra_args: [
1111
'--NAME','ldap_password_func',
12-
'--FILEDESC','set hook to mutateldapbindpassw',])
12+
'--FILEDESC','set hook to mutateldapbindpasswd',])
1313
endif
1414

1515
ldap_password_func=shared_module('ldap_password_func',

‎src/test/perl/PostgreSQL/Test/BackgroundPsql.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ use Test::More;
6868
6969
=over
7070
71-
=itemPostgreSQL::Test::BackroundPsql->new(interactive, @params)
71+
=itemPostgreSQL::Test::BackgroundPsql->new(interactive, @params)
7272
7373
Builds a new object of classC<PostgreSQL::Test::BackgroundPsql> for either
7474
an interactive or background session and starts it. IfC<interactive> is
@@ -201,7 +201,7 @@ sub query
201201
$self->{timeout}->start()if (defined($self->{query_timer_restart}));
202202

203203
# Feed the query to psql's stdin, followed by \n (so psql processes the
204-
# line), by a ; (so that psql issues the query, if itdoesnt't include a ;
204+
# line), by a ; (so that psql issues the query, if itdoesn't include a ;
205205
# itself), and a separator echoed with \echo, that we can wait on.
206206
my$banner ="background_psql: QUERY_SEPARATOR";
207207
$self->{stdin} .="$query\n;\n\\echo$banner\n";

‎src/test/regress/pg_regress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ test_status_print(bool ok, const char *testname, double runtime, bool parallel)
276276
* Testnumbers are padded to 5 characters to ensure that testnames align
277277
* vertically (assuming at most 9999 tests). Testnames are prefixed with
278278
* a leading character to indicate being run in parallel or not. A leading
279-
* '+' indicates aparellel test, '-' indicates a single test.
279+
* '+' indicates aparallel test, '-' indicates a single test.
280280
*/
281281
emit_tap_output(TEST_STATUS,"%sok %-5i%*s %c %-*s %8.0f ms",
282282
(ok ?"" :"not "),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp