1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-19 17:02:53 +03:00
This commit is contained in:
Álvaro Herrera
2025-11-18 19:31:23 +01:00
parent 12bc329177
commit b1fbc6494e
3 changed files with 3 additions and 3 deletions

View File

@@ -897,7 +897,7 @@ ExecChooseHashTableSize(double ntuples, int tupwidth, bool useskew,
*/ */
while (nbatch > 1) while (nbatch > 1)
{ {
/* Check that buckets wont't overflow MaxAllocSize */ /* Check that buckets won't overflow MaxAllocSize */
if (nbuckets > (MaxAllocSize / sizeof(HashJoinTuple) / 2)) if (nbuckets > (MaxAllocSize / sizeof(HashJoinTuple) / 2))
break; break;

View File

@@ -540,7 +540,7 @@ $dump = slurp_file($plainfile);
ok($dump !~ qr/^\\connect postgres/m, "database postgres is not dumped"); ok($dump !~ qr/^\\connect postgres/m, "database postgres is not dumped");
ok($dump =~ qr/^\\connect template1/m, "database template1 is dumped"); ok($dump =~ qr/^\\connect template1/m, "database template1 is dumped");
# Make sure this option dont break the existing limitation of using # Make sure this option doesn't break the existing limitation of using
# --globals-only with exclusions # --globals-only with exclusions
command_fails_like( command_fails_like(
[ [

View File

@@ -694,7 +694,7 @@ static unsigned char alpn_protos[] = PG_ALPN_PROTOCOL_VECTOR;
* 3.5 introduced stub function to set the callback for OpenSSL compatibility * 3.5 introduced stub function to set the callback for OpenSSL compatibility
* but the callback is never invoked. * but the callback is never invoked.
* *
* Error messages added to the connection object wont be printed anywhere if * Error messages added to the connection object won't be printed anywhere if
* the connection is successful. Errors in processing keylogging are printed * the connection is successful. Errors in processing keylogging are printed
* to stderr to overcome this. * to stderr to overcome this.
*/ */