git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 909ca14)
Add mention that tid perhaps someday should be output as a record.
2006年2月27日 01:41:16 +0000 (01:41 +0000)
2006年2月27日 01:41:16 +0000 (01:41 +0000)

diff --git a/src/backend/utils/adt/tid.c b/src/backend/utils/adt/tid.c
index 0fbc569a0dfaaaa4c61bcd52d97e6896ba9ebf3a..bc4bd6ec262567e6af494558b340742310ddd6e3 100644 (file)
--- 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));
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /