| From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Cc: | rekgrpth(at)gmail(dot)com |
| Subject: | BUG #19395: Postgres master: undeclared function 'typeof_unqual' |
| Date: | 2026-02-06 03:08:25 |
| Message-ID: | 19395-37f0c2bd1be90022@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 19395
Logged by: RekGRpth
Email address: rekgrpth(at)gmail(dot)com
PostgreSQL version: Unsupported/Unknown
Operating system: docker alpine 3.23
Description:
Postgres master stopped compiling on Docker Alpine 3.23 after commit
4cfce4e62c8f09f5b1f6a7f69760ca46a74406e2
```
#9 159.2 bootstrap.c:964:3: error: call to undeclared function
'typeof_unqual'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
#9 159.2 964 | copyObject(indexInfo->ii_Expressions);
#9 159.2 | ^
#9 159.2 ../../../src/include/nodes/nodes.h:230:27: note: expanded from
macro 'copyObject'
#9 159.2 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 159.2 | ^
#9 159.2 bootstrap.c:964:3: error: expected expression
#9 159.2 ../../../src/include/nodes/nodes.h:230:50: note: expanded from
macro 'copyObject'
#9 159.2 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 159.2 | ^
#9 159.2 bootstrap.c:968:3: error: expected expression
#9 159.2 968 | copyObject(indexInfo->ii_Predicate);
#9 159.2 | ^
#9 159.2 ../../../src/include/nodes/nodes.h:230:50: note: expanded from
macro 'copyObject'
#9 159.2 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 159.2 | ^
#9 159.2 3 errors generated.
...
#9 167.4 analyze.c:3184:27: error: call to undeclared function
'typeof_unqual'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
#9 167.4 3184 | stmt->into->viewQuery = copyObject(query);
#9 167.4 | ^
#9 167.4 ../../../src/include/nodes/nodes.h:230:27: note: expanded from
macro 'copyObject'
#9 167.4 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 167.4 | ^
#9 167.4 analyze.c:3184:27: error: expected expression
#9 167.4 ../../../src/include/nodes/nodes.h:230:50: note: expanded from
macro 'copyObject'
#9 167.4 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 167.4 | ^
#9 167.4 analyze.c:3293:33: error: call to undeclared function
'typeof_unqual'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
#9 167.4 3293 | outargs =
lappend(outargs, copyObject(n));
#9 167.4 |
^
#9 167.4 ../../../src/include/nodes/nodes.h:230:27: note: expanded from
macro 'copyObject'
#9 167.4 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 167.4 | ^
#9 167.4 analyze.c:3293:33: error: expected expression
#9 167.4 ../../../src/include/nodes/nodes.h:230:50: note: expanded from
macro 'copyObject'
#9 167.4 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 167.4 | ^
#9 167.4 4 errors generated.
#9 167.4 make[2]: *** [../../../src/Makefile.global:1103: analyze.bc] Error
1
...
#9 168.7 gram.y:19536:12: error: call to undeclared function
'typeof_unqual'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
#9 168.7 19536 | result = copyObject(p->argType);
#9 168.7 | ^
#9 168.7 ../../../src/include/nodes/nodes.h:230:27: note: expanded from
macro 'copyObject'
#9 168.7 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 168.8 | ^
#9 168.8 gram.y:19536:12: error: expected expression
#9 168.8 ../../../src/include/nodes/nodes.h:230:50: note: expanded from
macro 'copyObject'
#9 168.8 230 | #define copyObject(obj) ((typeof_unqual(*(obj)) *)
copyObjectImpl(obj))
#9 168.8 | ^
#9 168.8 2 errors generated.
#9 168.8 make[2]: Leaving directory
'/var/lib/postgresql/src/postgres/src/backend/parser'
#9 168.8 make[2]: *** [../../../src/Makefile.global:1103: gram.bc] Error 1
```
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dilip Kumar | 2026-02-06 07:23:33 | Re: BUG #19393: pg_upgrade fails with duplicate key violation when CHECK constraint named *_not_null exists |
| Previous Message | Laurenz Albe | 2026-02-05 16:52:50 | Re: BUG #19393: pg_upgrade fails with duplicate key violation when CHECK constraint named *_not_null exists |