Walsender doesn't process options passed in the startup packet

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Walsender doesn't process options passed in the startup packet
Date: 2010-09-10 10:17:36
Message-ID: AANLkTikd_1UyOaie9q3fyVcmqz1oQg7qKEWJRPwDXcXk@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
startup_packet_options_and_walsender_v1.patch application/octet-stream 5.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-09-10 10:54:54 Re: Walsender doesn't process options passed in the startup packet
Previous Message Michael Meskes 2010-09-10 10:14:05 Re: ECPG fix for mixed case cursor names