Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: startup_packet_options_and_walsender_v1.patch
Description: application/octet-stream (5.8 KB)

Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group