From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: smarttown2547@gmail.com
Subject: BUG #18058: Http Extension Postgres
Date: Wed, 16 Aug 2023 06:32:40 +0000
Message-ID: <18058-bc755c5675ed6343@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18058
Logged by: Postgres
Email address: smarttown2547@gmail.com
PostgreSQL version: 15.4
Operating system: Ubuntu
Description:
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute
-Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security
-fno-strict-aliasing -fwrapv -fexcess-precision=standard
-Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -flto=auto
-ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong
-Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I. -I./
-I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal
-Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o
http.o http.c
http.c: In function ‘typname_get_tupledesc’:
http.c:594:63: error: macro "GetSysCacheOid2" requires 4 arguments, but only
3 given
594 | ObjectIdGetDatum(typnamespace));
| ^
In file included from http.c:59:
/usr/include/postgresql/15/server/utils/syscache.h:199: note: macro
"GetSysCacheOid2" defined here
199 | #define GetSysCacheOid2(cacheId, oidcol, key1, key2) \
|
http.c:592:30: error: ‘GetSysCacheOid2’ undeclared (first use in this
function); did you mean ‘GetSysCacheOid’?
592 | Oid typoid = GetSysCacheOid2(TYPENAMENSP,
| ^~~~~~~~~~~~~~~
| GetSysCacheOid
http.c:592:30: note: each undeclared identifier is reported only once for
each function it appears in
http.c:591:21: warning: unused variable ‘typnamespace’ [-Wunused-variable]
591 | Oid typnamespace = lfirst_oid(l);
| ^~~~~~~~~~~~
make: *** [<builtin>: http.o] Error 1
We tried all setups but the http extension does not work with Postgres 15.4.
so please guild us.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, smarttown2547@gmail.com
Subject: Re: BUG #18058: Http Extension Postgres
In-Reply-To: <18058-bc755c5675ed6343@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox