threads
listlengths
1
2.99k
[ { "msg_contents": "I decided to spend an afternoon seeing exactly how much work would be\nneeded to support parameterized TID scans, ie nestloop-with-inner-TID-\nscan joins, as has been speculated about before, most recently here:\n\nhttps://www.postgresql.org/message-id/flat/CAMqTPq%3DhNg0GYFU0X%2BxmuKy8R2ARk1...
[ { "msg_contents": "After running a testing server out of storage, I tried to track down why it\nwas so hard to get it back up again. (Rather than what I usually do which\nis just throwing it away and making the test be smaller).\n\nI couldn't start a backend because it couldn't write the relcache init file.\n\...
[ { "msg_contents": "src/bin/pg_upgrade/test.sh runs installcheck, which writes to files in\nsrc/test/regress. This has at least two disadvantages when check-world runs\nboth this test suite and the \"make check\" suite:\n\n1. The suite finishing second will overwrite the other's regression.{out,diffs}.\n2. If t...
[ { "msg_contents": "Hi\n\nAttached is mainly to fix a comment in $subject which has a typo in the referenced initdb\noption (\"--walsegsize\", should be \"--wal-segsize\"), and while I'm there also adds a\ncouple of \"the\" for readability.\n\n\nRegards\n\nIan Barwick\n\n-- \n Ian Barwick http...
[ { "msg_contents": "Hi\n\nOn these pages:\n\n - https://www.postgresql.org/docs/current/functions-array.html\n - https://www.postgresql.org/docs/current/functions-string.html\n\nwe point out via \"See also\" the existence of aggregate array and string\nfunctions, but I think it would be useful to also mention ...
[ { "msg_contents": "Hi Hackers,\n\nI would like to propose a change, which allow CLUSTER, VACUUM FULL and \nREINDEX to modify relation tablespace on the fly. Actually, all these \ncommands rebuild relation filenodes from the scratch, thus it seems \nnatural to allow specifying them a new location. It may be help...
[ { "msg_contents": "Hi!\n\nBased on discussion about observing changes on an open query in a\nreactive manner (to support reactive web applications) [1], I\nidentified that one critical feature is missing to fully implement\ndiscussed design of having reactive queries be represented as\nmaterialized views, and c...
[ { "msg_contents": "Hi!\n\nSometimes materialized views are used to cache a complex query on\nwhich a client works. But after client disconnects, the materialized\nview could be deleted. Regular VIEWs and TABLEs both have support for\ntemporary versions which get automatically dropped at the end of the\nsession....
[ { "msg_contents": "Is there any way that one of the Postgres Background process may go down?\nmeaning the process getting stopped?\n\nFor example, can the wal sender process alone stop working? If it does so,\nwhich part of the logs I must check to proceed further.\n\n\n\n-----\n--\nThanks,\nRajan.\n--\nSent fr...
[ { "msg_contents": "Fix failure to check for open() or fsync() failures.\n\nWhile it seems OK to not be concerned about fsync() failure for a\npre-existing signal file, it's not OK to not even check for open()\nfailure. This at least causes complaints from static analyzers,\nand I think on some platforms passin...
[ { "msg_contents": "Hi all.\n\n-----Information-----\nMembers of Fujitsu Japan may not be able to reply in the term below.\nTERM: 29th December 2018 ~ 6th January 2019\n\nNOTE:\nMembers of Fujitsu Japan are those whose mail domain is \"@jp.fujitsu.com\"\n\nBest regards,\n---------------------\nRyohei Nagaura\n\n...
[ { "msg_contents": "# PostgreSQL partition tables use more private memory\n\nHi, there is a process private memory issue about partition tables in our production environment. We're not sure if it's a bug or Pg just works in this way. \n\n- when dml operated on partition tables, the pg process will occupy more me...
[ { "msg_contents": "Hi,\n\nI would like to implement Incremental View Maintenance (IVM) on PostgreSQL. \nIVM is a technique to maintain materialized views which computes and applies\nonly the incremental changes to the materialized views rather than\nrecomputate the contents as the current REFRESH command does....
[ { "msg_contents": "I just noticed that, since I retired pademelon in August, we have\nexactly no buildfarm coverage of --disable-strong-random code paths.\nWhat's more, because the vast majority of the buildfarm enables\n--with-openssl, we're mostly just testing the punt-to-OpenSSL\nvariant of pg_strong_random....
[ { "msg_contents": "Hello,\n\nI've investigated a crash report of PG-Strom for a few days, then I doubt\nadd_partial_path() can unexpectedly release dominated old partial path\nbut still referenced by other Gather node, and it leads unexpected system\ncrash.\n\nPlease check at the gpuscan.c:373\nhttps://github.c...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to enable support for temporary tables in\nprepared transactions when ON COMMIT DROP has been specified.\n\nThe comment in the existing code around this idea reads:\n\n\t * Don't allow PREPARE TRANSACTION if we've accessed a temporary table in\n\t * this tr...
[ { "msg_contents": "Hi!\n\nHow can I define regression tests which should use multiple client\nsessions to test interaction between them?\n\n\nMitar\n\n-- \nhttp://mitar.tnode.com/\nhttps://twitter.com/mitar_m\n\n", "msg_date": "Fri, 28 Dec 2018 12:49:08 -0800", "msg_from": "Mitar <mmitar@gmail.com>", ...
[ { "msg_contents": "\"env EXTRA_REGRESS_OPTS=--temp-config=SOMEFILE make check\" appends the\ncontents of SOMEFILE to the test cluster's postgresql.conf. I want a similar\nfeature for TAP suites and other non-pg_regress suites. (My immediate use\ncase is to raise authentication_timeout and wal_sender_timeout o...
[ { "msg_contents": "Hi all,\n\nI was just modifying configure.in for another patch, then tried to\ngenerate the new configure with autoconf on Debian. However I am\nbumping into some noise in the process. First the state associated to\nrunstatedir support gets generated, which makes little sense for\nPostgres ...
[ { "msg_contents": "initdb and pg_basebackup can use atexit() to register cleanup actions\ninstead of requiring the use of custom exit_nicely() etc. Patches attached.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "m...
[ { "msg_contents": "I was working on a little thing where I needed to simulate BETWEEN\nSYMMETRIC so naturally I used least() and greatest(). I was a little\nsurprised to see that my expressions were not folded into straight\nconstants and the estimates were way off as a consequence.\n\nI came up with the attac...
[ { "msg_contents": "Use a separate random seed for SQL random()/setseed() functions.\n\nPreviously, the SQL random() function depended on libc's random(3),\nand setseed() invoked srandom(3). This results in interference between\nthese functions and backend-internal uses of random(3). We'd never paid\ntoo much ...
[ { "msg_contents": "Starting from\nhttps://www.postgresql.org/message-id/CAEepm%3D2vORBhWQZ1DJmKXmCVi%2B15Tgrv%2B9brHLanWU7XE_FWxQ%40mail.gmail.com\n\nHere is a patch trying to implement what was proposed by Tom Lane:\n\n\"What we could/should do instead, I think, is have pgss_planner_hook\nmake its own pgss_sto...
[ { "msg_contents": "tl;dr: I'd like to teach btrees to support returning ordered results\nwhere the ordering is only a suffix of the index keys and the query\nincludes a scalar array op qual on the prefix key of the index.\n\nSuppose we have the following schema:\n\nCREATE TABLE foos(bar_fk integer, created_at t...
[ { "msg_contents": "Hi all\n\nAs mentioned here, there has been a discussion about $subject and the\nfact that it may be rather useless:\nhttps://www.postgresql.org/message-id/21150.1546010167@sss.pgh.pa.us\n\n--disable-strong-random is also untested in the buildfarm.\n\nAttached is a patch to clean up the code,...
[ { "msg_contents": "I have developed a patch that unifies the various ad hoc logging\n(message printing, error printing) systems used throughout the\ncommand-line programs.\n\nExamples:\n\n\n- fprintf(stderr, _(\"%s: could not open file \\\"%s\\\" for writing: %s\\n\"),\n- progname, path, strerror(errno)...
[ { "msg_contents": "contain_leaked_vars_walker asserts the following about MinMaxExpr:\n\n ...\n case T_MinMaxExpr:\n ...\n\n /*\n * We know these node types don't contain function calls; but\n * something further down in the node tree might.\n ...
[ { "msg_contents": "Hi,\n\nwhile messing around with slot code I noticed that the SQL functions for\nconsuming/moving logical replication slots only move restart_lsn up to\npreviously consumed position and not to currently consumed position. The\nreason for that is that restart_lsn is not moved forward unless ne...
[ { "msg_contents": "Hi,\n\nAs Andres has mentioned over at minimal decoding on standby thread [1],\nthat functionality can be used to add simple worker which periodically\nsynchronizes the slot state from the primary to a standby.\n\nAttached patch is rough implementation of such worker. It's nowhere near\ncommi...
[ { "msg_contents": "To support logical decoding for zheap operations, we need a way to\nensure zheap tuples can be registered as change streams. One idea\ncould be that we make ReorderBufferChange aware of another kind of\ntuples as well, something like this:\n\n@@ -100,6 +123,20 @@ typedef struct ReorderBuffe...
[ { "msg_contents": "Dear All\r\nI put a printf statement in the \"main.c\" code and built it. Later when I tried to execute INITDB, I got the following error\r\n\r\nThe program \"postgres\" was found by xxxx but was not the same version as initdb.Check your installation\r\n\r\nAfter some analysis, I figured out ...
[ { "msg_contents": "Hi!\n\nI'd like to propose a small patch for make_ctags script. It checks if ctags \nutility is intalled or not. If not it reports an error and advises to install \nctags.\n\nThis will make life of a person that uses ctags first time in his life a bit \neasier.\n\nI use command -v to detect i...
[ { "msg_contents": "When \"make check TEMP_CONFIG=<(echo break_me=on)\" spawns a postmaster that\nfails startup, we detect that with \"pg_regress: postmaster did not respond\nwithin 60 seconds\". pg_regress has a kill(postmaster_pid, 0) intended to\ndetect this case faster. Since kill(ZOMBIE-PID, 0) succeeds[1...
[ { "msg_contents": "In our query logs I saw:\n\npostgres=# SELECT log_time, session_id, session_line, left(message,99), left(query,99) FROM postgres_log WHERE error_severity='ERROR' AND message NOT LIKE 'cancel%';\n-[ RECORD 1 ]+------------------------------------------------------------------------------------...
[ { "msg_contents": "Hi,\n\nIn src/test/example, the implicit make rules produce errors:\n\nmake -C ../../../src/backend generated-headers\nmake[1]: Entering directory '/home/ddong/postgresql/bld/src/backend'\nmake -C catalog distprep generated-header-symlinks\nmake[2]: Entering directory '/home/ddong/postgresql/...
[ { "msg_contents": "I've been trying to use vim for postgres development some yeas ago, but I did \nnot manage to do it for log time, as I quit the job etc.\n\nNow I am trying again, but I've lost my .vimrc and notes and had to start from \nthe very beginning. I vaguely remember what tools I've been using, but I...
[ { "msg_contents": "It's a new year and I'm getting reflective, so resuming a portion of\nconversation we had here:\nhttps://www.postgresql.org/message-id/CAMkU%3D1yVbwEAugaCmKWxjaX15ZduWee45%2B_DqCw--d_3N_O_%3DQ%40mail.gmail.com\n\nFind attached patch which implements use of correlation statistic in costing\nfo...
[ { "msg_contents": " Hi,\n\nThe doc on COPY CSV says about the backslash-dot sequence:\n\n To avoid any misinterpretation, a \\. data value appearing as a\n lone entry on a line is automatically quoted on output, and on\n input, if quoted, is not interpreted as the end-of-data marker\n\nHowever this quoting d...
[ { "msg_contents": "I was surprised yesterday in a difference between querying domains as scalars versus domains as arrays. As we're all generally aware, when a domain is queried and projected as a scalar in a result set, it is described over-the-wire as that column having the oid of the domain's base type, NOT ...
[ { "msg_contents": "Greetings,\n\nHappy new year!\n\nWe would like to follow up again for this issue and fix proposal. Could someone give some suggestions to the fix proposal? Or other ideas to fix this issue?\n\nLooking forward to your feedbacks!\n\n\nBest regards,\n\n--\n\nChengchao Yu\n\nSoftware Engineer | M...
[ { "msg_contents": "I am unable to `make install` on MacOS in the latest master (68a13f28be).\n\nHere are the steps to reproduce.\n\nOS: MacOSX 10.14.2\nBranch: master:HEAD (68a13f28be)\n\n$ git log --pretty=format:'%h' -n 1\n68a13f28be\n$ ./configure --with-bonjour\n$ make\n$ sudo make install\n...\n/usr/bin/in...
[ { "msg_contents": " > Attached 21st version of the patches.\n >\n > I decided to include here patch 0000 with complete jsonpath \nimplementation (it\n > is a squash of all 6 jsonpath-v21 patches). I hope this will simplify \nreviewing\n > and testing in cfbot.cputube.org.\n\nI'd like to help in reviewing this p...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15572\nLogged by: Ash Marath\nEmail address: makmarath@hotmail.com\nPostgreSQL version: 10.5\nOperating system: RDS (on Amazon)\nDescription: \n\nScenario:\r\nDB has 2 functions with same name.\r\n...
[ { "msg_contents": "Hi All,\n\nI've frequently seen an issue in applications which store titles (eg of books, events, user profiles) where duplicate values are not properly vetted. \n\nThe 'citext' type is helpful here, but I'd be keen to go further. \n\nI propose a 'titletext' type, which has the following prop...
[ { "msg_contents": "Hi,\n\nI've noticed a change in the behaviour in triggers / hstores in Postgres\n11.1 when compared to Postgres 10.5.\nThe following won't work on Postgres 10.5 but in Postgres 11.1 it works\njust fine:\n\nCREATE EXTENSION hstore;\n\nCREATE TABLE _tmp_test1 (id serial PRIMARY KEY, val INTEGER...
[ { "msg_contents": "Why does the commit fest app not automatically fill in the author for a\nnew patch?\n\nAnd relatedly, every commit fest, there are a few patches registered\nwithout authors, probably because of the above behavior.\n\nCould this be improved?\n\n-- \nPeter Eisentraut http://www.2nd...
[ { "msg_contents": "Hi folks,\n\nI encountered a surprising error when writing a migration that both added a\nprimary key to a table and added a new NOT NULL column. It threw the error \"\ncolumn \"col_d\" contains null values\", even though I supplied a default. The\nmigration looks like this:\nCREATE TABLE new...
[ { "msg_contents": "There is a sentence in btree.sgml:\n\n <productname>PostgreSQL</productname> includes an implementation of the\n standard <acronym>btree</acronym> (multi-way binary tree) index data\n structure.\n\nI think the term \"btree\" here means \"multi-way balanced tree\", rather\nthan \"multi-way ...
[ { "msg_contents": "12dev and 11.1:\n\npostgres=# CREATE TABLE t(i int)PARTITION BY RANGE(i);\npostgres=# CREATE INDEX ON t(i) WITH(fillfactor=11);\npostgres=# ALTER INDEX t_i_idx SET (fillfactor=12);\nERROR: 42809: \"t_i_idx\" is not a table, view, materialized view, or index\nLOCATION: ATWrongRelkindError, t...
[ { "msg_contents": "Hey Postgres Team!\n\nI wanted to bring to everyone's attention a very interesting database,\ncalled Noria, written in Rust. It offers a compelling alternative to common\ndev patterns intended to boost performance of relational database\ninteractions. The author only implemented a mysql bac...
[ { "msg_contents": "Hi!\n\nI have read around the Internet a lot about the idea of using /dev/shm\nfor a tablespace to put tables in and issues with that. But I still\nhave not managed to get a good grasp why would that be a bad idea for\nusing it for temporary objects. I understand that for regular tables\nthis...
[ { "msg_contents": "Hi,\n\nAttached is documentation patch: doc_client_min_messages_v1.patch\n\nDocument that INFO severity messages are always sent\nto the client. This also adds hyperlinks to the\ntable of severity levels where those levels are\nreferenced in the docs.\n\nThe patch was discussed on the #postg...
[ { "msg_contents": "Hi all,\n\nWhile looking at another bug I have noticed that it is possible to\ncreate an extension directly using a temporary schema, which is\ncrazy. A simple example:\n=# create extension pg_prewarm with schema pg_temp_3;\nCREATE EXTENSION\n=# \\dx pg_prewarm\n List of installed ...
[ { "msg_contents": "Hi,\n\nLogical replication enables us to replicate data changes to different\nmajor version PostgreSQL as the doc says[1]. However the current\nlogical replication can work fine only if replicating to a newer major\nversion PostgreSQL such as from 10 to 11. Regarding using logical\nreplicatio...
[ { "msg_contents": "В письме от четверг, 3 января 2019 г. 17:15:08 MSK пользователь Alvaro Herrera \nнаписал:\n\n> I would have liked to get a StaticAssert in the definition, but I don't\n> think it's possible. A standard Assert() should be possible, though.\n\nAsserts are cool thing. I found some unexpected st...
[ { "msg_contents": "Greetings -hackers,\n\nGoogle Summer of Code is back for 2019! They have a similar set of\nrequirements, expectations, and timeline as last year.\n\nNow is the time to be working to get together a set of projects we'd\nlike to have GSoC students work on over the summer. Similar to last\nyea...
[ { "msg_contents": "Hi,\n\nOver in [1] we're discussing the development of the pluggable storage\npatchset, which allows different ways of storing table data.\n\nOne thing I'd like to discuss with a wider audience than the\nimplementation details is psql and pg_dump handling of table access\nmethods.\n\nCurrentl...
[ { "msg_contents": "Hi Hackers,\n\nThe Server GUC parameters accepts values in both Octal and hexadecimal\nformats also.\n\npostgres=# set max_parallel_workers_per_gather='0x10';\npostgres=# show max_parallel_workers_per_gather;\n max_parallel_workers_per_gather\n---------------------------------\n 16\n\npostgre...
[ { "msg_contents": "I've been toying with OpenBSD lately, and soon noticed a seriously\nannoying problem for running Postgres on it: by default, its limits\nfor SysV semaphores are only SEMMNS=60, SEMMNI=10. Not only does that\ngreatly constrain the number of connections for a single installation,\nit means tha...
[ { "msg_contents": "Respected Concern,\n\nI want to join GCI as a mentor for the year 2019, please guide me about the\nprocedure,\nthanks in anticipation.\n\n--\nRegards\nPadam Chopra\nGoogle Grand Prize Winner\nMicrosoft Imagine Cup India winner\nTedX Event Organizer\n\nContact:\n\nEmail:padamchopra1337@gmail.c...
[ { "msg_contents": "Hi!\n\nI am new to this community. I have submitted few patches to this\ncommitfest and I have read that it is expected that I also review some\nother patches. But I am not sure about the process here. Should I wait\nfor some other patches to be assigned to me to review? Or is there\nsome oth...
[ { "msg_contents": "Respected Concern,\n\nI want to join GCI as a mentor for the year 2019, please guide me about the\nprocedure,\nthanks in anticipation.\n\n--\nRegards\nPadam Chopra\nGoogle Grand Prize Winner\nMicrosoft Imagine Cup India winner\nTedX Event Organizer\n\nContact:\n\nEmail:padamchopra1337(at)gmai...
[ { "msg_contents": "I am new to the autovacuum. After reading its code, I am still confusing\nwhat is the autovac_balance_cost() and how the cost logic works to make the\nautovacuum workers consume the I/O equially. Can anyone share some light on\nit?\n\nThanks\n\nI am new to the autovacuum. After reading its co...
[ { "msg_contents": "eb7ed3f3063401496e4aa4bd68fa33f0be31a72f Allow UNIQUE indexes on partitioned tables\n8224de4f42ccf98e08db07b43d52fed72f962ebb Indexes with INCLUDE columns and their support in B-tree\n\npostgres=# CREATE TABLE t(i int,j int) PARTITION BY LIST (i);\npostgres=# CREATE TABLE t1 PARTITION OF t FO...
[ { "msg_contents": "Hi,\n\nHere are few minor fix in md.c comments\nsrc/backend/storage/smgr/md.c\n\n1. @L174 - removed the unnecessary word \"is\".\n- […] Note that this is breaks mdnblocks() and related functionality [...]\n+ […] Note that this breaks mdnblocks() and related functionality [...]\n\n2. @L885 - g...
[ { "msg_contents": "Hi,\n\nI noticed a couple of problems with foreign keys on partitioned tables.\n\n1. Foreign keys of partitions stop working correctly after being detached\nfrom the parent table\n\ncreate table pk (a int primary key);\ncreate table p (a int) partition by list (a);\ncreate table p1 partition ...
[ { "msg_contents": "Hi,\n\nthere was a report in #postgresql recently about a crash on Google Cloud\nSQL with the somewhat misleading message \"could not write to log file\"\nwhile in fact it was the xlog/wal:\n\n|PANIC: could not write to log file 000000010000019600000054 at offset\n| 13279232, length 245760: ...
[ { "msg_contents": "Use perfect hashing, instead of binary search, for keyword lookup.\n\nWe've been speculating for a long time that hash-based keyword lookup\nought to be faster than binary search, but up to now we hadn't found\na suitable tool for generating the hash function. Joerg Sonnenberger\nprovided th...
[ { "msg_contents": "I see somebody marked the CF as in-progress, but if anyone volunteered\nto be nagger-in-chief for this month, I didn't see that.\n\n\t\t\tregards, tom lane\n\n", "msg_date": "Wed, 09 Jan 2019 20:43:08 -0500", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, "ms...
[ { "msg_contents": "Has the policy on cross-posting to multiple lists been hardened recently?\n\nThe \"Crash on ALTER TABLE\" thread [1] started on -bugs, but Andrew's\nmessage on 8 Jan with an initial proposed patch and my response later\nthat day both CC'ed -hackers and seem to have been rejected, and so\nare ...
[ { "msg_contents": "The file header in the advanced tutorial has what seems like incorrect (or at\nleast odd) wording: \"Tutorial on advanced more PostgreSQL features”. Attached\npatch changes to “more advanced” which I think is what was the intention.\n\nI can willingly admit that I had never even noticed the ...
[ { "msg_contents": "Folks,\n\nWe're 10 days into the Commitfest, the first few having been the new\nyear, with people maybe paying attention to other things.\n\nI'd like to propose extending this CF by some period, maybe as long\nas ten days, so people get all the opportunities they might have had\nif it had sta...
[ { "msg_contents": "Hi,\n\nA number of postgres files have sections like heapam's\n\n * INTERFACE ROUTINES\n * relation_open - open any relation by relation OID\n * relation_openrv - open any relation specified by a RangeVar\n * relation_close - close any relation\n * heap_open - ope...
[ { "msg_contents": "Hi,\n\nI created some empty tables and run ` EXPLAIN ANALYZE` on `SELECT * `. I found\nthe results have different row numbers, but the tables are all empty.\n\n=# CREATE TABLE t1(id INT, data INT);\n=# EXPLAIN ANALYZE SELECT * FROM t1;\n Seq Scan on t1 (cost=0.00..32.60 rows=2260 width=8) (...
[ { "msg_contents": "Hi,\n\nThe pluggable storage patchset has a large struct full of callbacks, and\na bunch of wrapper functions for calling those callbacks. While\nstarting to polish the patchset, I tried to make the formatting nice.\n\nBy default pgindent yields formatting like:\n\n/*\n * API struct for a tab...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15589\nLogged by: Leif Gunnar Erlandsen\nEmail address: leif@lako.no\nPostgreSQL version: 11.1\nOperating system: Red Hat Enterprise Linux Server release 7.6\nDescription: \n\nrecovery.conf was spe...
[ { "msg_contents": "Would it make sense to add a column to pg_stat_database showing the total\nnumber of checksum errors that have occurred in a database?\n\nIt's really a \">1 means it's bad\", but it's a lot easier to monitor that in\nthe statistics views, and given how much a lot of people set their systems\n...
[ { "msg_contents": "Hi,\n\nOnly gaur shows useful logs:\n\n SELECT 'init' FROM\npg_create_logical_replication_slot('regression_slot',\n'test_decoding');\n! ERROR: could not access file \"test_decoding\": No such file or directory\n\nDoes this mean it didn't build the test_decoding module?\n\nOf the failing ani...
[ { "msg_contents": "Hi,\n\nI'm writing a tool to process a logical replication stream. The intent is\nto use publications and subscriptions as an initial filter, and then use\nthe replication stream to trigger external events. So my tool should\nconnect to the master in the same manner as a replication slave, ...
[ { "msg_contents": "Hi all,\n(Added Kevin in CC)\n\nThere have been over the ages discussions about getting better\nO_DIRECT support to close the gap with other players in the database\nmarket, but I have not actually seen on those lists a patch which\nmakes use of O_DIRECT for relations and SLRUs (perhaps I mis...
[ { "msg_contents": "Hello!\n\nI have written a small patch to modify the default names for foreign key\nconstraints. Currently if the foreign key is composed of multiple columns we\nonly use the first one in the constraint name. This can lead to similar\nconstraint names when two foreign keys start with the same...
[ { "msg_contents": "A reminder that the CFP for PGCon 2019 closes on 19 January.\nThat's a Saturday, but in reality, we don't start closing access off\nuntil Monday, so you have the whole weekend to get your submission in.\n\nPGCon 2019 will be on 30-31 May 2019 at University of Ottawa.\n\n* 28-29 May (Tue-Wed) ...
[ { "msg_contents": "Hi,\n\nWhile working on pluggable storage (in particular, while cleaning it up\nover the last few days), I grew concerned with widely heapam.h is\nincluded in other headers. E.g. the executor (via execnodes.h,\nexecutor.h relying on heapam.h) shouldn't depend on heapam.h details -\nparticula...
[ { "msg_contents": "Hi All,\n\nI sent an email with the same problem in pgsql-general mailing but no one\nhas responded, so I try to reach out by asking this question in the hacker\nlist.\n\nIn PG-11, procedures were introduced. In the pg_partman PostgreSQL\nextension, a procedure named run_maintenance_proc was ...
[ { "msg_contents": "While testing my nbtree heap TID keyspace patch, I came across a case\nwhere amcheck reliably reports corruption. It appeared that a 4 byte\nvarlena index entry that was expected in an index was not actually\npresent. However, index scan queries with the \"missing\" value in their\nqual didn'...
[ { "msg_contents": "Hi,\n\nI've started observing funny valgrind failures on Fedora 28, possibly\nafter upgrading from 3.14.0-1 to 3.14.0-7 a couple of days ago. This\ntime it does not seem like platform-specific issues, though - the\nfailures all look like this:\n\n==20974== Conditional jump or move depends on ...
[ { "msg_contents": "My nbtree patch [1] needs to call index_getprocinfo() with an\nexclusive buffer lock held during a leaf page split. This has an\nundetectable self-deadlock (LWLock self-deadlock) risk: a syscache\nlookup against pg_proc might have a catcache miss, ending with an\nindex scan that needs to acce...
[ { "msg_contents": "current_logfiles is a meta data file, that stores the current log writing\nfile, and this file\npresents in the data directory. This file doesn't follow the group access\nmode set at\nthe initdb time, but it follows the log_file_mode permissions.\n\nwithout group access permissions, backup wi...
[ { "msg_contents": "Hi\n\nmake check-world fails\n\nt/008_diff_schema.pl .. ok\nt/009_matviews.pl ..... ok\nt/010_truncate.pl ..... ok\nt/011_generated.pl .... # Looks like your test exited with 29 before it\ncould output anything.\nt/011_generated.pl .... Dubious, test returned 29 (wstat 7424, 0x1d00)\nFailed 2...
[ { "msg_contents": "I recently purchased a copy of \"The Benchmark Handbook\", a book from\nthe early 1990s that was edited by Jim Gray. It features analysis of\nthe Wisconsin Benchmark in chapter 3 -- that's a single client\nbenchmark that famously showed real limitations in the optimizers that\nwere current in...
[ { "msg_contents": "Hi all,\n\nf3db7f16 has proved that it can be a bad idea to run pg_resetwal on a\ndata folder which does not match the version it has been compiled\nwith.\n\nAs of HEAD, PG_CONTROL_VERSION is still 1100:\n$ pg_controldata | grep \"pg_control version\"\npg_control version number: 11...
[ { "msg_contents": "Hi hackers,\n\nConsider this query plan:\n\ncreate table t (i int, b bool);\ncreate index on t(i, b);\nset enable_bitmapscan to off;\nexplain select * from t where i = 300 and b;\n\n                                QUERY PLAN\n-------------------------------------------------------------------...
[ { "msg_contents": "Hi,\n\nDuring the discussion in [1] an idea about refactoring ArchiveEntry was\nsuggested. The reason is that currently this function has significant number of\narguments that are \"optional\", and every change that has to deal with it\nintroduces a lot of useless diffs. In the thread, mentio...
[ { "msg_contents": "Hi,\n\nPer discussion in [1] about generic type subscripting pathc Pavel had\ninteresting commentary. So far jsonb_set, if is invoked for a jsonb array with\nan index outside of the array boundaries, will implicitely add a value:\n\n=# insert into table values('[\"a\", \"b\", \"c\"]');\n=# up...
[ { "msg_contents": "Hello,\n\nI already sent the following message to postgres-xl-developers list but\nthey don't seem so active. Therefore, I hope you accept this kind of\nmessages to this mail list.\n\nI'm planning to run PostgreSQL-XL data nodes on CephFS as shared folder. My\ngoal is to provide scalability (...
[ { "msg_contents": "As discussed in the Ryu thread, herewith a draft of a patch to use\nstrtof() for float4 input (rather than using strtod() with its\ndouble-rounding issue).\n\nAn exhaustive search shows that this does not change the resulting\nbit-pattern for any input string that could have been generated by...
[ { "msg_contents": "Looking into a bug report on the -general list about grouping sets,\nwhich turns out to be an issue of collation assignment: if the query has\n\n CASE GROUPING(expr) WHEN 1 ...\n\nthen the expression is rejected as not matching the one in the GROUP BY\nclause, because CASE already assigned c...
[ { "msg_contents": "Although we've got a few NetBSD and OpenBSD buildfarm critters,\nnone of them are doing --enable-tap-tests. If they were, we'd\nhave noticed the pgbench regression tests falling over:\n\nnot ok 3 - pgbench option error: bad option stderr /(?^:(unrecognized|illegal) option)/\n# Failed test ...
[ { "msg_contents": "Remove references to Majordomo\n\nLists are not handled by Majordomo anymore and haven't been for a while,\nso remove the reference and instead direct people to the list server.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/0e10040e19db02a797a2597d2fe...
[ { "msg_contents": "Restrict the use of temporary namespace in two-phase transactions\n\nAttempting to use a temporary table within a two-phase transaction is\nforbidden for ages. However, there have been uncovered grounds for\na couple of other object types and commands which work on temporary\nobjects with tw...