Add mention that tid perhaps someday should be output as a record.

REL8_2_STABLE
Bruce Momjian 20 years ago
parent 909ca1407c
commit d46fbef386
  1. 3
      src/backend/utils/adt/tid.c

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/tid.c,v 1.50 2006/02/26 18:36:21 neilc Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/tid.c,v 1.51 2006/02/27 01:41:16 momjian Exp $
*
* NOTES
* input routine largely stolen from boxin().
@ -111,6 +111,7 @@ tidout(PG_FUNCTION_ARGS)
blockNumber = BlockIdGetBlockNumber(blockId);
offsetNumber = itemPtr->ip_posid;
/* Perhaps someday we should output this as a record. */
snprintf(buf, sizeof(buf), "(%u,%u)", blockNumber, offsetNumber);
PG_RETURN_CSTRING(pstrdup(buf));

Loading…
Cancel
Save