diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-02-27 01:41:16 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-02-27 01:41:16 +0000 |
commit | d46fbef386b88d062bb0b00f17cbcf97f58ec821 (patch) | |
tree | 3a1c26b79588c0a6c143da14e1807aeaee14ba53 /src/backend/utils/adt/tid.c | |
parent | 909ca1407c4f38d9cca28df016f467db041edad5 (diff) | |
download | postgresql-d46fbef386b88d062bb0b00f17cbcf97f58ec821.tar.gz postgresql-d46fbef386b88d062bb0b00f17cbcf97f58ec821.zip |
Add mention that tid perhaps someday should be output as a record.
Diffstat (limited to 'src/backend/utils/adt/tid.c')
-rw-r--r-- | src/backend/utils/adt/tid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/adt/tid.c b/src/backend/utils/adt/tid.c index 0fbc569a0df..bc4bd6ec262 100644 --- a/src/backend/utils/adt/tid.c +++ b/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)); |