Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SimoneGiusso opened this issue Oct 12, 2021 · 1 comment

Comments

@SimoneGiusso
Copy link

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
@sgandon
Copy link

sgandon commented Nov 18, 2022

yep same me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants