-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Trying to build per the readme for dynamodb_fdw and getting the following error:
2.906 g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -O2 -I./jansson -DHAVE_STDINT_H=1 -Wno-suggest-attribute=format -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I. -I. -I../../src/include -D_GNU_SOURCE -c -o deparse.o deparse.cpp
6.665 g++ -Wall -Wpointer-arith -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -O2 -I./jansson -DHAVE_STDINT_H=1 -Wno-suggest-attribute=format -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I. -I. -I../../src/include -D_GNU_SOURCE -c -o dynamodb_query.o dynamodb_query.cpp
8.349 dynamodb_query.cpp: In function ‘Datum dynamodb_convert_to_pg(Oid, int, Aws::DynamoDB::Model::AttributeValue)’:
8.349 dynamodb_query.cpp:532:66: error: cannot convert ‘text*’ {aka ‘varlena*’} to ‘JsonLexContext*’
8.349 532 | lex = makeJsonLexContext(result, false);
8.349 | ^~~~~~
8.349 | |
8.349 | text* {aka varlena*}
8.349 In file included from dynamodb_query.cpp:31:
8.349 ../../src/include/utils/jsonfuncs.h:41:59: note: initializing argument 1 of ‘JsonLexContext* makeJsonLexContext(JsonLexContext*, text*, bool)’
8.349 41 | extern JsonLexContext *makeJsonLexContext(JsonLexContext *lex, text *json, bool need_escapes);
8.349 | ~~~~~~~~~~~~~~~~^~~
9.784 make: *** [: dynamodb_query.o] Error 1