threads
listlengths
1
2.99k
[ { "msg_contents": "Hi\n\nI am trying to build Orafce and I have problem due access to exported\nvariable session_timezone.\n\nThe build fails with message:\n\n1> Creating library\nC:\\Users\\Pavel\\orafce-VERSION_3_1_2\\orafce-VERSION_3_1_2\\msvc\\/bin/x64/9.4/lib/orafce.lib\nand object\nC:\\Users\\Pavel\\o...
[ { "msg_contents": "Hi,\n\nI've been thinking about how parallelism interacts with sorting over\nthe last few days and I wanted to share a few preliminary thoughts. I\ndefinitely don't have all the answers worked out here yet, so thoughts\nare welcome. But here are a few observations:\n\n1. Parallel sort is us...
[ { "msg_contents": "The BRIN README notes:\n\n\"\"\"\nSince no heap TIDs are stored in a BRIN index, it's not necessary to scan the\nindex when heap tuples are removed. It might be that some summary values can\nbe tightened if heap tuples have been deleted; but this would represent an\noptimization opportunity ...
[ { "msg_contents": "> On Fri, Nov 20, 2015 at 12:11 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> >> On Thu, Nov 19, 2015 at 6:39 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> >> > So, are you suggesting to make a patch that allows ForeignScan to have\r\n> >> > multiple sub-plans right now? Or, one...
[ { "msg_contents": "While going through nodeGather.c, I noticed portions of the file header\ncomment that may have been obsoleted by recent revisions of the relevant\nparellelism code. For example, there is a reference to PartialSeqScan node\nwhich did not make it into the tree. Attached fixes it. Also, wonderin...
[ { "msg_contents": "On Tue, Dec 10, 2013 at 1:30 AM, Peter Geoghegan <pg@heroku.com> wrote:\n> pg_stat_statements' fingerprinting logic considers the following two\n> statements as distinct:\n>\n> select 1 in (1, 2, 3);\n> select 1 in (1, 2, 3, 4);\n>\n> This is because the ArrayExpr jumble case jumbles any Arra...
[ { "msg_contents": "Collegues,\n\nI've noticed that source distribution archive of the postgresql contain\nmore than hundred of .gitignore files and one .gitattributes.\n\nIs it just a bug nobody bothered to fix, or these files can make\nany sense outside git repository?\n\nFix of the problem is quite trivial:\n...
[ { "msg_contents": "Are the values for the log locations really relevant for backup\nconnections? And if they are, we need to document it :) ISTM we are just\nmore or less leaking random data out there?\n\nI'm talking about the actual state=backup connection - not the connection\nif we're using -x with pg_baseba...
[ { "msg_contents": "Currently log messages generated by pgaudit can be made visible to the \nclient simply by altering client_min_messages. While this has not been \na showstopper for anyone it's ideal, either.\n\nThe client authentication code sets the global variable \nClientAuthInProgress which causes erepor...
[ { "msg_contents": "Improve pageinspect module\n\nNow pageinspect can show data stored in the heap tuple.\n\nNikolay Shaplov\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/d6061f83a166b015657fda8623c704fcb86930e9\n\nModified Files\n--------------\ncontrib/pageinspect/Makef...
[ { "msg_contents": "Currently, libpq's PQhost() function will return NULL if the connection is\nusing the default Unix-socket connection address. This seems like a\npretty dubious definition to me. psql works around it in several places\nwith\n\n host = PQhost(pset.db);\n if (host == NULL...
[ { "msg_contents": "Attached find a patch that does (mostly) two things. First, it allows\nthe optimizer to generate plans where a Nested Loop or Hash Join\nappears below a Gather node. This is a big improvement on what we\nhave today, where only a sequential scan can be parallelized; with\nthis patch, entire ...
[ { "msg_contents": "There's a discussion over at\nhttp://www.postgresql.org/message-id/flat/2sa.Dhu5.1hk1yrpTNFy.1MLOlb@seznam.cz\nof an apparent error in our WIN1250 -> LATIN2 conversion. I looked into this\nand found that indeed, the code will happily translate certain characters\nfor which there seems to be ...
[ { "msg_contents": "I'm doing some experimenting with the storage engine and I'd like to use a\nC++ static library (that has C headers). I only need this to build on\nUbuntu 64-bit for now.\nHow do I make postgres build with this library?\nWhat changes do I need to make to the build system files?\nI assume head...
[ { "msg_contents": "Hi,\n\nI've been doing some power failure tests (i.e. unexpectedly \ninterrupting power) a few days ago, and I've discovered a fairly serious \ncase of silent data loss on ext3/ext4. Initially i thought it's a \nfilesystem bug, but after further investigation I'm pretty sure it's our \nfault...
[ { "msg_contents": "Hi hackers,\n\nThis is my proposal for 'pg_dump' utility enhancements which enable backup and \nrecovery of statistical data stored in the 'pg_statistic' table. Statistical \ndata is very valuable for the query planner, so support engineers have to \nmanually generate it using ANALYZE wheneve...
[ { "msg_contents": "Hi!\n\nThere are two commitfest entries which are linked to the same patch/thread\n\nMove PinBuffer and UnpinBuffer to atomics\n https://commitfest.postgresql.org/7/370/\nand\nReplace buffer manager spinlock with atomic operations\n https://commitfest.postgresql.org/7/408/\n\nSupp...
[ { "msg_contents": "It looks like commit 3bd909b22 did not place GatherPath within\nprint_path(), preventing complete information for Gather paths from\nappearing when OPTIMIZER_DEBUG is in use.\n\nAttached patch fixes the issue.\n\n-- \nPeter Geoghegan\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hack...
[ { "msg_contents": "I was getting segfaults while working on the current master for a while.\nThis is the shortest way I could found to reproduce the problem:\n\ncreate or replace function is_distinct_from(anyelement, anyelement)\nreturns boolean language sql\nas 'select $1 is distinct from $2';\n\ncreate operat...
[ { "msg_contents": "The C collation is treated exactly the same as other collations when\nconsidering whether the generation of abbreviated keys for text should\ncontinue. This doesn't make much sense. With text, the big cost that\nwe are concerned about going to waste should abbreviated keys not\ncapture suffic...
[ { "msg_contents": "Hello PG Hackers,\n\n\nI created a custom C function with this signature:\n\nCREATE FUNCTION calculate_hash(numbers int2[])\nRETURNS int8\nAS 'MODULE_PATHNAME', 'pg_calculate_hash'\nLANGUAGE C\nIMMUTABLE STRICT;\n\n\nAnd here is the function source code (inspired in codes I found in\nsrc/back...
[ { "msg_contents": "Hello PG Hackers,\n\n\nI created a custom C function with this signature:\n\nCREATE FUNCTION calculate_hash(numbers int2[])\nRETURNS int8\nAS 'MODULE_PATHNAME', 'pg_calculate_hash'\nLANGUAGE C\nIMMUTABLE STRICT;\n\n\nAnd here is the function source code (inspired in codes I found in\nsrc/back...
[ { "msg_contents": "Hello, the parallel scan became to work. So I'd like to repropose\nthe 'asynchronous execution' or 'early execution'.\n\nIn previous proposal, I had only foreign scan as workable\nexample, but now I can use the parallel execution instead to make\nthis distinctive from parallel execution itsel...
[ { "msg_contents": "Hello all,\n\nWe have implemented ACID multimaster based on logical replication and \nour DTM (distributed transaction manager) plugin.\nGood news is that it works and no inconsistency is detected.\nBut unfortunately it is very very slow...\n\nAt standalone PostgreSQL I am able to achieve abo...
[ { "msg_contents": "Well, it's December nearly, and we don't seem to be making much progress\ntowards pushing out 9.5.0. I see the following items on\nhttps://wiki.postgresql.org/wiki/PostgreSQL_9.5_Open_Items\n\n* Open Row-Level Security Issues\n\nSeems like what's left here is only documentation fixes, but th...
[ { "msg_contents": "Hello,\n\nI figured out that it's not possible to use a hypothetical gin index, as\nthe gincostestimate function try to retrieve some statistical data from\nthe index meta page.\n\nAttached patch fixes this. I believe this should be back-patched as was\na2095f7fb5a57ea1794f25d029756d9a140fd42...
[ { "msg_contents": "We already allow a SELECT's target list to contain non-aggregated columns\nin a GROUP BY query in cases where the non-aggregated column is\nfunctionally dependent on the GROUP BY clause.\n\nFor example a query such as;\n\nSELECT p.product_id,p.description, SUM(s.quantity)\nFROM product p\nINN...
[ { "msg_contents": "Hi hackers,\n\nI'd like to share some thoughts on 'recovery.conf'-related variables.\n\n\nIntroduction\n============\n\nThe 'recovery.conf' file is used to set up the recovery configuration of a \nPostgreSQL server. Its structure closely resembles that of the \n'postgresql.conf' file whose se...
[ { "msg_contents": "Hi Hackers!\n\nThis post summarizes a few weeks of research of ANALYZE statistics\ndistribution on one of our bigger production databases with some real-world\ndata and proposes a patch to rectify some of the oddities observed.\n\n\nIntroduction\n============\n\nWe have observed that for cert...
[ { "msg_contents": "regression=# \\pset format wrapped\nOutput format is wrapped.\nregression=# \\x\nExpanded display is on.\nregression=# select * from int8_tbl;\n-[ RECORD 1 ]-------------------------------------------------------------------\nq1 | 123\nq2 | 456\n-[ RECORD 2 ]----------------------------------...
[ { "msg_contents": "Hackers,\n\nLooks like Mac OS X 10.11 El Capitan has remove the OpenSSL header files. They recommend building your own or using native OS X SDKs, like Secure Transport:\n\n http://lists.apple.com/archives/macnetworkprog/2015/Jun/msg00025.html\n\nI don’t suppose anyone has looked at what it w...
[ { "msg_contents": "Further tweaking of print_aligned_vertical().\n\nDon't force the data width to extend all the way to the right margin if it\ndoesn't need to. This reverts the behavior in non-wrapping cases to be\nwhat it was in 9.4. Also, make the logic that ensures the data line width\nis at least equal t...
[ { "msg_contents": "> On Thu, Nov 26, 2015 at 12:04 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > The attached patch adds: Path *fdw_outerpath field to ForeignPath node.\r\n> > FDW driver can set arbitrary but one path-node here.\r\n> > After that, this path-node shall be transformed to plan-node by\r\n...
[ { "msg_contents": "> On Thu, Nov 26, 2015 at 5:27 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > I'm now implementing. The above design perfectly works on ForeignScan.\r\n> > On the other hands, I'd like to have deeper consideration for CustomScan.\r\n> >\r\n> > My recent patch adds LibraryName and Symb...
[ { "msg_contents": "Currently find_inheritance_children() is smart enough to skip a child\ntable that it finds has been dropped concurrently after it gets a lock on\nthe same. It does so by looking up the child relid in syscache. It seems\nit should also check if the table is still in the list of children of the...
[ { "msg_contents": "I just noticed that parse_psql_options() ignores the result of setQFout(),\nmeaning that if the argument of a -o command line option is bogus, we'll\nignore the switch entirely after printing an error report. For example\n\n$ psql -o /dev/foo -c 'select 1'\n/dev/foo: Permission denied\n ?col...
[ { "msg_contents": "Hi\n\nToday I have problem with regress tests on my laptop.\n\nI did fresh clone of git\n\nIs it working elsewhere?\n\nRegards\n\nPavel\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgs...
[ { "msg_contents": "Hi all,\n\nI have a question about postgres_fdw optimizations/pushdown:\n\nI have the following code running on 9.5beta2 (same format as\nprevious/related message for consistency)\nCREATE EXTENSION postgres_fdw; \nCREATE SERVER loop foreign data wrapper postgres_fdw \n OPTIONS (port '5432', ...
[ { "msg_contents": "Hello Hackers,\n\n\nI recently analyzed an incident where a major lag in synchronous replication\nblocked a number of synchronous backends. I found myself looking at backends\nthat, according to pg_stat_activity, were neither waiting nor idle but yet they\ndidn't finish their work.\n\nAs it t...
[ { "msg_contents": "Refactor Perl test code\n\nThe original code was a bit clunky; make it more amenable for further\nreuse by creating a new Perl package PostgresNode, which is an\nobject-oriented representation of a single server, with some support\nroutines such as init, start, stop, psql. This serves as a b...
[ { "msg_contents": "I've recently noticed W-TinyLfu cache admission policy (see [1]) being\nused for caffeine \"high performance caching library for Java 8\".\nIt demonstrates high cache hit ratios (see [2]) and enables to build\nhigh-throughput caches (see caffeine in [3])\nAuthors explicitly allow implementati...
[ { "msg_contents": "Hi ALL,\n\nNeed your suggestions.\ninitially_valid flag is added to make column constraint valid. (commit : http://www.postgresql.org/message-id/E1Q2Ak9-0006hK-M4@gemulon.postgresql.org)\n\n\nIFAICU, initially_valid and skip_validation values are mutually exclusive at constraint creation(ref:...
[ { "msg_contents": "Hi,\n\nI am seeing different results with two queries which AFAIU have same\nsemantics and hence are expected to give same results.\n\npostgres=# \\d t1\n Table \"public.t1\"\n Column | Type | Modifiers\n--------+---------+-----------\n val | integer |\n val2 | integer |\n\npostg...
[ { "msg_contents": "The \"snapshot too old\" patch has an XXX comment about being able to\ndrop a spinlock usage from a frequently called \"get\" method if the\n64-bit read could be trusted to be atomic. There is no need for a\nbarrier in this case, because a stale value just means we won't be\nquite as aggress...
[ { "msg_contents": "psql --help=variables shows variables treated specially by psql. And it\ntells you\n\nUsage:\n psql --set=NAME=VALUE\n or \\set NAME VALUE\n\nBut some of the variables listed cannot usefully be set, only read, such as\n\n DBNAME the currently connected database name\n HOST ...
[ { "msg_contents": "Hi all,\n\nWhile running the test suite this morning I have noticed the following error:\nserver stopped\nreadline() on closed filehandle $pidfile at\n/Users/ioltas/git/postgres/src/bin/pg_rewind/../../../src/test/perl/PostgresNode.pm\nline 308.\nUse of uninitialized value in concatenation (....
[ { "msg_contents": "Hello all,\n\nCurrent implementation of ResourceOwner uses arrays to store resources\nlike TupleDescs, Snapshots, etc. When we want to release one of these\nresources ResourceOwner finds it with linear scan. Granted, resource\narray are usually small so its not a problem most of the time. But...
[ { "msg_contents": "Attached patch adds support of partial decompression for datums.\nIt will be useful in many cases when extracting part of data is\nenough for big varlena structures.\n\nIt is especially useful for expanded datums, because it provides\nstorage for partial results.\n\nI have another patch, whic...
[ { "msg_contents": "Yesterday I was fooling around with the TAP tests, and at least once\nI changed my mind and control-C'd out of a run. Today I find:\n\n[postgres@sss1 pgsql]$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nUntracked files:\n (use \"git add <file>...\" to inc...
[ { "msg_contents": "Hi hackers,\n\nWe are developing and maintaining a Pacemaker resource agent for PostgreSQL\nhere. This agent is \"stateful\", ie. it knows where is the master and where are\nthe slaves. See [1]. Now that this resource agent version is close to what we\nwanted to achieve, we will make some off...
[ { "msg_contents": "So over in my private branch where I've been fooling around with upper\nplanner pathification, I've been sweating bullets to avoid enlarging the\nsize of struct Path, because I was aware that common path types like\nIndexPath and AppendPath were already a power-of-2 size (at least on\n64-bit ...
[ { "msg_contents": "Using a Windows computer, editing the file:\nC:\\WINDOWS\\system32\\drivers\\etc\\hosts\nthe localhost entry was remapped to the machine name by adding the following line:\n127.0.0.1 <Computer-Name>\n\nAfter this change, Postgres would not allow access using the address localhost.\nOnly...
[ { "msg_contents": "Hello,\n\nI just noticed that last night all built branches failed on my buildfarm \nanimal, jaguarundi. They all failed on the \"xml\" test, and the output is \nessentially the same everywhere:\n\n***************\n*** 9,16 ****\n LINE 1: INSERT INTO xmltest VALUES (3, '<wrong');\n ...
[ { "msg_contents": "Hi,\n\nI'd like to gather up what the community interest might be for this patch.\nLet me explain:\n\nAs of today Equivalence Classes are used in the query planner to allow the\nplanner to have more flexibility into the join order by collecting\ninformation to describe which expressions are e...
[ { "msg_contents": "In PL/Java's function annotations, 'type' has been used for the\nvolatility category:\n\n\n@Function(type=IMMUTABLE)\npublic static String hello() { return \"Hello, world!\"; }\n\n\nIt seems a bit infelicitous because you would probably sooner guess that\n'type' was telling you something abou...
[ { "msg_contents": "> On Wed, Dec 2, 2015 at 4:06 AM, Andres Freund <andres@anarazel.de> wrote:\r\n> > On 2015-12-02 08:52:20 +0000, Kouhei Kaigai wrote:\r\n> >> diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c\r\n> >> index 26264cb..c4bb76e 100644\r\n> >> --- a/src/backend/nodes/copyfu...
[ { "msg_contents": "Hi,\n\nI've added new grammar rules to sqlsmith and improved some older ones.\nThis was rewarded with a return of \"failed to generate plan\" errors.\nThe failing queries all contain a lateral subquery. The shortest of the\nfailing queries are below. They were run against the regression db ...
[ { "msg_contents": "Hi\n\nSince the ICU patch from the BSD ports trees has been discussed on\nthis list a few times I thought people might be interested in this\nnews:\n\nhttps://lists.freebsd.org/pipermail/freebsd-current/2015-October/057781.html\nhttps://www.dragonflybsd.org/release44/\nhttps://forums.freebsd....
[ { "msg_contents": "The new function jsonb_delete does not appear to be documented. Is that\nintentional?\n\nThe only thing that's documented is the #- operator for\njsonb_delete_path. But jsonb_delete(jsonb, text) and\njsonb_delete(jsonb, int) are not documented. (Those don't have an\noperator.)\n\n\n-- \nSe...
[ { "msg_contents": "There is a redundant second appearance of more or less the same\nsentence at one point in the new INSERT documentation -- I missed this\nduring the recent overhaul of the 9.5+ INSERT documentation.\n\nAttached is a trivial patch that fixes this issue.\n\n-- \nPeter Geoghegan\n\n\n\n-- \nSent ...
[ { "msg_contents": "On Mon, Dec 7, 2015 at 11:37 PM, Fujii Masao <masao.fujii@gmail.com> wrote:\n\n> The latest patch has another problem; pg_receivexlog trying to connect to\n> the PostgreSQL >= 9.4 always reports the following message unexpectedly.\n>\n> could not identify system: got 1 rows and 4 fields, expe...
[ { "msg_contents": "Hi all,\n\nPlease help...\n\nI have 1 master PostgreSQL and 1 standby PostgreSQL.\nBoth servers has the same OS Linux Debian Wheezy, the same hardware.\n\nBoth server hardware:\nCPU: 24 cores\nRAM: 128GB\nDisk-1: 800GB SAS (for OS, logs, WAL archive directory)\nDisk-2: 330GB SSD (for PostgreS...
[ { "msg_contents": "Hi,\n\nAttached is a small patch to adjust a comment in setrefs.c; in\nset_foreignscan_references, fdw_recheck_quals also gets adjusted to\nreference foreign scan tuple, in case of a foreign join, so I added\n\"etc.\", to a comment there, as the comment in case of a simple foreign\ntable scan...
[ { "msg_contents": "Hi\n\nWe have registered two new buildfarm animals for RHEL 7 on PPC64 and\nPPC64LE (Little Endian). The configure for 9.3, 9.2 and 9.1 failed on\nppc64le with the error \"error: cannot guess build type; you must specify\none\". This is because config.guess for these branches don't expect the...
[ { "msg_contents": "​\nHi all,\n\n​\nI found some lacks of tab-completion for RLS in 9.5.\n\n* ALTER POLICY [TAB]\nI expected to appear the list of policy name, but nothing is appeared.\n\n* ALTER POLICY hoge_policy ON [TAB]\nI expected to appear the list of table name related to specified policy,\nbut all table...
[ { "msg_contents": "Hi,\n\nFollowing last week's commit 344cdff :\n\nAuthor: Tom Lane <tgl@sss.pgh.pa.us>\nDate:\tThu Dec 3 14:28:58 2015 -0500\n\n Clean up some psql issues around handling of the query output file.\n\n Formerly, if \"psql -o foo\" failed to open the output file \"foo\", it would\n prin...
[ { "msg_contents": "For grins I tried running the TAP tests on my ancient HPUX box that\nhosts pademelon and gaur. At first they showed a lot of failures,\nwhich I eventually determined were happening because slurp_file was\nonly retrieving part of the postmaster logfile, causing issues_sql_like\nto mistakenly ...
[ { "msg_contents": "Hello,\n\nThe following patch deals with a long standing gripe of mine that the\nterminal frequently gets garbled so that when typing. I guess this\nproblem is entirely dependent on pager settings and your interaction\npatterns with the window (in particular, if you tend to resize the\nwindo...
[ { "msg_contents": "> On Tue, Dec 8, 2015 at 10:00 PM, Etsuro Fujita\r\n> <fujita.etsuro@lab.ntt.co.jp> wrote:\r\n> >> I think the actual regression test outputs are fine, and that your\r\n> >> desire to suppress part of the plan tree from showing up in the\r\n> >> EXPLAIN output is misguided. I like it just th...
[ { "msg_contents": "Hello.\n\nWhile working with cluster stuff (DTM, tsDTM) we noted that postgres 2pc transactions is approximately two times slower than an ordinary commit on workload with fast transactions — few single-row updates and COMMIT or PREPARE/COMMIT. Perf top showed that a lot of time is spent in ke...
[ { "msg_contents": "This is per a report by an EnterpriseDB customer and a bunch of\noff-list analysis by Kevin Grittner and Rahila Syed.\n\nSuppose you have a large relation with OID 123456. There are segment\nfiles 123456, 123456.1, and 123456.2. Due to some kind of operating\nsystem malfeasance, 123456.1 di...
[ { "msg_contents": "I'm doing some extension development (in C) and have a situation where I\nneed to examine the target list of a view, but all I have is the view's oid.\n\nAn approach that works is (pseudocode):\n SPI_connect();\n \"SELECT ev_action FROM pg_catalog.pg_rewrite WHERE rulename = '_RETURN'\nan...
[ { "msg_contents": "Collegues,\n\nRecently (about a month ago) flex 2.6.0 have been released.\n\nBut when we tried to compile PostgreSQL 9.5 beta 1 from git with it on\nWindows, we've encountered that src/tools/msvc/pgflex.pl explicitely \nchecks that minor version of flex is equal to 5.\n\n unless ($verparts...
[ { "msg_contents": "Hi,\n\nWe just notice $SUBJECT. Attached patch fixes it by ignoring USER\nMAPPINGs in shdepReassignOwned() just like it happens with default\nACLs.\n\nDROP OWNED manages it well.\n\n-- \nJaime Casanova www.2ndQuadrant.com\nProfessional PostgreSQL: Soporte 24x7 y capacitac...
[ { "msg_contents": "Hello Hackers,\n\n Reviving an old thread on simplifying the bootstrap process.\n\n I'm a developer from the GPDB / HAWQ side of the world where we did some\nwork a while back to enable catalog definition via SQL files and we have\nfound it valuable from a dev perspective. The mechanism cu...
[ { "msg_contents": "Hi,\n\nI recently started a pgbench benchmark (to evaluate a piece of hardware,\nnot postgres) with master. Unfortunately, by accident, I started\npostgres in a shell, not screen like pgbench.\n\nJust logged back in and saw:\nclient 71 aborted in state 8: ERROR: database is not accepting com...
[ { "msg_contents": "A quick doc search indicates this config was created in 9.0, though the \ndocs state it's for a change that happened in 8.2[1]. Both versions are \nnow supported, and 8.2 is obviously ancient.\n\nIs it time to remove this GUC?\n\n[1] http://www.postgresql.org/docs/9.0/static/runtime-config-co...
[ { "msg_contents": "Recently I had need of removing occurrences of a number of values from \nan array. Obviously I could have nested array_remove() call or wrapped \nthe whole thing in a SELECT unnest(), but that seems rather silly and \ninefficient.\n\nAny one have objections to changing array_replace_internal(...
[ { "msg_contents": "Is there any reason we couldn't/shouldn't support IS DISTINCT in \nsubquery_Op? (Or really, just add support to ANY()/ALL()/(SELECT ...)?)\n-- \nJim Nasby, Data Architect, Blue Treble Consulting, Austin TX\nExperts in Analytics, Data Architecture and PostgreSQL\nData in Trouble? Get it in Tre...
[ { "msg_contents": "Hackers,\n\nI discovered interesting issue with PostgreSQL transaction isolation.\nWhen transaction is in repeatable read isolation level, I can't see table\nwhich was created after transaction obtained snapshot. But I can run DML\nstatements with this table. See example below.\n\nSession 1\n...
[ { "msg_contents": "Hi All,\npostgres_fdw documentation says following about use_remote_estimate (\nhttp://www.postgresql.org/docs/devel/static/postgres-fdw.html)\n--\nuse_remote_estimate\nThis option, which can be specified for a foreign table or a foreign\nserver, controls whether postgres_fdw issues remote EX...
[ { "msg_contents": "Hello all,\n\nConsider following stacktrace:\n\n(gdb) bt\n#0 0x00007f77c81fae87 in semop () syscall-template.S:81\n#1 0x000000000063b721 in PGSemaphoreLock pg_sema.c:387\n#2 0x0000000000692e1b in LWLockAcquire lwlock.c:1026\n#3 0x000000000068d4c5 in LockAcquireExtended lock.c:881\n#4 0x0...
[ { "msg_contents": "So I did a routine software update on my RHEL6 workstation, and noticed\na security update for libxml2 go by. And guess what: now an XML-enabled\nbuild of Postgres fails regression tests for me, just as previously\ndiscussed in\nhttp://www.postgresql.org/message-id/flat/CAFj8pRA4xJQFGNQCqMCY...
[ { "msg_contents": "Hi,\n\nA customer of ours hit some very slow code while running the\n@>(polygon, polygon) operator with some big polygons. I'm not familiar\nwith this stuff but I think the problem is that the algorithm converges\ntoo slowly to a solution and also has some pretty expensive calls\nsomewhere. ...
[ { "msg_contents": "I'm happy working these ideas forward if there is interest.\n\nBasic design proposal is:\n - keep a minimal amount of bootstrap to avoid intrusive changes to core\ncomponents\n - Add capabilities of creating objects with specific OIDs via DDL during\ninitdb\n - Update the caching/resolutio...
[ { "msg_contents": "Handle policies during DROP OWNED BY\n\nDROP OWNED BY handled GRANT-based ACLs but was not removing roles from\npolicies. Fix that by having DROP OWNED BY remove the role specified\nfrom the list of roles the policy (or policies) apply to, or the entire\npolicy (or policies) if it only appli...
[ { "msg_contents": "pg_rewind: Don't error if the two clusters are already on the same timeline\n\nThis previously resulted in an error and a nonzero exit status, but\nafter discussion this should rather be a noop with a zero exit status.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/p...
[ { "msg_contents": "These two tab completion pieces look strange to me:\n\n /* If we have CREATE|UNIQUE INDEX <sth> CONCURRENTLY, then add \"ON\" */\n else if ((pg_strcasecmp(prev3_wd, \"INDEX\") == 0 ||\n pg_strcasecmp(prev2_wd, \"INDEX\") == 0) &&\n pg_strcasecmp(prev_wd, \"CO...
[ { "msg_contents": "Sometimes I need to repeat creating and dropping indexes while doing\nan SQL tuning work. As you might know, creating a large index takes\nlong time. So dropping the index and re-creating it is pain and\ncounter productive.\n\nWhat about inventing a new SET command something like:\n\nSET disa...
[ { "msg_contents": "Hi all,\n\nI just bumped into the following thing while looking again at Thomas'\npatch for psql tab completion:\n--- a/src/bin/psql/tab-complete.c\n+++ b/src/bin/psql/tab-complete.c\n@@ -1040,7 +1040,7 @@ psql_completion(const char *text, int start, int end)\n pg_strc...
[ { "msg_contents": "Hi,\n\nattached is a patch adding a function pg_current_xlog_flush_location(), \nwhich proved quite useful when investigating the ext4 data loss bug. \nIt's mostly what was already sent to that thread, except for docs that \nwere missing in the initial version.\n\nI'll put this into 2016-01 C...
[ { "msg_contents": "Hi,\n\nthis is the second improvement proposed in the thread [1] about ext4 \ndata loss issue. It adds another field to control file, tracking the \nlast known WAL segment. This does not eliminate the data loss, just the \nsilent part of it when the last segment gets lost (due to forgetting t...
[ { "msg_contents": "The attached patch changes web references to PostGIS to point to the actual community site (postgis.net) which is active, rather than the historical site (postgis.org).\n\nP.\n\n\n-- \nPaul Ramsey\nhttp://cleverelephant.ca\nhttp://postgis.net\n\n\n-- \nSent via pgsql-hackers mailing list (pgs...
[ { "msg_contents": "Hi,\n\nI am trying to create version of COPY command which can scatter/replicate data to different nodes based on some distribution method.\nThere is some master process, having information about data distribution, to which all clients are connected.\nThis master process should receive copied...
[ { "msg_contents": "Hackers,\n\nI'd like to propose a new feature: \"Custom compression methods\".\n\n*Motivation*\n\nCurrently when datum doesn't fit the page PostgreSQL tries to compress it\nusing PGLZ algorithm. Compression of particular attributes could be turned\non/off by tuning storage parameter of column...
[ { "msg_contents": "Hi all\n\nAttached is a patch against 9.6 to add support for informing logical\ndecoding plugins of the new sequence last_value when sequence advance WAL\nrecords are processed during decoding.\n\nThe primary purpose is to make logical replication based failover practical\nin 9.6 by ensuring ...
[ { "msg_contents": "Hi all,\n\nCurrently there is no equivalent of pg_stat_get_wal_senders for the\nWAL receiver on a node, and it seems that it would be useful to have\nan SQL representation of what is in shared memory should a WAL\nreceiver be active without going through the ps display for example.\nSo, any o...
[ { "msg_contents": "Hi, Hackers,\n\nI need some help to understand foreign table error handling.\n\nFor a query on foreign table, ExecInitForeignScan is called, which in turn\ncalls the BeginForeignScan hook. Inside this hook, I allocated some\nresource,\n\nnode->fdw_state = allocate_resource(...);\n\nIf every...
[ { "msg_contents": "Hi,\n\nWhile newer branches are at the moment mostly free of warnings for me,\nthe picture is entirely different in the older back branches, especially\n9.1. That has several hundred lines of warnings.\n\nI personally am not bothered by a handful of spurious warnings in the\nback branches, bu...
[ { "msg_contents": "Today, on my ubuntu 14.04 LTS system, I saw an XML change come through\nwith updates. My build on master is now broken with this:\n\n*** /home/kgrittn/pg/master/src/test/regress/expected/xml.out\n2015-11-23 08:15:28.206336200 -0600\n--- /home/kgrittn/pg/master/src/test/regress/results/xml.ou...