Commit a4bebdd9 authored by Bruce Momjian's avatar Bruce Momjian

Add C comment mentioning pg_stat_activity.procpid should have been

called 'pid'.
parent c2ba0121
......@@ -509,6 +509,7 @@ pg_stat_get_activity(PG_FUNCTION_ARGS)
tupdesc = CreateTemplateTupleDesc(12, false);
TupleDescInitEntry(tupdesc, (AttrNumber) 1, "datid",
OIDOID, -1, 0);
/* This should have been called 'pid'; can't change it. 2011-06-11 */
TupleDescInitEntry(tupdesc, (AttrNumber) 2, "procpid",
INT4OID, -1, 0);
TupleDescInitEntry(tupdesc, (AttrNumber) 3, "usesysid",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment