pg.ddx.io  pgaudit/pgaudit GitHub issues and pull requests  
help / color / mirror / Atom feed
From: df7cb (@df7cb) <noreply+df7cb@github.com>
To: pgaudit/pgaudit <noreply+pgaudit-pgaudit@github.com>
Subject: [pgaudit/pgaudit] issue #332: PG 19beta4 reverted PGQ: pgaudit.c:1157:34: error: use of undeclared identifier 'RELKIND_PROPGRAPH'
Date: Fri, 25 Sep 2026 11:32:14 +0000
Message-ID: <gh-pgaudit-pgaudit-332@github.com> (raw)

pgaudit 19 unfortunately needs updates again:

```
# 19: make
make[1]: Verzeichnis „/home/myon/projects/postgresql/pgaudit/pgaudit“ wird betreten
x86_64-linux-gnu-gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wmissing-format-attribute -Wold-style-declaration -Wimplicit-fallthrough=5 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-omit-frame-pointer -Wstrict-prototypes -Wold-style-definition -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/home/myon/projects/postgresql/pgaudit/pgaudit=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -fvisibility=hidden -DPGAUDIT_VERSION="\"19.0\"" -I. -I./ -I/usr/include/postgresql/19/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o pgaudit.o pgaudit.c
/usr/bin/clang-21 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -DPGAUDIT_VERSION="\"19.0\"" -I. -I./ -I/usr/include/postgresql/19/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o pgaudit.bc pgaudit.c
pgaudit.c:1157:34: error: use of undeclared identifier 'RELKIND_PROPGRAPH'
 1157 |                  rte->relkind == RELKIND_PROPGRAPH)));
      |                                  ^~~~~~~~~~~~~~~~~
pgaudit.c:1287:18: error: use of undeclared identifier 'RELKIND_PROPGRAPH'
 1287 |             case RELKIND_PROPGRAPH:
      |                  ^~~~~~~~~~~~~~~~~
2 errors generated.
make[1]: *** [/usr/lib/postgresql/19/lib/pgxs/src/makefiles/../../src/Makefile.global:1103: pgaudit.bc] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet …
In file included from /usr/include/postgresql/19/server/postgres.h:48,
                 from pgaudit.c:11:
pgaudit.c: In function ‘log_select_dml’:
pgaudit.c:1157:34: error: ‘RELKIND_PROPGRAPH’ undeclared (first use in this function)
 1157 |                  rte->relkind == RELKIND_PROPGRAPH)));
      |                                  ^~~~~~~~~~~~~~~~~
/usr/include/postgresql/19/server/c.h:966:23: note: in definition of macro ‘Assert’
  966 |                 if (!(condition)) \
      |                       ^~~~~~~~~
pgaudit.c:1157:34: note: each undeclared identifier is reported only once for each function it appears in
/usr/include/postgresql/19/server/c.h:966:23: note: in definition of macro ‘Assert’
  966 |                 if (!(condition)) \
      |                       ^~~~~~~~~
make[1]: *** [<eingebaut>: pgaudit.o] Fehler 1
```

view thread (7+ messages)  latest in thread

Message-ID: <gh-pgaudit-pgaudit-332@github.com>
Permalink:  ../gh-pgaudit-pgaudit-332@github.com/

 · 


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