pg_buffercache: Fix incorrect result cast for relforknumber

pg_buffercache_pages.relforknumber is defined as an int2, but its value
was stored with ObjectIdGetDatum() rather than Int16GetDatum() in the
result record.

Author: Ashutosh Bapat <[email protected]>
Discussion: 
https://postgr.es/m/caexhw5s2_qwsdhkpvnuzjrmf0cf1pvmhuhqdlafm3qzkbp1...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/694b4ab33b24dfe1f9cc00fbbd5326f0feadee4a

Modified Files
--------------
contrib/pg_buffercache/pg_buffercache_pages.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Reply via email to