Re: [BUGS] Completely broken replica after PANIC: WAL contains references to invalid pages

2013-06-10 Thread Simon Riggs
, Andres. > > Are there any plans to commit this patch and what version it is going > to be done to? > > Thank you. I'll be committing this soon, since we're likely coming up to the next point release soon. Thanks for the reminder. -- Simon Riggs http://www

Re: [BUGS] BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica

2013-06-01 Thread Simon Riggs
ly tuned, as yet. Some room for improvement exists. In some cases, conscious choices were made to keep processing on master fast at the expense of speed on the standby. There doesn't seem to be anything which is in itself an error here. -- Simon Riggs http://www.2ndQuadrant

Re: [HACKERS] [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-06-01 Thread Simon Riggs
On 27 May 2013 15:31, Tom Lane wrote: > Simon Riggs writes: >> On 26 May 2013 17:10, Tom Lane wrote: >>> More readable would be to invent an intermediate nonterminal falling >>> between ColId and ColLabel, whose expansion would be "IDENT | >>&

Re: [HACKERS] [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-27 Thread Simon Riggs
o many people are bothered, since no complaints in 3 years. Documenting 'binary' seems better. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.

Re: [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-27 Thread Simon Riggs
{ > + $$ = makeDefElem($1, (Node *) > makeString("binary")); > + } So, no that doesn't work. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &

[BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-26 Thread Simon Riggs
n for that suggestion is that nobody ever reported this bug, so either few people use binary mode or they use the old syntax. Of course, that is not a normal suggestion, so feel free to walk up and down my spine with boots on for suggesting it. Thoughts? -- Simon Riggs http://

Re: [BUGS] Completely broken replica after PANIC: WAL contains references to invalid pages

2013-04-01 Thread Simon Riggs
an take some time till we reach consistency it seems rather plausible > that there now will be a gap in initilized pages. From > checkPoint.oldestActiveXid to running->nextXid if there are pages > inbetween. That was an old bug. StartupSUBTRANS() now explicitly fills th

Re: [BUGS] postgres 9.2.2 point conversion from polygon doesn't always give accurate center

2013-02-03 Thread Simon Riggs
st simply mistyped the coordinates... sriggs=# select point( polygon '((0,0),(0,1),(1,1),(1,0))'); point --- (0.5,0.5) (1 row) Your last point is a duplicate of the 2nd point, so you have a 4-pointed triangle and hence a strange centre. -- Simon Riggs http://

Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-15 Thread Simon Riggs
; NOREPLICATION allows neither option >> > Someone is working for it already ? > If not yet, may I try to implement it ? Please do. It looks fairly short. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -

Re: [BUGS] BUG #7803: Replication Problem(no master is there)

2013-01-11 Thread Simon Riggs
nly NOREPLICATION allows neither option -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- 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 #7803: Replication Problem(no master is there)

2013-01-11 Thread Simon Riggs
> this. Connection from a standby is disabled by default. Don't enable it... -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make cha

Re: [BUGS] BUG #7801: Streaming failover checkpoints much slower than master, pg_xlog space problems during db load

2013-01-08 Thread Simon Riggs
initdb install: > > shared_buffers = 8GB > work_mem = 64MB > maintenance_work_mem = 256MB > max_stack_depth = 8MB > wal_level = hot_standby > synchronous_commit = off > wal_buffers = 64MB > checkpoint_segments = 10 > checkpoint_completion_target = 0 > max_wal_senders =

Re: [BUGS] BUG #7752: FATAL btree error on PITR

2012-12-14 Thread Simon Riggs
ackup_label, that prevents normal > startup before the issue is resolved? Yes, I've thought about allowing recovery to skip corrupt indexes, but that feature hasn't been implemented yet. We'd need to track such things as recovery proceeds and then mark them as invalid

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
ely that we'd find out it is significant than > that we'd find out anybody could detect the lack of a memory barrier > there. Agreed. And any future logic to stop at a specific point will be exactly precise because the decision and action will be taken in same process. Patch l

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
On 5 December 2012 21:15, Tom Lane wrote: > Simon Riggs writes: >> On 5 December 2012 18:48, Tom Lane wrote: >>> On further thought, it seems like recovery_pause_at_target is rather >>> misdesigned anyway, and taking recovery target parameters from >>> recov

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
On 5 December 2012 18:48, Tom Lane wrote: > I wrote: >> Andres Freund writes: >>> On 2012-12-05 17:24:42 +, Simon Riggs wrote: >>>> So ISTM that we should make recoveryStopsHere() return false while we >>>> are inconsistent. Problems solved. >

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
On 5 December 2012 17:17, Simon Riggs wrote: > The recovery target and the consistency point are in some ways in > conflict. If the recovery target is before the consistency point there > is no point in stopping there, whether or not we pause. What we should > do is say "recove

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
n about whether to continue applying WAL. As Simon > mentioned, we seem to be lacking some infrastructure that would let > the user adjust the recovery_target parameters before resuming WAL > processing. But, assuming for the moment that our workaround for > that is "shutdown t

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
with things. You can, but by shutting down server, updating recovery target, then restarting server. That's not a beautiful design, its just waiting for someone to make recovery targets changeable, which is best done when recovery.conf parameters are in postgresql.conf -- Simon Riggs

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
On 5 December 2012 13:34, Simon Riggs wrote: > Aboriginal bug extends back to 9.0. I don't see any bug in 9.0 and 9.1, just 9.2+ -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
ke the attached. I've reworked pause logic along the lines you suggest. Attached here for further discussion. > This is not a regression because the pause logic is broken this same > way since 9.1. So I no longer think that we need a rewrap. I think we do need a rewrap, si

Re: [BUGS] PITR potentially broken in 9.2

2012-12-05 Thread Simon Riggs
So there's > something wrong/incomplete about that fix. > > This is a bit urgent since we now have to consider whether to withdraw > 9.2.2 and issue a hasty 9.2.3. Do we have a regression here since > 9.2.1, and if so how bad is it? I'll look at this now. -- Si

Re: [BUGS] BUG #7710: Xid epoch is not updated properly during checkpoint

2012-12-02 Thread Simon Riggs
On 2 December 2012 16:44, Tom Lane wrote: > Simon Riggs writes: >> On 2 December 2012 15:25, Tom Lane wrote: >>> This coding was ill-considered from the word go. > >> Agreed, but then I don't have a clear reason why it is that way and >> yet I'm sur

Re: [BUGS] BUG #7710: Xid epoch is not updated properly during checkpoint

2012-12-02 Thread Simon Riggs
t it needs to > change. OK. At least we have the minimal coding to fall back on if need be. > This coding was ill-considered from the word go. Agreed, but then I don't have a clear reason why it is that way and yet I'm sure I did it for some reason. -- Simon Riggs

Re: [BUGS] BUG #7710: Xid epoch is not updated properly during checkpoint

2012-12-02 Thread Simon Riggs
On 2 December 2012 12:51, Simon Riggs wrote: > On 1 December 2012 22:56, Tom Lane wrote: >> tar...@gmail.com writes: >>> [ txid_current can show a bogus value near XID wraparound ] >>> This happens only if wal_level=hot_standby. >> >> I bel

Re: [BUGS] BUG #7710: Xid epoch is not updated properly during checkpoint

2012-12-02 Thread Simon Riggs
ed to be solved in the right way, not by having a too-far-forwards nextxid on the checkpoint record. Having said that, I can't see any bugs that would be caused by this. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Servi

Re: [BUGS] BUG #7710: Xid epoch is not updated properly during checkpoint

2012-12-02 Thread Simon Riggs
t particular coding was pretty weird. Please change. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- 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 #7572: virtualxid lock held by bgwriter on promoted slaves

2012-11-29 Thread Simon Riggs
On 27 September 2012 22:29, Simon Riggs wrote: > On 26 September 2012 22:33, wrote: >> The following bug has been logged on the website: >> >> Bug reference: 7572 >> Logged by: Daniele Varrazzo >> Email address: daniele.varra...@gmail

Re: [BUGS] BUG #7627: Bad query plan when using LIMIT

2012-10-30 Thread Simon Riggs
scanning N rows with LIMIT M we must assume that the action relates in some way to N, rather than assuming the LIMIT is more and more effective as N/M increases. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- 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] Pg_stat_replication shows sync standby with flush location behind primary in 9.1.5

2012-10-03 Thread Simon Riggs
s the reported lag in flush location merely an artifact > of timing in the query, or is there something else going on? [1] The writing of new WAL is independent of the wait that occurs on commit, so it is entirely possible, even desirable, that the observed effect occurs. -- Simon Rigg

Re: [BUGS] BUG #7572: virtualxid lock held by bgwriter on promoted slaves

2012-09-27 Thread Simon Riggs
swapping the > table in the system catalog but I'm not sure about that yet. This one is mine I don't think its important we hold that lock, but will check. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & S

Re: [BUGS] BUG #6239: Looking for a technical contact point for PostgreSQL compatibility issue on Windows8

2012-09-01 Thread Simon Riggs
build farm that anybody can join, no fees, no restrictions. http://www.pgbuildfarm.org/cgi-bin/register-form.pl Community assistance would be available to help. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent vi

Re: [BUGS] BUG #6239: Looking for a technical contact point for PostgreSQL compatibility issue on Windows8

2012-08-31 Thread Simon Riggs
e a popular question. OTOH, we don't mention "tuned for the Linux 3 kernel", but then perhaps we should be doing that as well... -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- 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] primary and hot standby database don' work now

2012-07-29 Thread Simon Riggs
#x27;s something badly wrong with your WAL records. I'd suggest you move to a later version of 9.1 and retry. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgr

Re: [BUGS] BUG #6736: Hot-standby replica crashed after failover:

2012-07-17 Thread Simon Riggs
ported until end of recovery. That has now been changed to be reported earlier, so its clearer that this situation exists. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (

Re: [BUGS] BUG #6661: out-of-order XID insertion in KnownAssignedXids

2012-06-08 Thread Simon Riggs
So I can confirm the above patch fixes at least that bug. > > Andres Committed, with minor changes in wording of comments and error messages. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- 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 #6661: out-of-order XID insertion in KnownAssignedXids

2012-06-08 Thread Simon Riggs
On 7 June 2012 17:49, Andres Freund wrote: > A patch implementing that is attached. Unfortunately not really tested yet > because its kinda hard to hit that code-path. > > Valentine, can you test that patch? Patch looks good, so as soon as we confirm it we can apply. --

Re: [BUGS] BUG #6629: Creating a gist index fails with "too many LWLocks taken"

2012-05-11 Thread Simon Riggs
On 11 May 2012 17:48, Heikki Linnakangas wrote: > On 11.05.2012 18:18, Simon Riggs wrote: >> >> On 11 May 2012 15:14, Heikki Linnakangas >>  wrote: >>> >>> On 11.05.2012 16:56, Simon Riggs wrote: >>>> >>>> >>>> On 11 M

Re: [BUGS] BUG #6629: Creating a gist index fails with "too many LWLocks taken"

2012-05-11 Thread Simon Riggs
On 11 May 2012 15:14, Heikki Linnakangas wrote: > On 11.05.2012 16:56, Simon Riggs wrote: >> >> On 11 May 2012 11:07, Heikki Linnakangas >>  wrote: >> >>> I wonder if we should reserve a few of the lwlock "slots" for critical >>> section

Re: [BUGS] BUG #6629: Creating a gist index fails with "too many LWLocks taken"

2012-05-11 Thread Simon Riggs
ivial > to reserve a few slots. Why reserve them solely for critical sections? What is the downside from having >100 slots for general use. ISTM we should have 250 slots and log a warning if we ever hit 50 or more. --  Simon Riggs   http://www.2ndQuadrant.com/  Postgr

Re: [BUGS] in hot standby database execute select * from pg_class indicate error

2012-05-10 Thread Simon Riggs
Run REINDEX on the primary server. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- 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 #6619: Misleading output from slave when host is not running

2012-04-27 Thread Simon Riggs
mething on the master is a little misleading with respect to timing. However, if the master and the standby aren't even connected and you know that, how did you expect there to be a causal link between the setting on the master and the state of the standby? What do you suggest the messages say? --

Re: [BUGS] BUG #6204: Using plperl functions generate crash

2012-04-19 Thread Simon Willett
s is really good news. Thank you. Simon -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6204-Using-plperl-functions-generate-crash-tp4802111p5652595.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mai

Re: [BUGS] BUG #6204: Using plperl functions generate crash

2012-04-10 Thread Simon Willett
2 bit - Enterprise DB download ActiveState version string: This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread Is there a recommended way to solve this issue, has it been fixed in a later release? Simon Willett -- View this message in context: http://postgresql.10456

Re: [BUGS] BUG #6425: Bus error in slot_deform_tuple

2012-02-04 Thread Simon Riggs
is entitled to keep accessing > that tuple with only a buffer pin.  So the existing code transiently > wipes the data from underneath the other backend's pin. > > It's clear how this explains the symptoms Yes, that looks like the murder weapon. --  Simon Riggs  

Re: [BUGS] pg_archivecleanup outputs errors messages which are not error messages per se

2012-01-09 Thread Simon Riggs
ug, since that allows the messages to appear in the PG log when the utility is used as an archive_cleanup_command. If you'd like to submit a patch to allow -s mode (silent) or similar, we'd be happy to receive it. --  Simon Riggs   http://www.2ndQuadrant.com/  Postgre

Re: [BUGS] Incorrect comment in heapam.c

2011-12-20 Thread Simon Riggs
defined in access/htup.h...should it be? IMHO comment is wrong, code is in the right place. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make change

Re: [BUGS] BUG #6307: intarray extention gin index does not work with Hot standby

2011-11-27 Thread Simon Riggs
types of GIN indexes.  Will fix. Great detective work Tom as ever, much appreciated. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to

Re: [BUGS] BUG #6307: intarray extention gin index does not work with Hot standby

2011-11-25 Thread Simon Riggs
good to get more info on this before I start investigating. Thanks --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription:

Re: [BUGS] BUG #6269: Anomaly detection

2011-10-26 Thread Simon Riggs
h results to be reproduced. If problems do exist, we will be very interested. There are many people here that would be happy to help if you find problems, so please don't be put off by these responses to your work. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Dev

Re: [BUGS] BUG #6264: Superuser does not have inherent Replication permission

2011-10-25 Thread Simon Riggs
. > > This part I agree with - it makes sense for ALTER to set both flags > when it enables superuser. +1 Change the behaviour to match the docs makes most sense to me. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- 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] char(0)

2011-10-17 Thread Simon Riggs
On Mon, Oct 17, 2011 at 8:31 AM, Susanne Ebrecht wrote: > PostgreSQL isn't supporting CHAR(0). What does the SQL Standard say? --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing

Re: [BUGS] BUG #6200: standby bad memory allocations on SELECT

2011-09-09 Thread Simon Riggs
ing related to how we navigate hot chains with/without killed tuples. i.e. the bug is not actually HS related, but is only observed under conditions typical in HS. HS touches almost nothing else in user space, apart from snapshots. So there could be a bug there also, maybe in CopySnapshot(). --  

Re: [BUGS] BUG #6167: pg_dump fails on table lock

2011-08-18 Thread Simon Riggs
with the attempt to dump the table. Exclude the tables you don't wish to have dumped using command line options. I don't think we will put in an option to silently exclude missing tables, not least because it would be technically difficult. --  Simon Riggs   http:/

Re: [BUGS] BUG #6136: Perfomance dies when using PK on 64-bit field

2011-08-01 Thread Simon Riggs
On Mon, Aug 1, 2011 at 8:25 AM, simon wrote: > Could be that its storing the wrong kind of plan on the RI trigger for PK. No, not that. Will look elsewhere. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- S

Re: [BUGS] BUG #6136: Perfomance dies when using PK on 64-bit field

2011-08-01 Thread Simon Riggs
ings - nothing helped, only drop > helps. Sounds weird. Looking at this now. Could be that its storing the wrong kind of plan on the RI trigger for PK. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- Sent via

Re: [BUGS] BUG #6094: Streaming replication does not catch up when writing enough data

2011-07-07 Thread Simon Riggs
r error. If you can provide a more isolated bug report we may be able to investigate. This is being discussed in a thread on the General list and there is no reason to post twice. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Train

Re: [BUGS] BUG #6041: Unlogged table was created bad in slave node

2011-06-06 Thread Simon Riggs
ven manage to read out the old contents (modulo > any fun and exciting XID wraparound issues).  But the problem is of > course more noticeable for unlogged tables since they're not hidden > away in a special funny schema. Seems like you're trying to fix the problem direct

Re: [BUGS] BUG #6042: unlogged table with Streaming Replication

2011-05-27 Thread Simon Riggs
of robustness. --  Simon Riggs   http://www.2ndQuadrant.com/  PostgreSQL Development, 24x7 Support, Training & Services -- 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] Warm Standby startup process unconditionally hangs

2011-03-23 Thread Simon Riggs
ks clear from here. What I'm stunned about is that we've not had a report about this before now. (You replied there had been one). ProcSendSignal() doesn't do anything at all when called with the Startup proc's pid, because BackendPidGetProc() returns NULL. The root cause appears t

Re: [BUGS] BUG #5938: PostgreSQL Installer outputs log file with superuser password in clear text

2011-03-22 Thread Simon Riggs
get a rating so we know what we're dealing with The problem is that the password is disclosed in a surprising way. .pgpass files are explicitly put there by a user, so they know what they've done. Putting a password in cleartext somewhere is an issue if people don't

Re: [BUGS][PATCH] crash in 9.1's psql:describeOneTableDetails

2011-02-12 Thread Simon Riggs
out of range 0..1 > > > > > > results in: > > > > > > Program received signal SIGSEGV, Segmentation fault. > Ok, found the bug, simple oversight in invalid foreign key patch. > > Andres Thanks, will apply. -- Simon Riggs http://www

Re: [BUGS] BUG #5665: catalog/schemapg.h: No such file or directory

2011-01-29 Thread Dylan Alex Simon
I'm seeing this problem too, so I might be able to shed some light on it. Here's exactly what I did: > cd /usr/src/postgresql-9.0.2 > tar -xjvf postgresql-9.0.2.tar.bz2 > mv postgresql-9.0.2 src > mkdir obj-x86_64 > cd obj-x86_64 > /usr/src/postgresql-9.0.2/src/configure > '--prefix=/usr/local/p

[BUGS] [Fwd: DBD::Pg on HP-UX 11.31 64bit]

2010-12-14 Thread Simon Riggs
FW Forwarded Message From: H.Merijn Brand To: DBI Developers Mailing List , Simon Riggs Subject: DBD::Pg on HP-UX 11.31 64bit Date: Tue, 14 Dec 2010 13:35:49 +0100 I have postgres running on most my HP-UX varieties, ranging from HP-UX 10.20/32bit through 11.31/64bit. It works

[BUGS] BUG #5759: Autovacuum cost limit trends to 1, using default config

2010-11-19 Thread Simon Poole
The following bug has been logged online: Bug reference: 5759 Logged by: Simon Poole Email address: postgre...@simon.themalago.net PostgreSQL version: 8.4.4 Operating system: RHEL5.3 Description:Autovacuum cost limit trends to 1, using default config Details: With

Re: [BUGS] BUG #5727: Indexes broken in streaming replication

2010-10-26 Thread Simon Riggs
x would still be broken after the slave exits hot > standby and becomes live; so that hack didn't cure the problem anyway. OK, that's a good argument. -- Simon Riggs http://www.2ndQuadrant.com/books/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via

[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] Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes

2010-08-12 Thread Simon Riggs
() on master, remember LSN 2. copy backup_label from master to standby 3. wait for starting LSN to be applied on standby 4. run backup on standby 5. run pg_stop_backup() on master That ensures we don't run without full page writes during backup and that we have an explicit consistency poin

Re: [BUGS] Re: BUG #5602: Recovering from Hot-Standby file backup leads to the currupted indexes

2010-08-05 Thread Simon Riggs
etween two halves of an index split record, which will never be corrected during HS. What I find surprising is that the technique the OP describes should be safe, assuming step 5 waits for the correct point of consistency before attempting to run queries. -- Simon Riggs www.2ndQuadran

Re: [BUGS] BUG #5566: High levels of savepoint nesting trigger stack overflow in AssignTransactionId

2010-07-22 Thread Simon Riggs
? Patch looks OK, though IMHO wouldn't be looking to backpatch this. I'll look at this in more detail next week, unless others wish to. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-bugs mailing list (pg

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

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-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-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
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] 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

[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

[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

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

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 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 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",

[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] 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

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-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 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
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 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
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
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
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
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
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
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
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
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
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
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
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

  1   2   3   >