Walsender doesn't process options passed in the startup packet
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-09-10T10:17:36Z
Lists: pgsql-hackers
Attachments
- startup_packet_options_and_walsender_v1.patch (application/octet-stream) patch v1
Hi, I found walsender didn't process options (e.g., application_name in primary_conninfo) passed in the startup packet. The cause is that walsender doesn't execute process_postgres_switches() and SetConfigOption() in InitPostgres(). The attached patch fixes this bug. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center