pg_bulkload icon indicating copy to clipboard operation
pg_bulkload copied to clipboard

PostgreSQL 15 support

Open devrimgunduz opened this issue 3 years ago • 0 comments

Hi,

pg_bulkload does not build against v15 rc1. v15 is due in two weeks. Can you please take a look?

Regards, Devrim

/usr/lib64/ccache/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -I../include -I/usr/pgsql-15/include -I. -I./ -I/usr/pgsql-15/include/server -I/usr/pgsql-15/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=thin -emit-llvm -c -o pgut/pgut.bc pgut/pgut.c pgut/pgut-fe.c: In function 'get_username': pgut/pgut-fe.c:539:14: warning: implicit declaration of function 'getpwuid'; did you mean 'geteuid'? [-Wimplicit-function-declaration] 539 | pw = getpwuid(geteuid()); | ^~~~~~~~ | geteuid pgut/pgut-fe.c:539:12: warning: assignment to 'struct passwd *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 539 | pw = getpwuid(geteuid()); | ^ pgut/pgut-fe.c:540:23: error: invalid use of undefined type 'struct passwd' 540 | ret = (pw ? pw->pw_name : NULL); | ^~ make[2]: *** [: pgut/pgut-fe.o] Error 1

devrimgunduz avatar Sep 29 '22 11:09 devrimgunduz