Paste into your AI assistant to fix the article, then ask for a re-review.
Show the text
Fix the article with this report, then ask pgTrue for a re-review.
# pgTrue report: PostgreSQL 17 now available on Cloud SQL
Article title: PostgreSQL 17 now available on Cloud SQL
Article URL: https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql
Report URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a
Audited revision: 1 of 1, 2026-10-27 03:05:55 UTC
Overall letter: A
## Axes
- Factual: A · 0 wrong · 29 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 23 checked · 1 caveats · assessed
- Consistent: A · 0 wrong · 29 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 13 checked · 0 caveats · assessed
- Safe: — · 0 wrong · 0 checked · 0 caveats · partly assessed
ElephantSeal: A.
## Report metadata
- Report: Technical fact-check, edition 2
- Issued: 2026-10-27
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
- pgTrue version: audited with v1.1.0 (approx.)
## Findings needing a change (1)
### F17 · Imprecise · Applicable · MERGE predates PostgreSQL 17
Location: excerpt · section “Developer experience enhancements” · as fetched 2026-10-27 · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=The%20MERGE%20command%20is%20a%20powerful%20addition%20to%20PostgreSQL%2017)
Article says:
```text
…The MERGE command is a powerful addition to PostgreSQL 17…
```
What is true:
PostgreSQL 15 introduced MERGE. PostgreSQL 17 added RETURNING support. The release notes distinguish these additions. Requiring PostgreSQL 17 for basic MERGE can cause unnecessary upgrade work.
So what:
Use basic MERGE on PostgreSQL 15 or 16 without requiring an upgrade to 17. Require 17 for MERGE RETURNING.
Charitable reading:
The MERGE ... RETURNING heading correctly identifies the PostgreSQL 17 enhancement. The paragraph instead dates the entire command.
Review: We tested the RETURNING heading as a charitable qualification. It supports PostgreSQL 17, but the paragraph dates basic MERGE incorrectly. Imprecise remains proportionate. We tested the charitable reading supplied by the MERGE RETURNING heading. The paragraph still dates basic MERGE to 17. Imprecise remains proportionate.
Sources:
- [REL_15_19 · doc/src/sgml/release-15.sgml:24128-24131](https://github.com/postgres/postgres/blob/2ff1375b5dd8bf09d8cb0e795974528180fd75ca/doc/src/sgml/release-15.sgml#L24128-L24131)
Qualification: Version note: PostgreSQL 15 release notes read at REL_15_19.
Excerpt:
```text
Add <acronym>SQL</acronym> <link
linkend="sql-merge"><command>MERGE</command></link>
command to adjust one table to match another (Simon Riggs, Pavan
Deolasee, Álvaro Herrera, Amit Langote)
```
- [REL_17_11 · doc/src/sgml/release-17.sgml:15957-15958](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L15957-L15958)
Excerpt:
```text
Allow <command>MERGE</command> to use the
<literal>RETURNING</literal> clause (Dean Rasheed)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F17
## Verified accurate claims (28)
### F1 · Accurate · Factual · MAINTAIN authorizes the listed relation maintenance operations
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=VACUUM%2C%20ANALYZE%2C%20REINDEX%2C%20and%20CLUSTER)
Article says:
```text
…VACUUM, ANALYZE, REINDEX, and CLUSTER…
```
What is true:
MAINTAIN permits VACUUM, ANALYZE, CLUSTER, and REINDEX on a relation. PostgreSQL 17 documents these permissions in doc/src/sgml/ddl.sgml:2146.
Charitable reading:
The examples concern relation maintenance, rather than every database-level form of these commands.
Review: We checked whether relation privileges support every listed operation. The MAINTAIN documentation lists all four, and vacuum.c checks ACL_MAINTAIN. We tested whether the claim improperly includes database-wide operations. The finding restricts authorization to relations, matching the MAINTAIN documentation.
Sources:
- [REL_17_11 · doc/src/sgml/ddl.sgml:2140-2156](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/ddl.sgml#L2140-L2156)
Excerpt:
```text
Allows <command>VACUUM</command>, <command>ANALYZE</command>,
<command>CLUSTER</command>, <command>REFRESH MATERIALIZED VIEW</command>,
<command>REINDEX</command>, and <command>LOCK TABLE</command> on a
relation.
```
- [REL_17_11 · src/backend/commands/vacuum.c:721-739](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/vacuum.c#L721-L739)
Excerpt:
```text
pg_class_aclcheck(relid, GetUserId(), ACL_MAINTAIN) == ACLCHECK_OK)
return true;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F1
### F2 · Accurate · Factual · pg_maintain supplies relation maintenance privileges
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=pg_maintain%20that%20allows%20executing%20maintenance%20operations%20on%20all%20relations)
Article says:
```text
…pg_maintain that allows executing maintenance operations on all relations…
```
What is true:
src/backend/catalog/aclchk.c:3456 adds ACL_MAINTAIN when the user has pg_maintain privileges. Individual relation grants are unnecessary.
Charitable reading:
Membership must confer the role's privileges through ordinary role membership rules.
Review: We tested whether individual grants remain necessary. aclchk.c adds ACL_MAINTAIN through pg_maintain privileges, subject to ordinary membership rules. We checked ordinary role inheritance as a possible exception. The finding requires pg_maintain privileges, matching has_privs_of_role.
Sources:
- [REL_17_11 · src/backend/catalog/aclchk.c:3450-3461](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/catalog/aclchk.c#L3450-L3461)
Excerpt:
```text
if (mask & ACL_MAINTAIN &&
!(result & ACL_MAINTAIN) &&
has_privs_of_role(roleid, ROLE_PG_MAINTAIN))
result |= ACL_MAINTAIN;
```
- [REL_17_11 · doc/src/sgml/user-manag.sgml:684-698](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/user-manag.sgml#L684-L698)
Excerpt:
```text
relations, as if having <literal>MAINTAIN</literal> rights on those
objects, even without having it explicitly.</entry>
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F2
### F3 · Accurate · Factual · JSON_TABLE converts JSON values into queryable rows
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=convert%20JSON%20data%20into%20a%20standard%20table%20format)
Article says:
```text
…convert JSON data into a standard table format…
```
What is true:
JSON_TABLE uses a row path and typed column paths. doc/src/sgml/func.sgml:18975 describes the row mapping. The example's array path, columns, and alias follow that syntax.
Charitable reading:
Standard table format means a queryable relational result, rather than a newly created persistent table.
Review: We tested whether table format implies persistent table creation. The example requests a relational result, consistent with JSON_TABLE documentation. We tested whether table format implies a persistent table. The finding correctly describes queryable rows and matches the documented path syntax.
Sources:
- [REL_17_11 · doc/src/sgml/func.sgml:18963-18998](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/func.sgml#L18963-L18998)
Excerpt:
```text
Taking JSON data as input, <function>JSON_TABLE</function> uses a JSON path
expression to extract a part of the provided data to use as a
<firstterm>row pattern</firstterm> for the constructed view. Each SQL/JSON
value given by the row pattern serves as source for a separate row in the
constructed view.
```
- [REL_17_11 · doc/src/sgml/func.sgml:19290-19306](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/func.sgml#L19290-L19306)
Excerpt:
```text
JSON_TABLE (js, '$.favorites[*]' COLUMNS (
id FOR ORDINALITY,
kind text PATH '$.kind',
title text PATH '$.films[*].title' WITH WRAPPER,
director text PATH '$.films[*].director' WITH WRAPPER)) AS jt;
```
- [REL_16_15 · doc/src/sgml/func.sgml:16549-16549](https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/doc/src/sgml/func.sgml#L16549-L16549)
Qualification: Version note: Checked the preceding major release for the earlier function.
Excerpt:
```text
<function>json_to_recordset</function> ( <type>json</type> )
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F3
### F4 · Accurate · Factual · VACUUM uses TidStore instead of the earlier identifier array
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=TidStore%20to%20store%20tuple%20IDs%20during%20VACUUM%20operations)
Article says:
```text
…TidStore to store tuple IDs during VACUUM operations…
```
What is true:
PostgreSQL 17 creates the dead-item TidStore in src/backend/access/heap/vacuumlazy.c:2881. PostgreSQL 16 defines the earlier identifier array in src/include/commands/vacuum.h:292.
Charitable reading:
The tuple identifiers are dead item identifiers collected for vacuum processing.
Review: We checked both releases for a mistaken comparison. PostgreSQL 16 stores an identifier array, while PostgreSQL 17 creates a TidStore. We checked whether the PostgreSQL 16 citation creates version confusion. It explicitly supplies the earlier array implementation for comparison.
Sources:
- [REL_17_11 · src/backend/access/heap/vacuumlazy.c:2872-2882](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/access/heap/vacuumlazy.c#L2872-L2882)
Excerpt:
```text
vacrel->dead_items = TidStoreCreateLocal(dead_items_info->max_bytes, true);
```
- [REL_16_15 · src/include/commands/vacuum.h:284-297](https://github.com/postgres/postgres/blob/7d3e000c5961a544302072058a1184e9a588837b/src/include/commands/vacuum.h#L284-L297)
Qualification: Version note: Checked the preceding major release for the array implementation.
Excerpt:
```text
/* Sorted array of TIDs to delete from indexes */
ItemPointerData items[FLEXIBLE_ARRAY_MEMBER];
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F4
### F5 · Accurate · Factual · Read buffers combine consecutive blocks into larger reads
Location: excerpt · section “Performance improvements” · as fetched 2026-10-27 · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=reading%20multiple%20consecutive%20blocks%20from,buffers%20with%20one%20system%20call)
Article says:
```text
…reading multiple consecutive blocks from disk into shared buffers with one system call…
```
What is true:
src/backend/storage/buffer/bufmgr.c:1519 submits multiple consecutive buffers through smgrreadv. Read streams merge requests up to io_combine_limit.
Charitable reading:
The claim describes the combined-read capability, rather than promising one operation for every requested range.
Review: We tested whether the finding guarantees one read for every range. It describes capability, and the source merges consecutive buffers. We tested an unconditional single-call interpretation. The finding instead describes combined-read capability, supported by smgrreadv and the read-stream comment.
Sources:
- [REL_17_11 · src/backend/storage/buffer/bufmgr.c:1502-1522](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/storage/buffer/bufmgr.c#L1502-L1522)
Excerpt:
```text
smgrreadv(operation->smgr, forknum, io_first_block, io_pages, io_buffers_len);
```
- [REL_17_11 · src/backend/storage/aio/read_stream.c:8-44](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/storage/aio/read_stream.c#L8-L44)
Excerpt:
```text
* A user-provided callback generates a stream of block numbers that is used
* to form reads of up to io_combine_limit, by attempting to merge them with a
* pending read.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F5
### F6 · Accurate · Factual · io_combine_limit controls combined I/O size with a 128 kB default
Location: excerpt · section “Performance improvements” · as fetched 2026-10-27 · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=The%20default%20is%20128kB.)
Article says:
```text
The default is 128kB.
```
What is true:
doc/src/sgml/config.sgml:2786 defines the combined I/O limit and its 128 kB default. src/include/storage/bufmgr.h:169 defines the corresponding block count.
Charitable reading:
The default describes the normal supported build and matches the versioned documentation.
Review: We checked the platform-dependent upper bound. The documented default is 128 kB, and the finding already limits its interpretation to normal builds. We checked block-size dependence in the default expression. The finding's normal-build qualification agrees with the documented 128 kB default.
Sources:
- [REL_17_11 · doc/src/sgml/config.sgml:2778-2805](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/config.sgml#L2778-L2805)
Excerpt:
```text
Controls the largest I/O size in operations that combine I/O.
If this value is specified without units, it is taken as blocks,
that is <symbol>BLCKSZ</symbol> bytes, typically 8kB.
The default is 128kB.
```
- [REL_17_11 · src/include/storage/bufmgr.h:162-170](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/include/storage/bufmgr.h#L162-L170)
Excerpt:
```text
#define DEFAULT_IO_COMBINE_LIMIT Min(MAX_IO_COMBINE_LIMIT, (128 * 1024) / BLCKSZ)
```
- [REL_17_11 · src/include/storage/bufmgr.h:169-169](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/include/storage/bufmgr.h#L169-L169)
Excerpt:
```text
#define DEFAULT_IO_COMBINE_LIMIT Min(MAX_IO_COMBINE_LIMIT, (128 * 1024) / BLCKSZ)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F6
### F7 · Accurate · Factual · The NOT NULL assumption permits eliminating the illustrated scan
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=the%20condition%20%E2%80%9Cid%20IS%20NULL%E2%80%9D%20will%20never%20be%20true)
Article says:
```text
…the condition “id IS NULL” will never be true…
```
What is true:
The planner recognizes nonnullable column references in src/backend/optimizer/plan/initsplan.c:2704. PostgreSQL 17 eliminates scans for their impossible IS NULL restrictions.
Charitable reading:
The article explicitly assumes id is NOT NULL and illustrates a direct table restriction.
Review: We checked the outer-join exception in initsplan.c. The article uses a direct table restriction under an explicit NOT NULL assumption. We tested nullable columns and outer joins as counterexamples. Neither applies to the article's direct query under its explicit NOT NULL assumption.
Sources:
- [REL_17_11 · src/backend/optimizer/plan/initsplan.c:2700-2731](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/optimizer/plan/initsplan.c#L2700-L2731)
Excerpt:
```text
* If the Expr is a simple Var that is defined NOT NULL and meanwhile is not
* nulled by any outer joins, then we can know that it cannot be NULL.
```
- [REL_17_11 · doc/src/sgml/release-17.sgml:14490-14496](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L14490-L14496)
Excerpt:
```text
Remove <literal>IS NOT NULL</literal> restrictions from queries on
<literal>NOT NULL</literal> columns and eliminate scans on
<literal>NOT NULL</literal> columns if <literal>IS NULL</literal>
is specified.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F7
### F8 · Accurate · Factual · The COPY options support skipping the example's integer conversion error
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=ON_ERROR%20ignore%2C%20LOG_VERBOSITY%20verbose)
Article says:
```text
…ON_ERROR ignore, LOG_VERBOSITY verbose…
```
What is true:
ON_ERROR ignore discards rows with input conversion errors. LOG_VERBOSITY verbose requests per-row notices. doc/src/sgml/ref/copy.sgml:389 documents these options.
Charitable reading:
The example concerns an integer conversion error in CSV input, which ON_ERROR ignore supports.
Review: We checked whether ON_ERROR covers the demonstrated error. The integer conversion failure falls within its documented CSV behavior. We tested whether the finding promises recovery from every COPY error. It limits recovery to input conversion errors, matching the integer example.
Sources:
- [REL_17_11 · doc/src/sgml/ref/copy.sgml:389-442](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/ref/copy.sgml#L389-L442)
Excerpt:
```text
Specifies how to behave when encountering an error converting a column's
input value into its data type.
An <replaceable class="parameter">error_action</replaceable> value of
<literal>stop</literal> means fail the command, while
<literal>ignore</literal> means discard the input row and continue with the next one.
```
- [REL_17_11 · src/backend/commands/copyfrom.c:982-1021](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/copyfrom.c#L982-L1021)
Excerpt:
```text
/* Report that this tuple was skipped by the ON_ERROR clause */
pgstat_progress_update_param(PROGRESS_COPY_TUPLES_SKIPPED,
++skipped);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F8
### F9 · Accurate · Factual · Vacuum progress includes renamed identifier and memory fields
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=a%20couple%20of%20existing%20column%20names%20have%20been%20changed)
Article says:
```text
…a couple of existing column names have been changed…
```
What is true:
PostgreSQL 17 renames max_dead_tuples and num_dead_tuples. src/backend/catalog/system_views.sql:1222 exposes max_dead_tuple_bytes, dead_tuple_bytes, and num_dead_item_ids.
Charitable reading:
The passage summarizes changed progress fields without prescribing queries using the old names.
Review: We compared the release-note renames with system_views.sql. The old and new identifiers match the finding. We compared the named fields with the release-note renames. Both renames and the dead_tuple_bytes addition match the view excerpt.
Sources:
- [REL_17_11 · src/backend/catalog/system_views.sql:1209-1227](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/catalog/system_views.sql#L1209-L1227)
Excerpt:
```text
S.param6 AS max_dead_tuple_bytes, S.param7 AS dead_tuple_bytes,
S.param8 AS num_dead_item_ids, S.param9 AS indexes_total,
S.param10 AS indexes_processed
```
- [REL_17_11 · doc/src/sgml/release-17.sgml:14390-14425](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L14390-L14425)
Excerpt:
```text
column <structfield>max_dead_tuples</structfield>
to <structfield>max_dead_tuple_bytes</structfield>,
rename <structfield>num_dead_tuples</structfield> to
<structfield>num_dead_item_ids</structfield>, and add
<structfield>dead_tuple_bytes</structfield> (Masahiko Sawada)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F9
### F10 · Accurate · Factual · tuples_skipped counts rows discarded through COPY error handling
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=number%20of%20tuples%20skipped%20because%20they%20contain%20malformed%20data)
Article says:
```text
…number of tuples skipped because they contain malformed data…
```
What is true:
The view exposes tuples_skipped. src/backend/commands/copyfrom.c:1012 updates its counter after a recoverable input error. doc/src/sgml/monitoring.sgml:5821 uses the article's description.
Charitable reading:
Malformed data refers to rows discarded by ON_ERROR in the preceding conversion-error example.
Review: We checked whether tuples_skipped includes every rejected row. The finding correctly limits it to recoverable input errors handled by ON_ERROR. We tested whether malformed data overstates recoverable errors. The finding limits the counter to recoverable input errors and matches PostgreSQL's documented wording.
Sources:
- [REL_17_11 · src/backend/commands/copyfrom.c:982-1021](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/copyfrom.c#L982-L1021)
Excerpt:
```text
/* Report that this tuple was skipped by the ON_ERROR clause */
pgstat_progress_update_param(PROGRESS_COPY_TUPLES_SKIPPED,
++skipped);
```
- [REL_17_11 · src/backend/catalog/system_views.sql:1308-1326](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/catalog/system_views.sql#L1308-L1326)
Excerpt:
```text
S.param7 AS tuples_skipped
```
- [REL_17_11 · doc/src/sgml/monitoring.sgml:5806-5828](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/monitoring.sgml#L5806-L5828)
Excerpt:
```text
Number of tuples skipped because they contain malformed data.
This counter only advances when a value other than
<literal>stop</literal> is specified to the <literal>ON_ERROR</literal>
option.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F10
### F11 · Accurate · Factual · pg_wait_events supplies descriptions for activity wait events
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=pg_wait_events%20with%20pg_stat_activity)
Article says:
```text
…pg_wait_events with pg_stat_activity…
```
What is true:
pg_wait_events lists event types, names, and descriptions. src/backend/utils/activity/wait_event_funcs.c:62 constructs those fields. Joining pg_stat_activity associates descriptions with current process waits.
Charitable reading:
The following join supplies current waits. The description does not require pg_wait_events alone to list waiting processes.
Review: We checked whether pg_wait_events itself reports active processes. The finding correctly assigns current activity to the pg_stat_activity join. We tested whether pg_wait_events alone reports current processes. The finding correctly assigns current activity to the pg_stat_activity join.
Sources:
- [REL_17_11 · src/backend/utils/activity/wait_event_funcs.c:41-96](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/activity/wait_event_funcs.c#L41-L96)
Excerpt:
```text
values[0] = CStringGetTextDatum(waitEventData[idx].type);
values[1] = CStringGetTextDatum(waitEventData[idx].name);
values[2] = CStringGetTextDatum(waitEventData[idx].description);
```
- [REL_17_11 · doc/src/sgml/system-views.sgml:4970-5026](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/system-views.sgml#L4970-L5026)
Excerpt:
```text
The view <structname>pg_wait_events</structname> provides description about the
wait events.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F11
### F12 · Accurate · Factual · The activity query joins wait descriptions on both required keys
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=psa.wait_event_type%20%3D%20we.type)
Article says:
```text
…psa.wait_event_type = we.type…
```
What is true:
pg_stat_activity exposes wait_event_type and wait_event in src/backend/catalog/system_views.sql:881. The query matches them to pg_wait_events.type and pg_wait_events.name.
Charitable reading:
The query uses an inner join to select processes with matching wait descriptions.
Review: We checked the complete join for a missing key. The article compares both event type and event name against matching source columns. We checked both join predicates in the article. They match event type and event name without promising rows for processes lacking matching waits.
Sources:
- [REL_17_11 · src/backend/utils/activity/wait_event_funcs.c:41-96](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/utils/activity/wait_event_funcs.c#L41-L96)
Excerpt:
```text
values[0] = CStringGetTextDatum(waitEventData[idx].type);
values[1] = CStringGetTextDatum(waitEventData[idx].name);
values[2] = CStringGetTextDatum(waitEventData[idx].description);
```
- [REL_17_11 · doc/src/sgml/system-views.sgml:4970-5026](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/system-views.sgml#L4970-L5026)
Excerpt:
```text
The view <structname>pg_wait_events</structname> provides description about the
wait events.
```
- [REL_17_11 · src/backend/catalog/system_views.sql:865-891](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/catalog/system_views.sql#L865-L891)
Excerpt:
```text
S.wait_event_type,
S.wait_event,
S.state,
S.backend_xid,
s.backend_xmin,
S.query_id,
S.query,
```
- [REL_17_11 · doc/src/sgml/monitoring.sgml:701-780](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/monitoring.sgml#L701-L780)
Excerpt:
```text
The <structname>pg_stat_activity</structname> view will have one row
per server process, showing information related to
the current activity of that process.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F12
### F13 · Accurate · Factual · pg_stat_checkpointer exposes checkpoint counters, writes, and timings
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=the%20amount%20of%20data%20written%20during%20checkpoints)
Article says:
```text
…the amount of data written during checkpoints…
```
What is true:
src/backend/catalog/system_views.sql:1141 defines checkpoint counters, write_time, sync_time, buffers_written, and stats_reset. The documented timing unit is milliseconds.
Charitable reading:
The view provides cumulative counters and timings from which checkpoint activity can be assessed.
Review: We checked whether the finding mistakes buffers for bytes or timings for instantaneous activity. It correctly describes cumulative counters and millisecond timings. We tested whether cumulative checkpoint statistics support the description. The view supplies write counts and timing fields for that purpose.
Sources:
- [REL_17_11 · src/backend/catalog/system_views.sql:1141-1151](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/catalog/system_views.sql#L1141-L1151)
Excerpt:
```text
pg_stat_get_checkpointer_write_time() AS write_time,
pg_stat_get_checkpointer_sync_time() AS sync_time,
pg_stat_get_checkpointer_buffers_written() AS buffers_written,
pg_stat_get_checkpointer_stat_reset_time() AS stats_reset;
```
- [REL_17_11 · doc/src/sgml/monitoring.sgml:3024-3067](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/monitoring.sgml#L3024-L3067)
Excerpt:
```text
Number of buffers written during checkpoints and restartpoints
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F13
### F14 · Accurate · Factual · The filter file selects tables matching pgbench\*
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=include%20table%20pgbench%2A)
Article says:
```text
…include table pgbench*…
```
What is true:
pg_dump accepts include table patterns in filter files. src/bin/pg_dump/pg_dump.c:19092 adds those names to table_include_patterns.
Charitable reading:
The pattern selects matching tables. The example does not promise a complete database dump.
Review: We checked the filter grammar and include-table branch. Both support the pgbench\* pattern without promising a complete database backup. We tested whether the filter promises a complete database backup. The finding only verifies table selection, matching the include-pattern implementation.
Sources:
- [REL_17_11 · doc/src/sgml/ref/pg_dump.sgml:873-939](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/ref/pg_dump.sgml#L873-L939)
Excerpt:
```text
Specify a filename from which to read patterns for objects to include
or exclude from the dump.
```
- [REL_17_11 · src/bin/pg_dump/pg_dump.c:19062-19124](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/bin/pg_dump/pg_dump.c#L19062-L19124)
Excerpt:
```text
case FILTER_OBJECT_TYPE_TABLE:
simple_string_list_append(&table_include_patterns, objname);
dopt->include_everything = false;
break;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F14
### F15 · Accurate · Factual · pg_restore transaction-size groups restored objects into transactions
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=commit%20after%20processing%20a%20specified%20number%20of%20objects)
Article says:
```text
…commit after processing a specified number of objects…
```
What is true:
doc/src/sgml/ref/pg_restore.sgml:827 defines transactions processing up to N database objects. src/bin/pg_dump/pg_backup_archiver.c:1066 commits when its counter reaches the configured size.
Charitable reading:
The option groups database objects, rather than rows or bytes, into restore transactions.
Review: We checked whether transaction-size counts rows or objects. The documentation specifies objects, and the archiver commits at its configured counter threshold. We checked whether transaction-size counts rows or objects. The documentation and transaction counter support the finding's object-based description.
Sources:
- [REL_17_11 · doc/src/sgml/ref/pg_restore.sgml:824-848](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/ref/pg_restore.sgml#L824-L848)
Excerpt:
```text
Execute the restore as a series of transactions, each processing
up to <replaceable class="parameter">N</replaceable> database
objects. This option implies <option>--exit-on-error</option>.
```
- [REL_17_11 · src/bin/pg_dump/pg_backup_archiver.c:1062-1078](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/bin/pg_dump/pg_backup_archiver.c#L1062-L1078)
Excerpt:
```text
if (++AH->txnCount >= ropt->txn_size)
{
if (AH->connection)
{
CommitTransaction(&AH->public);
StartTransaction(&AH->public);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F15
### F18 · Accurate · Factual · PostgreSQL 17 introduced MAINTAIN
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=PostgreSQL%2017%20introduces%20the%20MAINTAIN%20privilege)
Article says:
```text
…PostgreSQL 17 introduces the MAINTAIN privilege…
```
What is true:
PostgreSQL 17 introduced per-table MAINTAIN grants and the predefined pg_maintain role. The PostgreSQL 17 release notes confirm both additions.
Charitable reading:
The article describes upstream PostgreSQL feature availability.
Review: We checked whether upstream feature availability proves hosted account permissions. The finding claims only the PostgreSQL 17 introduction, which release notes confirm. We checked the saved release-note context for introduction language. It identifies MAINTAIN and pg_maintain as PostgreSQL 17 additions.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
The permission can be granted on a per-table basis using the MAINTAIN privilege and on a per-role basis via the pg_maintain predefined role.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F18
### F19 · Accurate · Factual · PostgreSQL 17 introduced JSON_TABLE
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=The%20JSON_TABLE%20function%20in%20PostgreSQL%2017%20introduces)
Article says:
```text
…The JSON_TABLE function in PostgreSQL 17 introduces…
```
What is true:
PostgreSQL 17 added JSON_TABLE to convert JSON data into a table representation. REL_17_11 release-17.sgml:15987-15989 confirms the introduction.
Charitable reading:
Table format means a tabular query result.
Review: We checked whether the release entry concerns an older JSON function. It explicitly introduces JSON_TABLE in PostgreSQL 17. We tested whether JSON_TABLE's introduction was confused with earlier JSON functions. The release-note excerpt explicitly adds JSON_TABLE.
Sources:
- [REL_17_11 · doc/src/sgml/release-17.sgml:15987-15989](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L15987-L15989)
Excerpt:
```text
Add function <link
linkend="functions-sqljson-table"><function>JSON_TABLE()</function></link>
to convert <type>JSON</type> data to a table representation (Nikita
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F19
### F20 · Accurate · Factual · PostgreSQL 17 added TidStore for VACUUM
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=PostgreSQL%2017%20introduces%20a%20new%2C,efficient%20data%20structure%20called%20TidStore)
Article says:
```text
…PostgreSQL 17 introduces a new, more efficient data structure called TidStore…
```
What is true:
PostgreSQL 17 added TidStore and adopted it for VACUUM dead-tuple references. The release notes also confirm reduced memory consumption.
Charitable reading:
Reduced memory consumption describes the new VACUUM tuple-reference storage.
Review: We checked whether qualitative memory savings had been promoted into a measured guarantee. The finding repeats the release notes without quantifying savings. We checked whether reduced memory consumption implies a measured universal gain. The finding makes the qualitative claim documented in the release notes.
Sources:
- [REL_17_11 · doc/src/sgml/release-17.sgml:14712-14714](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L14712-L14714)
Excerpt:
```text
2024-03-21 [30e144287] Add TIDStore, to store sets of TIDs (ItemPointerData) ef
Author: Masahiko Sawada <[email protected]>
2024-04-02 [667e65aac] Use TidStore for dead tuple TIDs storage during lazy vac
```
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
New memory management system for VACUUM , which reduces memory consumption and can improve overall vacuuming performance.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F20
### F21 · Accurate · Factual · PostgreSQL 17 added vectored ReadBuffer support
Location: excerpt · section “Performance improvements” · as fetched 2026-10-27 · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=In%20PostgreSQL%2017%2C%20an%20enhancement%20to%20the%20ReadBuffer%20API)
Article says:
```text
…In PostgreSQL 17, an enhancement to the ReadBuffer API…
```
What is true:
PostgreSQL 17 added a vectored ReadBuffer variant. It also adopted streaming I/O for sequential scans and ANALYZE. REL_17_11 release-17.sgml:14802-14806 records these changes.
Charitable reading:
The article describes the new I/O facilities rather than guaranteeing a measured speedup.
Review: We checked all three recorded changes. The source lists vectored ReadBuffer, sequential-scan streaming I/O, and ANALYZE streaming I/O. We distinguished feature introduction from measured speedup. The recorded development entries support vectored ReadBuffer and streaming I/O adoption.
Sources:
- [REL_17_11 · doc/src/sgml/release-17.sgml:14802-14806](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/release-17.sgml#L14802-L14806)
Excerpt:
```text
2024-04-03 [210622c60] Provide vectored variant of ReadBuffer().
Author: Thomas Munro <[email protected]>
2024-04-08 [b7b0f3f27] Use streaming I/O in sequential scans.
Author: Thomas Munro <[email protected]>
2024-04-08 [041b96802] Use streaming I/O in ANALYZE.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F21
### F22 · Accurate · Factual · PostgreSQL 17 added the stated NULL optimizations
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=PostgreSQL%2017%20introduces%20optimizations%20to,and%20IS%20NOT%20NULL%20clauses)
Article says:
```text
…PostgreSQL 17 introduces optimizations to reduce the unnecessary evaluation of IS NULL and IS NOT NULL clauses…
```
What is true:
PostgreSQL 17 removes redundant IS NOT NULL restrictions on NOT NULL columns. It eliminates scans when those columns face IS NULL restrictions.
Charitable reading:
The example explicitly assumes a NOT NULL column.
Review: We tested the claim against nullable columns. The finding retains the NOT NULL condition, exactly matching the PostgreSQL 17 release entry. We compared the article's hypothesis with the complete saved release-note passage. Both describe NULL optimization for NOT NULL columns.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Remove IS NOT NULL restrictions from queries on NOT NULL columns and eliminate scans on NOT NULL columns if IS NULL is specified.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F22
### F23 · Accurate · Factual · PostgreSQL 17 introduced the two COPY options
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=PostgreSQL%2017%20introduces%20improvements%20to,options%20like%20ON_ERROR%20and%20LOG_VERBOSITY)
Article says:
```text
…PostgreSQL 17 introduces improvements to the COPY command with options like ON_ERROR and LOG_VERBOSITY…
```
What is true:
PostgreSQL 17 added COPY ON_ERROR ignore and LOG_VERBOSITY. Its release notes describe discarding error rows and reporting ignored rows.
Charitable reading:
The article demonstrates a data conversion error rather than claiming every COPY error can be ignored.
Review: We checked whether the finding verifies more than feature introduction. It limits itself to the two options documented in PostgreSQL 17. We checked both option names in the saved release notes. The finding verifies their introduction without certifying every displayed notice.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Add new COPY option ON_ERROR ignore to discard error rows (Damir Belyalov, Atsushi Torikoshi, Alex Shulgin, Jian He, Yugo Nagata) § § § § The default behavior is ON_ERROR stop . Add new COPY option LOG_VERBOSITY which reports COPY FROM ignored error rows (Bharath Rupireddy)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F23
### F24 · Accurate · Factual · PostgreSQL 17 added --filter to all three utilities
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=pg_dump%2C%20pg_dumpall%2C%20pg_restore%20with%20%2D%2Dfilter%20option)
Article says:
```text
pg_dump, pg_dumpall, pg_restore with --filter option…
```
What is true:
PostgreSQL 17 added --filter to pg_dump, pg_dumpall, and pg_restore. Its release notes confirm file-based include and exclude specifications.
Charitable reading:
The utilities share an option name. Their supported filters can differ.
Review: We checked whether all three utilities appear in the release entry. They do, without implying identical supported filter types. We checked whether all three utilities receive --filter. The saved release notes name each utility without promising identical supported filters.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Allow pg_dump , pg_dumpall , and pg_restore to specify include/exclude objects in a file (Pavel Stehule, Daniel Gustafsson) § The option is called --filter .
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F24
### F25 · Accurate · Factual · PostgreSQL 17 introduced pg_restore --transaction-size
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=The%20pg_restore%20command%20now%20includes%20a%20%2D%2Dtransaction%2Dsize%20option)
Article says:
```text
…The pg_restore command now includes a --transaction-size option…
```
What is true:
PostgreSQL 17 introduced pg_restore --transaction-size for restoring objects in transaction batches. The PostgreSQL 17 release notes confirm this addition.
Charitable reading:
The article describes batching restored objects into transactions.
Review: We checked the option name and introduction release. PostgreSQL 17 release notes explicitly add pg_restore --transaction-size. We checked the option's introduction and batching purpose. The saved PostgreSQL 17 release notes confirm both.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Add pg_restore option --transaction-size to allow object restores in transaction batches (Tom Lane)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F25
### F26 · Accurate · Factual · PostgreSQL 17 introduced pg_wait_events
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=The%20new%20pg_wait_events%20system%20view)
Article says:
```text
…The new pg_wait_events system view…
```
What is true:
PostgreSQL 17 introduced pg_wait_events. Its release notes describe adding wait-event descriptions to pg_stat_activity results.
Charitable reading:
The article joins the descriptive catalog to pg_stat_activity to identify current waits.
Review: We checked whether the release notes describe live activity or event descriptions. The finding preserves their distinction and correct introduction release. We tested whether the finding confuses descriptions with process activity. It correctly describes pg_wait_events as enriching pg_stat_activity results.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Add system view pg_wait_events that reports wait event types (Bertrand Drouvot) § This is useful for adding descriptions to wait events reported in pg_stat_activity .
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F26
### F27 · Accurate · Factual · PostgreSQL 17 removes the previous vacuum memory ceiling
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=eliminates%20the%201GB%20of%20memory%20usage%20limit)
Article says:
```text
…eliminates the 1GB of memory usage limit…
```
What is true:
PostgreSQL 17 removes the previous 1 GB ceiling when maintenance_work_mem or autovacuum_work_mem permits a larger allocation.
Charitable reading:
The sentence describes removal of the old ceiling, not unlimited memory regardless of configuration.
Review: We tested whether removing the ceiling implies unlimited allocation. The finding retains maintenance_work_mem and autovacuum_work_mem limits, matching the release notes. We tested an unlimited-memory interpretation. The finding retains maintenance_work_mem and autovacuum_work_mem conditions, matching the saved release notes.
Sources:
- [https://www.postgresql.org/docs/17/release-17.html](https://www.postgresql.org/docs/17/release-17.html)
Excerpt:
```text
Additionally, vacuum is no longer silently limited to one gigabyte of memory when maintenance_work_mem or autovacuum_work_mem are higher.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F27
### F28 · Accurate · Factual · The COPY example rejects exactly one input row
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=NOTICE%3A%201%20row%20was%20skipped%20due%20to%20data%20type%20incompatibility)
Article says:
```text
…NOTICE: 1 row was skipped due to data type incompatibility…
```
What is true:
Only input row 2 contains an invalid integer age. PostgreSQL counts that rejected row and emits the singular skipped-row notice.
Charitable reading:
The example assumes the stated integer age column and no additional rejecting constraints.
Review: We checked all four input ages and the singular notice. Only row 2 fails integer conversion under the example's stated assumptions. We checked all four input ages and the singular notice. Only row 2 fails integer conversion under the stated schema assumptions.
Sources:
- [REL_17_11 · src/backend/commands/copyfrom.c:1305-1333](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/copyfrom.c#L1305-L1333)
Excerpt:
```text
errmsg_plural("%llu row was skipped due to data type incompatibility",
```
- [REL_17_11 · src/backend/commands/copyfrom.c:990-1016](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/copyfrom.c#L990-L1016)
Excerpt:
```text
pgstat_progress_update_param(PROGRESS_COPY_TUPLES_SKIPPED,
++skipped);
continue;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F28
### F29 · Accurate · Factual · COPY 3 agrees with the four-row input
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=COPY%203)
Article says:
```text
…COPY 3…
```
What is true:
The command reports 3 successful rows (derived: 4 input rows − 1 rejected row). PostgreSQL excludes the rejected row from insertion.
Charitable reading:
COPY 3 counts successfully imported rows under the example's stated column types.
Review: We recalculated 4 input rows minus 1 rejected row. COPY 3 agrees, and the error branch skips insertion. We recalculated four input rows minus one rejected row. COPY 3 agrees with that result and the recorded skip path.
Sources:
- [REL_17_11 · src/backend/tcop/utility.c:739-739](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/tcop/utility.c#L739-L739)
Excerpt:
```text
SetQueryCompletion(qc, CMDTAG_COPY, processed);
```
- [REL_17_11 · src/backend/commands/copyfrom.c:990-1016](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/backend/commands/copyfrom.c#L990-L1016)
Excerpt:
```text
pgstat_progress_update_param(PROGRESS_COPY_TUPLES_SKIPPED,
++skipped);
continue;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F29
### F30 · Accurate · Factual · The JSON_TABLE output preserves both input records
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=Alice%20%7C%2050000%20Bob%20%7C%2060000)
Article says:
```text
… Alice | 50000
Bob | 60000…
```
What is true:
The two displayed rows match the JSON input. The name and salary paths extract the properties printed in each output column.
Charitable reading:
The output illustrates the two projected JSON records without claiming a general SQL ordering guarantee.
Review: We compared both JSON objects with their output columns. Both names and salaries match, without requiring a general ordering guarantee. We compared both names and salaries with the JSON input. They match, and the finding makes no general ordering guarantee.
Sources:
- [REL_17_11 · doc/src/sgml/func.sgml:18974-19000](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/doc/src/sgml/func.sgml#L18974-L19000)
Excerpt:
```text
value that will become the value for the specified column in a given output
row.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F30
## Notes (not graded) (1)
### F16 · Note · · Lowercase -fp selects a filename rather than the dump format
Location: Article · exact quote · [open in article](https://cloud.google.com/blog/products/databases/postgresql-17-now-available-on-cloud-sql#:~:text=%2Dfp)
Article says:
```text
…-fp…
```
What is true:
src/bin/pg_dump/pg_dump.c:524 assigns lowercase -f to filename. Uppercase -F selects format. The later -f replaces p with postgres.text. The default format remains plain SQL.
So what:
Replace -fp with -Fp when explicitly selecting plain format.
Charitable reading:
The command still produces plain SQL because plain format is the default. Its final -f replaces the earlier filename.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We tested whether lowercase -fp breaks the displayed command. The later -f replaces its filename, and plain format remains the default. Note severity fits. We checked the later -f argument and default format. Both preserve the intended output, supporting a note without a graded charge.
Sources:
- [REL_17_11 · src/bin/pg_dump/pg_dump.c:511-536](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/bin/pg_dump/pg_dump.c#L511-L536)
Excerpt:
```text
case 'f':
filename = pg_strdup(optarg);
break;
case 'F':
format = pg_strdup(optarg);
break;
```
- [REL_17_11 · src/bin/pg_dump/pg_dump.c:352-352](https://github.com/postgres/postgres/blob/083ac033419f690758508e08c1736089384bbee8/src/bin/pg_dump/pg_dump.c#L352-L352)
Excerpt:
```text
const char *format = "p";
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a#F16
## Withdrawn findings (0)
None.
## Section checks
- Maintenance privileges · A · 3 verified-accurate · 100% of claims (12 of 12, plus 1 that need data we do not have) · MAINTAIN and pg_maintain provide the described relation maintenance permissions in PostgreSQL 17.
- MERGE · A · 1 imprecise · 100% of claims (3 of 3, plus 1 that need data we do not have) · PostgreSQL 15 introduced MERGE. PostgreSQL 17 added RETURNING, as the heading correctly indicates.
- JSON tables · A · 3 verified-accurate · 100% of claims (8 of 8) · PostgreSQL 17 introduced JSON_TABLE. The example uses valid paths and typed columns. Both displayed rows match the JSON input.
- Vacuum memory · A · 4 verified-accurate · 100% of claims (8 of 8) · TidStore replaces the identifier array, removes the previous 1 GB ceiling, and changes vacuum progress fields.
- I/O · A · 3 verified-accurate · 100% of claims (7 of 7, plus 1 that need data we do not have) · PostgreSQL 17 combines consecutive reads and documents a 128 kB default for io_combine_limit.
- NULL predicates · A · 2 verified-accurate · 100% of claims (8 of 8, plus 2 that need data we do not have) · The stated NOT NULL assumption permits PostgreSQL 17 to eliminate the illustrated scan.
- COPY · A · 5 verified-accurate · 93% of claims (14 of 15, plus 1 that need data we do not have) · ON_ERROR ignore supports the conversion error shown. COPY 3 agrees with four input rows and one rejected row.
- Dump and restore · A · 4 verified-accurate · 100% of claims (12 of 12) · PostgreSQL 17 supports --filter and pg_restore --transaction-size as described. Lowercase -f selects a filename. The example still uses the default plain SQL format.
- Wait events · A · 3 verified-accurate · 100% of claims (18 of 18) · pg_wait_events supplies descriptions. The query joins pg_stat_activity using both event type and event name.
- Checkpoint statistics · A · 1 verified-accurate · 100% of claims (6 of 6) · pg_stat_checkpointer exposes checkpoint counters, written buffers, and timing statistics.
## Claim coverage
- Introduction: no checkable claims; not counted: 5 product or opinion, 4 not a claim
- Maintenance privileges: 12 of 12 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 not a claim
- MERGE: 3 of 3 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 not a claim
- JSON tables: 8 of 8 Postgres claims checked; not counted: 3 product or opinion
- Vacuum memory: 8 of 8 Postgres claims checked; not counted: 1 not a claim
- I/O: 7 of 7 Postgres claims checked, plus 1 that need data we do not have
- NULL predicates: 8 of 8 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 duplicate
- COPY: 14 of 15 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 not a claim; not checked: 1 for other reasons
- Dump and restore: 12 of 12 Postgres claims checked; not counted: 1 product or opinion, 1 duplicate
- Wait events: 18 of 18 Postgres claims checked; not counted: 2 not a claim
- Checkpoint statistics: 6 of 6 Postgres claims checked; not counted: 1 duplicate
- Summary and links: no checkable claims; not counted: 2 product or opinion, 1 duplicate, 9 not a claim
## What we did not check
- We did not reproduce the SQL examples or their displayed results.
- We did not check Cloud SQL account permissions or service availability.
- We did not verify which maintenance roles the Cloud SQL postgres account can grant.
- We did not reproduce the displayed SQL output or measure the claimed performance gains.
- We could not retrieve the linked feature matrix, Cloud SQL product page, or instance console.
- We did not separately check the article’s integer input example.
- We did not reproduce the displayed query plans or import results.
- Safe: we did not complete every applicable check.
## Notes
- A — the findings address the article's main subject. What we did not check is listed below. The findings directly check PostgreSQL 17 maintenance, SQL, VACUUM, I/O, import, backup, and monitoring features.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 4 axes: 4 · result A
- The article blurs MERGE’s introduction with PostgreSQL 17’s RETURNING addition. PostgreSQL 15 already supported basic MERGE. That wording can prompt an unnecessary upgrade.
- The PostgreSQL 17 feature explanations otherwise match the checked sources. MAINTAIN, JSON_TABLE, TidStore, combined I/O, NULL optimization, COPY error handling, backup filters, and wait-event joins behave as described. The removed 1 GB vacuum ceiling is also documented.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_17_11 at commit 083ac033419f690758508e08c1736089384bbee8 (pinned target); https://cloud.google.com/blog/products/data-analytics/lakehouse-runtime-catalog-powered-by-spanner (fetched 2026-10-27T03:07:29.374555Z); https://cloud.google.com/blog/products/data-analytics/whats-new-with-google-data-cloud (fetched 2026-10-27T03:07:25.163345Z); https://cloud.google.com/blog/products/databases/simplify-ai-search-with-alloydb-hybrid-search-and-rrf (fetched 2026-10-27T03:07:33.266358Z); https://cloud.google.com/blog/products/databases/spanner-queues-provide-native-transactional-messaging (fetched 2026-10-27T03:07:33.970904Z); https://www.postgresql.org/docs/17/ddl-priv.html (fetched 2026-10-27T03:06:27.216764Z); https://www.postgresql.org/docs/17/predefined-roles.html (fetched 2026-10-27T03:06:28.316803Z); https://www.postgresql.org/docs/17/release-17.html (fetched 2026-10-27T03:06:25.621646Z); https://www.postgresql.org/docs/current/monitoring-stats.html (fetched 2026-10-27T03:06:38.773570Z); https://www.postgresql.org/docs/current/predefined-roles.html (fetched 2026-10-27T03:06:29.532959Z); https://www.postgresql.org/docs/current/progress-reporting.html (fetched 2026-10-27T03:06:31.688752Z); https://www.postgresql.org/docs/current/release-17.html (fetched 2026-10-27T03:06:40.883025Z); https://www.postgresql.org/docs/current/runtime-config-resource.html (fetched 2026-10-27T03:06:32.441979Z).
- Article captured 2026-10-27T03:05:55.967192Z · SHA-256 11e95e5e9131ba846652565814a03b175a3265ed78ec62ce3f01f2ed446bc4a4 · Text extracted from the article's HTML.
- Policy SHA-256 667dd0c9212416f184ee558138a7033ccfce7062ad5542d57c9982bae70e8bf3 · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not reproduce the SQL examples, displayed results, or query plans.
- We did not measure the claimed performance gains.
- We did not verify service availability or which maintenance roles the hosted postgres account can grant.
- We could not retrieve the linked feature matrix, database product page, or instance console.
- The article gives October 24, 2024 without a time. We list that date at midnight UTC.
- review: the findings were written by one model and reviewed independently by a different model.
- Built from the article text captured above, one pinned source tree, and 12 fetched pages.
- 30 survived · 0 weakened · 0 withdrawn.
## Edition changes
- F1 · recalibrated.
- F2 · recalibrated.
- F3 · recalibrated.
- F4 · recalibrated.
- F5 · recalibrated.
- F6 · recalibrated.
- F7 · recalibrated.
- F8 · recalibrated.
- F9 · recalibrated.
- F10 · recalibrated.
- F11 · recalibrated.
- F12 · recalibrated.
- F13 · recalibrated.
- F14 · recalibrated.
- F15 · recalibrated.
- F16 · recalibrated.
- F17 · recalibrated.
- F18 · recalibrated.
- F19 · recalibrated.
- F20 · recalibrated.
- F21 · recalibrated.
- F22 · recalibrated.
- F23 · recalibrated.
- F24 · recalibrated.
- F25 · recalibrated.
- F26 · recalibrated.
- F27 · recalibrated.
- F28 · recalibrated.
- F29 · recalibrated.
- F30 · recalibrated.
## Revision history
- [Revision 1](https://pgtrue.postgres.ai/shared/brief/04b5763b-746e-4e40-aa8b-22ae1553363a?v=2) · this page · 2026-10-27 03:05 UTC · A · audited with v1.1.0 (approx.)
Article as first submitted. 28 accurate · 0 wrong · 1 caveat.
ElephantSeal: A.
Changes: First audit. Open: F17 “MERGE predates PostgreSQL 17” (mostly accurate).