Fix a typo in logicalrep_write_typ().
authorAmit Kapila <[email protected]>
Fri, 12 Jul 2024 04:50:59 +0000 (10:20 +0530)
committerAmit Kapila <[email protected]>
Fri, 12 Jul 2024 04:50:59 +0000 (10:20 +0530)
Author: ChangAo Chen
Discussion: https://postgr.es/m/[email protected]

src/backend/replication/logical/proto.c

index 95c09c95167d02b6ecd651b5ef251c3b5f8a9e71..980f6e2741046a9317d577f866da825f05ae9f82 100644 (file)
@@ -739,7 +739,7 @@ logicalrep_write_typ(StringInfo out, TransactionId xid, Oid typoid)
        elog(ERROR, "cache lookup failed for type %u", basetypoid);
    typtup = (Form_pg_type) GETSTRUCT(tup);
 
-   /* use Oid as relation identifier */
+   /* use Oid as type identifier */
    pq_sendint32(out, typoid);
 
    /* send qualified type name */