[COMMITTERS] psqlodbc - psqlodbc: Don't propgate the connection level statment

2010-11-08 Thread User Hinoue
Log Message: --- Don't propgate the connection level statment options to the internal statements. This fixes an infinite loop reported by Nelson Andre. Modified Files: -- psqlodbc: connection.c (r1.191 -> r1.192) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi

[COMMITTERS] pgsql: Use appendrel planning logic for top-level UNION ALL structures.

2010-11-08 Thread Tom Lane
Use appendrel planning logic for top-level UNION ALL structures. Formerly, we could convert a UNION ALL structure inside a subquery-in-FROM into an appendrel, as a side effect of pulling up the subquery into its parent; but top-level UNION ALL always caused use of plan_set_operations(). That didn'

[COMMITTERS] pgsql: Fix permanent memory leak in autovacuum launcher

2010-11-08 Thread Alvaro Herrera
Fix permanent memory leak in autovacuum launcher get_database_list was uselessly allocating its output data, along some created along the way, in a permanent memory context. This didn't matter when autovacuum was a single, short-lived process, but now that the launcher is permanent, it shows up a

[COMMITTERS] pgsql: Fix permanent memory leak in autovacuum launcher

2010-11-08 Thread Alvaro Herrera
Fix permanent memory leak in autovacuum launcher get_database_list was uselessly allocating its output data, along some created along the way, in a permanent memory context. This didn't matter when autovacuum was a single, short-lived process, but now that the launcher is permanent, it shows up a

[COMMITTERS] pgsql: Fix error handling in temp-file deletion with log_temp_files act

2010-11-08 Thread Tom Lane
Fix error handling in temp-file deletion with log_temp_files active. The original coding in FileClose() reset the file-is-temp flag before unlinking the file, so that if control came back through due to an error, it wouldn't try to unlink the file twice. This was correct when written, but when th

[COMMITTERS] pgsql: Fix error handling in temp-file deletion with log_temp_files act

2010-11-08 Thread Tom Lane
Fix error handling in temp-file deletion with log_temp_files active. The original coding in FileClose() reset the file-is-temp flag before unlinking the file, so that if control came back through due to an error, it wouldn't try to unlink the file twice. This was correct when written, but when th

[COMMITTERS] pgsql: Fix error handling in temp-file deletion with log_temp_files act

2010-11-08 Thread Tom Lane
Fix error handling in temp-file deletion with log_temp_files active. The original coding in FileClose() reset the file-is-temp flag before unlinking the file, so that if control came back through due to an error, it wouldn't try to unlink the file twice. This was correct when written, but when th

[COMMITTERS] pgsql: Fix error handling in temp-file deletion with log_temp_files act

2010-11-08 Thread Tom Lane
Fix error handling in temp-file deletion with log_temp_files active. The original coding in FileClose() reset the file-is-temp flag before unlinking the file, so that if control came back through due to an error, it wouldn't try to unlink the file twice. This was correct when written, but when th