Re: [HACKERS] Patch: Implement failover on libpq connect level.

2015-12-07 Thread Korry Douglas
I've tried to deal with some of these problems. My patch have support for following things: 1. Check whether database instance is in the recovery/standby mode and try to find another one if so. 2. Let cluster management software to have some time to promote one of the standbys to master. I

Re: [HACKERS] Patch: Implement failover on libpq connect level.

2015-12-07 Thread Korry Douglas
I've tried to deal with some of these problems. My patch have support for following things: 1. Check whether database instance is in the recovery/standby mode and try to find another one if so. 2. Let cluster management software to have some time to promote one of the standbys to master. I.e.

Re: [HACKERS] Patch (2): Implement failover on libpq connect level.

2015-10-23 Thread Korry Douglas
On 2015.10.14 at 13:41:51 +0300, Victor Wagner wrote: Attached patch which implements client library failover and loadbalancing as was described in the proposal <20150818041850.ga5...@wagner.pp.ru>. I'm sending imporoved verison of patch. As Olexander Shulgin noted, previous version of pat

Re: [HACKERS] Why does TRIM() expect an expr_list?

2010-04-20 Thread Korry Douglas
o omit FROM if you've written a . Should we tighten our syntax to reject that? That depends on how much code you want to break. Doesn't really matter to me. -- Korry --- Korry Douglas Senior Database D

[HACKERS] Why does TRIM() expect an expr_list?

2010-04-20 Thread Korry Douglas
| a_expr{ $$ = list_make1($1); } Am I missing something? -- Korry --- Korry Douglas Senior Database Dude EnterpriseDB Corporation The Enterprise Postgres Company Phone: (804)241-4301 Mobile:

Re: [HACKERS] [ADMIN] License Issue

2009-04-21 Thread Korry Douglas
I am part of an organization that is beginning to write commercial applications for various Portals (Liferay, etc.). We would like to be able to deploy PostGresQL as the lightweight database for the Portal to connect to. Our request for approval to our Legal Department has stalled due to th

Re: [HACKERS] [PATCH] Cleanup of GUC units code

2008-09-08 Thread Korry Douglas
Settings in postgresql.conf are currently case-insensitive. Except for the units. And, of course, filenames when you are using a case-sensitive filesystem. Because these are things that are defined by some convention other than the ones the PGDG made up. Since units fall into that category, it

Re: [HACKERS] code coverage patch

2008-08-28 Thread Korry Douglas
The problem with those files is that the source file contains lines like this: #line 1042 "y.tab.c" but that source file does not exist, as it is renamed to gram.c. We could fix that in one of two ways: 1) Use bison's -o option to put the output file in the right place directly, if we are