pg_dropcache icon indicating copy to clipboard operation
pg_dropcache copied to clipboard

pg_dropcache.c:51:43: error: too few arguments to function call, expected 4, have 3

Open SimoneGiusso opened this issue 3 years ago • 1 comments

When I try to install the extension I have the following error:

make install USE_PGXS=1

clang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I./ -I/opt/homebrew/include/postgresql/server -I/opt/homebrew/include/postgresql/internal -I/opt/homebrew/Cellar/icu4c/69.1/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/homebrew/opt/[email protected]/include -I/opt/homebrew/opt/readline/include   -c -o pg_dropcache.o pg_dropcache.c
pg_dropcache.c:51:43: error: too few arguments to function call, expected 4, have 3
                DropRelFileNodeBuffers(rnode, forkNum, 0);
                ~~~~~~~~~~~~~~~~~~~~~~                  ^
/opt/homebrew/include/postgresql/server/storage/bufmgr.h:208:13: note: 'DropRelFileNodeBuffers' declared here
extern void DropRelFileNodeBuffers(struct SMgrRelationData *smgr_reln, ForkNumber *forkNum,
            ^
1 error generated.
make: *** [pg_dropcache.o] Error 1

SimoneGiusso avatar Oct 12 '21 13:10 SimoneGiusso

yep same me.

sgandon avatar Nov 18 '22 10:11 sgandon