summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-26 13:47:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-26 13:47:26 -0400
commit71b349aef4c4eb766e556360cfb5f5190c02b9c1 (patch)
tree03de98dffd2517dc90445120316e711d0b22745a
parent9a8aa25ccc6c285cd4f02afe4718eafd20dc34c5 (diff)
downloadpostgresql-71b349aef4c4eb766e556360cfb5f5190c02b9c1.tar.gz
Update a couple of long-obsolete comments in pg_type.h.
-rw-r--r--src/include/catalog/pg_type.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h
index 5914ee706a..1e9cea70e2 100644
--- a/src/include/catalog/pg_type.h
+++ b/src/include/catalog/pg_type.h
@@ -59,8 +59,8 @@ CATALOG(pg_type,1247,TypeRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(71,TypeRelati
* this type by value or by reference. typbyval had better be false if
* the length is not 1, 2, or 4 (or 8 on 8-byte-Datum machines).
* Variable-length types are always passed by reference. Note that
- * typbyval can be false even if the length would allow pass-by-value;
- * this is currently true for type float4, for example.
+ * typbyval can be false even if the length would allow pass-by-value; for
+ * example, type macaddr8 is pass-by-ref even when Datum is 8 bytes.
*/
bool typbyval;
@@ -88,7 +88,8 @@ CATALOG(pg_type,1247,TypeRelationId) BKI_BOOTSTRAP BKI_ROWTYPE_OID(71,TypeRelati
/*
* If typisdefined is false, the entry is only a placeholder (forward
- * reference). We know the type name, but not yet anything else about it.
+ * reference). We know the type's name and owner, but not yet anything
+ * else about it.
*/
bool typisdefined BKI_DEFAULT(t);