? pg_dump_restore.diff
Index: pg_backup_archiver.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/pg_dump/pg_backup_archiver.c,v
retrieving revision 1.152
diff -r1.152 pg_backup_archiver.c
221c221,226
< 
---
>        
>         /*
>          * Disable statement_timeout in archive for pg_restore/psql
>          */
>          ahprintf(AH, "SET statement_timeout = 0;\n");
>         
Index: pg_dump.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v
retrieving revision 1.482
diff -r1.482 pg_dump.c
568a569,573
>         /*
>          * Set statement timeout to zero. 
>          */
>         do_sql_command(g_conn, "SET statement_timeout = 0");
>          
575c580
< 
---
>        
