Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2022 10:12:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264306] databases/pgadmin3: compiler error: kwlist.h:28:50: error: too many arguments
Message-ID:  <bug-264306-7788-DNGWyKECn6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264306-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264306-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=3D264306

VVD <vvd@unislabs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pgsql@FreeBSD.org,
                   |                            |vvd@unislabs.com

--- Comment #1 from VVD <vvd@unislabs.com> ---
My patch is:
# cat /usr/ports/databases/pgadmin3/files/patch-pgadmin_db_keywords.c
--- pgadmin/db/keywords.c.orig  2015-02-25 10:44:26 UTC
+++ pgadmin/db/keywords.c
@@ -28,7 +28,7 @@
 /*
  * List of (keyword-name, keyword-token-value) pairs.
  */
-#define PG_KEYWORD(a,b,c) {a,c},
+#define PG_KEYWORD(a,b,c,d) {a,c},
 const ScanKeyword ScanKeywords[] =3D {
 #include <parser/kwlist.h>
 };

But PostgreSQL 10, 11 and 12 have 3 arguments in PG_KEYWORD and pgadmin3 bu=
ild
will fail with this patch.
I don't know how correct check version of the PostgreSQL during build in th=
is
case.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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