Re: [BUGS] Subquery with toplevel reference used to work in pg 8.4

2012-03-24 Thread Tom Lane
the fact that this outer-level PlaceHolderVar shouldn't be there by the time the complaining code runs. Kinda surprising that this bug escaped detection this long ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your

Re: [BUGS] check_locale() and the empty string

2012-03-24 Thread Tom Lane
: there is code in initdb that is supposed to be kept parallel to this, but it's not currently making any attempt to canonicalize non-empty locale names. Should we make it do that too? regards, tom lane diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands

Re: [BUGS] BUG #6551: PL/pgSQL: GET DIAGNOSTICS not working for first OUT parameter

2012-03-22 Thread Tom Lane
--- which will be the one first defined in the function, eg the first parameter if any. I guess I can see how this escaped detection for a long time, but it's broken for sure. Thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] BUG #6548: NOWAIT does not work in Select statement if table is locked using Lock command

2012-03-21 Thread Tom Lane
. regards, tom lane -- 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 #6529: Invalid numeric input syntax for 'select into' queries

2012-03-21 Thread Tom Lane
are necessary here because without them test_field would be syntactically a table name, not a column name.) regards, tom lane -- 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] [GENERAL] Altering a table with a rowtype column

2012-03-20 Thread Tom Lane
Robert Haas robertmh...@gmail.com writes: On Wed, Mar 7, 2012 at 3:49 PM, Merlin Moncure mmonc...@gmail.com wrote: On Wed, Mar 7, 2012 at 2:31 PM, Tom Lane t...@sss.pgh.pa.us wrote: It is not a bug. The ALTER ADD ... DEFAULT ... form implies rewriting every existing tuple of the rowtype

Re: [BUGS] BUG #6535: LEFT JOIN on large table is altering data

2012-03-18 Thread Tom Lane
consider reindexing everything.) regards, tom lane -- 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] Regression from 8.4 to 9.1.2/9.1.3: Optimizing filters on constants in unions

2012-03-16 Thread Tom Lane
Claus Stadler cstad...@informatik.uni-leipzig.de writes: Filtering a Union on constant custom type: ... Expected: Query optimizer should discard the scan as filter cannot be satisfied. I've applied a patch for this. Thanks for the report! regards, tom lane -- Sent

Re: [BUGS] BUG #6535: LEFT JOIN on large table is altering data

2012-03-16 Thread Tom Lane
information for someone else to reproduce the problem. What would be good is a SQL script that reproduces the error from a standing start (empty database). regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your

Re: [BUGS] BUG #6533: postgre server crashes by create function (create table as)

2012-03-15 Thread Tom Lane
doesn't crash for me, in HEAD or 9.0 branch tip. Given the use of CREATE TABLE AS in a SQL function, I suspect that this is the same issue fixed in 9.0.7: Fix dangling pointer after CREATE TABLE AS/SELECT INTO in a SQL-language function (Tom Lane) In most cases this only led

Re: [BUGS] BUG #6531: integrity constraint failure

2012-03-14 Thread Tom Lane
if they didn't. regards, tom lane -- 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] Regression from 8.4 to 9.1.2/9.1.3: Optimizing filters on constants in unions

2012-03-12 Thread Tom Lane
=57664ed25e5dea117158a2e663c29e60b3546e1c I'm starting to think we need to revert that in favor of some other solution, though I have no idea what yet. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

Re: [BUGS] BUG #6517: Volatile function erroneously optimized, does not consider change in schema path

2012-03-12 Thread Tom Lane
caches the plan for the query as it was built with the original search_path. There's been talk of adjusting that behavior but I'm worried that we might break as many cases as we fix ... regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make

Re: [BUGS] BUG #6513: explain (analyze, buffers) and toasted fields

2012-03-12 Thread Tom Lane
in verisimilitude or not; but one should never imagine that EXPLAIN is an exact simulation of normal query execution. It's meant for debugging planner choices, anyway, and the detoastI/O costs are going to be the same whichever plan you choose. regards, tom lane -- Sent

Re: [BUGS] BUG #6525: t_infomask2 is uint16, not int16

2012-03-11 Thread Tom Lane
. regards, tom lane -- 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 #6526: Intermittent connect issue

2012-03-11 Thread Tom Lane
... regards, tom lane -- 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] table row type and query-specified row type do not match

2012-03-11 Thread Tom Lane
that will cause 9.2 and later releases to report an error for this case. regards, tom lane -- 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] Extension tracking temp table and causing update failure

2012-03-08 Thread Tom Lane
Dimitri Fontaine dimi...@2ndquadrant.fr writes: Tom Lane t...@sss.pgh.pa.us writes: 1. If you forget to drop the temp table before ending the script, then when the session ends and the temp table is forcibly dropped, the whole extension goes away (following the rule that a forced drop

Re: [BUGS] Extension tracking temp table and causing update failure

2012-03-08 Thread Tom Lane
pretty much a one-liner, and much cleaner than hacking ON COMMIT DROP. PFA a patch that fixes both of the temp-table issues. regards, tom lane diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index a8653cd49562d95748c8fe38517aa1d0785c9aff

Re: [BUGS] table row type and query-specified row type do not match

2012-03-08 Thread Tom Lane
TABLE to throw an error telling you it couldn't cope with updating the rule, and that you'd need to fix that manually. There is such a test involving views; not sure why it's not catching this rule. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] Extension tracking temp table and causing update failure

2012-03-07 Thread Tom Lane
Dimitri Fontaine dimi...@2ndquadrant.fr writes: Tom Lane t...@sss.pgh.pa.us writes: It would also have the effect that explicit DROPs of member objects in extension scripts could be done without an explicit ALTER EXTENSION DROP first. I think we'd originally decided that requiring the ALTER

Re: [BUGS] Extension tracking temp table and causing update failure

2012-03-07 Thread Tom Lane
not other similar bugs lurking. Thoughts, better ideas? regards, tom lane diff --git a/src/backend/catalog/dependency.c b/src/backend/catalog/dependency.c index db86262b4f06ec5b78f834eb10fbae45a1e77033..eca064f0cdef7ee6367b76a4da785e29a9cfdbc6 100644 *** a/src/backend

Re: [BUGS] [GENERAL] Altering a table with a rowtype column

2012-03-07 Thread Tom Lane
, tom lane -- 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] Extension tracking temp table and causing update failure

2012-03-07 Thread Tom Lane
Phil Sorber p...@omniti.com writes: On Wed, Mar 7, 2012 at 1:46 PM, Tom Lane t...@sss.pgh.pa.us wrote: 1. If you forget to drop the temp table before ending the script, then when the session ends and the temp table is forcibly dropped, the whole extension goes away (following the rule

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-07 Thread Tom Lane
Sergey Burladyan eshkin...@gmail.com writes: Tom Lane t...@sss.pgh.pa.us writes: I think it'd be better to avoid depending on %*s for the data string and instead use it (with appropriate adjustment of the calculation) for the space-separator part of the format. Since that's a constant empty

Re: [BUGS] Extension tracking temp table and causing update failure

2012-03-06 Thread Tom Lane
originally decided that requiring the ALTER was a good safety feature, but is it really more than nanny-ism? The intent of a DROP command seems pretty clear. Thoughts? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes

Re: [BUGS] BUG #6480: NLS text width problem

2012-03-06 Thread Tom Lane
of the format. Since that's a constant empty string, there shouldn't be any possibility of libc doing something other than what we intend. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

Re: [BUGS] BUG #6518: archive_command stderr not in log if log_destination=syslog

2012-03-05 Thread Tom Lane
. At least this should be documented. There really isn't any way that we can force stderr output from a script to magically go to syslog. But we can at least clarify the docs, and I will go do so. Thanks for the report! regards, tom lane -- Sent via pgsql-bugs mailing list

Re: [BUGS] plpgsql doesn't check a number of expressions and number of target variables correctly

2012-03-05 Thread Tom Lane
this is intentional --- see the comment in exec_move_row. In any case, I think tightening it up is more likely to break working applications than do anything helpful. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription

Re: [BUGS] BUG #6494: Listening to * fails for IP V6

2012-02-29 Thread Tom Lane
this with a suitable setting of listen_addresses? That is, explicitly specify the V6 and then V4 addresses there? regards, tom lane -- 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 #6497: Error sent to client, but data written anyway

2012-02-29 Thread Tom Lane
of a transaction possibly being committed while the client remains in doubt whether it happened or not. regards, tom lane -- 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 #6498: with recursive / union all

2012-02-29 Thread Tom Lane
it? You don't have any loops in the data. In particular that means there will be no join matches after a certain number of levels. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

Re: [BUGS] BUG #6497: Error sent to client, but data written anyway

2012-02-29 Thread Tom Lane
a reconnect and retry. But there's a quite separate question as to whether the behavior Ryan is claiming for a pre-commit crash is actually possible. I don't believe it, and I failed to reproduce his test scenario. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql

Re: [BUGS] BUG #6497: Error sent to client, but data written anyway

2012-02-29 Thread Tom Lane
Christophe Pettus x...@thebuild.com writes: On Feb 29, 2012, at 1:15 PM, Tom Lane wrote: But there's a quite separate question as to whether the behavior Ryan is claiming for a pre-commit crash is actually possible. I don't believe it, and I failed to reproduce his test scenario. Did you

Re: [BUGS] BUG #6497: Error sent to client, but data written anyway

2012-02-28 Thread Tom Lane
. regards, tom lane -- 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 #6496: Why the SQL is not reported as incorrect? Is there a builtin column named name?

2012-02-28 Thread Tom Lane
for composite types (Tom Lane) For example, disallow composite_value.text and text(composite_value). Unintentional uses of this syntax have frequently resulted in bug reports; although it was not a bug, it seems better to go back to rejecting such expressions. The CAST

Re: [BUGS] BUG #6497: Error sent to client, but data written anyway

2012-02-28 Thread Tom Lane
Kevin Grittner kevin.gritt...@wicourts.gov writes: Tom Lane t...@sss.pgh.pa.us wrote: Huh? If the backend dumped core before you sent it the commit, the data will certainly not be committed. It might be physically present on disk, but it won't be considered valid. I suppose

Re: [BUGS] BUG #6488: Installation instructions slightly wrong.

2012-02-26 Thread Tom Lane
following this recipe, but I don't see how exiting from the first su there would fix it. All it's likely to do is add extra steps because you no longer have root permissions to do the second su with. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] BUG #6483: Rows being evaluated, although being outside the LIMIT / OFFSET boundaries

2012-02-23 Thread Tom Lane
a query plan that involves a Sort node followed by Limit. We have some optimizations that avoid the need for an explicit sort, but it would be pretty hard to write a specification for exactly when unretrieved rows will not be evaluated. regards, tom lane -- Sent via pgsql-bugs

Re: [BUGS] BUG #6485: Primary index key not updated uniformly

2012-02-23 Thread Tom Lane
Ramanujam innomot...@gmail.com writes: On Thu, Feb 23, 2012 at 3:22 PM, Tom Lane t...@sss.pgh.pa.us wrote: This is intentional --- we gave up updating index column names awhile ago. Is pg_constraint a credible place to retrieve primary key information from? I'd try the information_schema

Re: [BUGS] BUG #6486: configure - unable to cross-compile postgresql with openssl using Fedora MinGW

2012-02-23 Thread Tom Lane
? regards, tom lane -- 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 #6482: Service terminates executing With ... as ... UPDATE query

2012-02-22 Thread Tom Lane
update releases. regards, tom lane -- 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 #6483: Rows being evaluated, although being outside the LIMIT / OFFSET boundaries

2012-02-22 Thread Tom Lane
, tom lane -- 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 #6485: Primary index key not updated uniformly

2012-02-22 Thread Tom Lane
innomot...@gmail.com writes: Primary key information in pg_attribute table is not updated when a column name is renamed. This is intentional --- we gave up updating index column names awhile ago. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] BUG #6479: Wrong Slash in pg_restore

2012-02-21 Thread Tom Lane
is just one of many varieties of fail in that industry. But yeah, the stated complaint is not by itself a bug, and it would help a lot if the OP had shown us what he's doing and what happens instead of jumping to conclusions about why it's not working for him. regards, tom

Re: [BUGS] Syntax got translated

2012-02-20 Thread Tom Lane
idea. On the other hand, if we're printing informational text, it's not an unreasonable thing. regards, tom lane -- 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 #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python

2012-02-20 Thread Tom Lane
I wrote: Chris Rees cr...@freebsd.org writes: On 18 Feb 2012 18:49, Tom Lane t...@sss.pgh.pa.us wrote: https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4 I think we'd need more information before arbitrarily disabling this. The patch is to disable

Re: [BUGS] BUG #6461: -t deletes primary key

2012-02-19 Thread Tom Lane
Peter Eisentraut pete...@gmx.net writes: On fre, 2012-02-17 at 12:01 -0500, Tom Lane wrote: lenka.piy...@gmail.com writes: when i restore a particular table using pg_restore (using option -t) it doesn't restore my primary key... This is not a bug. -t selects the table only, not associated

Re: [BUGS] BUG #6459: logging_collector=off but log_filename set inhibits logoutpu

2012-02-19 Thread Tom Lane
Christoph Anton Mitterer cales...@scientia.net writes: On Tue, 2012-02-14 at 18:45 -0500, Tom Lane wrote: cales...@scientia.net writes: http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html claims that log_filename is only used when logging_collector is enabled

Re: [BUGS] BUG #6462: rpmbuild fails during regression tests on SMP ARM machines

2012-02-18 Thread Tom Lane
=commitdiffh=bb65cb8cdf864e61bc939d3c4b28bbd43d926700 regards, tom lane -- 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 #6463: tables can have at most 1600 columns

2012-02-18 Thread Tom Lane
be horribly slow. Perhaps if you discussed why you think that repeatedly dropping and re-adding a column is a useful thing to do, we could help you find another way. The bugs list is not the place for that discussion, however. regards, tom lane -- Sent via pgsql-bugs

Re: [BUGS] BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python

2012-02-18 Thread Tom Lane
, and none of them have shown any sign of not liking threaded python: http://buildfarm.postgresql.org/cgi-bin/show_status.pl I think we'd need more information before arbitrarily disabling this. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] BUG #6465: postgresql-pltcl refuses to compile with 9.1, and FreeBSD does support threaded python

2012-02-18 Thread Tom Lane
Chris Rees cr...@freebsd.org writes: On 18 Feb 2012 18:49, Tom Lane t...@sss.pgh.pa.us wrote: https://redports.org/browser/crees/databases/postgresql91-server/files/patch-config-python-m4 I think we'd need more information before arbitrarily disabling this. The patch is to disable the error

Re: [BUGS] BUG #6461: -t deletes primary key

2012-02-17 Thread Tom Lane
lenka.piy...@gmail.com writes: when i restore a particular table using pg_restore (using option -t) it doesn't restore my primary key... This is not a bug. -t selects the table only, not associated indexes. regards, tom lane -- Sent via pgsql-bugs mailing list

Re: [BUGS] BUG #6460: routine my_log2 use incorrect data type ?

2012-02-17 Thread Tom Lane
overflow, Sure they can. Or at least if they can't, it's not because of size_t being 8 bytes. That code works fine on every other 64-bit platform. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

Re: [BUGS] Botched estimation in eqjoinsel_semi for cases without reliable ndistinct

2012-02-15 Thread Tom Lane
[ getting back to this after assorted distractions ] Andres Freund and...@anarazel.de writes: On Thursday, January 12, 2012 02:24:44 AM Tom Lane wrote: Andres Freund and...@anarazel.de writes: On Thursday, January 12, 2012 01:01:01 AM Tom Lane wrote: Looks pretty bogus to me. You're

Re: [BUGS] BUG #6457: Regexp not processing word (with special characters on ends) correctly (UTF-8)

2012-02-14 Thread Tom Lane
albert.cieszkow...@cc.com.pl writes: OS, base and client encoding UTF-8: What's your lc_collate/lc_ctype settings? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [BUGS] BUG #6457: Regexp not processing word (with special characters on ends) correctly (UTF-8)

2012-02-14 Thread Tom Lane
look like we're even trying to cache the results, ick.) regards, tom lane -- 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 #6459: logging_collector=off but log_filename set inhibits logoutpu

2012-02-14 Thread Tom Lane
of logging_collector can't be changed without a postmaster restart (which is why it's a separate variable from log_destination). regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org

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

2012-02-09 Thread Tom Lane
--- will announce it on pgsql-hackers, so you can keep an eye on that list if you want advance notice.) regards, tom lane -- 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 #6440: Window function in WHERE evaluated after agregate

2012-02-08 Thread Tom Lane
to be a lot more efficient than this row_number() = 1 locution anyway. regards, tom lane -- 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 #6425: Bus error in slot_deform_tuple

2012-02-06 Thread Tom Lane
[ in re bugs 6200 and 6425 ] I've committed patches for all the issues I could find pursuant to these bug reports. Please see if you can break REL9_0_STABLE branch tip (or 9.1 if that's what you're working with). regards, tom lane -- Sent via pgsql-bugs mailing list

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

2012-02-03 Thread Tom Lane
Duncan Rance postg...@dunquino.com writes: On 3 Feb 2012, at 06:45, Tom Lane wrote: I probably ought to let the test case run overnight before concluding anything, but at this point it's run for two-plus hours with no errors after applying this patch: Thank Tom! I've had this running

Re: [BUGS] BUG #6426: Complex query runs 10 times longer with LIMIT 20

2012-02-02 Thread Tom Lane
JOINs in the query, the order can matter. regards, tom lane -- 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 #6407: Crash on queries to gin index with multiply values

2012-02-02 Thread Tom Lane
eshkinkot eshkin...@gmail.com writes: Ah, sorry, looks like it already fixed in REL9_1_STABLE 5d7d12de56be2c746bfc30214d3300644e8dc0f3 Oh, of course. I couldn't reproduce it because I was testing 9.1 branch tip. regards, tom lane -- Sent via pgsql-bugs mailing list

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

2012-02-02 Thread Tom Lane
') to ts=$$ ie use PID not timestamp as the pseudo-unique key. This could be made more bulletproof yet, but it didn't seem worth more trouble.) regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

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

2012-02-02 Thread Tom Lane
Assert(ItemIdIsNormal(lpp)); (gdb) p lpp $1 = (ItemIdData *) 0x7fea59705d90 (gdb) p *lpp $2 = {lp_off = 7936, lp_flags = 1, lp_len = 34} This suggests very strongly that indeed the buffer was changing under us. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql

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

2012-02-02 Thread Tom Lane
about what this says about the amount of testing Hot Standby has gotten, because AFAICS absolutely any use of Hot Standby, no matter the particulars, ought to be heavily exposed to this bug. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org

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

2012-02-02 Thread Tom Lane
in the build process could be significant. regards, tom lane -- 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 #6424: Possible error in time to seconds conversion

2012-02-01 Thread Tom Lane
is one of the possible solutions to the problem being discussed over here: http://archives.postgresql.org/pgsql-general/2012-01/msg00649.php but I don't believe we have any consensus yet about whether that would be a good idea. regards, tom lane -- Sent via pgsql-bugs mailing

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

2012-02-01 Thread Tom Lane
. regards, tom lane -- 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 #6200: standby bad memory allocations on SELECT

2012-02-01 Thread Tom Lane
routine that hasn't been upgraded to acquire sufficient buffer locks. Pre-hot-standby, there was no reason for them to be careful about locking. On the other hand, if that were the cause, you'd expect the symptoms to be a bit more variable... regards, tom lane -- Sent via

Re: [BUGS] BUG #6424: Possible error in time to seconds conversion

2012-02-01 Thread Tom Lane
available operations. I think you have to do what the OP suggests here, namely subtract two timestamp values (forming an interval) and then use extract(epoch from interval). Ugh. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make

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

2012-02-01 Thread Tom Lane
complete instructions for duplicating this, we could probably find the cause fairly quickly. What I don't get is why this is causing the client to abort, and not the backend. As Alvaro said, it's not reaching the abort(). You should use PANIC instead. regards, tom lane

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

2012-02-01 Thread Tom Lane
-making code gets around to examining the shared memory, the other process that's hypothetically changing the page will have done its work and moved on. A crash in process X doesn't freeze execution in process Y, at least not in any Unixoid system I've ever heard of. regards, tom

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

2012-01-31 Thread Tom Lane
Robert Haas robertmh...@gmail.com writes: On Tue, Jan 31, 2012 at 12:05 AM, Tom Lane t...@sss.pgh.pa.us wrote: BTW, after a bit more reflection it occurs to me that it's not so much that the data is necessarily *bad*, as that it seemingly doesn't match the tuple descriptor that the backend's

Re: [BUGS] inet subtraction fails with IPv6?

2012-01-31 Thread Tom Lane
doesn't really seem like an improvement for typical use-cases. I'm fairly sure this was debated when the operator was added, and we thought it was an acceptable limitation; though maybe with IPv6 finally starting to see real usage it's going to seem less so. regards, tom

Re: [BUGS] BUG #6421: Revoke column level privilage

2012-01-30 Thread Tom Lane
. This is per design and AFAIK it's per the SQL standard's requirements. There's a lot of fine print in the Notes sections of the GRANT and REVOKE reference pages, which you might find helpful. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make

Re: [BUGS] BUG #6420: Incorrect description of Postgres time system

2012-01-30 Thread Tom Lane
such arithmetic into the future mean that we're not likely ever to try to support it. So anyway, if you want to propose some documentation corrections, we're all ears. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your

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

2012-01-30 Thread Tom Lane
extent.) Still baffled here. regards, tom lane -- 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 Tom Lane
Josh Berkus j...@agliodbs.com writes: On 1/28/12 5:27 PM, Tom Lane wrote: Josh Berkus j...@agliodbs.com 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

Re: [BUGS] BUG #6416: Expression index not used with UNION ALL queries

2012-01-29 Thread Tom Lane
. regards, tom lane -- 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 #6412: psql fe-connect truncate passwords

2012-01-28 Thread Tom Lane
the use-case for passwords longer than that? regards, tom lane -- 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] Segfault in backend CTE code

2012-01-28 Thread Tom Lane
Phil Sorber p...@omniti.com writes: On Wed, Jan 25, 2012 at 5:13 PM, Tom Lane t...@sss.pgh.pa.us wrote: I played around with removing the optimization, but there are other pieces further down the line that are upset but having a ModifyTable node in the execution tree. Hm, yeah, obviously

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

2012-01-28 Thread Tom Lane
Josh Berkus j...@agliodbs.com 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, thanks for the report. regards, tom

Re: [BUGS] Documentation bug regarding collations

2012-01-28 Thread Tom Lane
for the report. regards, tom lane -- 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] Example in plpgsql docs can lead to infinite loop

2012-01-28 Thread Tom Lane
this. regards, tom lane -- 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] pgcrypto decrypt_iv() issue

2012-01-27 Thread Tom Lane
Marko Kreen mark...@gmail.com writes: On Fri, Jan 27, 2012 at 12:13:21PM -0500, Tom Lane wrote: I think we should fix and back-patch these two specific bugs. The openssl.c change sounds like it might be something for HEAD only. Now I looked more in-depth and seems my comments were off

Re: [BUGS] 8.4, 9.0 bug (doesn't exist in 9.1) related to window functions

2012-01-26 Thread Tom Lane
case fixed here: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=c1d9579dd and as noted in that commit message, it didn't appear worth the risk of fixing it in released branches. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] pgcrypto decrypt_iv() issue

2012-01-26 Thread Tom Lane
? regards, tom lane -- 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] Segfault in backend CTE code

2012-01-25 Thread Tom Lane
good, and that the only safe fix is to take it out. That code path is (obviously) none too well tested, so we should not have it setting up execution tree structures that are not like those used normally. It's just begging for trouble. regards, tom lane -- Sent via pgsql

Re: [BUGS] Segfault in backend CTE code

2012-01-24 Thread Tom Lane
Phil Sorber p...@omniti.com writes: On Tue, Jan 24, 2012 at 12:43 AM, Tom Lane t...@sss.pgh.pa.us wrote: How about a test case? We are having trouble coming up with a test case that can reliably reproduce this. The stack traces run through the EvalPlanQual machinery, which is only going

Re: [BUGS] Segfault in backend CTE code

2012-01-23 Thread Tom Lane
Phil Sorber p...@omniti.com writes: I've attached a backtrace. How about a test case? I have no faith in the proposed patch without some evidence of what it's supposed to fix. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make

Re: [BUGS] BUG #6401: IS DISTINCT FROM improperly compares geomoetric datatypes

2012-01-19 Thread Tom Lane
to compare with. regards, tom lane -- 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 #6389: Fsync failed while creating DB

2012-01-13 Thread Tom Lane
. The only thing that's in question is whether we should allow certain errno values to pass without comment. regards, tom lane -- 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 #6393: cluster sometime fail under heavy concurrent write load

2012-01-12 Thread Tom Lane
, or we could add enough code to verify that there's a match. The latter seems like overkill, and yet I'm not 100% comfortable with just assuming a collision is OK. Comments? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes

Re: [BUGS] BUG #6393: cluster sometime fail under heavy concurrent write load

2012-01-12 Thread Tom Lane
, tom lane -- 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 #6391: insert does not insert correct value

2012-01-11 Thread Tom Lane
has a trigger that is doing date_trunc('year',...) or something like that on the column value. regards, tom lane -- 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 #6391: insert does not insert correct value

2012-01-11 Thread Tom Lane
-01-11 | 2012-01-11 2 | 2012-01-11 | 2012-01-11 3 | 2012-01-11 | 2012-01-11 (3 rows) and it does not remind me of any known/fixed bug in community 8.2.x. So I'd have to say this is a Greenplum bug. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs

Re: [BUGS] Weird message when creating PK constraint named like table

2012-01-11 Thread Tom Lane
as duplicate_table, which is exactly what the problem is (well, as long as you know that tables and indexes share the same namespace in PG). regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http

<    2   3   4   5   6   7   8   9   10   11   >