提交 894a8d30 编写于 作者: T Tom Lane 提交者: Daniel Gustafsson

Suppress pointer-signedness warning.

Cherry-picked into GPDB ahead of merge to fix compiler warning from
backporting of bytea HEX encode/decode.
上级 ba5f80f6
......@@ -26,7 +26,7 @@
* http://archives.postgresql.org/pgsql-bugs/2010-02/msg00187.php
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.482.2.2 2009/04/01 18:54:33 tgl Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.546 2009/08/04 19:46:51 tgl Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -11639,7 +11639,8 @@ dumpTrigger(Archive *fout, TriggerInfo *tginfo)
appendPQExpBuffer(query, "EXECUTE PROCEDURE %s(",
tginfo->tgfname);
tgargs = (char *) PQunescapeBytea(tginfo->tgargs, &lentgargs);
tgargs = (char *) PQunescapeBytea((unsigned char *) tginfo->tgargs,
&lentgargs);
p = tgargs;
for (findx = 0; findx < tginfo->tgnargs; findx++)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册