Re: [HACKERS] [patch] libpq one-row-at-a-time API

2012-07-21 Thread Tom Lane
Marko Kreen writes: > Here is 2 approaches how to get to state where only PQsetSingleRowMode() > is available. Both on top of REL9_2_STABLE branch. > a) Remove callback hooks, keep rowBuf, implement single-row-mode on >top of that. This was posted before, I just additionally removed >t

Re: [HACKERS] 9.2 release schedule

2012-07-21 Thread Tom Lane
I wrote: > Peter Geoghegan writes: >> On 21 July 2012 08:08, Bruce Momjian wrote: > What are our plans for a 9.2 final release date? If we wait until > September 1 to release our first release candidate, we will probably not > release final until mid/late September. Is that what we want? >> Pe

Re: [HACKERS] [patch] libpq one-row-at-a-time API

2012-07-21 Thread Marko Kreen
Here is 2 approaches how to get to state where only PQsetSingleRowMode() is available. Both on top of REL9_2_STABLE branch. a) Remove callback hooks, keep rowBuf, implement single-row-mode on top of that. This was posted before, I just additionally removed the PQgetRowData() function.

Re: [HACKERS] 9.2 release schedule

2012-07-21 Thread Tom Lane
Peter Geoghegan writes: > On 21 July 2012 08:08, Bruce Momjian wrote: >> What are our plans for a 9.2 final release date? If we wait until >> September 1 to release our first release candidate, we will probably not >> release final until mid/late September. Is that what we want? > Personally I

Re: [HACKERS] Resetting libpq connections after an app error

2012-07-21 Thread Tom Lane
Martijn van Oosterhout writes: > On Sat, Jul 21, 2012 at 01:08:58AM +0100, Daniele Varrazzo wrote: >> In a libpq application, if there is an application error between >> PQsendQuery and PQgetResult, is there a way to revert a connection >> back to an usable state (i.e. from transaction status ACTI

Re: [HACKERS] Event Triggers reduced, v1

2012-07-21 Thread Robert Haas
On Fri, Jul 20, 2012 at 3:51 PM, Robert Haas wrote: > On Fri, Jul 20, 2012 at 2:12 PM, Tom Lane wrote: >> The Windows buildfarm members don't seem too happy with the latest >> patch. > > I'm looking at this now, but am so far mystified. Something's > obviously broken as regards how the trigger f

Re: [HACKERS] 9.2 release schedule

2012-07-21 Thread Peter Geoghegan
On 21 July 2012 08:08, Bruce Momjian wrote: > What are our plans for a 9.2 final release date? If we wait until > September 1 to release our first release candidate, we will probably not > release final until mid/late September. Is that what we want? Personally I had hoped to see an earlier rel

Re: [HACKERS] Using pg_upgrade on log-shipping standby servers

2012-07-21 Thread Bruce Momjian
On Sat, Jul 21, 2012 at 11:24:21AM +0300, Peter Eisentraut wrote: > On fre, 2012-07-20 at 13:11 -0400, Bruce Momjian wrote: > > I think the commands to run after pg_upgrade --link completes on both > > primary and standby might be as easy as: > > > > cd /u/pg/pgsql.old/data > > fin

Re: [HACKERS] Resetting libpq connections after an app error

2012-07-21 Thread Martijn van Oosterhout
On Sat, Jul 21, 2012 at 01:08:58AM +0100, Daniele Varrazzo wrote: > Hello, > > apologize for bumping the question to -hackers but I got no answer > from -general. If there is a better ML to post it let me know. > > In a libpq application, if there is an application error between > PQsendQuery and

Re: [HACKERS] Using pg_upgrade on log-shipping standby servers

2012-07-21 Thread Peter Eisentraut
On fre, 2012-07-20 at 13:11 -0400, Bruce Momjian wrote: > I think the commands to run after pg_upgrade --link completes on both > primary and standby might be as easy as: > > cd /u/pg/pgsql.old/data > find . -links 1 -exec cp {} /u/pgsql/data \; > > Why would we want anything more

[HACKERS] 9.2 release schedule

2012-07-21 Thread Bruce Momjian
What are our plans for a 9.2 final release date? If we wait until September 1 to release our first release candidate, we will probably not release final until mid/late September. Is that what we want? -- Bruce Momjian http://momjian.us EnterpriseDB http: