threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nWhile reviewing another patch, I have bumped into a couple of failures\nwhen running installcheck if log_statement = 'ddl'. This pops\nregression failures for 4 tests: object_address, alter_generic,\nalter_operator and stats_ext involving commands CREATE STATISTICS and\nALTER OPERA...
[ { "msg_contents": "Hi\n\nI am sorry for spam - this is just info for not too wide community (I did\npre-release), so I am using this mailing list.\n\nI wrote new pager designed primary for usage as psql pager. It is tested\nonly on Linux, but it should to work on any ncurses ready platform. It is\nexperiment - ...
[ { "msg_contents": "Hi,\n\nThere's plenty workloads where SearchSysCache()/SearchCatCache() shows\nup as a major runtime factor. Primarily in workloads with very fast\nqueries.\n\nA fair while ago, before I had my commit bit, I'd posted [1]. Looking at\nthe profiles/benchmarks I was easily able to confirm that i...
[ { "msg_contents": "Hi,\n\nWhen running workloads that include fast queries with a lot of columns,\nSendRowDescriptionMessage(), and the routines it calls, becomes a\nbottleneck. Besides syscache lookups (see [1] and [2]) a major cost of\nthat is manipulation of the StringBuffer and the version specific\nbranch...
[ { "msg_contents": "Hi,\n\nSurprising myself I discovered that in workloads that do a large number\nof fmgr_info* lookups, fmgr_isbuiltin() is actually quite the\nbottleneck.\n\nIn my development build we have 2765 builtin functions, stored in a 88KB\narray. Apparently the ~12 steps are quite noticeable. General...
[ { "msg_contents": "Hi.\n\nIt seems to me that some of the code in partition.c is better placed\nsomewhere under the executor directory. There was even a suggestion\nrecently [1] to introduce a execPartition.c to house some code around\ntuple-routing.\n\nIMO, catalog/partition.c should present an interface for ...
[ { "msg_contents": "On 11 September 2017 at 18:55, Amit Kapila <amit.kapila16@gmail.com> wrote:\n>>> Do you think non-parallel-aware Append\n>>> will be better in any case when there is a parallel-aware append? I\n>>> mean to say let's try to create non-parallel-aware append only when\n>>> parallel-aware append...
[ { "msg_contents": "Fix bool/int type confusion\n\nUsing ++ on a bool variable doesn't work well when stdbool.h is in use.\nThe original BSD code appears to use int here, so use that instead.\n\nReviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.p...
[ { "msg_contents": "I've read through several old threads on COMMIT TRIGGERs. Rather than\nwrite a lengthy post addressing past debates, here's an implementation\nand demonstration of [an approximation of] COMMIT TRIGGERs with natural\nand _desirable_ semantics:\n\n - commit triggers run exactly once in any wri...
[ { "msg_contents": "Expand partitioned table RTEs level by level, without flattening.\n\nFlattening the partitioning hierarchy at this stage makes various\ndesirable optimizations difficult. The original use case for this\npatch was partition-wise join, which wants to match up the partitions\nin one partitionin...
[ { "msg_contents": "While fooling with the transition-tables bug, I noticed a problem\nin trigger.c that has been there a very long time. AfterTriggerEndQuery\ncorrectly notes\n\n * ... Be careful here: firing a\n * trigger could result in query_stack being repalloc'd, so we can't save\n * its addre...
[ { "msg_contents": "Perform only one ReadControlFile() during startup.\n\nPreviously we read the control file in multiple places. But soon the\nsegment size will be configurable and stored in the control file, and\nthat needs to be available earlier than it currently is needed.\n\nInstead of adding yet another p...
[ { "msg_contents": "Hi,\n\nThe way we currently start and initialize individual postgres (sub-)\nprocesses is pretty complicated and duplicative. I've a couple\ncomplaints:\n\n1) It's completely non-obvious that bootstrap.c:AuxiliaryProcessMain()\n can get invoked both via postmaster for subprocesses (startup...
[ { "msg_contents": "I just cloned PostgreSQL to a new machine today (Ubuntu 17.04). \"make\ninstall\" and \"make check-world\" run fine but \"make installcheck-world\" is\nhaving trouble with amcheck:\n\nIn contrib/amcheck/results:\n\nCREATE EXTENSION amcheck;\nERROR: could not open extension control file\n\"/h...
[ { "msg_contents": "passwordcheck: Add test suite\n\nAlso improve one error message.\n\nReviewed-by: David Steele <david@pgmasters.net>\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/af7211e92dc2bba66f90de9e5bea6ae5fa914c61\n\nModified Files\n--------------\ncontrib/passw...
[ { "msg_contents": "Add support for coordinating record typmods among parallel workers.\n\nTuples can have type RECORDOID and a typmod number that identifies a blessed\nTupleDesc in a backend-private cache. To support the sharing of such tuples\nthrough shared memory and temporary files, provide a typmod regist...
[ { "msg_contents": "Hello everyone, \n\n\n\nBased on the discussion in the below thread, I built a an extension using DSA(postgres-10 beta-3, linux machine).\n\nhttps://www.postgresql.org/message-id/flat/15cc91e836b.12362f6336537.3402818166899386386%40zohocorp.com#15cc91e836b.12362f6336537.3402818166899386386@zo...
[ { "msg_contents": "hi,\n\nI am trying to implement logical replication stream API of postgresql.\nI am facing unusual connection breakdown problem. Here is the simple code\nthat I am\nusing to read WAL file:\n\nString url = \"jdbc:postgresql://pcnode2:5432/benchmarksql\";\n Properties props = new Pro...
[ { "msg_contents": "Hi,\n\nI've been running some regression tests under valgrind, and it seems\nselect_parallel triggers some uses of uninitialized values in dshash. If\nI'm reading the reports right, it complains about hashtable->size_log2\nbeing not being initialized in ensure_valid_bucket_pointers.\n\nI've b...
[ { "msg_contents": "Hi all,\n\n\nCurrently, pg_rewind copies all WAL files from the source server, whether or not they are needed.\nIn some circumstances, will bring a lot of unnecessary network and disk IO consumption, and also increase the execution time of pg_rewind.\nSuch as when wal_keep_segments or max_wal...
[ { "msg_contents": "The just-committed patch 0f79440fb arranges to suppress extra firings\nof AFTER STATEMENT triggers that historically have occurred when\nseveral FK enforcement trigger firings affect the same target table.\nThis leaves us in a situation where you may get more BEFORE STATEMENT\ntrigger firings...
[ { "msg_contents": "Hi\n\n\nIt seems there are some difference in VARCHAR vs TEXT when postgres tries to decide if a LEFT JOIN is useful or not. I can't figure out if this is intentional because there are some difference between TEXT and VARCHAR that I dont know about or if it's a bug.\n\n\nI would expect both e...
[ { "msg_contents": "varstr_sortsupport() only allows Windows to use SortSupport with a\nnon-C-locale (when the server encoding happens to be UTF-8, which I\nassume is the common case). This is because we (quite reasonably)\ndon't want to have to duplicate the ugly UTF-8 to UTF-16 conversion\nhack from varstr_cmp...
[ { "msg_contents": "Hi hackers, Everybody knows, that we have unefficient execution of query like \"SELECT DISTINCT id from mytable\"if table has many-many rows and only several unique id values. Query plan looks like Unique + IndexScan. I have tried to implement this feature in new type of node called Loose Sca...
[ { "msg_contents": "Sometime back Tom Lane has reported [1] about $Subject. I have looked\ninto the issue and found that the problem is not only with parallel\nworkers but with general background worker machinery as well in\nsituations where fork or some such failure occurs. The first problem\nis that after we ...
[ { "msg_contents": "Hi,\n\nJust noticed that we're returning the underlying values for\npg_control_recovery() without any checks:\npostgres[14388][1]=# SELECT * FROM pg_control_recovery();\n┌──────────────────────┬───────────────────────────┬──────────────────┬────────────────┬───────────────────────────────┐\n│...
[ { "msg_contents": "Hi,\n\nWhen a backend dies, in a manner triggering a crash restart, we\ncurrently log something like:\n\nLOG: %s (PID %d) was terminated by signal %d\nLOG: %s (PID %d) exited with exit code %d\nDETAIL: Failed process was running: %s\n\nNotably we log the query from the backend whenever\npgsta...
[ { "msg_contents": "Hi,\n\nI've just joined the list, as discussion on the [GENERAL] pointed me to\na thread here, which I'm very interested in.\n\nBut I'm not quite at \"hacker\" level, so pls forgive me if what I'll say\nis naive for you here.\n\nTo the point. ... with a little introduction first:\n\nOn [GENER...
[ { "msg_contents": "Hi,\n\nThe subscription tests 002_types.pl sometimes hangs for a while and\nthen times out when run on a Travis CI build VM running Ubuntu Trusty\nif --enable-coverage is used. I guess it might be a timing/race\nproblem because I can't think of any mechanism specific to coverage\ninstrumenta...
[ { "msg_contents": "To reproduce the subscription-startup hang that Thomas Munro observed,\nI changed src/backend/replication/logical/launcher.c like this:\n\n@@ -427,7 +427,8 @@ retry:\n \tbgw.bgw_notify_pid = MyProcPid;\n \tbgw.bgw_main_arg = Int32GetDatum(slot);\n \n-\tif (!RegisterDynamicBackgroundWorker(&bg...
[ { "msg_contents": "On Tue, Aug 29, 2017 at 10:22 PM, Thomas Munro\n<thomas.munro@enterprisedb.com> wrote:\n> Indeed. Thank you for working on this! To summarise a couple of\n> ideas that Peter and I discussed off-list a while back: (1) While\n> building the hash table for a hash join we could build a Bloom f...
[ { "msg_contents": "Hi guys\n\nI am working with Postgres9.6 with a Master/Slave cluster replication using\nStreaming replication.\nI would like to add a new Slave server database but this database with\nlogical replication .\n\n\nI tried with some configurations but it was not possible :(\n\nhttps://github.com...
[ { "msg_contents": "As I pointed out a couple of times already [1], we don't currently\nsanitize ICU's BCP 47 language tags within CREATE COLLATION. CREATE\nCOLLATION will accept literally any string as a language tag as things\nstand, even when the string is unambiguously bogus. While I accept\nthat there are l...
[ { "msg_contents": "By setting up synchronized replication between primary and standby, commits\non primary should be blocked by function `SyncRepWaitForLSN()` until its\neffects replicated to the standby.\n\nCurrently, `SyncRepWaitForLSN()` fast exits if the `SyncStandbysDefined()`\nis false, which means GUC `s...
[ { "msg_contents": "Add test for postmaster crash restarts.\n\nGiven that I managed to break this... We probably should extend the\ntests to also cover other sub-processes dying, but that's something\nfor later.\n\nAuthor: Andres Freund\nDiscussion: https://postgr.es/m/20170917080752.rcmihzfmgbeuqjk2@alap3.anar...
[ { "msg_contents": "Rearm statement_timeout after each executed query.\n\nPreviously statement_timeout, in the extended protocol, affected all\nmessages till a Sync message. For clients that pipeline/batch query\nexecution that's problematic.\n\nInstead disable timeout after each Execute message, and enable, if...
[ { "msg_contents": "Add citext_pattern_ops for citext contrib module\n\nThis is similar to text_pattern_ops.\n\nAlexey Chernyshov, reviewed by Jacob Champion.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/f2464997644c64b5dec93ab3c08305f48bfe14f1\n\nModified Files\n------...
[ { "msg_contents": "Hi,\n\nwhile testing a custom data type FIXEDDECIMAL [1], implementing a\nnumeric-like data type with limited range, I ran into a several issues\nthat I suspect may not be entirely intentional / expected behavior.\n\n[1] https://github.com/2ndQuadrant/fixeddecimal\n\nAttached is a minimal sub...
[ { "msg_contents": "Hi All,\n\nGood Morning.\n\nWe are looking for User profiles in ope source PostgreSQL.\n\nFor example, If a user password failed n+ times while login ,the user\naccess has to be blocked few seconds.\n\nPlease let us know, is there any plan to implement user profiles in feature\nreleases?.\n...
[ { "msg_contents": "Hi,\n\nI've had a couple cases where tap tests died, and I couldn't easily see\nwhere / why. For development of a new test I found it useful to show\nbacktraces in that case - just adding a\nuse Carp::Always;\nat the start of the relevant module did the trick.\n\nI'm wondering if we shouldn't...
[ { "msg_contents": "Make new crash restart test a bit more robust.\n\nAdd timeouts in case psql doesn't deliver the expected output, and try\nto cause the monitoring psql to be fully connected to a backend. This\nisn't necessarily everything needed, but at least the timeouts should\nreduce the pain for buildfar...
[ { "msg_contents": "Hi,\n\nI'm working on merging the customizable segment size patch [1]. I'd\nlike to run some of the regression tests using it, to guarantee\nnon-standard settings have test coverage. The reason I'd like to adapt\nan existing test, rather than add a new run of the standard regression\ntests, ...
[ { "msg_contents": "Currently, page checksum is not masked by Page masking routines used\nby wal_consistency_checking facility. So, when running `make installcheck`\nwith data checksum enabled and wal_consistency_checking='all', it easily\nand consistently FATALs with \"inconsistent page found\".\n\nIf anything ...
[ { "msg_contents": "Add basic TAP test setup for pg_upgrade\n\nThe plan is to convert the current pg_upgrade test to the TAP\nframework. This commit just puts a basic TAP test in place so that we\ncan see how the build farm behaves, since the build farm client has some\nspecial knowledge of the pg_upgrade tests...
[ { "msg_contents": "We are having an issue with a query that will return no results when the\nquery does a merge join with a foreign table, but (correctly) returns\nresults when using a hash join.\n\nHere is the situation on the \"remote\" database (9.5):\n\n\n# \\d+ table_with_en_us_utf8_encoding\n ...
[ { "msg_contents": "Make WAL segment size configurable at initdb time.\n\nFor performance reasons a larger segment size than the default 16MB\ncan be useful. A larger segment size has two main benefits: Firstly,\nin setups using archiving, it makes it easier to write scripts that\ncan keep up with higher amounts...
[ { "msg_contents": "Hi all\n\nHere's a little utility class I wrote for value and identifier quoting for\nuse in TAP tests.\n\nMight be handy for others.\n\n\n-- \n Craig Ringer http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n-- \nSent via pgsql-hack...
[ { "msg_contents": "Hi,\n\nBackend's lo_functions were renamed to avoid conflicting with libpq\nprototypes in commit - 6fc547960dbe0b8bd6cefae5ab7ec3605a5c46fc.\n\nLogs inside those functions still refer to old symbol names, Here is the\nsmall patch to update the same.\n\n\nThanks & Regards,\nVaishnavi,\nFujitsu...
[ { "msg_contents": "Hi,\n\nI got an assert failure when executing pg_terminate_backend to the\nprocess that waiting for WAL to be archived in non-exclusive backup\nmode.\n\nTRAP: FailedAssertion(\"!(XLogCtl->Insert.nonExclusiveBackups > 0)\",\nFile: \"xlog.c\", Line: 11123)\n\nThe one reproducing procedure is,\n...
[ { "msg_contents": "(From IRC discussion with Andreas about some sqlsmith errors)\n\nCommit 278148907a9 changed close_ps in geo_ops.c to return SQL NULL in\nthe event that a valid result point was not found (rather than crashing\nor failing an assert).\n\nBut close_ps is called with DirectFunctionCall from other...
[ { "msg_contents": "It seems to install some libraries that depend on\n/usr/lib/system/libsystem_darwin.dylib, which doesn't exist.\nGoogling suggests it will be there in macOS 10.13,\nbut on Sierra or earlier, you're outta luck.\n\nIt looks like the only directly-affected PG dependency is\nlibxml; if you leave ...
[ { "msg_contents": "\nI'm working through testing the changes to allow building with Visual\nStudio 2017. I've noticed that there are some warnings that we don't see\nin earlier compilers.\n\nFirst, it warns about a couple of unused variables at lines 4553 and\n4673 of src/backend/optimizer/path/costsize.c. I th...
[ { "msg_contents": "Hi,\n\nAs per the bug report at\nhttps://www.postgresql.org/message-id/20170921010956.17345.61461%40wrigleys.postgresql.org\nit seems that the query cancellation holdoff logic in ProcessInterrupts is\na bit overly aggressive in keeping other interrupts from running.\n\nIn particular I've seen...
[ { "msg_contents": "Associate partitioning information with each RelOptInfo.\n\nThis is not used for anything yet, but it is necessary infrastructure\nfor partition-wise join and for partition pruning without constraint\nexclusion.\n\nAshutosh Bapat, reviewed by Amit Langote and with quite a few changes,\nmostly...
[ { "msg_contents": "On Mon, Sep 18, 2017 at 12:37 PM, Jeevan Chalke <\njeevan.chalke@enterprisedb.com> wrote:\n\n>\n> On Tue, Sep 12, 2017 at 6:21 PM, Jeevan Chalke <\n> jeevan.chalke@enterprisedb.com> wrote:\n>\n>>\n>>\n>> On Tue, Sep 12, 2017 at 3:24 PM, Rajkumar Raghuwanshi <\n>> rajkumar.raghuwanshi@enterpri...
[ { "msg_contents": "Howdy --\n\nNot to beat on a dead horse, or anything, but this fix was frowned upon \nbecause in one environment (one socket) it was 6% down and over 15% up in \nthe right environment (two sockets).\n\nSo, why not add a configuration parameter which specifies the number of \nparts? Default is...
[ { "msg_contents": "Two thirds of the commitfest has now passed, and while a lot of patches have\nbeen closed, there is still lots to do. As of now, 48% of the entries are\neither in “Needs review” or “Waiting on Author”. Let’s try to reduce that\nnumber further!\n\nA lot of you authors/reviewers have responde...
[ { "msg_contents": "I am running some crash recovery testing against 10rc1 by injecting torn\npage writes, using a test case which generates a lot of multixact, some\nnaturally by doing a lot fk updates, but most artificially by calling\nthe pg_burn_multixact function from one of the attached patches.\n\nIn 22 h...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 14825\nLogged by: Balazs Szilfai\nEmail address: balazs@obiserver.hu\nPostgreSQL version: 10beta4\nOperating system: Debian Linux\nDescription: \n\nHi,\r\n\r\nversion: 10rc1\r\n\r\ntestdb=# begin;\...
[ { "msg_contents": "Somebody inserted this into vacuum.c's get_rel_oids():\n\n tuple = SearchSysCache1(RELOID, ObjectIdGetDatum(relid));\n if (!HeapTupleIsValid(tuple))\n elog(ERROR, \"cache lookup failed for relation %u\", relid);\n\napparently without having read the very verbose comme...
[ { "msg_contents": "I notice that autovacuum.c calls autovacuum_do_vac_analyze, and\nthereby vacuum(), in TopTransactionContext. This doesn't seem\nlike a terribly great idea, because it doesn't correspond to what\nhappens during a manually-invoked vacuum. TopTransactionContext\nwill go away when vacuum() comm...
[ { "msg_contents": "We have been working on a project that makes extensive use of logical\nreplication for use inside Apigee (which is a very small part of Google):\n\nhttps://github.com/apigee-labs/transicator\n\nIn order to do this, we had to write our own logical replication plugin\nbecause the supplied \"tes...
[ { "msg_contents": "Minor code enhancement.\n\nWhile having a look at adding if/elif/else/endif to pgbench, and given the \ncurrent gset/cset added meta commands in cf queue, it occured to me that \nrepeated string comparisons to check for the various meta commands is \nneither efficient nor readable. Use an enu...
[ { "msg_contents": "I poked around among the callers of construct_[md_]array() and found at\nleast two more besides ts_lexize() that could build zero-element arrays;\none of very ancient standing is in the pg_prepared_statements view.\n\nSo I think we've got a clear hazard here that justifies changing the\nbehav...
[ { "msg_contents": "<Bounced from commits to have it on hackers>\n\nHello Tom,\n\n> Well, I think it's mostly about valgrind making everything really slow. Since \n> we have seen some passes from skink recently, perhaps there was also a \n> component of more-load-on-the-machine-than-usual. But in the end this i...
[ { "msg_contents": "This looks like cargo-cult programming to me. stderr is almost\nalways line-buffered, making these fflush'es pointless. If it's\nnot line-buffered, that's probably because it's going to a\nnoninteractive destination for which this wouldn't matter.\nMoreover, none of our other programs do th...
[ { "msg_contents": "Hi\n\nI did trivial example of logical replication (one table, one publication,\none subscription)\n\nI am little bit surprised so after some work - the replication is working,\nthe statistics are empty\n\n#master\npostgres=# select * from pg_stat_replication ;\n(0 rows)\n\n#slave\npostgres=#...
[ { "msg_contents": "comments improvements\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/pgsql-hackers", "msg_date": "Sun, 24 Sep 2017 22:36:59 +0200", "msg_from": "Erik Rijkers <er@xs4all.nl>", ...
[ { "msg_contents": "On Fri, Sep 22, 2017 at 11:34 AM, Peter Eisentraut\n<peter.eisentraut@2ndquadrant.com> wrote:\n> After reviewing this thread and testing around a bit, I think the code\n> is mostly fine as it is, but the documentation is lacking. Hence,\n> attached is a patch to expand the documentation quit...
[ { "msg_contents": "In PostgreSQL 10, the sequence metadata moved from the sequence\n\"relation\" to a system catalog. The psql \\d sequence command was not\nupdated for that. (It just did SELECT * FROM seq and there were no\ntests, so this was missed.) Attached is a patch that fixes that up,\ntaking the oppo...
[ { "msg_contents": "Hi there,\n\nDuring crash recovery, last checkpoint record information is obtained from the backup label if present, instead of getting it from the control file. This behavior is causing PostgreSQL database cluster not to come up until the backup label file is deleted (as the error message sa...
[ { "msg_contents": "This patch is based against 'master'.\r\n\r\nIt adds collection of timing data for the initialization option phases and\r\nreporting at the end of initialization.\r\n\r\nBefore patch:\r\n.\r\n.\r\n.\r\n199900000 of 200000000 tuples (99%) done (elapsed 158.96 s, remaining 0.08 s)\r\n200000000 ...
[ { "msg_contents": "Hello everyone!\n\n\nI have found out the problem when try to sequentially call the function \nthat casts constant to composite type of temporary table that is deleted \nateach transaction termination (i.e. at each function call completion).\n\n\nFor example, we have the following function 't...
[ { "msg_contents": "This patch enables building pgbench to use ppoll() instead of select()\r\nto allow for more than (FD_SETSIZE - 10) connections. As implemented,\r\nwhen using ppoll(), the only connection limitation is system resources.\r\n\r\nThe patch has been implemented to introduce a minimal of #ifdef/#i...
[ { "msg_contents": "Hi hackers,\r\n\r\nCurrently, the passwordcheck module provides a few basic checks to strengthen\r\npasswords. However, any configuration must be ready at compile time, and many\r\ncommon password requirements cannot be enforced without creating a custom\r\nversion of this module. I think t...
[ { "msg_contents": "This patch enables building pgbench to use ppoll() instead of select()\r\nto allow for more than (FD_SETSIZE - 10) connections. As implemented,\r\nwhen using ppoll(), the only connection limitation is system resources.\r\n\r\nTo maintain the microseconds duration of \\SLEEP meta command, ppo...
[ { "msg_contents": "I have been working on implementing the runtime partition pruning\nwhich would increase the performance of queries involving partitioned\ntable to a great extent.\n\nPFA the POC which can be applied over Amit's patch for faster\npartition pruning [1] and Dilip's refactor patch [2] on commit\n...
[ { "msg_contents": "Hello,\n\nI am currently using PostgreSQL Community version 9.4.9 and then using this\ninstance, I am doing logical replication(using replication slots). I have\ncreated the replication slots using the following query:\n\nSELECT xlog_position FROM pg_create_logical_replication_\nslot('cjkimqv...
[ { "msg_contents": "The comment that I think needs updating is:\n\n# METHOD can be \"trust\", \"reject\", \"md5\", \"password\", \"scram-sha-256\",\n# \"gss\", \"sspi\", \"ident\", \"peer\", \"pam\", \"ldap\", \"radius\" or \"cert\".\n\nThe \"md5\" option no longer works, as discussed in other threads.\n\nmark\n...
[ { "msg_contents": "On Mon, Aug 14, 2017 at 11:58 PM, Michael Paquier\n<michael.paquier@gmail.com> wrote:\n> As $subject has been touched on two threads recently\n> (https://www.postgresql.org/message-id/CAB7nPqTbHLcHFn6m11tfpwAdgz8BmnBza2jjN9AK=SdX_kBJZQ@mail.gmail.com\n> and https://www.postgresql.org/message-...
[ { "msg_contents": "Should the release notes have a compatibility entry about pg_ctl restart,\nbeing used against a running pre-10 server, no longer being able to detect\nwhen startup is complete?\n\nI don't know if cross-version use of pg_ctl restart was ever officially\nsupported, but the current behavior is r...
[ { "msg_contents": "Hi.\n\nI've noticed that hash indexes can't currently (in PG10) be multicolumn. \nAre they technically hard to implement or just nobody took such a feature?\n\nI think multicolumn hash indexes should help pretty significantly with \nqueries like:\n- where username=? and user_post_id=?\n- wher...
[ { "msg_contents": "Hi all,\n\nI have been looking more closely at the problem in $subject, that I\nhave mentioned a couple of times, like here:\nhttps://www.postgresql.org/message-id/CAB7nPqQa37OUne_rJzpmWC4EXQaLX9f27-Ma_-rSFL_3mj+HFQ@mail.gmail.com\n\nAs of HEAD, the RangeVar defined in calls of vacuum() is us...
[ { "msg_contents": "Hi all,\n\nI build PostgreSQL 9.6.5 by Visual Studio 2013 on Windows, I found weird behavior on it.\n\nI execute following SQL, occurring ERROR is expected, but I got mysterious value 1.\n\n\npostgres=# select (float8 'inf')::numeric;\n numeric\n---------\n 1\n(1 row)\n\n\nOn Windows, a...
[ { "msg_contents": "Hi,\n\nI just came across this very peculiar behavior:\n\n=# create table foo(id int primary key);\nCREATE TABLE\n=# insert into foo select generate_series(1, 1000000);\nINSERT 0 1000000\n=# set enable_hashjoin to false; set enable_mergejoin to false;\nSET\nSET\n=# explain select * from foo w...
[ { "msg_contents": "Hi All,\n\nAttaching POC patch that throws an error in the case of a concurrent update\nto an already deleted tuple due to UPDATE of partition key[1].\n\nIn a normal update new tuple is linked to the old one via ctid forming\na chain of tuple versions but UPDATE of partition key[1] move tuple...
[ { "msg_contents": "At the PGCon Developer Meeting it was agreed[0] to add a list of credits\nto the release notes, including everyone who was mentioned in a commit\nmessage. I have now completed that list.\n\nAttached is the proposed documentation commit as well as the raw list.\n\nThoughts on the heading? I ...
[ { "msg_contents": "I mentioned last week that updating to Xcode 9.0 while still on macOS\nSierra wasn't such a hot idea. I've now updated longfin's host to\nmacOS High Sierra, and that fixed the little problem with a missing\nlibrary dependency ... but all is not entirely well, because the new\nversion of Xcod...
[ { "msg_contents": "Hi,\n\nCommit 7086be6e3627c1ad797e32ebbdd232905b5f577f addressed mishandling of \nWCO in direct foreign table modification by disabling it when we have \nWCO, but I noticed another oddity in postgres_fdw:\n\npostgres=# create table base_tbl (a int, b int);\npostgres=# create function row_befo...
[ { "msg_contents": "Hello,\n\nWhile running some tests, I encountered a situation where pgbench gets\nstuck in an infinite loop, consuming 100% cpu. The setup was:\n\n- Start postgres server from the master branch\n- Initialise pgbench\n- Run pgbench -c 10 -T 100\n- Stop postgres with -m immediate\n\nNow it seem...
[ { "msg_contents": "Hi,\n\nUsing hash partitions I noticed that \\d gives\n\nD=# \\d T_p63\n Table \"public.T_p63\"\n Column | Type | Collation | Nullable | Default\n---------------+---------------+-----------+----------+---------\n\n<remove>\n\nPartition of: T FOR VALUES WITH (mo...
[ { "msg_contents": "Fix freezing of a dead HOT-updated tuple\n\nVacuum calls page-level HOT prune to remove dead HOT tuples before doing\nliveness checks (HeapTupleSatisfiesVacuum) on the remaining tuples. But\nconcurrent transaction commit/abort may turn DEAD some of the HOT tuples\nthat survived the prune, be...
[ { "msg_contents": "\nThe new crash-recovery check is failing pretty reliably on jacana. It's\nalready excluded on MSVC machines, so I'm inclined to exclude it on Msys\nas well.\n\n\nThoughts?\n\n\ncheers\n\n\nandrew\n\n\n-- \nAndrew Dunstan https://www.2ndQuadrant.com\nPostgreSQL Development, 24x...
[ { "msg_contents": "Hi,\n\nIn Postgres 10 we have txid_status function which returns status of \ntransaction by XID.\nI wonder if it will be also useful to have similar function for 2PC \ntransactions which can operate with GID?\npg_prepared_xacts view allows to get information about prepared \ntransaction which...
[ { "msg_contents": "Hi,\n\nIn a case of\n\ninitdb /tmp/pgsql\n\nfollowed by\n\npg_ctl -D /tmp/pgsql/ -l /tmp/logfile restart\n\nyou'll get\n\npg_ctl: PID file \"/tmp/pgsql/postmaster.pid\" does not exist\nIs server running?\nstarting server anyway\npg_ctl: could not read file \"/tmp/pgsql/postmaster.opts\"\n\nTh...
[ { "msg_contents": "I noticed the following while poking around with perf:\n\n | fcinfo->isnull = false;\n |b5b: movb $0x0,0x1c(%rdx)\n | *op->resvalue = op->d.func.fn_addr(fcinfo);\n 0.02 | mov 0x8(%rbx),%rcx\n 1.19 | ...
[ { "msg_contents": "Hi\n\nThe plpgsql_check is mature project now, and I am would to start discussion\nabout future of this project. It is still private project, although it is\nimportant for one from key PostgreSQL feature - PLpgSQL. I would be happy\nif the community can take some responsibility for this proje...
[ { "msg_contents": "I wonder why syntax error is produced in this case:\n\npostgres=# create index metaindex on foo using \ngin(to_tsvector('english', x)||to_tsvector('english',y));\nERROR: syntax error at or near \"||\"\nLINE 1: ...taindex on foo using gin(to_tsvector('english', x)||to_tsvec...\n ...
[ { "msg_contents": "According to Postgresql documentation it is not possible to alter server \nfor foreign table:\n\nhttps://www.postgresql.org/docs/10/static/sql-alterforeigntable.html\n\nBut stackoverflow suggests the following hack directly updating \n|pg_foreign_table|:\nhttps://stackoverflow.com/questions/3...
[ { "msg_contents": "Fix inadequate locking during get_rel_oids().\n\nget_rel_oids used to not take any relation locks at all, but that stopped\nbeing a good idea with commit 3c3bb9933, which inserted a syscache lookup\ninto the function. A concurrent DROP TABLE could now produce \"cache lookup\nfailed\", which ...