threads
listlengths
1
2.99k
[ { "msg_contents": "Last night my ancient HP compiler spit up on HEAD:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=pademelon&dt=2015-07-01%2001%3A30%3A18\ncomplaining thus:\ncpp: \"brin_pageops.c\", line 626: error 4018: Macro param too large after substitution - use -H option.\nI was able to revive ...
[ { "msg_contents": "Hi,\n\nDuring the 9.5 cycle, and earlier, the topic of increasing our minimum\nbar for compilers came up a bunch of times. Specifically whether we\nstill should continue to use C90 as a baseline.\n\nI think the time has come to rely at least on some newer features.\n\nAt the very least I thin...
[ { "msg_contents": "Fellow hackers,\n\nAs discussed at PGCon's developer meeting, this is the schedule for the\nupcoming commitfests:\n\nCF1: July 1 to July 31 2015\nCF2: September 1 to September 30 2015\nCF3: November 1 to November 30 2015\nCF4: Januart 2 to January 31 2016\nCF5: March 1 to March 31 2016\nFeatu...
[ { "msg_contents": "Hello. This is the new version of FDW async exection feature.\n\nThe status of this feature is as follows, as of the last commitfest.\n\n- Async execution is valuable to have.\n- But do the first kick in ExecInit phase is wrong.\n\nSo the design outline of this version is as following,\n\n- T...
[ { "msg_contents": "Hi,\n\nWhile working on the foreign-join-pushdown issue, I noticed that in READ\nCOMMITTED isolation level it's possible that the result of SELECT ...\nORDER BY ... FOR UPDATE is not sorted correctly due to concurrent\nupdates that replaced the sort key columns with new values as shown in\nth...
[ { "msg_contents": "Hello everyone! It is time to start reviewing patches:\n\n1. Pick a patch from the list at:\n\nhttps://commitfest.postgresql.org/5/\n\n2. Review it. Test it. Try to break it. Do we want the feature? Any \nweird interactions in corner-cases?\n\n3. Reply on the thread on pgsql-hackers with your...
[ { "msg_contents": "Hi,\n\nWhile I'm implementing the patch around pg_archivecleanup, I found\nthe following warning about pg_archivecleanup in the document.\n\n Note that the .backup file name passed to the program should not\ninclude the extension.\n\nISTM that pg_archivecleanup works as expected even if th...
[ { "msg_contents": "Hi,\n\nI've complained a number of times that our BufferTag is ridiculously\nlarge:\ntypedef struct buftag\n{\n RelFileNode rnode; /* physical relation identifier */\n ForkNumber forkNum;\n BlockNumber blockNum; /* blknum relative to begin of reln */\n} BufferTag;\n\n...
[ { "msg_contents": "The PostgreSQL Global Development Group announces that the alpha\nrelease of PostgreSQL 9.5, the latest version of the world's leading\nopen source database, is available today. This release contains\npreviews of all of the features which will be available in the final\nrelease of version 9....
[ { "msg_contents": "Hello -hackers,\n\nAs previously discussed on this list, I have coded up GSSAPI encryption\nsupport. If it is easier for anyone, this code is also available for\nviewing on my github:\nhttps://github.com/postgres/postgres/compare/master...frozencemetery:feature/gssencrypt\n\nFallback support...
[ { "msg_contents": "Hackers:\n\nI've added the following section to \"how to beta test\":\n\nhttps://wiki.postgresql.org/wiki/HowToBetaTest#Particular_Things_to_Test_in_9.5\n\nIt would be great if other folks could add particular things they'd like\nto see users test, so that we can make the alpha/beta cycle as ...
[ { "msg_contents": "So on #postgresql, I was musing about methods of getting checksums enabled/disabled without requiring a separate initdb step and minimizing the downtime required to get such functionality enabled.\n\nWhat about adapting pg_basebackup to add the following options:\n\n-k|--checksums - build the...
[ { "msg_contents": "Hoi,\n\nI ran into this in our CI setup and I thinks it's an actual bug. The\nissue appears to be that when a table is created *and truncated* in a\nsingle transaction, that the WAL log is logging a truncate record it\nshouldn't, such that if the database crashes you have a broken index.\nIt ...
[ { "msg_contents": "Is there a way to determine the operator that resulted in calling the \noperator function? I thought fcinfo->flinfo->fn_expr might get set to \nthe OpExpr, but seems it can be a FuncExpr even when called via an \noperator...\n-- \nJim Nasby, Data Architect, Blue Treble Consulting, Austin TX\n...
[ { "msg_contents": "We spend a lot of time debating what non standard behaviours are safe to\nrely on because other software relies on it. Someone actually went and\nsurveyed some major projects about what behaviours are being counted on.\n\nThree results aren't as conclusive as I would have expected but even so...
[ { "msg_contents": "Since apparently we're back to development work, I thought it was time\nto share a patch implementing a few additional simple tricks to make\nsorting text under a non-C locale even faster than in 9.5. These\ntechniques are mostly effective when values are physically clustered\ntogether. This ...
[ { "msg_contents": "As there are additional or moved binaries in comparison to 9.4\n\n-usr/bin/pg_archivecleanup.exe\n-usr/bin/pg_rewind.exe\n-usr/bin/pg_test_fsync.exe\n-usr/bin/pg_test_timing.exe\n-usr/bin/pg_upgrade.exe\n-usr/bin/pg_xlogdump.exe\n-usr/bin/pgbench.exe\n\nany suggestion where to fit them ?\nCur...
[ { "msg_contents": "Hi guys, I have a problem with a sipmle function in postgresql. The func()\ncalculates two integers to a result and returns it. The result is in the DB,\nbut not in the Console Line in C#. So for example when i have par1 = 2 and\npar2 = 5 I get an DB entry with 7 in the result row, but the Co...
[ { "msg_contents": "There was a stray \"s\" in \"classes implement*s*\". I've also added a\n\"the\" to make the sentence more readable (at least for me).\n\nChristoph\n-- \ncb@df7cb.de | http://www.df7cb.de/\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your s...
[ { "msg_contents": "I just found simple typo error :)\n\nstatment -> statement\nexcercise -> exercise\n\nThey are all in just comments :)\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "ms...
[ { "msg_contents": "I made a pass over pgbench's error messages to try to make them meet\nproject style guidelines. There was one rather large bit of inconsistency\nthat I didn't try to fix, though: something like half of the messages\nprepend \"pgbench: \" to the front, but the other half don't. Worse yet,\ns...
[ { "msg_contents": "Hello,\n\nFirst: KUDO !!! \nThe release notes are extremely promising in regard to performance improvements :-)\n\n\nI've made some (dirty) tests with BRIN and btree_gin.\n(on a smalll Windows laptop ...)\n\njust a few remarks:\n\n\n- btree_gin deserve a better description than that:\n\n \"H...
[ { "msg_contents": "Hi,\n\nBinturon has repeatedly failed with errors like:\nERROR: could not open file \"base/16400/32052\": No such file or directory\n\nE.g.\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=binturong&dt=2015-07-06%2014%3A20%3A24\n\nIt's not just master that's failing, even older branch...
[ { "msg_contents": "Quickie patch for spotted missing psql \\ddp tab-completion.\n\n\n\n\n\n\n--\nDavid Christensen\nPostgreSQL Team Manager\nEnd Point Corporation\ndavid@endpoint.com\n785-727-1171\n\n\n\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your sub...
[ { "msg_contents": "Hello!\n\nWhat is the best starting point to PostgreSQL internal APIs for operating directly with the storage (performing basic INSERTs, UPDATEs, SELECTs and simple JOINs by hand)? I'm looking for something similar to MySQL Cluster NDB API or InnoDB internal API (the late HailDB and Embedded ...
[ { "msg_contents": "There are 5 different strings (one has a whitespace error), they could\nbe 2. Patch attached.\n\npostgresql/src/backend$ grep errmsg commands/policy.c | grep policy |\nsed 's/^ *//'\n errmsg(\"policy \\\"%s\\\" for relation \\\"%s\\\" already exists\",\n errmsg(\"policy \\\"%s\\\" on table \\...
[ { "msg_contents": "Hi,\n\nThere've recently been more and more reports of \"unexpected data beyond\nEOF in block %u of relation %s\" for me to think that it's likely to be\ncaused by a kernel bug. It's now been reproduced at least on somewhat\nrecent linux and freebsd versions.\n\nSo I started looking around fo...
[ { "msg_contents": "postgresql/src/backend$ grep \"must be superuser to change bypassrls\nattribute\" commands/user.c | sed 's/ \\+//'\nerrmsg(\"must be superuser to change bypassrls attribute.\")));\n errmsg(\"must be superuser to change bypassrls attribute\")));\n\nPatch to fix attached.\n\n\n\n-- \nSent...
[ { "msg_contents": "Hi all,\n\nAs there have been complaints that it was hard to follow all the small\npatches I have sent to fix the issues related to Coverity, here they\nare gathered with patches for each one of them:\n1) Missing return value checks in jsonfuncs.c, fixed by 0001 (send\nhere previously =>\nCAB...
[ { "msg_contents": "When encountering an initdb failure in pg_regress, we were displaying the incorrect path to the log file; this commit fixes all 3 places this could occur.\n\n\n\n\n\n\n--\nDavid Christensen\nPostgreSQL Team Manager\nEnd Point Corporation\ndavid@endpoint.com\n785-727-1171\n\n\n\n\n\n\n\n-- \nS...
[ { "msg_contents": "I have discovered that psql \\pset format does not display\n\"latex-longtable\" as a valid value, e.g.:\n\n\ttest=> \\pset format kjasdf\n\t\\pset: allowed formats are unaligned, aligned, wrapped, html, asciidoc, latex, troff-ms\n\nWith the attached patch, the latex-longtable value is properl...
[ { "msg_contents": "> more global temp tables are little bit comfortable for developers,\nI'd like to emphasize this point. This feature does much more than saving a\ndeveloper from issuing a CREATE TEMP TABLE statement in every session. Here\nare two common use cases and I'm sure there are more.\n\n(1)\nImagin...
[ { "msg_contents": "Hi,\n\nOne of the debug messages related to logical replication could be more \nhelpful than it currently is. The attached patch reorders the two \noperations to make it so.\n\nPlease consider patching and back-patching.\n\n\n.m\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@...
[ { "msg_contents": "Hi,\n\nI had some trouble today with a misbehaving logical replication client \nwhich had confirmed a flush of an LSN far into the future. Debugging it \nwas a bit of a pain for a number of reasons, but I think the most \nimportant one was that confirmed_flush isn't exposed in \npg_stat_repl...
[ { "msg_contents": "Hello.\n\nCurrently, PostgreSQL offers many metrics for monitoring. However, detailed\nmonitoring of waits is still not supported yet. Such monitoring would\nlet dba know how long backend waited for particular event and therefore \nidentify\nbottlenecks. This functionality is very useful, esp...
[ { "msg_contents": "My Salesforce colleagues observed a failure mode in which a bug in the\ncrash recovery logic caused the startup process to get a SEGV while trying\nto recover after a backend crash. The postmaster should have given up at\nthat point, but instead it kept on respawning the startup process, whi...
[ { "msg_contents": "Hi,\n\nI just found that Log_disconnections value has not been\nexposed to outside of postgres.c.\nDespite that, Log_connections has already been exposed.\n\nSo, I'd like to add attached fix to touch the Log_disconnections\nvalue in other modules.\n\nAny comments?\n\nRegards,\n-- \nNAGAYASU S...
[ { "msg_contents": "Hi\n\nthe comment about NOTICE level in elog.h is obsolete\n\nRegards\n\nPavel\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "Thu, 9 Jul 2015 06:36:12 +020...
[ { "msg_contents": "Attached find patch that makes certain comments in\npredicate_refuted_by_recurse() clearer, for example:\n\n- * AND-clause R=> AND-clause if A refutes any of B's items\n+ * AND-clause A R=> AND-clause B if A refutes any of B's items\n\nThe comment above the function is written u...
[ { "msg_contents": "The 9th edition of the Italian PostgreSQL Day ( PGDay.it 2015 ) will be\nheld on Friday , 23th October 2015 in Prato, Italy.\nThe International Call for Papers has opened and will close on 8th August\n2015.\n\nFor more information about the conference and the International Call for\nPaper, pl...
[ { "msg_contents": "Is there anything in the below section which has been been implemented or\nrendered irrelevant by BRIN indexes?\n\nhttps://wiki.postgresql.org/wiki/Todo#Indexes\n\n\"Consider smaller indexes that record a range of values per heap page,\nrather than having one index entry for every heap row\"\...
[ { "msg_contents": "To save cycles, I modified create_foreignscan_plan so that it detects\nwhether any system columns are requested if scanning a base relation.\nAlso, I revised other code there a little bit.\n\nFor ExecInitForeignScan, I simplified the code there to determine the\nscan tuple type, whith seems t...
[ { "msg_contents": "Hi,\n\nI recently was forcfully reminded that sql functions don't use the\nplancache.c infrastructure. I was sort of aware of that, but I didn't\nthink far enough ahead that that also implies we'll not use custom plans\nfor statements with parameters when it'd be helpful.\n\nThat's imo quite ...
[ { "msg_contents": "Hi,\n\npg_dump dumps security labels on databases. Which makes sense. The\nproblem is that they're dumped including the database name.\n\nWhich means that if you dump a database and restore it into a\ndifferently named one you'll either get a failure because the database\ndoes not exist, or w...
[ { "msg_contents": "Hackers,\n\nMy co-workers tell me that pg_upgrade told them to drop the colnames and hostname extensions before upgrading from 9.3 to 9.4. Fortunately, Postgres had not recorded any dependencies on functions from these extensions (not sure why not, since we do user them, but for the moment g...
[ { "msg_contents": "\nHackers,\n\nSimple problem (I think):\n\n9.4 version of pg_upgrade said:\n\n \"/usr/lib/postgresql/9.4/bin/pg_ctl\" -w -l \"pg_upgrade_server.log\" -D \n\"/var/lib/postgresql/9.4/main\" -o \"-p 9400 -b -c synchronous_commit=off \n-c fsync=off -c full_page_writes=off -c listen_addresses=''...
[ { "msg_contents": "Hi,\n\ncurrently partial indexes end up not using index only scans in most \ncases, because check_index_only() is overly conservative, as explained \nin this comment:\n\n * XXX this is overly conservative for partial indexes, since we will\n * consider attributes involved in the index predi...
[ { "msg_contents": "Currently, there are certain aggregates that sort some tuples before\nmaking a second pass over their memtuples array (through the tuplesort\n\"gettuple\" interface), calling one or more attribute equality operator\nfunctions as they go. For example, this occurs during the execution of\nthe f...
[ { "msg_contents": "Hi,\n\nWhile working on the \"IOS with partial indexes\" patch, I've noticed a \nbit strange plan. It's unrelated to that particular patch (reproducible \non master), so I'm starting a new thread for it.\n\nTo reproduce it, all you have to do is this (on a new cluster, all \nsettings on defau...
[ { "msg_contents": "The two contrib modules this patch added are nowhere near fit for public\nconsumption. They cannot clean up after themselves when dropped:\n\nregression=# create extension tsm_system_rows;\nCREATE EXTENSION\nregression=# create table big as select i, random() as x from generate_series(1,1000...
[ { "msg_contents": "Hi.\n\nI've tried RLS for a little (in PostgreSQL 9.5alpha1), and want to ask why\nthis wasn't taken in account\nin its implementation:\n\n\"Rather than look at pg_statistic directly, it's better to look at its view\npg_stats when examining the statistics manually. pg_stats is designed to be\...
[ { "msg_contents": "Hi everyone.\n\nThe ParameterStatus message is currently sent for a hard-wired set of\nparameters (\nhttp://www.postgresql.org/docs/current/static/protocol-flow.html#PROTOCOL-ASYNC\n).\n\nJust wanted to let you know that making this more flexible would be a great\nhelp in driver implementatio...
[ { "msg_contents": "Hi, Hackers,\n\nThe feature of UPSERT was my most interested one of 9.5, I really like\nneed it.\n\nI have test the different usages for this features like one record input,\nmulti records input,\nand also more than 10,000 records upserting, all look great, thanks for\nyour work.\n\nWhen I c...
[ { "msg_contents": "Hi all,\n\nCoverity is pointing out a couple of resource leaks:\n- In DropReplicationSlot@streamutil.c, query is leaked.\n- In getTransforms@pg_dump.c, the alloced result of get_language_name is\nnot free'd. Other code paths calling this routine do the job.\n- In libpqGetCurrentXlogInsertLoca...
[ { "msg_contents": "As best I can tell (evidence below), the SQL standard requires that if a\nsingle query reads a table with a TABLESAMPLE clause multiple times (say,\nbecause it's on the inside of a nestloop), then the exact same set of\nsampled rows are returned each time. The BERNOULLI code, at least, fails...
[ { "msg_contents": "I've found an interesting performance problem in the intarray extension\nmodule. It doesn't seem to be version dependent, I've verified it in 9.4.4\nand 9.6devel.\n\nIf I do a query that involves both an = op and a @@ op ANDed together, it\ngives a high cost estimate, which is justified by t...
[ { "msg_contents": "Hi All,\n\nGreetings for the day.\n\nWould like to discuss on below feature here.\n\nFeature:\n Having an SQL function, to write messages to log destination.\n\nJustification:\n As of now, we don't have an SQL function to write custom/application\nmessages to log destination. We have \"...
[ { "msg_contents": "Friendly greetings !\n\nin file src/bin/scripts/print.c line 421 :\nneed_recordsep = false;\nthen set to true line 424.\n\nNow i'm pretty sure it's a meaningless \"bug\" without any consequence (the\ncommit that introduced it is 15 years old).\n\nThere is a lot of (apparently) dead assignment...
[ { "msg_contents": "pgsql-hackers,\n\nSo I’ve put some time into a design for the incremental checksum feature and wanted to get some feedback from the group:\n\n* Incremental Checksums\n\nPostgreSQL users should have a way up upgrading their cluster to use data checksums without having to do a costly pg_dump/pg...
[ { "msg_contents": "Hello. I need some help.\n\nI have the following situation. My client deleted a number of old backups\nfrom a drive disc made by PGDUMP with custom flag activated. I could not\nfind any program to recover backup files made by PGDUMP of customized /\nbinary form. So I decided to try to underst...
[ { "msg_contents": "Retain comments on indexes and constraints at ALTER TABLE ... TYPE ...\n\nWhen a column's datatype is changed, ATExecAlterColumnType() rebuilds all\nthe affected indexes and constraints, and the comments from the old\nindexes/constraints were not carried over.\n\nTo fix, create a synthetic CO...
[ { "msg_contents": "Hi,\n\nI have observed some fishy behavior related to GROUPING in HAVING clause\nand when we have only one element in GROUPING SETS.\n\nBasically, when we have only one element in GROUING SETS, we are assuming\nit as a simple GROUP BY with one column. Due to which we are ending up with\nthis ...
[ { "msg_contents": "Hi all,\n\nWhen using currval() to find the current value of all sequences, it chokes\non those that aren't initialised. This is expected and documented as\nbehaving in this manner. However, I think it would be useful to also\nsupport retrieving the current value of a sequence, regardless o...
[ { "msg_contents": "Hi,\n\n\"25.5.3. Administrator's Overview\" in the document\n-----------------------------------------------------\nThe setting of some parameters on the standby will need reconfiguration\nif they have been changed on the primary. For these parameters,\nthe value on the standby must be equal ...
[ { "msg_contents": "Hi,\n\nIt looks like we do support nested GROUPING SETS, I mean Sets withing\nSets, not other types. However this nesting is broken.\n\nHere is the simple example where I would expect three rows in the\nresult. But unfortunately it is giving \"unrecognized node type\"\nerror. Which is some...
[ { "msg_contents": "Hello everyone,\n\nI would need to start a read repeatable transaction and retrieve the\ncorresponding LSN. I'm looking for pointers or Ideas on how to achieve\nthis.\n\nAndres F. suggested me to extend pg_export_snapshot() [1] and call\nGetLatestSnapshot() [2] while reliably retrieving the c...
[ { "msg_contents": "Hi all,\n\nAttached is a patch that implements the extension support discussed at\nPgCon this year during the FDW unconference sesssion. Highlights:\n\n* Pass extension operators and functions to the foreign server\n* Only send ops/funcs if the foreign server is declared to support the\nrelev...
[ { "msg_contents": "Quick comment fix for edit issue.\n\n\n\n\n\n\n--\nDavid Christensen\nPostgreSQL Team Manager\nEnd Point Corporation\ndavid@endpoint.com\n785-727-1171\n\n\n\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.post...
[ { "msg_contents": "Attached is a small patch to fix a spelling mistake in an error message\n\nRegards\n\nDavid Rowley\n\n--\n David Rowley http://www.2ndQuadrant.com/\n<http://www.2ndquadrant.com/>\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n-- \nSent via pgsql-hackers mai...
[ { "msg_contents": "Hi\n\nterrible often I use pattern\n\n psql -c \"select datname from pg_database where not datistemplate and\ndatallowconn\" postgres\n\nWhat about introduction new long option that does it?\n\npsql -At -list --names --without-templates\n\nRegards\n\nPavel\n\nHiterrible often I use pattern ps...
[ { "msg_contents": "Hi,\n\nVolatilities of pg_xact_commit_timestamp() and pg_last_committed_xact()\nare now STABLE. But ISTM that those functions can return different results\neven within a single statement. So we should change the volatilities of them\nto VOLATILE?\n\nRegards,\n\n-- \nFujii Masao\n\n\n-- \nSent...
[ { "msg_contents": "Hi\n\ncan we support multiple \"-c\" option?\n\nWhy? Because some statements like VACUUM cannot be used together with any\nother statements with single -c option. The current solution is using echo\nand pipe op, but it is a complication in some complex scripts - higher\ncomplication when you ...
[ { "msg_contents": "Hello,\n\nI was looking at the documentation for TOAST (\nhttp://www.postgresql.org/docs/devel/static/storage-toast.html) and it's\nspecified that the toast pointer occupies 18 bytes. However, the struct\nrepresenting the toast pointer is defined as follows\n\ntypedef struct varatt_external\n...
[ { "msg_contents": "I've always thought that GCC intrinsics for software-based memory\nprefetching are a very sharp tool. While it's really hard to use GCC's\n__builtin_prefetch() effectively (I've tried enough times to know), I\nalways thought that there'd probably end up being a handful of cases\nwhere using i...
[ { "msg_contents": "I've been trying to figure out the crash in qsort reported here:\nhttp://www.postgresql.org/message-id/flat/CAL8HZuNR2FR1owZHWG-p64GJtNfbbmPx1Y2OXmJ_XuQ3P8YtVA@mail.gmail.com\n\nI first noticed that our qsort code uses an int to hold some transient\nvalues representing numbers of elements. S...
[ { "msg_contents": "Hi all\n\nWhile doing some testing of 9.5a one of my colleagues (not on list) found a\nreproducible server segfault.\n\nWe've broken it down to a minimal script to reproduce below.\n\nReproduced on both machines on which we've installed 9.5 so far (both built\nfrom source since we don't have ...
[ { "msg_contents": "Hi,\n\nWhen we have text column in the GROUPING SETS (and with some specific\norder of columns), we are getting error saying\n\"could not determine which collation to use for string comparison\"\n\nHere is the example:\n\npostgres=# select sum(ten) from onek group by rollup(four::text), two\n...
[ { "msg_contents": "This patch adds per-script statistics & other improvements to pgbench\n\nRationale: Josh asked for the per-script stats:-)\n\nSome restructuring is done so that all stats (-l --aggregate-interval \n--progress --per-script-stats, latency & lag...) share the same structures \nand functions to a...
[ { "msg_contents": "Terry Chong of Salesforce pointed me at an apparent oversight in the Unix\nversion of WaitLatchOrSocket. Assuming that it is called with a timeout\nspecification, the only place where we detect timeout is if poll() (or\nselect()) returns 0. Now suppose that for some reason we have gotten in...
[ { "msg_contents": "Hi\n\nI have heard rumours of a tool that could verify or compare the\neffects of applying WAL records for testing/development purposes, but\nI've been unable to track it down or find out if it was publicly\nreleased. Does anyone know the status of that or what it was called?\n\nThanks,\n\n-...
[ { "msg_contents": "Forgive me if this has been already discussed somewhere.\n\nWhen a transaction aborts, it seems a BRIN index leaves summary data\nwhich is not valid any more. Is this an expected behavior? I guess\nthe answer is yes, because it does not affect correctness of a query\nresult, but I would like...
[ { "msg_contents": "Hi\n\nI am sending trivial patch, that enforce more precious tab complete for\nDROP POLICY statement\n\nRegards\n\nPavel\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", ...
[ { "msg_contents": "I'd like to add uuid support to contrib/btree_gist.\n\nProposal:\n\n* Add `contrib/btree_gist/btree_uuid.c' with implementation based\non gbtree_ninfo type description\n* Modify `contrib/btree_gist/btree_utils_num.c' to support pg_uuid_t\n* Modify `contrib/btree_gist/btree_gist.h' to add gbt_...
[ { "msg_contents": "In a 32-bit build, xlc 12.1 for AIX miscompiles three inline expansions of\nginCompareItemPointers(), all in ginget.c (line numbers per commit 9aa6634):\n\n739\tAssert(!ItemPointerIsValid(&entry->curItem) ||\n740\t\t ginCompareItemPointers(&entry->curItem, &advancePast) <= 0);\n\n847\t\t} w...
[ { "msg_contents": "This is a continuation of the discussion at \nhttp://www.postgresql.org/message-id/CAMkU=1zUc=h0oCZntaJaqqW7gxxVxCWsYq8DD2t7oHgsgVEsgA@mail.gmail.com, \nI'm starting a new thread as this is a separate issue than the original \nLWLock bug.\n\n> On Thu, Jul 16, 2015 at 12:03 AM, Jeff Janes <jef...
[ { "msg_contents": "Improve BRIN documentation somewhat\n\nThis removes some info about support procedures being used, which was\nobsoleted by commit db5f98ab4f, as well as add some more documentation\non how to create new opclasses using the Minmax infrastructure.\n(Hopefully we can get something similar for In...
[ { "msg_contents": "Hackers,\n\nattached patch allows pg_rewind to work when target timeline was switched.\nActually, this patch fixes TODO from pg_rewind comments.\n\n /*\n * Trace the history backwards, until we hit the target timeline.\n *\n * TODO: This assumes that there are no timeline switches on t...
[ { "msg_contents": "Somewhere along the way some changes to the way we do \"make check\" have \ncaused a significant deterioration in the buildfarm's logging. Compare \nthese two from animal crake, which happens to be my test instance: \n<http://www.pgbuildfarm.org/cgi-bin/show_stage_log.pl?nm=crake&dt=2015-07-2...
[ { "msg_contents": "All,\n\nWhile looking at the include dependency graph for objectaddress.h:\n\nhttp://doxygen.postgresql.org/objectaddress_8h.html\n\nI saw that pg_list.h is both included and inherited (through multiple\npaths) by objectaddress.h. Perhaps this doesn't matter, but I thought\nI would at least ...
[ { "msg_contents": "Hi Hackers,\n\nThis is the patch adds a new function called pg_hba_lookup to get all\nmatching entries\nfrom the pg_hba.conf for the providing input data.The rows are\ndisplayed from the other\nthe hba conf entries are matched.\n\nThis is an updated version of previous failure attempt to crea...
[ { "msg_contents": "Consider:\n\nrhaas=# create table foo (a text);\nCREATE TABLE\nrhaas=# create unique index on foo (a collate \"C\");\nCREATE INDEX\nrhaas=# alter table foo add primary key using index foo_a_idx;\nALTER TABLE\nrhaas=# \\d foo\n Table \"public.foo\"\n Column | Type | Modifiers\n--------+----...
[ { "msg_contents": "The BRIN patch added a HeapScanDescData field rs_initblock, but so far as\nI can see it's utterly without use, and it's quite confusing (people might\nmistake it for rs_startblock, for example). Any objection to taking it\nout again?\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hacker...
[ { "msg_contents": "If you run `make installcheck` against a cluster with\ndefault_transaction_isolation = 'repeatable read' you get one\nfailure:\n\n*** /home/kgrittn/pg/master/src/test/regress/expected/brin.out 2015-07-21 10:21:58.798619111 -0500\n--- /home/kgrittn/pg/master/src/test/regress/results/brin.out 2...
[ { "msg_contents": "I have one more idea for accelerating sorting-related operations that\nis both fairly effective and relatively easy to implement. This just\nabout clears my backlog of those, though.\n\nThere is an open item on the TODO list entitled \"Consider whether\nduplicate keys should be sorted by bloc...
[ { "msg_contents": "All:\n\nAt the Developer's Meeting, we said we'd be releasing an alpha or beta\neach month until final 9.5 release. As such, we should be releasing a\n9.5 alpha/beta in the first week of August.\n\nMy question for Hackers is: should this be Alpha2 or Beta 1?\n\n-- \nJosh Berkus\nPostgreSQL E...
[ { "msg_contents": "\n-hackers,\n\nWhat do we think about $subject? In short, the underlying table of an MV \nwould have the option of being unlogged.\n\nJD\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564\nPostgreSQL Centered full stack support, consulting and development.\nAnnouncing \"...
[ { "msg_contents": "Hey everyone,\n\nYou have probably heard that Mike Stonebraker recently won the Turing award. A recording of his award lecture is available at:\nhttps://www.youtube.com/watch?v=BbGeKi6T6QI\n\nIt is an entertaining talk overall. If you fast forward to about the 1:07 mark, he makes some commen...
[ { "msg_contents": "Here is a proposal introducing some debugging infrastructure into the\ncore. The basic idea is to allow us to query the planner search space.\nTo so do, we can dump related information to csv files and use foreign\ntable to query them. So here I propose two foreign tables:\n\n create foreign...
[ { "msg_contents": "Mel Gorman wrote a tool to perform Linux kernel performance testing.\nDetecting performance regressions in new kernels appears to be the\nmajor goal.\n\nI note that there are Postgres specific tests listed here:\n\nhttp://www.csn.ul.ie/~mel/results/home/marvin/dashboard-openSUSE-13.1-smart.ht...
[ { "msg_contents": "Hi,\n\nThe latest foreign-join pushdown patch allows fdw_scan_tlist to be set\nto a targetlist even for simple foreign table scans. However, since I\nthink we assume that the test tuple of a foreign table for an EPQ\ntesting, whether it may be copied from the whole-row var or returned by\nth...