-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
-- had to modify the Makefile to ensure the version checked out but this was sufficient to install on Postgresql 10 however this will not work on Postgresql 11, anyway here is the result of a make clean / sudo make install
$
$
$
$ make clean
rm -f tinyint.so tinyint.o \
tinyint.bc
rm -f tinyint.sql
rm -f tinyint.o tinyint.bc
rm -rf tinyint.sql.in tinyint--0.1.1.sql
rm -rf results/ regression.diffs regression.out tmp_check/ tmp_check_iso/ log/ output_iso/
$
$
$
$
$ sudo make install
gcc -E -P -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 tinyint.sql.in.c > tinyint.sql.in
sed 's,MODULE_PATHNAME,$libdir/tinyint,g' tinyint.sql.in >tinyint.sql
cp tinyint.sql tinyint--0.1.1.sql
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o tinyint.o tinyint.c
In file included from tinyint.c:11:0:
tinyint.c: In function ‘tinyint_in’:
tinyint.h:13:37: warning: implicit declaration of function ‘SET_1_BYTE’; did you mean ‘SETBIT’? [-Wimplicit-function-declaration]
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.h:16:37: note: in expansion of macro ‘TinyIntGetDatum’
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^~~~~~~~~~~~~~~
tinyint.c:154:2: note: in expansion of macro ‘PG_RETURN_TINYINT’
PG_RETURN_TINYINT(pg_atoi(num, sizeof(tinyint), '\0'));
^~~~~~~~~~~~~~~~~
tinyint.c: In function ‘tinyint_out’:
tinyint.h:12:39: warning: implicit declaration of function ‘GET_1_BYTE’ [-Wimplicit-function-declaration]
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.h:15:30: note: in expansion of macro ‘DatumGetTinyInt’
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^~~~~~~~~~~~~~~
tinyint.c:163:18: note: in expansion of macro ‘PG_GETARG_TINYINT’
tinyint arg1 = PG_GETARG_TINYINT(0);
^~~~~~~~~~~~~~~~~
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-6.0/lib -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed -shared -o tinyint.so tinyint.o
/usr/bin/clang-6.0 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -flto=thin -emit-llvm -c -o tinyint.bc tinyint.c
tinyint.c:154:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(pg_atoi(num, sizeof(tinyint), '\0'));
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:163:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:178:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT((tinyint) pq_getmsgint(buf, sizeof(tinyint)));
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:187:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:204:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:219:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT((tinyint) arg1);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:225:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:240:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT((tinyint) arg1);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:246:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:264:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:270:6: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
if (PG_GETARG_TINYINT(0) == 0)
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:280:3: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(0);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:294:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) == PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:300:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) != PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:306:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) < PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:312:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) <= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:318:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) > PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:324:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) >= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:330:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) == PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:336:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) != PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:342:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) < PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:348:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) <= PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:354:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) > PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:360:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) >= PG_GETARG_INT16(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:366:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) == PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:372:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) != PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:378:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) < PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:384:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) <= PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:390:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) > PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:396:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) >= PG_GETARG_INT32(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:402:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) == PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:408:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) != PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:414:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) < PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:420:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) <= PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:426:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) > PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:432:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_TINYINT(0) >= PG_GETARG_INT64(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:438:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) == PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:444:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) != PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:450:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) < PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:456:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) <= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:462:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) > PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:468:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT16(0) >= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:474:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) == PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:480:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) != PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:486:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) < PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:492:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) <= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:498:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) > PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:504:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT32(0) >= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:510:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) == PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:516:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) != PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:522:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) < PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:528:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) <= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:534:38: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) > PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:540:39: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_BOOL(PG_GETARG_INT64(0) >= PG_GETARG_TINYINT(1));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:553:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:562:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:568:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(PG_GETARG_TINYINT(0));
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:568:20: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(PG_GETARG_TINYINT(0));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:574:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:589:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:595:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:610:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:616:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:640:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:646:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:673:17: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:683:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:689:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:710:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:731:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:758:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:772:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:793:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:814:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:841:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:855:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:876:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:897:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:924:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:939:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:960:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:981:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1008:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1035:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1056:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1077:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1104:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1131:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1152:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1173:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1200:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg2 = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1217:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1225:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 % arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1231:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1240:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(result);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1246:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1249:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT((arg1 > arg2) ? arg1 : arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1255:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1258:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT((arg1 < arg2) ? arg1 : arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1264:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1267:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 & arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1273:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1276:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 | arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1282:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1285:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 ^ arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1291:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1294:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 << arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1300:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1303:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(arg1 >> arg2);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1309:18: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint arg1 = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1311:2: warning: implicit declaration of function 'SET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
PG_RETURN_TINYINT(~arg1);
^
./tinyint.h:16:37: note: expanded from macro 'PG_RETURN_TINYINT'
#define PG_RETURN_TINYINT(x) return TinyIntGetDatum(x)
^
./tinyint.h:13:37: note: expanded from macro 'TinyIntGetDatum'
#define TinyIntGetDatum(X) ((Datum) SET_1_BYTE(X))
^
tinyint.c:1323:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint a = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1332:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint a = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1341:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint a = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1350:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint a = PG_GETARG_TINYINT(0);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1365:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint b = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1374:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint b = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1383:15: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint b = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1396:29: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
return hash_uint32((int32) PG_GETARG_TINYINT(0));
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1410:20: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
newval = (int64) PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1448:29: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
newval = oldsum + (int64) PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
tinyint.c:1477:20: warning: implicit declaration of function 'GET_1_BYTE' is invalid in C99 [-Wimplicit-function-declaration]
tinyint newval = PG_GETARG_TINYINT(1);
^
./tinyint.h:15:30: note: expanded from macro 'PG_GETARG_TINYINT'
#define PG_GETARG_TINYINT(n) DatumGetTinyInt(PG_GETARG_DATUM(n))
^
./tinyint.h:12:39: note: expanded from macro 'DatumGetTinyInt'
#define DatumGetTinyInt(X) ((tinyint) GET_1_BYTE(X))
^
122 warnings generated.
/bin/mkdir -p '/usr/share/postgresql/11/extension'
/bin/mkdir -p '/usr/share/postgresql/11/extension'
/bin/mkdir -p '/usr/lib/postgresql/11/lib'
/bin/mkdir -p '/usr/share/doc/postgresql-doc-11/extension'
/usr/bin/install -c -m 644 .//tinyint.control '/usr/share/postgresql/11/extension/'
/usr/bin/install -c -m 644 .//tinyint--0.1.1.sql tinyint.sql '/usr/share/postgresql/11/extension/'
/usr/bin/install -c -m 755 tinyint.so '/usr/lib/postgresql/11/lib/'
/bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode/tinyint'
/bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode'/tinyint/
/usr/bin/install -c -m 644 tinyint.bc '/usr/lib/postgresql/11/lib/bitcode'/tinyint/./
cd '/usr/lib/postgresql/11/lib/bitcode' && /usr/lib/llvm-6.0/bin/llvm-lto -thinlto -thinlto-action=thinlink -o tinyint.index.bc tinyint/tinyint.bc
/usr/bin/install -c -m 644 .//doc/tinyint.md '/usr/share/doc/postgresql-doc-11/extension/'```
Lucas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels