diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-11 15:41:15 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-12-11 15:41:15 -0500 |
commit | 06d5803ffa1ea5a42295c9266f30557e44a99de7 (patch) | |
tree | 3e8e65c69278c35d1f9f59e94d669368196a95cc /src/backend/access | |
parent | 10eb7dfa9b7499d603d09a141b9ae4e36b14393f (diff) | |
download | postgresql-06d5803ffa1ea5a42295c9266f30557e44a99de7.tar.gz postgresql-06d5803ffa1ea5a42295c9266f30557e44a99de7.zip |
Fix assorted confusion between Oid and int32.
In passing, also make some debugging elog's in pgstat.c a bit more
consistently worded.
Back-patch as far as applicable (9.3 or 9.4; none of these mistakes are
really old).
Mark Dilger identified and patched the type violations; the message
rewordings are mine.
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/heap/tuptoaster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c index ce44bbd303d..d230387c859 100644 --- a/src/backend/access/heap/tuptoaster.c +++ b/src/backend/access/heap/tuptoaster.c @@ -2155,7 +2155,7 @@ toast_open_indexes(Relation toastrel, * wrong if there is nothing. */ if (!found) - elog(ERROR, "no valid index found for toast relation with Oid %d", + elog(ERROR, "no valid index found for toast relation with Oid %u", RelationGetRelid(toastrel)); return res; |