[BUGS] BUG #2723: Provider / driver connection for VB.NET

2006-10-26 Thread Simon
The following bug has been logged online: Bug reference: 2723 Logged by: Simon Email address: [EMAIL PROTECTED] PostgreSQL version: 8.0 - 1.2.1 Operating system: windows XP Description:Provider / driver connection for VB.NET Details: Hello, I'm Simon I beg for

Re: [BUGS] BUG #1335: Wrong sort result in union queries

2004-12-01 Thread simon
ed output. If you wish, you may use UNION ALL, which avoids the DISTINCT step, but this would not guarantee that the ordering would be anything at all, as before. Bottom line: If you care about the ordering of rows returned by a query, you should use ORDER BY to specify the desired result

[BUGS] BUG #5664: index "idx000_mytable19" contains unexpected zero page

2010-09-19 Thread simon
The following bug has been logged online: Bug reference: 5664 Logged by: simon Email address: xuboc...@163.com PostgreSQL version: 8.3.11 Operating system: suse 10 Linux omu 2.6.16.60-0.54.5-bigsmp #1 SMP Fri Sep Description:index "idx000_mytable19"

Re: [BUGS] BUG #4276: Feature request aggregate indexes

2008-07-08 Thread Simon Riggs
good idea. It is already on the TODO, described as "materialized views", though I like your name for it also, since that is the main use case. http://www.postgresql.org/docs/faqs.TODO.html -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-b

Re: [BUGS] BUG #4294: XML support: name() xpath function not working

2008-07-10 Thread Simon Riggs
http://myns.com/ns']]) from test; > -- bad > select xpath('name(/my:a/*[last()])', test, ARRAY[ARRAY['my', > 'http://myns.com/ns']]) from test; What error messages are you getting? Why do you think this should work? Best post a test case using another tool,

Re: [BUGS] Hmm, nodeUnique doesn't really support backwards scan too well

2008-08-05 Thread Simon Riggs
ves.postgresql.org/pgsql-bugs/1998-06/msg00049.php My perceptions may not match others... -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] Hmm, nodeUnique doesn't really support backwards scan too well

2008-08-05 Thread Simon Riggs
On Tue, 2008-08-05 at 18:00 -0500, Jaime Casanova wrote: > On 8/5/08, Tom Lane <[EMAIL PROTECTED]> wrote: > > Simon Riggs <[EMAIL PROTECTED]> writes: > > > I've never seen anyone scan backwards like this at all in practical use. > > > > &

Re: [BUGS] [ADMIN] Postgres Stats after Crash Recovery

2008-09-25 Thread Simon Riggs
| 0 > n_live_tup | 162 > n_dead_tup | 0 > last_vacuum | > last_autovacuum | > last_analyze | 2008-09-24 15:13:13.423424-04 > last_autoanalyze | > > > So question i have is, is this normal operation,why we need to analyze > twice to updates

Re: [BUGS] Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)

2009-01-05 Thread Simon Riggs
selessly. If idle, it shouldn't even > appear > in powertop's profile. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: Bug#506196: [BUGS] Debian Bug#506196: postgresql: consume too much power when idle (>10 wakeups/second)

2009-01-05 Thread Simon Riggs
On Mon, 2009-01-05 at 12:21 +0100, Martin Pitt wrote: > Hi Simon, > > Simon Riggs [2009-01-05 10:57 +]: > > Is this 11 per minute, or 11 per second? > > Per second. Seems consistent with wal_writer_delay = 200ms and bgwriter_delay = 200ms, plus some other minor nois

Re: [BUGS] PANIC: failed to re-find parent key in "100924" for split pages 1606/1673

2009-01-08 Thread Simon Riggs
ouldn't prevent us from restarting the whole server. Plus, if we have to use pg_resetxlog to get us out of trouble it isn't going to help much with diagnosis. We can rebuild indexes once server is up. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support

Re: [BUGS] PANIC: failed to re-find parent key in "100924" for split pages 1606/1673

2009-01-08 Thread Simon Riggs
ently. I'd rather have a database that works, but has a corrupt index than one that won't come up at all. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make c

Re: [BUGS] PANIC: failed to re-find parent key in "100924" for split pages 1606/1673

2009-01-08 Thread Simon Riggs
On Thu, 2009-01-08 at 14:19 -0500, Tom Lane wrote: > Simon Riggs writes: > > On Thu, 2009-01-08 at 13:40 -0500, Tom Lane wrote: > >> No, that seems utterly unsafe to me. We'd have a corrupt index and > >> nothing to cause it to get repaired. > > > We

Re: [BUGS] PANIC: failed to re-find parent key in "100924" for split pages 1606/1673

2009-01-08 Thread Simon Riggs
On Thu, 2009-01-08 at 15:04 -0500, Tom Lane wrote: > Simon Riggs writes: > > On Thu, 2009-01-08 at 14:19 -0500, Tom Lane wrote: > >> If the btree in question is a critical system index, your value of > >> "work" is going to be pretty damn small. > >

Re: [BUGS] BUG #4566: pg_stop_backup() reports incorrect STOP WAL LOCATION

2009-01-15 Thread Simon Riggs
eigh any likely > benefit. Agreed. It's too confusing the other way. The manual entry wasn't changed from my original submission unfortunately. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4566: pg_stop_backup() reports incorrect STOP WAL LOCATION

2009-01-15 Thread Simon Riggs
On Thu, 2009-01-15 at 12:43 -0500, Bruce Momjian wrote: > OK, do you have updated wording? We are not changing the code, so Heikki's wording is appropriate since it matches the code. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent v

[BUGS] BUG #4620: Unexpected(doc'd) side effects of using serial and rules

2009-01-18 Thread Simon Keen
The following bug has been logged online: Bug reference: 4620 Logged by: Simon Keen Email address: simon.k...@eglimited.co.uk PostgreSQL version: 8.3.5 Operating system: Ubuntu Linux Description:Unexpected(doc'd) side effects of using serial and rules Details

Re: [BUGS] BUG #4620: Unexpected(doc'd) side effects of using serial and rules

2009-01-19 Thread Simon Keen
access to NEW and OLD it means row level triggers and the performance issues they bring with changes in large numbers of rows. Cheers Simon Keen -Original Message- From: Tom Lane [mailto:t...@sss.pgh.pa.us] Sent: 18 January 2009 16:35 To: Simon Keen Cc: pgsql-bugs@postgresql.org Subject: Re

Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-07 Thread Simon Riggs
her than from the sequence of actions. A more useful thing might be to do an xlog switch before we do the shutdown checkpoint at end of recovery. That gives the same sequence of actions without modifying the existing sequence of activities for backups, which is delicate enough for me to not want t

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-07 Thread Simon Riggs
On Thu, 2009-05-07 at 17:54 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > On Thu, 2009-05-07 at 12:15 +0300, Heikki Linnakangas wrote: > > > >> Yeah, I think you're right. If you omit pg_xlog from the base backup, > >> as we recommend in the ma

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-07 Thread Simon Riggs
s fragile and I would prefer a more explicit solution. Recording the timeline history permanently with each server would be a sensible and useful thing (IIRC DB2 does this). -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailin

Re: [BUGS] BUG #4801: Performance failure: 600 MB written to each WAL log

2009-05-08 Thread Simon Riggs
eSQL on a new BSD version, but if you upgrade PostgreSQL and use VACUUM instead you will see improvement. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscript

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
ot enough, since findNewestTimeLine() is > still based on the premise that *all* the history files exist. > So, as Simon says, we should clearly say that a history file > must not be deleted from the archive. Or, we should create > a new solution. I will feel safer if we keep history

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
we just access the appropriate local directory. Call it pg_history or pg_timeline etc.. Not under pg_xlog! There is no particular reason to send history files to the archive, since new ones are only ever generated at the end of an archive recovery. Now that we increment the timeline more oft

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
On Fri, 2009-05-15 at 12:56 +0100, Simon Riggs wrote: > There is no particular reason to send history files to the archive, > since new ones are only ever generated at the end of an archive > recovery. It also clears up a long standing confusion between backup history files and timelin

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
x27;s document that timeline files should not be deleted from the archive iff there exists a base backup made during a lower numbered timeline. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
On Fri, 2009-05-15 at 15:41 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > On Fri, 2009-05-15 at 12:56 +0100, Simon Riggs wrote: > > > >> There is no particular reason to send history files to the archive, > >> since new ones are only ever g

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
in a > > WAL file that contains records from a lower numbered timeline. > > Ah, sorry. No worries. Thanks for reporting the original bug and for staying involved while we think of how to handle the problems it highlights. -- Simon Riggs www.2ndQuadrant.com Postgr

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
blem and the rules by which we can work out exactly which history files to keep, I think it is safer to say that we must keep all history files. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postg

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
docs. What would be the objection to that? And you guys wonder why I get frustrated trying to fix things. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
On Fri, 2009-05-15 at 17:39 +0300, Heikki Linnakangas wrote: > > We've asked for some additional docs. What would be the objection to > > that? > > I'm certainly not opposed to improving docs. OK, so will you update the docs as requested? -- Simon Riggs

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
's one reason for all the debate. No problem in receiving feedback, just want to be able to understand it sufficiently well to be able to enhance it. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@p

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
't even begun to think of what such tools might look like. That's OK. Wanting it to be different is the first step. I want to improve it as well, though without removing features. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgs

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-15 Thread Simon Riggs
better if there was a section on remvong files from the archive. Do I really need to write a patch to say that, have you formally review it, then change the wording to what you would have written in the first place and then commit? Really? How many years do all of us have to work together befo

Re: [HACKERS] Re: [BUGS] BUG #4796: Recovery followed by backup creates unrecoverable WAL-file

2009-05-16 Thread Simon Riggs
umentation's rather offhand > statement about this, Cool > but let's clarify it correctly. Of course. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking

2009-06-10 Thread Simon Bertrang
e but use -Wl,-Bdynamic instead. This became necessary with 8.4, otherwise psql won't start because lazy binding fails. The good news though is that i'm running 8.4beta2 successfully on -current OpenBSD/amd64 with this. Kind regards, Simon Inde

Re: [BUGS] BUG #4848: Encoding is incompatible with template database

2009-06-10 Thread Simon Bertrang
and how to solve it? > Not sure if this is a bug (i've seen it too) but you can solve it by using template0: $ createdb -E UTF8 -T template0 foo Regards, Simon -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] Re: patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking

2009-06-10 Thread Simon Bertrang
On Wed, Jun 10, 2009 at 02:19:30PM +0100, Greg Stark wrote: > On Wed, Jun 10, 2009 at 10:25 AM, Simon Bertrang wrote: > > > > the following patch does two things on OpenBSD: > > Thank you. > > > >  1) Add missing libs to the krb5/com_err check that are required.

Re: [BUGS] Re: patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking

2009-06-10 Thread Simon Bertrang
... it does have kerberos > enabled ... > Indeed a good question. I'm comparing the config and build logs but nothing jumped into my face yet. I should fire up my sparc64 to have the same arch as spoonbill for comparison... configure flags differ too... i'll let you know whe

Re: [BUGS] Re: patch to fix configure(.in) on openbsd wrt/ krb5/com_err and readline linking

2009-06-10 Thread Simon Bertrang
On Wed, Jun 10, 2009 at 05:20:00PM +0200, Simon Bertrang wrote: > On Wed, Jun 10, 2009 at 10:05:36AM -0400, Tom Lane wrote: > > Greg Stark writes: > > > This seems really weird. Firstly, doesn't OpenBSD use ELF? Shouldn't > > > the library pull in the indi

Re: [BUGS] [HACKERS] Cannot use all four trigger events at once

2009-06-17 Thread Simon Riggs
fferent trigger > event types. Patch attached. Thanks for fixing Greg. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
x86_64 > Description:bgwriter fails to fsync the file in recovery mode > Details: Looking at it now. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
ents of startup's pendingOpsTable will be ignored. That looks to me to be a serious bug. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgre

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
n lose data when an > archive recovery crashes after a restartpoint. Yes, that's what I see also. Patch attached. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support Index: src/backend/access/transam/xlog.c

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
is coded. 2PC seems to assume that if a file still exists we must be in recovery and its OK to ignore. Clean? We've changed the conditions under which the unlink needs to be registered and !InArchiveRecovery defines the changed conditions precisely. -- Simon Riggs www.2ndQu

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
course, to avoid derailing the schedule. Please define "temporarily". Will it be re-enabled in 8.4.1, assuming we find an acceptable fix? > It's > obviously not been adequately thought through or tested. Hmmm... -- Simon Riggs www.2ndQuadrant.com PostgreSQL

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
CKPOINT_IS_SHUTDOWN | CHECKPOINT_FORCE | CHECKPOINT_WAIT) else should make the startup process wait for bgwriter to complete the checkpoint. But we need to set LocalRecoveryInProgress appropriately also. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, S

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
> restartpoint, which will flush any fsync requests bgwriter has > accumulated, before doing the actual checkpoint in the startup > process. That looks fine. > This is completely untested still, but does anyone immediately see any > more problems? Nothing seen. -- Simon Riggs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 19:20 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > > But we need to set LocalRecoveryInProgress appropriately > > also. > > Yeah, the trouble is to tell bgwriter that it's OK for it to create the > checkpoint, which includes w

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
is now. I didn't read the parts of the patch that were described as being from my patch. Heikki, please tell me if you change things... it means I have to be both patch author and reviewer. Perhaps just separate patches, so we can review them independently. -- Simon Riggs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 12:43 -0400, Tom Lane wrote: > What about "revert the patch"? That's probably just as dangerous. Much easier to just avoid that state altogether, if you must. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
to cause the final mdsync to fail? > > Yes, I just noticed that myself, testing it for the first time. That > check needs to be suppressed in the startup checkpoint. Better to do it as it was in my patch. We can turn off/on then. -- Simon Riggs www.2ndQuadrant.com PostgreSQ

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
ily true for some reason, but it doesn't sound like it is a safe assumption. I would guess it's using isRedo as an implicit override rather than using the correct meaning of the variable. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
eems we should correct the caller rather than change the API and potentially effect all callers. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 21:59 +0300, Heikki Linnakangas wrote: > I think my initial analysis of this bug was bogus. Perhaps, but the pendingOpsTable issue is a serious one, so we haven't wasted our time by fixing it. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training,

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 15:10 -0400, Tom Lane wrote: > Are you (Heikki and Simon) in a position to finish these things today? Certainly will try. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-b

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
n accumulating such requests. > * need to do something about IsRecovery tests that will now be executed > in bgwriter Yes > * need to fix mistaken code in FinishPreparedTransaction Yes -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent vi

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
ecovery can also be replaced by RecoveryIsInProgress() So, yes, there are some places where InRecovery is used in code executed by the bgwriter, but the correct fix is to use RecoveryIsInProgress(). It is a hack to try to set the InRecovery state flag in bgwriter and one that would change the clea

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
r point of how we code the fix to the bug we do have. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 17:11 -0400, Tom Lane wrote: > Simon Riggs writes: > > So, yes, there are some places where InRecovery is used in code executed > > by the bgwriter, but the correct fix is to use RecoveryIsInProgress(). > > Agreed, but this gets us no closer to sol

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
e its way to disk. The code in 8.4 does a few things to improve that but the base problem persists and revoking code won't change that. We should describe the issue in the docs and leave it at that - there is no particular reason to believe anybody would want to do such a thing. -- Simon Riggs

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
hy any of this has been done. At this stage of RC, I expected you to post the patch and have the other 2 people working actively on this issue review it before you commit. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-bugs mailin

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 18:40 -0400, Tom Lane wrote: > Simon Riggs writes: > > On Fri, 2009-06-26 at 00:37 +0300, Heikki Linnakangas wrote: > >> Ok, I've committed the above fixes everyone agreed on. > > > At this stage of RC, I expected you to post the patch

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 19:16 -0400, Tom Lane wrote: > Simon Riggs writes: > > On the patch, the kluge to set InRecovery is unnecessary and confusing. > > I'll look into a better way to do that tonight. Did you have any > specific improvement in mind? Yes, all already m

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Thu, 2009-06-25 at 20:25 -0400, Tom Lane wrote: > Simon Riggs writes: > > On Thu, 2009-06-25 at 19:16 -0400, Tom Lane wrote: > >> Simon Riggs writes: > >>> On the patch, the kluge to set InRecovery is unnecessary and confusing. > >> > >> I&#x

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
> of the standby server, because that affects the failover time, for example. An important point. The update rate "should" be once per clock cycle at most and should occur in bgwriter not startup. If there is evidence of a problem then I would support reducing the update rate. The pur

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-25 Thread Simon Riggs
On Fri, 2009-06-26 at 05:14 +0100, Simon Riggs wrote: > On Thu, 2009-06-25 at 20:25 -0400, Tom Lane wrote: > > What I am thinking is that instead of the hack of clearing > > LocalRecoveryInProgress to allow the current process to write WAL, > > we should have a s

Re: [BUGS] BUG #4879: bgwriter fails to fsync the file in recovery mode

2009-06-30 Thread Simon Riggs
gt; This doesn't matter too much yet but it will for hot standby. IIUC you think it is safest to *not* write hint bits during Hot Standby? So we would treat all commits as async commits? -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent vi

[BUGS] GIN needs tonic

2009-09-14 Thread Simon Riggs
that the value of the node is unset. That means XLOG_GIN_INSERT_LISTPAGE always has specNode == 0 and so triggers the assertion failure. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www

Re: [BUGS] GIN needs tonic

2009-09-15 Thread Simon Riggs
On Tue, 2009-09-15 at 09:41 +0300, Heikki Linnakangas wrote: > Simon Riggs wrote: > > In recovery of GIN operations using CVS HEAD I see consistently > > > > TRAP: FailedAssertion("!(((bool) ((spcNode) != ((Oid) 0", File: > > "tablespace.c",

Re: [BUGS] GIN needs tonic

2009-09-15 Thread Simon Riggs
On Tue, 2009-09-15 at 14:31 -0400, Tom Lane wrote: > Simon Riggs writes: > > On Tue, 2009-09-15 at 09:41 +0300, Heikki Linnakangas wrote: > >> This means that the WAL replay of that record type has never been tested > >> correctly :-(. > > > This must have b

Re: [BUGS] GIN needs tonic

2009-09-15 Thread Simon Riggs
On Tue, 2009-09-15 at 15:34 -0400, Tom Lane wrote: > Simon Riggs writes: > > On Tue, 2009-09-15 at 14:31 -0400, Tom Lane wrote: > >> I've pointed out before that the regression tests are not particularly > >> meant to provide an exhaustive test of WAL recovery.

Re: [BUGS] GIN needs tonic

2009-09-15 Thread Simon Riggs
On Tue, 2009-09-15 at 12:09 -0400, Tom Lane wrote: > I'm working on this now. Thanks to you and Heikki for fixing this while I worked around it. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subs

[BUGS] Assertion failure on reload of GUC_SUPERUSER_ONLY parms

2009-10-03 Thread Simon Riggs
tion test for use in superuser(). -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] BUG #5344: pg_restore some foreign keys missing

2010-02-23 Thread Simon Ng
The following bug has been logged online: Bug reference: 5344 Logged by: Simon Ng Email address: simon94...@yahoo.com PostgreSQL version: 8.1.11 Operating system: RedHat Linux Description:pg_restore some foreign keys missing Details: from server1 with Postgres

Re: [BUGS] BUG #5357: PGAdmin: SQL Query Editor does not (always) open files

2010-03-02 Thread Simon Riggs
gadmin.org/support/list.php I think we need to work on a distribution mechanism for such requests, rather than trouble bug reporters with our bureaucracy. pgAdmin has been bundled with Postgres for some time now. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-bugs mailin

Re: [BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-10 Thread Simon Riggs
gt; WARNING: PD_ALL_VISIBLE flag was incorrectly set in relation > "pgbench_tellers" page 0 > WARNING: PD_ALL_VISIBLE flag was incorrectly set in relation > "pgbench_tellers" page 1 Understandable. Time to remove vacuum_defer_cleanup_age, I think. -- Simon R

Re: [BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-10 Thread Simon Riggs
, I propose removing it. Would you agree or disagree with the suggested removal? -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-10 Thread Simon Riggs
On Wed, 2010-03-10 at 17:55 -0500, Tom Lane wrote: > Simon Riggs writes: > >>> Time to remove vacuum_defer_cleanup_age, I think. > >> > >> Umm, so what's the bug? > > > Whether you call it a bug or just an annoyance is debatable, but the > &

Re: [BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-11 Thread Simon Riggs
On Wed, 2010-03-10 at 17:12 -0800, Josh Berkus wrote: > On 3/10/10 3:26 PM, Simon Riggs wrote: > > OK, that's enough to not remove it. I was aware of more negative > > thoughts and conscious of my own feelings about it being a kluge. > > Well, it *is* a kludge, but

Re: [BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-13 Thread Simon Riggs
a kluge, that's why. It's also my 3rd choice of solution behind fine-grained lock conflicts (1st) which would avoid many issues and master/standby in lock step (2nd). Having said that I'm much in favour of providing a range of options and then letting users tell us what w

[BUGS] LinuxPPC/PG 7.0.2 .ctl file handling and \i comment parsing

2000-08-02 Thread Simon Banton
POSTGRESQL BUG REPORT TEMPLATE Your name : Simon Banton Your email address : [EMAIL PROTECTED

Re: [BUGS] BUG #2511: violation of primary key on update with 2

2006-07-03 Thread Simon Riggs
roblem and so I'm not sure if people will spend time on trying to make that work. Use an indirect key or some other mechanism, such as Inserting into another table and renaming them. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com --

Re: [BUGS] query very slow when enable_seqscan=on

2006-07-03 Thread Simon Riggs
as a result of the regular expression comparison. As a result the planner thinks it can choose a nested loops scan, though ends up doing 1892 seq scans of persons, when it thought it would do only one. The under estimation is a known issue. Posting to -perform for the record. --

[BUGS] BUG #2521: pg_restore is hanging

2006-07-09 Thread Simon, Attila
The following bug has been logged online: Bug reference: 2521 Logged by: Simon, Attila Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.4 Operating system: MS Windows XP (the worst) Description:pg_restore is hanging Details: We have dumped a database with

Re: [BUGS] partial indexes not used on parameterized queries?

2006-07-10 Thread Simon Riggs
part of the query clause for all values of the parameter. So its best to look for some other static definition of the index. I'll submit a doc patch. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)--- TI

Re: [BUGS] partial indexes not used on parameterized queries?

2006-07-10 Thread Simon Riggs
said. I see no security problem as a result of this behaviour. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] BUG #2549: problem with NATURAL JOIN

2006-07-25 Thread Simon Riggs
rzelewu,id_zamowienia from zamowienia join przelew using (id_przelewu, matching_name_col1, ...) where id_klienta=4999; and could therefore provide a different answer. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)-

Re: [BUGS] Out of memory error during large hashagg

2006-09-19 Thread Simon Riggs
tats where attname = 'st_id'; select count(distinct st_id) from seed; and also the table definition, including the PK -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)--- TIP 1: if posting/

Re: [BUGS] Update using sub-select table in schema

2006-10-02 Thread Simon Riggs
lationname set name = ( >select name >from temp.a >where temp.a.id = correlationname.a.id > ) (which is definitely not allowed by SQL:2003) Having said all of that, its clearly a grey area so no need to change this as part of beta, since we could easily cause more wierdness

Re: [BUGS] BUG #2671: incorrect return value by RULE

2006-10-03 Thread Simon Riggs
rtitioning, as you know, but it does seem as if everybody else *is*. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq

Re: [BUGS] BUG #2671: incorrect return value by RULE

2006-10-03 Thread Simon Riggs
On Tue, 2006-10-03 at 13:56 -0400, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> writes: > > On Tue, 2006-10-03 at 11:04 -0400, Tom Lane wrote: > >> This is the long-ago-agreed-to behavior, see > >> http://www.postgresql.org/docs/8.1/static/rules-status.html &g

Re: [BUGS] Operator Classes and ANALYZE

2006-11-06 Thread Simon Riggs
ndex column doesn't match what we are getting * from the expression. Perhaps this can be fixed * someday, but for now, punt. */ It's in the analyze.c code, but not in the docs. Be interested in a full report of your research, once you're done. -- S

Re: [BUGS] Operator Classes and ANALYZE

2006-11-06 Thread Simon Riggs
al specifically says it doesn't do, therefore you'll need the analyze_function. That capability was put there deliberately to help you out, in this situation. > I don't think I need to write my own analyze function That is the solution, not a workaround. -- Simon Ri

Re: [BUGS] Operator Classes and ANALYZE

2006-11-06 Thread Simon Riggs
On Mon, 2006-11-06 at 15:54 -0700, Rusty Conover wrote: > I still think this is a deficiency in the analyze function to not use > the operator_class that the index uses when producing statistics for > that index. Agreed, but that isn't the way it works right now, AFAICS. TODO..

Re: [PERFORM] [BUGS] BUG #2737: hash indexing large table fails,while btree of same index works

2006-11-11 Thread Simon Riggs
) > addressing the last block it intends to use whenever it allocates a new > batch of blocks, whereupon md.c could adopt a saner API: allow > smgrextend but not other calls to address blocks beyond the current EOF. > Thoughts? Yes, do it. -- Simon Riggs EnterpriseDB http

Re: [PERFORM] [BUGS] BUG #2737: hash indexing large tablefails,while btree of same index works

2006-11-17 Thread Simon Riggs
d be good to brain dump some starting places for an investigation. Does anybody have a perf test that shows hash indexes beating btrees by any significant margin? (Not saying there isn't one...) I can see the argument that fixed hash indexes would be faster, but there are obviously major down

Re: [PERFORM] [BUGS] BUG #2737: hash indexing largetablefails,while btree of same index works

2006-11-17 Thread Simon Riggs
On Fri, 2006-11-17 at 08:26 -0600, Kenneth Marshall wrote: > I certainly hold out some hope that they can improved. I would like to see > them still included. Once they are gone, it will be much harder to ever > add them back. OK, you got it - keep hash indexes then. -- Si

[BUGS] BUG #3250: Different ResultSets btw JDBC Driver and pgAdmin3

2007-04-24 Thread Simon K
The following bug has been logged online: Bug reference: 3250 Logged by: Simon K Email address: [EMAIL PROTECTED] PostgreSQL version: 8.2 Operating system: Windows XP Description:Different ResultSets btw JDBC Driver and pgAdmin3 Details: when i execute this query

Re: [BUGS] BUG #3362: xlog corruption just after initdb on irix

2007-06-05 Thread Simon Riggs
/filesystem or the settings you've chosen for fsync and wal_fsync. If you shut it down cleanly, yet its flaky when it comes back up that doesn't sound too much like a database problem to me... -- Simon Riggs EnterpriseDB http://www.enterprisedb.com

  1   2   3   >