diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-08-05 10:53:49 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-08-05 10:53:49 +0200 |
commit | 1469e312977c8a5baeb1f9cb4222d171faf285b3 (patch) | |
tree | f4d76aaec98e36936a23986bcbef775ab9cd243f /src/backend/access/common/printsimple.c | |
parent | 6551a05d9cf8ea75c0db232b661dadd16e595854 (diff) |
Fix mixups of FooGetDatum() vs. DatumGetFoo()
Some of these were accidentally reversed, but there was no ill effect.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/8246d7ff-f4b7-4363-913e-827dadfeb145%40eisentraut.org
Diffstat (limited to 'src/backend/access/common/printsimple.c')
-rw-r--r-- | src/backend/access/common/printsimple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/common/printsimple.c b/src/backend/access/common/printsimple.c index f346ab3e812..a09c8fcd332 100644 --- a/src/backend/access/common/printsimple.c +++ b/src/backend/access/common/printsimple.c @@ -123,7 +123,7 @@ printsimple(TupleTableSlot *slot, DestReceiver *self) case OIDOID: { - Oid num = ObjectIdGetDatum(value); + Oid num = DatumGetObjectId(value); char str[10]; /* 10 digits */ int len; |