|
|
|
@ -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)); |
|
|
|
|