Postgres 11 is now out of beta, but multicorn gets errors when trying to compile against it:
ubuntu@warehouse-postgres-master-test:~$ sudo pgxn install multicorn
INFO: best version: multicorn 1.3.5
INFO: saving /tmp/tmpcl0DYm/multicorn-1.3.5.zip
INFO: unpacking: /tmp/tmpcl0DYm/multicorn-1.3.5.zip
INFO: building extension
Python version is 2.7
[ -d sql ] || mkdir sql
[ -d src ] || mkdir src
touch directories.stamp
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/python2.7 -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/errors.o src/errors.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/python2.7 -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/python.o src/python.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/python2.7 -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/query.o src/query.c
src/query.c: In function ‘colnameFromVar’:
src/query.c:434:21: error: too few arguments to function ‘get_attname’
char *attname = get_attname(rte->relid, var->varattno);
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c: In function ‘deparse_sortgroup’:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:726:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
In file included from /usr/include/string.h:630:0,
from /usr/include/python2.7/Python.h:38,
from src/multicorn.h:1,
from src/query.c:1:
src/query.c:741:33: error: too few arguments to function ‘get_attname’
md->attname = (Name) strdup(get_attname(foreigntableid, var->varattno));
^
In file included from src/query.c:10:0:
/usr/include/postgresql/11/server/utils/lsyscache.h:86:14: note: declared here
extern char *get_attname(Oid relid, AttrNumber attnum, bool missing_ok);
^
<builtin>: recipe for target 'src/query.o' failed
make: *** [src/query.o] Error 1
ERROR: command returned 2: make PG_CONFIG=/usr/bin/pg_config all
Postgres 11 is now out of beta, but multicorn gets errors when trying to compile against it: