Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Aug 2019 09:03:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239514] [exp-run] databases/postgresql: Make PostreSQL 11 new default
Message-ID:  <bug-239514-7788-wWu7rUjDrF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239514-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239514-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239514

--- Comment #5 from commit-hook@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.

=20
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);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
^~~~~~~~~~
  ./pgut/pgut-spi.h:28:84: note: passing argument to parameter 'nulls' here
  extern void execute_plan(int expected, SPIPlanPtr plan, Datum *values, co=
nst
char *nulls);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
     ^
  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]);
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
       ^~~~~~~~~
  [...]
  reorg.c:573:34: error: use of undeclared identifier 'BTREE_AM_OID'
                          opclass =3D OpclassnameGetOpcid(BTREE_AM_OID, opc=
name);
                                                        ^
  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 =3D
RelationGetDescr(indexRel)->attrs[nattr]->atttypid;
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
  etc.

  PR:           239514

Changes:
  head/databases/pg_reorg/Makefile

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239514-7788-wWu7rUjDrF>