Non-blocking communication between a frontend and a backend (pqcomm)

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Non-blocking communication between a frontend and a backend (pqcomm)
Date: 2009-07-03 07:37:46
Message-ID: 3f0b79eb0907030037g515f3337o9092279c62348dc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

http://archives.postgresql.org/pgsql-hackers/2009-07/msg00191.php

In line with Robert's suggestion, I submit non-blocking pqcomm patch
as a self-contained one.

This patch provides support for non-blocking communication between
a frontend and a backend. The upcoming synchronous replication patch
needs this to make walsender send XLOG records and receive a reply
from the standby server concurrently. Specifically, this patch provides
the function to check for a socket by using "select() / poll()", and
the functions to read the data from local buffer instead of the connection.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
nonblocking_pqcomm_0703.patch application/octet-stream 8.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Juergen Schoenig -- PostgreSQL 2009-07-03 07:49:41 tsvector extraction patch
Previous Message Fujii Masao 2009-07-03 06:41:25 Provide support for multiplexing SIGUSR1 signal