Re: [HACKERS] Google Summer of Code? Call for mentors.

2012-02-15 Thread Pavel Golub
Hello, Josh. You wrote: JB> Hackers, JB> The call is now open for Google Summer of Code. JB> If you are interested in being a GSoC mentor this summer, please reply JB> to this email. I want to gauge whether or not we should participate JB> this summer. JB> -- JB> Josh Berkus JB> PostgreSQL E

Re: [HACKERS] Speed dblink using alternate libpq tuple storage

2012-02-15 Thread Kyotaro HORIGUCHI
Hello, sorry for long absense. As far as I see, on an out-of-memory in getAnotherTuple() makes conn->result->resultStatus = PGRES_FATAL_ERROR and qpParseInputp[23]() skips succeeding 'D' messages consequently. When exception raised within row processor, pg_conn->inCursor always positioned in cons

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Dann Corbit
-Original Message- From: pgsql-hackers-ow...@postgresql.org [mailto:pgsql-hackers-ow...@postgresql.org] On Behalf Of Gaetano Mendola Sent: Wednesday, February 15, 2012 2:54 PM To: Peter Geoghegan; pgsql-hackers@postgresql.org Subject: Re: [HACKERS] CUDA Sorting On 15/02/2012 23:11, Peter

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Peter Geoghegan
On 15 February 2012 22:54, Gaetano Mendola wrote: > That sounds a bit harsh. I'm one of those indeed, I haven't look in the > details not having enough time for it. At work we do GPU computing (not > the sort type stuff) and given the fact I'm a Postgres enthusiast I > asked my self: "my server is

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-02-15 Thread Peter Geoghegan
On 15 February 2012 15:27, Robert Haas wrote: >> I am inclined to agree that given that we already use Perl to generate >> source code like this, it seems natural that we should prefer to do >> that, if only to avoid paranoia about the inclusion of a dial-a-bloat >> knob. I am at a disadvantage he

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Gaetano Mendola
On 15/02/2012 23:11, Peter Geoghegan wrote: On 15 February 2012 20:00, Gaetano Mendola wrote: On 13/02/2012 19:48, Greg Stark wrote: I don't think we should be looking at either CUDA or OpenCL directly. We should be looking for a generic library that can target either and is well maintained a

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Gaetano Mendola
On 15/02/2012 23:11, Peter Geoghegan wrote: On 15 February 2012 20:00, Gaetano Mendola wrote: On 13/02/2012 19:48, Greg Stark wrote: I don't think we should be looking at either CUDA or OpenCL directly. We should be looking for a generic library that can target either and is well maintained a

[HACKERS] Notes about fixing regexes and UTF-8 (yet again)

2012-02-15 Thread Tom Lane
In bug #6457 it's pointed out that we *still* don't have full functionality for locale-dependent regexp behavior with UTF8 encoding. The reason is that there's old crufty code in regc_locale.c that only considers character codes up to 255 when searching for characters that should be considered "let

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Kevin Grittner
Robert Haas wrote: > On Wed, Feb 15, 2012 at 4:47 PM, Kevin Grittner > wrote: >> That is unfortunate. I guess it points out the value of adding a >> comment to point out why we would want to check these values even >> on a reset to a previously-used value. > > +1 for such a comment. Will do.

Re: [HACKERS] Designing an extension for feature-space similarity search

2012-02-15 Thread Tom Lane
Jay Levitt writes: > - I'm not sure how to represent arbitrary column-like features without > reinventing the wheel and putting a database in the database. ISTM you could define a composite type and then create operators and an operator class over that type. If you were trying to make a btree o

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 4:47 PM, Kevin Grittner wrote: > That is unfortunate.  I guess it points out the value of adding a > comment to point out why we would want to check these values even on > a reset to a previously-used value. +1 for such a comment. >> I assume that you're thinking we'd onl

Re: [HACKERS] Command Triggers

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 4:32 PM, Dimitri Fontaine wrote: > Ok, I can perfectly understand that.  The principled implementation is > not saving us here, we still need to review each call site.  The way I > read your comment, I continue working on my big patch and we'll see what > pieces get in, rig

[HACKERS] Google Summer of Code? Call for mentors.

2012-02-15 Thread Josh Berkus
Hackers, The call is now open for Google Summer of Code. If you are interested in being a GSoC mentor this summer, please reply to this email. I want to gauge whether or not we should participate this summer. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-hacke

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Peter Geoghegan
On 15 February 2012 20:00, Gaetano Mendola wrote: > On 13/02/2012 19:48, Greg Stark wrote: >> >> I don't think we should be looking at either CUDA or OpenCL directly. >> We should be looking for a generic library that can target either and >> is well maintained and actively developed. Any GPU code

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Kevin Grittner
Tom Lane wrote: > The main thing I would be worried about is whether you're sure > that you have separated the RESET-as-a-command case from the cases > where we actually are rolling back to a previous state. I will double-check that, and make sure there is regression test coverage of that case

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Tom Lane
"Kevin Grittner" writes: > Robert Haas wrote: >> This patch makes me a little nervous, because the existing >> behavior seems to have been coded for quite deliberately. > It does, although I'm not clear *why* it was. I suspect it may have > been based on an assumption that whatever value is in

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Kevin Grittner
Robert Haas wrote: > On Sat, Feb 11, 2012 at 1:36 PM, Kevin Grittner > wrote: >> "Kevin Grittner" wrote: >> Tom Lane wrote: >> I agree it's a bug that you can do what Kevin's example shows. >>> >>> I'll look at it and see if I can pull together a patch. >> >> Attached. >> >> Basically, if a

Re: [HACKERS] Command Triggers

2012-02-15 Thread Dimitri Fontaine
Robert Haas writes: > I'm just saying that nobody's realistically going to be able to verify > a patch of this size. It's either going to get committed warts and > all, or it's going to not get committed. Decomposing it into a series > of patches would make it possible to actually verify the log

Re: [HACKERS] Command Triggers

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 3:25 PM, Dimitri Fontaine wrote: >> 1. I fear that the collection of commands to which this applies is >> going to end up being kind of a random selection.  I suggest that for >> the first version of the patch, just pick a couple of simple commands >> like VACUUM and ANALYZ

Re: [HACKERS] [COMMITTERS] pgsql: Speed up in-memory tuplesorting.

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 2:54 PM, Robert Haas wrote: > On Wed, Feb 15, 2012 at 2:24 PM, Tom Lane wrote: >> Robert Haas writes: >>> Speed up in-memory tuplesorting. >> >> This patch appears to have broken those members of the buildfarm that >> use VPATH builds.  I assume you didn't think about the

[HACKERS] Designing an extension for feature-space similarity search

2012-02-15 Thread Jay Levitt
[Preamble: I've been told that the hackers list is appropriate for extension-related topics like this, even if it's not about contributing to core. If I'm misappropriating, please let me know.] Goal: Personalized, context-relevant query results We are building a deeply personalized site; think

Re: [HACKERS] Command Triggers

2012-02-15 Thread Dimitri Fontaine
Hi, Thanks for your time reviewing that patch! Robert Haas writes: > I took a brief look at this just now, and in general I'm pleasantly > surprised. But, as you might imagine, I have some reservations: Good starting point, let's see about the details :) > 1. I fear that the collection of com

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Gaetano Mendola
On 13/02/2012 19:48, Greg Stark wrote: I don't think we should be looking at either CUDA or OpenCL directly. We should be looking for a generic library that can target either and is well maintained and actively developed. Any GPU code we write ourselves would rapidly be overtaken by changes in th

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Gaetano Mendola
On 13/02/2012 19:48, Greg Stark wrote: I don't think we should be looking at either CUDA or OpenCL directly. We should be looking for a generic library that can target either and is well maintained and actively developed. Any GPU code we write ourselves would rapidly be overtaken by changes in th

Re: Scaling XLog insertion (was Re: [HACKERS] Moving more work outside WALInsertLock)

2012-02-15 Thread Heikki Linnakangas
On 15.02.2012 18:52, Fujii Masao wrote: On Thu, Feb 16, 2012 at 1:01 AM, Heikki Linnakangas wrote: Are you still seeing this failure with the latest patch I posted (http://archives.postgresql.org/message-id/4f38f5e5.8050...@enterprisedb.com)? Yes. Just to be safe, I again applied the latest

Re: [HACKERS] [COMMITTERS] pgsql: Speed up in-memory tuplesorting.

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 2:24 PM, Tom Lane wrote: > Robert Haas writes: >> Speed up in-memory tuplesorting. > > This patch appears to have broken those members of the buildfarm that > use VPATH builds.  I assume you didn't think about the path to > qsort_tuple.c very carefully. So it appears. I c

Re: [HACKERS] [COMMITTERS] pgsql: Speed up in-memory tuplesorting.

2012-02-15 Thread Tom Lane
Robert Haas writes: > Speed up in-memory tuplesorting. This patch appears to have broken those members of the buildfarm that use VPATH builds. I assume you didn't think about the path to qsort_tuple.c very carefully. regards, tom lane -- Sent via pgsql-hackers mailing

Re: [HACKERS] pg_upgrade message

2012-02-15 Thread Bruce Momjian
On Wed, Feb 15, 2012 at 07:50:41PM +0200, Peter Eisentraut wrote: > pg_upgrade prints something like this: > > Restoring user relation files > /var/lib/postgresql/8.4/main/base/35338/37229 > > But it's not actually "restoring" anything, is it? > > Maybe "transferring" would be better? (Or cop

Re: [HACKERS] Assertion failure in AtCleanup_Portals

2012-02-15 Thread Tom Lane
Pavan Deolasee writes: > On Tue, Feb 7, 2012 at 3:03 AM, Tom Lane wrote: >> Hmm. It works fine if you issue an actual ROLLBACK command there, >> so my gut reaction is that AbortOutOfAnyTransaction isn't sufficiently >> duplicating the full-fledged ROLLBACK code path. No time to dig further >> r

Re: [HACKERS] [trivial patch] typo in doc/src/sgml/sepgsql.sgml

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 1:45 PM, Alvaro Herrera wrote: > Excerpts from Christoph Berg's message of mié feb 15 12:16:52 -0300 2012: >> Re: Robert Haas 2012-02-15 >> >> > Fixed, but note that I had to recreate the patch by manual >> > examination. Including it inline tends to garble things. >> >>

Re: [HACKERS] [v9.2] Add GUC sepgsql.client_label

2012-02-15 Thread Robert Haas
On Sun, Feb 5, 2012 at 4:09 AM, Kohei KaiGai wrote: > The attached part-1 patch moves related routines from hooks.c to > label.c because of references to static variables. I have committed this part. Seems like a better location for that code, anyhow. -- Robert Haas EnterpriseDB: http://www.en

Re: [HACKERS] client performance v.s. server statistics

2012-02-15 Thread Amit Kapila
>>So I want to know what exactly the operations are involved in the server side statistics in EXPLAIN ANALYZE It gives the time for execution of Query on server. According to my knowledge, it doesn't account for data to send over TCP. From: Zhou Han [mailto:zhou...@gmail.com] Sent: Wednesday,

Re: [HACKERS] client performance v.s. server statistics

2012-02-15 Thread Amit Kapila
>>So, is it client interface (ODBC, libpq) 's cost mainly due to TCP? The difference as compare to your embedded DB you are seeing is mainly seems to be due to TCP. One optimization you can use is to use Unix-domain socket mode of PostgreSQL. You can refer unix_socket_directory parameter in po

Re: [HACKERS] [trivial patch] typo in doc/src/sgml/sepgsql.sgml

2012-02-15 Thread Alvaro Herrera
Excerpts from Christoph Berg's message of mié feb 15 12:16:52 -0300 2012: > Re: Robert Haas 2012-02-15 > > > Fixed, but note that I had to recreate the patch by manual > > examination. Including it inline tends to garble things. > > Hmm, I thought I had :set paste and everything... If you copi

Re: [HACKERS] run GUC check hooks on RESET

2012-02-15 Thread Robert Haas
On Sat, Feb 11, 2012 at 1:36 PM, Kevin Grittner wrote: > "Kevin Grittner"  wrote: > Tom Lane wrote: > >>> I agree it's a bug that you can do what Kevin's example shows. >> >> I'll look at it and see if I can pull together a patch. > > Attached. > > Basically, if a GUC has a check function, this pa

Re: [HACKERS] Different gettext domain needed for error context

2012-02-15 Thread Tom Lane
Heikki Linnakangas writes: > To fix this, we need to somehow pass the caller's text domain to > errcontext(). The most straightforward way is to pass it as an extra > argument. Ideally, errcontext() would be a macro that passes TEXTDOMAIN > to the underlying function, so that you don't need to

[HACKERS] REASSIGN OWNED lacks support for FDWs

2012-02-15 Thread Tom Lane
As per http://archives.postgresql.org/pgsql-general/2012-02/msg00304.php there is no switch case in shdepReassignOwned for foreign data wrappers. The obvious short-term answer (and probably the only back-patchable one) is to add a case for that object type. But after all the refactoring that's be

[HACKERS] pg_upgrade message

2012-02-15 Thread Peter Eisentraut
pg_upgrade prints something like this: Restoring user relation files /var/lib/postgresql/8.4/main/base/35338/37229 But it's not actually "restoring" anything, is it? Maybe "transferring" would be better? (Or copying/linking, to be more precise.) -- Sent via pgsql-hackers mailing list (pgsq

Re: [HACKERS] bitfield and gcc

2012-02-15 Thread Robert Haas
On Mon, Feb 13, 2012 at 5:38 AM, Marti Raudsepp wrote: > On Sat, Feb 11, 2012 at 01:54, Gaetano Mendola wrote: >> I wonder if somewhere in Postgres source "we" are relying on the GCC >> "correct behaviour" regarding the read-modify-write of bitfield in >> structures. > > Probably not. I'm pretty

Re: Scaling XLog insertion (was Re: [HACKERS] Moving more work outside WALInsertLock)

2012-02-15 Thread Fujii Masao
On Thu, Feb 16, 2012 at 1:01 AM, Heikki Linnakangas wrote: > On 13.02.2012 19:13, Fujii Masao wrote: >> >> On Mon, Feb 13, 2012 at 8:37 PM, Heikki Linnakangas >>  wrote: >>> >>> On 13.02.2012 01:04, Jeff Janes wrote: Attached is my quick and dirty attempt to set XLP_FIRST_IS_CONTRE

Re: [HACKERS] CUDA Sorting

2012-02-15 Thread Marti Raudsepp
On Mon, Feb 13, 2012 at 20:48, Greg Stark wrote: > I don't think we should be looking at either CUDA or OpenCL directly. > We should be looking for a generic library that can target either and > is well maintained and actively developed. I understand your point about using some external library f

Re: [HACKERS] Command Triggers

2012-02-15 Thread Robert Haas
On Tue, Feb 14, 2012 at 4:29 PM, Dimitri Fontaine wrote: >>> An ack about the way it's now implemented would be awesome > I'm still missing that, which is only fair, just a ping from me here. I took a brief look at this just now, and in general I'm pleasantly surprised. But, as you might imagine

Re: [HACKERS] pg_test_fsync performance

2012-02-15 Thread Magnus Hagander
On Wed, Feb 15, 2012 at 16:14, Bruce Momjian wrote: > On Wed, Feb 15, 2012 at 09:54:04AM +0100, Magnus Hagander wrote: >> On Wed, Feb 15, 2012 at 02:23, Bruce Momjian wrote: >> > On Wed, Feb 15, 2012 at 01:35:05AM +0200, Marko Kreen wrote: >> >> On Tue, Feb 14, 2012 at 05:59:06PM -0500, Tom Lane

Re: Scaling XLog insertion (was Re: [HACKERS] Moving more work outside WALInsertLock)

2012-02-15 Thread Heikki Linnakangas
On 13.02.2012 19:13, Fujii Masao wrote: On Mon, Feb 13, 2012 at 8:37 PM, Heikki Linnakangas wrote: On 13.02.2012 01:04, Jeff Janes wrote: Attached is my quick and dirty attempt to set XLP_FIRST_IS_CONTRECORD. I have no idea if I did it correctly, in particular if calling GetXLogBuffer(Curr

Re: [v9.2] LEAKPROOF attribute of FUNCTION (Re: [HACKERS] [v9.2] Fix Leaky View Problem)

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 6:14 AM, Kohei KaiGai wrote: > The attached patch is additional regression tests of ALTER FUNCTION with > LEAKPROOF based on your patch. > It also moves create_function_3 into the group with create_aggregate and so > on. Committed, thanks. -- Robert Haas EnterpriseDB: h

[HACKERS] [Bug fix] postmaster always crashes on a debug version of Windows

2012-02-15 Thread MauMau
Hello I encountered a bug which always causes PostgreSQL to crash on Windows. Attached is a patch that fixes it. Please review it and include it in the upcoming minor releases of supported versions. The following is a bug report. Your name :MauMau Your email address :maumau...@gmail.com

Re: [HACKERS] Bugs/slowness inserting and indexing cubes

2012-02-15 Thread Tom Lane
Alexander Korotkov writes: > On Wed, Feb 15, 2012 at 4:26 PM, Heikki Linnakangas < > heikki.linnakan...@enterprisedb.com> wrote: >> So, I think we should go with your original fix and simply do nothing in >> gistRelocateBuildBuffersOnSpli**t() if the page doesn't have a buffer. > I agree. OK, I

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 8:29 AM, Peter Geoghegan wrote: > Cool. I agree that we should do this. It doesn't need to be justified > as a performance optimisation - it makes sense to refactor in this > way. If that makes things faster, then so much the better. Well, maybe so, but I think if the perf

Re: [HACKERS] pg_test_fsync performance

2012-02-15 Thread Bruce Momjian
On Tue, Feb 14, 2012 at 08:23:10PM -0500, Bruce Momjian wrote: > On Wed, Feb 15, 2012 at 01:35:05AM +0200, Marko Kreen wrote: > > On Tue, Feb 14, 2012 at 05:59:06PM -0500, Tom Lane wrote: > > > Bruce Momjian writes: > > > > On Mon, Feb 13, 2012 at 08:28:03PM -0500, Tom Lane wrote: > > > >> +1, I w

Re: [HACKERS] [trivial patch] typo in doc/src/sgml/sepgsql.sgml

2012-02-15 Thread Christoph Berg
Re: Robert Haas 2012-02-15 > Fixed, but note that I had to recreate the patch by manual > examination. Including it inline tends to garble things. Hmm, I thought I had :set paste and everything... > > (It is unclear to me why the same example is cited twice here, but the > > text around them is

Re: [HACKERS] pg_test_fsync performance

2012-02-15 Thread Bruce Momjian
On Wed, Feb 15, 2012 at 09:54:04AM +0100, Magnus Hagander wrote: > On Wed, Feb 15, 2012 at 02:23, Bruce Momjian wrote: > > On Wed, Feb 15, 2012 at 01:35:05AM +0200, Marko Kreen wrote: > >> On Tue, Feb 14, 2012 at 05:59:06PM -0500, Tom Lane wrote: > >> > Bruce Momjian writes: > >> > > On Mon, Feb

Re: [HACKERS] pgsql_fdw, FDW for PostgreSQL server

2012-02-15 Thread Kohei KaiGai
Harada-san, I checked the v9 patch, however, it still has some uncertain implementation. [memory context of tuple store] It calls tuplestore_begin_heap() under the memory context of festate->scan_cxt at pgsqlBeginForeignScan. On the other hand, tuplestore_gettupleslot() is called under the memory

Re: [HACKERS] [trivial patch] typo in doc/src/sgml/sepgsql.sgml

2012-02-15 Thread Robert Haas
On Wed, Feb 15, 2012 at 5:38 AM, Christoph Berg wrote: > diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml > index e45c258..ee0a255 100644 > *** a/doc/src/sgml/sepgsql.sgml > --- b/doc/src/sgml/sepgsql.sgml > *** UPDATE t1 SET x = 2, y = md5sum(y) WHERE > *** 358,364 *

Re: [HACKERS] Bugs/slowness inserting and indexing cubes

2012-02-15 Thread Alexander Korotkov
On Wed, Feb 15, 2012 at 4:26 PM, Heikki Linnakangas < heikki.linnakan...@enterprisedb.com> wrote: > Actually, I think it made sense to simply do nothing if the buffer doesn't > exist. The algorithm doesn't require that all the buffers must exist at all > times. It is quite accidental that whenever

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-02-15 Thread Peter Geoghegan
On 15 February 2012 06:16, Robert Haas wrote: > On Fri, Feb 10, 2012 at 10:30 AM, Peter Geoghegan > wrote: >> [ new patch ] > > I spent quite a bit of time looking at this today - the patch > specifically, and the issue of making quicksort fast more generally. > It seemed to me that if we're goi

Re: [HACKERS] Bugs/slowness inserting and indexing cubes

2012-02-15 Thread Heikki Linnakangas
On 15.02.2012 10:18, Alexander Korotkov wrote: On Wed, Feb 15, 2012 at 2:54 AM, Tom Lane wrote: Alexander Korotkov writes: ITSM, I found the problem. This piece of code is triggering an error. It assumes each page of corresponding to have initialized buffer. That should be true because we'

Re: [HACKERS] pgsql_fdw, FDW for PostgreSQL server

2012-02-15 Thread Etsuro Fujita
(2012/02/14 23:50), Tom Lane wrote: > Shigeru Hanada writes: >> (2012/02/14 17:40), Etsuro Fujita wrote: >>> As discussed at >>> that thread, it would have to change the PlanForeignScan API to let the >>> FDW generate multiple paths and dump them all to add_path instead of >>> returning a FdwPlan

Re: [HACKERS] controlling the location of server-side SSL files

2012-02-15 Thread Peter Eisentraut
On ons, 2012-02-08 at 09:16 +0100, Magnus Hagander wrote: > > My best idea at the moment is that we should set these parameters to > > empty by default, and make users point them to existing files if they > > want to use that functionality. Comments? > > > > +1. Anybody who actually cares about s

Re: [v9.2] LEAKPROOF attribute of FUNCTION (Re: [HACKERS] [v9.2] Fix Leaky View Problem)

2012-02-15 Thread Kohei KaiGai
The attached patch is additional regression tests of ALTER FUNCTION with LEAKPROOF based on your patch. It also moves create_function_3 into the group with create_aggregate and so on. Thanks, 2012/2/14 Kohei KaiGai : > 2012/2/14 Robert Haas : >> On Tue, Feb 14, 2012 at 4:55 AM, Kohei KaiGai wrot

[HACKERS] [trivial patch] typo in doc/src/sgml/sepgsql.sgml

2012-02-15 Thread Christoph Berg
diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml index e45c258..ee0a255 100644 *** a/doc/src/sgml/sepgsql.sgml --- b/doc/src/sgml/sepgsql.sgml *** UPDATE t1 SET x = 2, y = md5sum(y) WHERE *** 358,364 In this case we must have db_table:select in additio

[HACKERS] Different gettext domain needed for error context

2012-02-15 Thread Heikki Linnakangas
I just noticed that we use the same gettext domain for all messages attached to one error. That is wrong in case of context information, where you have a stack of context lines, originating from different modules. The result is that context lines don't always get translated. For example: post

Re: [HACKERS] pg_test_fsync performance

2012-02-15 Thread Magnus Hagander
On Wed, Feb 15, 2012 at 02:23, Bruce Momjian wrote: > On Wed, Feb 15, 2012 at 01:35:05AM +0200, Marko Kreen wrote: >> On Tue, Feb 14, 2012 at 05:59:06PM -0500, Tom Lane wrote: >> > Bruce Momjian writes: >> > > On Mon, Feb 13, 2012 at 08:28:03PM -0500, Tom Lane wrote: >> > >> +1, I was about to su

Re: [HACKERS] Bugs/slowness inserting and indexing cubes

2012-02-15 Thread Alexander Korotkov
On Wed, Feb 15, 2012 at 2:54 AM, Tom Lane wrote: > Alexander Korotkov writes: > > ITSM, I found the problem. This piece of code is triggering an error. It > > assumes each page of corresponding to have initialized buffer. That > should > > be true because we're inserting index tuples from up to