From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | John Liu <johnl(at)emrx(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: 7.3.2 make failed on AIX4.3 using native c compiler |
Date: | 2003-04-01 21:40:46 |
Message-ID: | Pine.LNX.4.44.0304012042070.2216-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
John Liu writes:
> make[4]: Leaving directory `/emrxdbs/postgresql-7.3.2/src/backend/parser'
> cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I../../../src/interfaces/libpq -I
> ../../../src/include -I/usr/local/include -DBINDIR=\"/emrxdbs/pgsql/bin\" -
> c -o pg_dump.o pg_dump.c
> 2681 | "COMMENT", deps,
> ....................................................a....
This looks pretty bogus. The code in around line 2681 is
ArchiveEntry(fout, oid, target, namespace, owner,
"COMMENT", deps,
query->data, "", NULL, NULL, NULL);
deps is declared in the signature of the surrounding function:
static void
dumpComment(Archive *fout, const char *target,
const char *namespace, const char *owner,
const char *oid, const char *classname, int subid,
const char *((*deps)[]))
The declaration of ArchiveEntry() is:
extern void ArchiveEntry(Archive *AHX, const char *oid, const char *tag,
const char *namespace, const char *owner,
const char *desc, const char *((*deps)[]),
const char *defn, const char *dropStmt,
const char *copyStmt,
DataDumperPtr dumpFn, void *dumpArg);
deps has exactly the same type in both.
I wonder whether the const gets lost somewhere, perhaps due to something
that configure does.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-04-01 21:41:36 | Re: PostgreSQL and SOAP, suggestions? |
Previous Message | Merlin Moncure | 2003-04-01 21:32:27 | Re: Dangling backends on win32 7.2.1 port (peerdirect). |