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

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

Responses

pgsql-hackers by date

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

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