Re: [BUGS] pgBench cannot use prepared statements and reconnections

2013-08-01 Thread Josh Berkus
on I even tried it is that I was testing for a PostgreSQL bug -- but we should fail gracefully, e.g. "Use of prepared statements with pgbench requires persistent connections. You may not use the -C and -m prepared options together". -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.

[BUGS] pgBench cannot use prepared statements and reconnections

2013-07-31 Thread Josh Berkus
ed in state 7: ERROR: prepared statement "P0_7" does not exist Client 2 aborted in state 7: ERROR: prepared statement "P0_7" does not exist transaction type: TPC-B (sort of) -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pg

[BUGS] RESET ROLE issue (Unreproduceable (so far) )

2013-04-29 Thread Josh Berkus
a very simple reproduceable one so far have met with failure. So I'm filing this bug *in case* we see other issues with repetitive RESET ROLE calls in the future. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To

[BUGS] Re: BUG #7969: Postgres Recovery Fatal With: "incorrect local pin count:2"

2013-03-27 Thread Josh Berkus
Folks, So I'm a bit surprised that this bug report hasn't gotten a follow-up. Does this sound like the known 9.2.2 corruption issue, or is it potentially something else? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@post

Re: [BUGS] New kind of crash?

2013-03-21 Thread Josh Berkus
Alvaro, BTW, we haven't been able to reproduce this crash deliberately, yet. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] New kind of crash?

2013-03-09 Thread Josh Berkus
Mark, I have PL/R and PL/v8 installed on that server (as well as a few other extensions). However, neither of those is invoked in the procedure which caused the crash; it's straight PL/pgSQL. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing

Re: [BUGS] New kind of crash?

2013-03-09 Thread Josh Berkus
On 03/08/2013 07:27 PM, Alvaro Herrera wrote: > Josh Berkus wrote: >> Folks, >> >> This is one I've never seen before: >> >> => select generate_master_tables(); >> WARNING: AbortTransaction while in COMMIT state >> PANIC: cannot abort transa

[BUGS] New kind of crash?

2013-03-08 Thread Josh Berkus
is not the normal failure for that. Note that the tables were, in fact, created, and as far as I can tell there's no corruption of the database. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to y

[BUGS] Issue with range types and casts?

2013-03-08 Thread Josh Berkus
s to find the range type for timestamptz. Why can't it? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] Why does FK creation still take an access exclusive lock on the referenced table?

2013-02-07 Thread Josh Berkus
ation | RowShareLock| test1 relation | AccessExclusiveLock | test1 I understand why establishing an FK needs an ExclusiveLock on the referenced table, but it doesn't need an AccessExclusiveLock. This causes lots of deployment issues for users. -- Josh Berkus PostgreSQL Experts I

[BUGS] Arbitrary whitespace restrictions on range types

2012-12-18 Thread Josh Berkus
lect '[, ]'::TSTZRANGE --Josh -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] log_collector doesn't respond to reloads

2012-04-30 Thread Josh Berkus
tracker to put it in so the next time someone is working on the log collector for other reasons they can tweak this too, or when some new hacker wants an easy first patch. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@po

Re: [BUGS] log_collector doesn't respond to reloads

2012-04-27 Thread Josh Berkus
16:38:21 PDT [10181]: [1-1] user=,db= LOG: could not open log file "/pglogs/check/logs/datacollection-2012-04-26-16-38": No such file or directory 2012-04-26 16:38:21 PDT [10181]: [2-1] user=,db= LOG: disabling automatic rotation (use SIGHUP to re-enable) So, yes, exactly. -- Josh Be

Re: [BUGS] log_collector doesn't respond to reloads

2012-04-26 Thread Josh Berkus
at time elapses before anyone discovers that logs are not being written to the new location, and you change personnel; how would the new DBA have any idea where the old log was so that he could read the log message about the unwriteable directory? -- Josh Berkus PostgreSQL Experts Inc.

Re: [BUGS] log_collector doesn't respond to reloads

2012-04-26 Thread Josh Berkus
> Do you want to try attaching to the collector with a debugger and seeing > if it ever gets into the "if (got_SIGHUP)" block in SysLoggerMain? Hmmm. No debugger on this system, not unexpectedly. I'll see if I can get authorization to add one. -- Josh Berkus Postgre

Re: [BUGS] log_collector doesn't respond to reloads

2012-04-26 Thread Josh Berkus
On 4/26/12 5:50 PM, Tom Lane wrote: > Josh Berkus writes: >> Summary: despite pg_reload(), log directory, filename and destination >> don't change > > Looking at the code, it's really hard to see how this could possibly > happen, unless maybe the process is

[BUGS] log_collector doesn't respond to reloads

2012-04-26 Thread Josh Berkus
to get to the bottom of it. I also tried a sighup to the logger process, with no effect. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] 291 pg_toast_temp schemas?

2012-04-26 Thread Josh Berkus
On 4/26/12 3:48 PM, Tom Lane wrote: > Josh Berkus writes: >> Also, have we discussed maybe hiding these schemas from \dn? > > We've done more than discuss it: > http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=e43fb604d6db229d70d3101aa53348cc16a54

Re: [BUGS] 291 pg_toast_temp schemas?

2012-04-26 Thread Josh Berkus
On 4/26/12 11:22 AM, Tom Lane wrote: > Josh Berkus writes: >> summary: database has 291 empty pg_toast_temp schemas. > > If your max_connections is 300 or more, this isn't surprising in the > least. Yes, they are. >> ... so, apparently we still have an issue w

[BUGS] 291 pg_toast_temp schemas?

2012-04-26 Thread Josh Berkus
temp_%'; schemaname | relname +- ... so, apparently we still have an issue with cleaning up pg_toast_temp schema? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscrip

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Josh Berkus
t an error. But if no >>> input, however misguided, should ever cause that symptom, then it's, I >>> don't know what the terminology should be, say, a "severe error". >> >> +1 > > I'm strongly in favour of this. This is *so* not

Re: [BUGS] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Josh Berkus
of thing. Huh? I don't follow you at all Peter. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] wCTE cannot be used to update parent inheritance table

2012-01-29 Thread Josh Berkus
On 1/28/12 5:27 PM, Tom Lane wrote: > Josh Berkus writes: >> SUMMARY: if you attempt to UPDATE or DELETE FROM a parent table in an >> inheritance relationship using a wCTE, you get the following error message: >> ERROR: could not find plan for CTE > > Fixed, tha

[BUGS] wCTE cannot be used to update parent inheritance table

2012-01-25 Thread Josh Berkus
arent using wcte where val = whichtab; ERROR: could not find plan for CTE "wcte" -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] Cannot dump 8.4.8 database using later versions

2011-11-16 Thread Josh Berkus
> The least painful solution might be to always quote *every* identifier > in commands sent to the source server, since we don't especially care > how nice-looking those are. I've never been clear on why we don't do that in the first place. -- Josh Berkus Post

Re: [BUGS] Cannot dump 8.4.8 database using later versions

2011-11-14 Thread Josh Berkus
reserved word and quote it before dumping. 9.0 and later pg_dump does not. Any ideas? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] Cannot dump 8.4.8 database using later versions

2011-11-14 Thread Josh Berkus
> Seems you have a sequence called "new"; seems we don't handle that > well. Hmmm ... yes, you're correct. Idiot users. Interestingly, the sequence is no problem until 9.0. 8.4 handled it fine. I'd guess this is another example of where merging in plpgsql br

[BUGS] Cannot dump 8.4.8 database using later versions

2011-11-14 Thread Josh Berkus
he sequences is getting mangled. Any clue how? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] BUG #5944: COPY FROM doesn't work with international characters

2011-10-26 Thread Josh Berkus
ects win1252. I think it's quite possible that this is something broken in the win1252 encoding itself. I've seen a lot of reports online for errors from other software. However, we need to at least find a workaround for users if we can't fix it ... -- Josh Berkus PostgreSQL Exper

Re: [BUGS] psql's \copy incompatible with :variables

2011-10-14 Thread Josh Berkus
> \copy is different because it uses OT_WHOLE_LINE mode to read the > argument, and that doesn't expand :variable references. I'd be a bit > leery of changing that. So, doc warning then? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs

Re: [BUGS] Broken selectivity with special inet operators

2011-09-21 Thread Josh Berkus
> It's possible that we could build simple estimators for these operators > that just turn the problem into a range estimation and then pass it off > to somewhere else, but nobody has tried. Right, that's why I'm asking. I'd like to reuse code ... -- Josh Berkus

Re: [BUGS] Broken selectivity with special inet operators

2011-09-21 Thread Josh Berkus
estimate the cost of the indexscan, why can't we estimate the rowcount? Sorry if I'm being dense here, but I really don't understand how the special operator code works at all. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@

Re: [BUGS] Broken selectivity with special inet operators

2011-09-21 Thread Josh Berkus
On 9/21/11 1:56 PM, Tom Lane wrote: > Josh Berkus writes: >> Summary: special inet operators ( << >> <<= =>> ) are >> up to 100X off in estimating rowcounts > > A look in pg_operator will show you that these operators have no > associated

[BUGS] Broken selectivity with special inet operators

2011-09-21 Thread Josh Berkus
'87.178.193.255'::inet)) Total runtime: 0.097 ms Note that the mis-estimate of rows returned in each case is almost exactly 50% of the total rows in the table. That would suggest that match_special_index_operator is failing, and not recognizing the <<= operator for est

[BUGS] psql's \copy incompatible with :variables

2011-06-07 Thread Josh Berkus
variables work perfectly fine with COPY. It's just \copy which seems to be misbehaving. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.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] BUG #5944: COPY FROM doesn't work with international characters

2011-03-24 Thread Josh Berkus
oks like we're not successfully escaping characters on WIN1252. The characters in question are also latin characters. We've reproduced this on a clean install. -- -- Josh Berkus PostgreSQL Experts Inc.

[BUGS] psql crashes with bad history file in 9.0.3

2011-03-22 Thread Josh Berkus
n into it somewhere I can do a stack trace ... -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make chan

Re: [BUGS] Mismapping of Mountain Time

2011-03-03 Thread Josh Berkus
result in unsurprising values of Show TimeZone. (This issue was reported by a customer as a bug to us) I'll give some thought as to how we could do so, and maybe add it to the TODO list. -- -- Josh Berkus PostgreSQL Expe

Re: [BUGS] Mismapping of Mountain Time

2011-03-03 Thread Josh Berkus
On 3/3/11 2:31 PM, Josh Berkus wrote: > uname -a > Linux hemingway 2.6.32-25-server #44-Ubuntu SMP Fri Sep 17 21:13:39 UTC > 2010 x86_64 GNU/Linux > > date > Thu Mar 3 15:30:17 MST 2011 Also: echo $TZ returns nothing. We've checked several Ubuntu systems, and it seems t

[BUGS] Mismapping of Mountain Time

2011-03-03 Thread Josh Berkus
as on how this happened? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-26 Thread Josh Berkus
On 1/26/11 12:13 PM, Tom Lane wrote: > Josh Berkus writes: >> Oh! Actually, it only *did* 27 runs. So it actually completed building >> the index. I'd expected trace_sort to give me some kind of completion >> message; apologies for not checking all screen windows. &g

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-26 Thread Josh Berkus
as usual, I've completely mislocated the bug. I'll need to rerun the pg_restore and actually diagnose *that*. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-26 Thread Josh Berkus
this index run at 7pm PST yesterday and it's been 15 hours, not 2 as the elapsed time would suggest. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent vi

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-25 Thread Josh Berkus
e index, rows would be more randomly distributed. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscr

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-25 Thread Josh Berkus
On 1/25/11 1:21 PM, Tom Lane wrote: > Josh Berkus writes: >> Note: I have this running now on a test box. If someone responds in the >> next couple hours, I can run whatever diagnostics you want on it. >> Otherwise I'll kill it off and start over with debug logging

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-25 Thread Josh Berkus
x27;ll try to run a sort_trace on an 8.4.4 copy of the database. Oh, FWIW, the rough number of rows in the table: 1 486 530 000 -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.

Re: [BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-25 Thread Josh Berkus
On 1/25/11 1:21 PM, Tom Lane wrote: > Josh Berkus writes: >> Note: I have this running now on a test box. If someone responds in the >> next couple hours, I can run whatever diagnostics you want on it. >> Otherwise I'll kill it off and start over with debug logging

[BUGS] Multicolun index creation never completes on 9.0.1/solaris

2011-01-25 Thread Josh Berkus
The current index build run has been going for almost 100 hours. More detail: mainentance_work_mem = 1GB (out of 32GB RAM available) 9.0.1 was built from source, using Sun CC for the current test, I'm running with fsync off (but I've had the same issue with fsync on) Ideas? (* object names have been changed to preserve confidentiality) -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.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] What happened to SSL_CIPHERS?

2010-12-15 Thread Josh Berkus
t; is unavailable if the server was not compiled with support for SSL"? Exactly. If you don't get around to it, bug me in January. -- -- Josh Berkus PostgreSQL Experts Inc. htt

Re: [BUGS] What happened to SSL_CIPHERS?

2010-10-29 Thread Josh Berkus
s only available if PostgreSQL was built with SSL support"). -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresq

[BUGS] What happened to SSL_CIPHERS?

2010-10-28 Thread Josh Berkus
: unrecognized configuration parameter "ssl_ciphers" So, did ssl_ciphers go away on purpose? If so, why? If not, why isn't it accessible? -- -- Josh Berkus PostgreSQL Experts Inc.

[BUGS] 9.0 Bug: cannot build against python3.1, with two versions of python in the environment

2010-09-11 Thread Josh Berkus
I discussed this report with James Pye already, and he beleives it's a configure script bug which should be fixed before release. Anyone capable of taking it on? Original Message Subject:[TESTERS] Configure/Build 9.0 rc1 - cannot build against python3.1, with two vers

Re: [BUGS] Unable to create serial column even with permissions

2010-08-16 Thread Josh Berkus
be worth asking a few interface developers what this will break. However, given that the issue has existed for a year or more and I'm the first one to report it formally, it clearly isn't that huge of an issue. Any idea what version this got broken in? --

[BUGS] Unable to create serial column even with permissions

2010-08-09 Thread Josh Berkus
the table owner can create a serial column" ). -- -- Josh Berkus ----- Josh Berkus PostgreSQL Experts Inc. CEO database professionals josh.ber...@pgexperts.com www.pgexperts.com 1-888-7

Re: [HACKERS] Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

2010-08-05 Thread Josh Berkus
he user passed an ORDER BY or not. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to you

Re: [HACKERS] Re: Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

2010-08-04 Thread Josh Berkus
to have a pretty darned solid pg_upgrade because of it. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To mak

Re: [HACKERS] Drop one-argument string_agg? (was Re: [BUGS] string_agg delimiter having no effect with order by)

2010-08-04 Thread Josh Berkus
ment. If it's causing bugs, drop it now. If we include it in 9.0, we're stuck with it for years. I'm OK with forcing an initDB for RC1. -- -- Josh Berkus PostgreSQL Experts Inc.

[BUGS] auto-explain does not work with JSON & csvlog

2010-07-18 Thread Josh Berkus
this, I get the following warning at PostgreSQL startup time: Loaded module "auto_explain" Not safe to send CSV data And on checking, auto-explain is indeed NOT sending anything to the csvlog. It's not sending anything to the regular log, either. --

Re: [BUGS] [TESTERS] Location of certs -Windows 7 SSL mode?

2010-07-07 Thread Josh Berkus
On 7/7/10 1:50 AM, Magnus Hagander wrote: > BTW, if you post bug reports to -bugs, it'll make a lot more people see them. Sure, we just want to verify that it *is* a possible bug (and not pilot error) first. -- -- Jos

Re: [BUGS] local_preload_libraries filenames converted to lowercase

2010-06-23 Thread Josh Berkus
iciency. Yes, I'd say that documentation is the answer, given. Hmmm are double-quotes respected in postgresql.conf, though? Need testing. -- -- Josh Berkus PostgreSQL Experts Inc. http:/

[BUGS] local_preload_libraries filenames converted to lowercase

2010-06-23 Thread Josh Berkus
Severity: minor Tested On: 9.0b2, 8.4.4 Platform: SUN SPARC 4u Enterprise 450 Quad, presumably Solaris 10 Repeatable? Yes Description: See thread: http://archives.postgresql.org/pgsql-testers/2010-06/msg00020.php -- -- Josh Berkus

Re: [BUGS] Re: regexp_matches illegally restricts rows -- just a documentation issue?

2010-04-06 Thread Josh Berkus
to allow an SRF in the target list to restrict the number of rows output. A subselect in the target list does not do so. However, that's completely another discussion. --Josh Berkus -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http:/

[BUGS] Re: regexp_matches illegally restricts rows -- just a documentation issue?

2010-04-05 Thread Josh Berkus
On 4/5/10 9:16 PM, Josh Berkus wrote: > I can't see how this is anything but a bug; as far as I know, nothing in > the target list is allowed to restrict the number of rows which are > returned by the query. We should get 7 rows, 3 of which have an empty > array or a NULL

[BUGS] regexp_matches illegally restricts rows

2010-04-05 Thread Josh Berkus
of rows which are returned by the query. We should get 7 rows, 3 of which have an empty array or a NULL in the 2nd column. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.co

[BUGS] Error when lock conflict on REPLACE function

2010-03-15 Thread Josh Berkus
d: the 2nd replace should have succeeded. Or it should have given a user-friendly error message. Opinions? --Josh Berkus -- 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-13 Thread Josh Berkus
iven what I've been looking at, it seems like a LOT of work. --Josh Berkus -- 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-13 Thread Josh Berkus
> That's better, I was worried you'd gone all complimentary on me. Never fear that! Was that setting originally part of your design for HS? If so, why did you back off from it? --Josh -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http:

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

2010-03-10 Thread Josh Berkus
ions. So I think we should work on making it less kludgy. Ultimately we're going to need publish-XID-to-master, but that's not realistic for 9.0. --Josh Berkus -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] PD_ALL_VISIBLE flag error on 9.0 alpha 4

2010-03-09 Thread Josh Berkus
NING: PD_ALL_VISIBLE flag was incorrectly set in relation "pgbench_tellers" page 1 ... not one I'm familiar with. Issues? --Josh Berkus -- 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] [Fwd: [TESTERS] Numerics of diffrent scales Raises Type Mismatch Error in a Set Returning Function]

2010-03-07 Thread Josh Berkus
Should have thought of that. --Josh Berkus -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

[BUGS] [Fwd: [TESTERS] Numerics of diffrent scales Raises Type Mismatch Error in a Set Returning Function]

2010-03-06 Thread Josh Berkus
All, I tested Noel's test case and verified that it does, in fact, break. And functions on 8.4. --Josh Berkus Original Message Subject: [TESTERS] Numerics of diffrent scales Raises Type Mismatch Error in a Set Returning Function Date: Tue, 2 Mar 2010 20:07:07 -0800 From:

Re: [BUGS] RETURNS TABLE returns NULL set when called by another RETURNS TABLE

2010-02-23 Thread Josh Berkus
> val1 is just as ambiguous. I think you got bit by the name collision; > the output parameters would start out NULLs and thus lead to the > described behavior, in versions before 9.0. Aha, yeah, that's probably it. Take this example as the reason we had to change the behavi

[BUGS] RETURNS TABLE returns NULL set when called by another RETURNS TABLE

2010-02-23 Thread Josh Berkus
Pavel, all: Apparently if you use one returns table function to call a 2nd returns table function, it returns a recordset which consists entirely of nulls. Here's the test case: create table srf_data ( id serial, cat int, val text ); insert into srf_data ( cat, val ) values ( 1, 'josh' ), ( 1, '

Re: [BUGS] Possible stability issue: permanent hang on dropdb

2010-02-06 Thread Josh Berkus
ng first, and then afterwards thought it might be worth reporting. Anything I can mine out of the logs or files? --Josh Berkus -- 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] Possible stability issue: permanent hang on dropdb

2010-02-06 Thread Josh Berkus
> It's too bad you didn't capture a stack backtrace at step #3 or step > #6. If you manage to reproduce the problem, that would be a good > thing to try to get. It never actually crashed. And, of course, this was happening right when I needed to go home and the server needed to be up for that.

Re: [BUGS] MD5 checksum or RPM for PostgreSQL 8.7.3

2009-04-03 Thread Josh Berkus
matter. Um, there's no such thing as PostgreSQL 8.7.3. The latest stable version is *8.3.7*. Was that the version you meant? If that's the case, then everything you want is here: http://www.postgresql.org/download/linux http://www.postgresql.org/ftp/source/v8.3.7/ --Josh Berkus

Re: [BUGS] Weird quirk with pg_dump of complex types

2009-02-27 Thread Josh Berkus
Jeff Davis wrote: On Fri, 2009-02-27 at 01:24 -0500, Tom Lane wrote: Are you entirely sure that they don't? Oh, you're right, of course: postgres=# create type public.mytype as (i int); CREATE TYPE postgres=# create type public.mytype2 as (j mytype); CREATE TYPE -- pg_dump output: CREATE TYP

Re: [BUGS] Weird quirk with pg_dump of complex types

2009-02-27 Thread Josh Berkus
Tom Lane wrote: Josh Berkus writes: When doing pg_dump in text mode, complext types will be dumped like this: CREATE TYPE complex_foo ( var INT, gar TEXT, natch public.foo_type ); You didn't say which schema "complex_foo" is in? Public.

Re: [BUGS] Weird quirk with pg_dump of complex types

2009-02-26 Thread Josh Berkus
r most other objects "public" is also excluded as well as pg_catalog. For CREATE TYPE, "public" is explicit. Have you considered working from the "custom" format rather than text? I'm not sure whether it solves your problem, but I think it provides the mos

Re: [BUGS] Weird quirk with pg_dump of complex types

2009-02-26 Thread Josh Berkus
Jeff, Functions are similar, actually. The argument list needs to specify schema paths as well, if it's not in some expected place (I think it does so for all schemas other than pg_catalog). Except that they don't appear to do so. --Josh -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgr

[BUGS] Weird quirk with pg_dump of complex types

2009-02-26 Thread Josh Berkus
schema_path. This is inconsistent with all other database objects, which use "SET search_path" to qualify the correct schemas. This is only a real problem in that it may interfere with backup and/or schema comparison automation (like I'm trying to write right now). --Josh B

Re: [BUGS] Combination of Triggers and self-FKs produces inconsistent data

2009-01-29 Thread Josh Berkus
f the example, you'd see that I'm saying that the trigger should *fail*, with an error. Not work. Throughout the history of the project, no functionality which ends in a inconsistent data state has ever been acceptable which I can recall. When did we change our policy? --Josh Berkus --

Re: [BUGS] Combination of Triggers and self-FKs produces inconsistent data

2009-01-28 Thread Josh Berkus
Tom Lane wrote: Josh Berkus writes: Summary: self-referential FKs are not enforced properly in the presence of BEFORE triggers This isn't a bug. If you create triggers that prevent the RI actions from being taken, it's your own problem. Huh? Since when was it OK by

[BUGS] Combination of Triggers and self-FKs produces inconsistent data

2009-01-28 Thread Josh Berkus
Version: 8.3.5 Install: self-compile on 64-bit Ubuntu Linux also reproduced by AndrewSN on another platform Summary: self-referential FKs are not enforced properly in the presence of BEFORE triggers Test Case: -- create two tables, one of which is the master table (reftable) the

Re: [BUGS] Handling of \ in array data display

2006-08-21 Thread Josh Berkus
parse an array value unambiguously. Ok, so "yes, it's inconsistent, but we don't want to break backwards compatibility." I can buy that ... -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [BUGS] Handling of \ in array data display

2006-08-18 Thread Josh Berkus
think we should be using the ARRAY[] format for display anyway, but that would break some backwards compatibility ... -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ign

[BUGS] Handling of \ in array data display

2006-08-18 Thread Josh Berkus
"x\\y","x y"} (1 row) scratch=# select tarr[1] from test_arr; tarr -- xy (1 row) scratch=# select tarr[2] from test_arr; tarr -- x\y (1 row) -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)--- TIP

[BUGS] ALTERed DEFAULTS not visible to PL/pgSQL cached plans

2006-03-11 Thread Josh Berkus
gtest; id | name | is_true ++- 1 | Before ALTER | 2 | Look, its null | t 3 | Now its true. | t -- --Josh Josh Berkus Aglio Database Solutions San Francisco create table bugtest ( id serial not null primary key, name text not null unique ); creat

[BUGS] plpgsql TEMP table issue not fixed in 8.1?

2005-08-31 Thread Josh Berkus
runs_run_id_seq'), $1 , $2 [ $3 ] )" PL/pgSQL function "generate_test_series" line 67 at SQL statement ERROR: relation with OID 16607 does not exist This is CVS as of a week ago. -- --Josh Josh Berkus Aglio Database Solutions San Francisco -

Re: [BUGS] PSQL commands not backwards-compatible

2005-08-31 Thread Josh Berkus
nt version of PostgreSQL." -- Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 6: explain analyze is your friend

Re: [BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Josh Berkus
mething in the release notes: WARNING: 8.1's "psql" is not completely backwards-compatible with previous versions of PostgreSQL. --Josh -- __Aglio Database Solutions___ Josh BerkusConsultant josh@agliodbs.comwww.agliodbs.com Ph: 415-752-2500

[BUGS] PSQL commands not backwards-compatible

2005-08-30 Thread Josh Berkus
" does not exist This is from CVS, the day before the beta release. Ignore me if it's already been fixed. -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 9: In versions below 8.0, the

Re: [BUGS] pg_ctl inappropriately timing out?

2005-06-08 Thread Josh Berkus
ERM and SIGKILL > when init wants to shut you down ... Well, I can run an actual timer if you like. But it's definitely more than 20 seconds. And we're using the default bgwriter config, perhaps I should set it to 0? -- Josh Berkus Aglio Database Solutions San Francisco

[BUGS] pg_ctl inappropriately timing out?

2005-06-07 Thread Josh Berkus
Is there some way for pg_ctl to intelligently detect this situation? To set a timeout value for pg_ctl via a command-line option? -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] BUG #1552: massive performance hit between 7.4 and 8.0.1

2005-03-21 Thread Josh Berkus
1/2 of the primary postgresql programmers read the performance list. -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings

Re: [BUGS] BUG #1552: massive performance hit between 7.4 and 8.0.1

2005-03-21 Thread Josh Berkus
Brian, They PGSQL-PERFORMANCE list is really the appropriate place for performance issues like yours. Subscribe? http://www.postgresql.org/community/lists -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast

Re: [BUGS] [pgsql-bugs] Daily digest v1.1387 (8 messages)

2005-03-09 Thread Josh Berkus
e HAVING clause. Personally, I've always felt that the SQL committee made a mistake in having aggregates of no rows produce a single null output row; it leads to wierdness like this here. Hopefully someone can back that up with an ANSI-SQL reference ... -- Josh Berku

[BUGS] Index scans for unique index not visible in stats

2005-02-09 Thread Josh Berkus
blic | unq_test|0 | 0 | 0 | 0 | 5 | 0 | 0 -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 3: if posting/reading throug

Re: [BUGS] Inconsistent behavior with TIMESTAMP WITHOUT and epoch

2005-01-27 Thread Josh Berkus
ark-on-the-calendar (what I'm dealing with), and that my trouble stems from trying to coerce the first into the second. Maybe it's time to hack a datatype ... -- --Josh Josh Berkus Aglio Database Solutions San Francisco ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [BUGS] Inconsistent behavior with TIMESTAMP WITHOUT and epoch

2005-01-27 Thread Josh Berkus
estamps to be location-agnostic (such as this one, with servers on east and west coasts, and some talk about London), you want your timestamps stored as GMT. However, having changed it in 7.3, I agree that we'll just cause trouble changing it back. -- Josh Berkus A

  1   2   >