Add mention that tid perhaps someday should be output as a record.
This commit is contained in:
parent
909ca1407c
commit
d46fbef386
@ -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…
Reference in New Issue
Block a user