pgsql: Applied Zoltan's patch to remove hardware dependant offset
pgsql: Applied Zoltan's patch to remove hardware dependant offset
От:
meskes@postgresql.org (Michael Meskes)
Дата:
Log Message:
-----------
Applied Zoltan's patch to remove hardware dependant offset logging and
superfluous include files.
Modified Files:
--------------
pgsql/src/interfaces/ecpg/ecpglib:
sqlda.c (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/sqlda.c?r1=1.1&r2=1.2)
pgsql/src/interfaces/ecpg/test/expected:
compat_informix-sqlda.stderr (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr?r1=1.1&r2=1.2)
sql-sqlda.stderr (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-sqlda.stderr?r1=1.1&r2=1.2)
Re: pgsql: Applied Zoltan's patch to remove hardware dependant offset
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
This patch still leaves in some uses of __FUNCTION__ which is breaking non-gcc compilers: see for example elog.h defines PG_FUNCNAME_MACRO which you should use instead. cheers andrew Michael Meskes wrote: > Log Message: > ----------- > Applied Zoltan's patch to remove hardware dependant offset logging and > superfluous include files. > > Modified Files: > -------------- > pgsql/src/interfaces/ecpg/ecpglib: > sqlda.c (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/sqlda.c?r1=1.1&r2=1.2) > pgsql/src/interfaces/ecpg/test/expected: > compat_informix-sqlda.stderr (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr?r1=1.1&r2=1.2) > sql-sqlda.stderr (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-sqlda.stderr?r1=1.1&r2=1.2) > >
Re: pgsql: Applied Zoltan's patch to remove hardware dependant offset
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
We are also breaking Windows by using int64_t. See You could possibly use int64, which is defined in c.h. cheers andrew Michael Meskes wrote: > Log Message: > ----------- > Applied Zoltan's patch to remove hardware dependant offset logging and > superfluous include files. > > Modified Files: > -------------- > pgsql/src/interfaces/ecpg/ecpglib: > sqlda.c (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/ecpglib/sqlda.c?r1=1.1&r2=1.2) > pgsql/src/interfaces/ecpg/test/expected: > compat_informix-sqlda.stderr (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/compat_informix-sqlda.stderr?r1=1.1&r2=1.2) > sql-sqlda.stderr (r1.1 -> r1.2) > (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/test/expected/sql-sqlda.stderr?r1=1.1&r2=1.2) > >