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

Re: libpq connectoin redirect

From: James William Pye <lists(at)jwp(dot)name>
To: feng tian <ft_uw(at)hotmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq connectoin redirect
Date: 2010-04-21 22:52:39
Message-ID: E1274ECA-F991-4BE1-B68E-233209997F75@jwp.name (view raw or flat)
Thread:
Lists: pgsql-hackers
On Apr 20, 2010, at 10:03 PM, feng tian wrote:
> Another way to do this, is to send the client an "redirect" message.  When client connect to 127.0.0.10, instead of accepting the connection, it can reply to client telling it to reconnect to one of the server on 127.0.0.11-14.  

ISTM that this would be better handled at a higher-level. That is, given a server (127.0.0.10) that holds 127.0.0.11-14. Connect to that server and query for the correct target host.

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-04-22 01:11:50
Subject: don't allow walsender to consume superuser_reserved_connection slots, or during shutdown
Previous:From: John R PierceDate: 2010-04-21 21:06:47
Subject: Re: libpq connectoin redirect

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