[Bug 239514] [exp-run] databases/postgresql: Make PostreSQL 11 new default
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 3 09:03:00 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239514
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: tobik
Date: Sat Aug 3 09:02:39 UTC 2019
New revision: 507940
URL: https://svnweb.freebsd.org/changeset/ports/507940
Log:
databases/pg_reorg: Do not build on newer PostgreSQL versions
It fails to build with PostgreSQL 11:
pgut/pgut.c:389:47: error: too few arguments to function call, expected 4,
have 3
return simple_prompt("Password: ", 100, false);
~~~~~~~~~~~~~ ^
/usr/local/include/postgresql/server/port.h:193:1: note: 'simple_prompt'
declared here
extern void simple_prompt(const char *prompt, char *destination, size_t
destlen,
^
1 error generated.
http://package18.nyi.freebsd.org/data/120amd64-default-PR239514/2019-07-29_20h41m52s/logs/pg_reorg-1.1.11_2.log
And after fixing that one:
reorg.c:230:55: warning: incompatible pointer types passing 'bool [1]' to
parameter of type 'const char *' [-Wincompatible-pointer-types]
execute_plan(SPI_OK_SELECT, plan_peek, values_peek,
nulls_peek);
^~~~~~~~~~
./pgut/pgut-spi.h:28:84: note: passing argument to parameter 'nulls' here
extern void execute_plan(int expected, SPIPlanPtr plan, Datum *values, const
char *nulls);
^
reorg.c:256:58: warning: incompatible pointer types passing 'bool *' to
parameter of type 'const char *' [-Wincompatible-pointer-types]
execute_plan(SPI_OK_INSERT, plan_insert,
&values[2], &nulls[2]);
^~~~~~~~~
[...]
reorg.c:573:34: error: use of undeclared identifier 'BTREE_AM_OID'
opclass = OpclassnameGetOpcid(BTREE_AM_OID, opcname);
^
reorg.c:590:57: error: member reference type 'FormData_pg_attribute' (aka
'struct FormData_pg_attribute') is not a pointer; did you mean to use '.'?
opcintype =
RelationGetDescr(indexRel)->attrs[nattr]->atttypid;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
etc.
PR: 239514
Changes:
head/databases/pg_reorg/Makefile
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list