threads
listlengths
1
2.99k
[ { "msg_contents": "The syntax for like_option in CREATE TABLE docs seems to forget to mention\nINCLUDING COMPRESSION option. I think the following fix is necessary.\nPatch attached.\n\n-{ INCLUDING | EXCLUDING } { COMMENTS | CONSTRAINTS | DEFAULTS | GENERATED | IDENTITY | INDEXES | STATISTICS | STORAGE | ALL }\...
[ { "msg_contents": "In joinpath.c three times we reference \"extra_lateral_rels\" (with\nunderscores like it's a field), but as far as I can tell that's not a\nfield anywhere in the source code, and looking at the code that\nfollows it seems like it should be referencing \"lateral_relids\" (and\nthe \"extra\" is...
[ { "msg_contents": "Hi folks,\n\nEnclosed is a patch that expands the unit output for\npg_size_pretty(numeric) going up to Yottabytes; I reworked the existing\nnumeric output code to account for the larger number of units we're using\nrather than just adding nesting levels.\n\nThere are also a few other places t...
[ { "msg_contents": "Hello hackers,\n\nI'm trying to understand what is happening in the following bug report:\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1935301\n\nThe upgrade process makes it a bit more difficult, but it seems to boil \ndown to this problem -- even when pg_ctl gets clear guidance where to \nf...
[ { "msg_contents": "I noticed some broken-looking logic in recordMultipleDependencies\nconcerning how it records collation versions. It was a bit harder\nthan I expected to demonstrate the bugs, but I eventually succeeded\nwith\n\nu8=# create function foo(varchar) returns bool language sql return false;\nCREATE...
[ { "msg_contents": "In [1] Andres and I speculated about whether we really need all\nthose PIN entries in pg_depend. Here is a draft patch that gets\nrid of them.\n\nIt turns out to be no big problem to replace the PIN entries\nwith an OID range check, because there's a well-defined point\nin initdb where it wa...
[ { "msg_contents": "Hi,\n\nI am returning back to implementation of schema variables. The schema\nvariables can be used as an alternative to package variables (Oracle's\nPL/SQL or ADA). The schema variables can be used as fast and safe storage\nof session information for RLS too.\n\nThe previous implementation h...
[ { "msg_contents": "\nThe RelationIdGetRelation() comment says:\n\n> Caller should eventually decrement count. (Usually,\n> that happens by calling RelationClose().)\n\nHowever, it doesn't do it in ReorderBufferProcessTXN().\nI think we should close it, here is a patch that fixes it. Thoughts?\n\n-- \nRegrads,\n...
[ { "msg_contents": "Hi,\n\nAttached patch removes \"is_foreign_table\" from transformCreateStmt()\nsince it already has cxt.isforeign that can serve the same purpose.\n\nRegards,\nAmul", "msg_date": "Thu, 15 Apr 2021 17:04:08 +0530", "msg_from": "Amul Sul <sulamul@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "Hi,\n\nCommit mentioned in the $subject changed the FirstBootstrapObjectId\n(transam.h) from 12000 to 13000. I was trying to understand the reason\nbehind this change, but was not able to gather that information. Also didn't\nfind anything in the commit message either.\n\nCan you please expl...
[ { "msg_contents": "Forking https://www.postgresql.org/message-id/20210328231433.GI15100@telsasoft.com\n\nI gave suggestion how to reduce the \"lines of diff\" metric almost to nothing,\nallowing a very small \"fudge factor\", and which I think makes this a pretty\ngood metric rather than a passable one.\n\nThou...
[ { "msg_contents": "|commit 7a50bb690b4837d29e715293c156cff2fc72885c\n|Author: Andres Freund <andres@anarazel.de>\n|Date: Fri Mar 16 23:13:12 2018 -0700\n|\n| Add 'unit' parameter to ExplainProperty{Integer,Float}.\n| \n| This allows to deduplicate some existing code, but mainly avoids some\n| dupl...
[ { "msg_contents": "-- Targeting PG15; if too early / noise then please ignore.\n\nI've noticed there are a lot of places in the btree index\ninfrastructure (and also some other index AMs) that effectively\niterate over the attributes of the index tuple, but won't use\nindex_deform_tuple for reasons. However, th...
[ { "msg_contents": "Hi,\n\nI recently noticed that ATTACH PARTITION also recursively locks the\ndefault partition with ACCESS EXCLUSIVE mode when its constraints do\nnot explicitly exclude the to-be-attached partition, which I couldn't\nfind documented (has been there since PG10 I believe).\n\nPFA a patch that d...
[ { "msg_contents": "[ moving this to a new thread so as not to confuse the cfbot ]\n\nI wrote:\n> Andrew Dunstan <andrew@dunslane.net> writes:\n>> Is there anything else we should be doing along the eat your own dogfood\n>> line that don't have these security implications?\n\n> We can still convert the initdb-cr...
[ { "msg_contents": "Dear all\n\nSince I was receiving an error when defining a set returning function, I\nborrowed a function from PostgreSQL as follows\n\n/* C definition */\ntypedef struct testState\n{\n int current;\n int finish;\n int step;\n} testState;\n\n/**\n* test_srf(startval int, endval int, step i...
[ { "msg_contents": "commit 87259588d0ab0b8e742e30596afa7ae25caadb18\nAuthor: Alvaro Herrera <alvherre@alvh.no-ip.org>\nDate: Thu Apr 25 10:20:23 2019 -0400\n\n Fix tablespace inheritance for partitioned rels\n\nThis doc change doesn't make sense to me:\n\n+++ b/doc/src/sgml/config.sgml\n@@ -7356,7 +7356,8 @...
[ { "msg_contents": "Hello,\n\nthis is a feature request for a rather simple functionality.\n\nI propose to implement a builtin and efficient bidirectional cast between\nctid and bigint types.\n\nAnother nice feature would be a function that can be called from a sql\nstatement and would throw an exception when ex...
[ { "msg_contents": "\nHi,\n\nPeter Geoghegan suggested that I have the cross version upgrade checker\nrun pg_amcheck on the upgraded module. This seemed to me like a good\nidea, so I tried it, only to find that it refuses to run unless the\namcheck extension is installed. That's fair enough, but it also seems to...
[ { "msg_contents": "I have a Publication/Subscription. Then 10 days ago my replication just\nstopped, no one interesting message log on both sides. Then select from\npg_stat_replication was empty and some time later, an hour or two,\npg_stat_replication came back showing a record like it should. Well, it´s\nrepl...
[ { "msg_contents": "Hi,\n\nThis patch is a WIP fix for the issue described in [1], where the\nplanner picks a more expensive plan with partition-wise joins enabled,\nand disabling this option produces a cheaper plan. That's a bit strange\nbecause with the option disabled we consider *fewer* plans, so we should\n...
[ { "msg_contents": "Hi\n\ntoday I worked on postgres's server used for critical service. Because the\napplication is very specific, we had to do final tuning on production\nserver. I fix lot of queries, but I am not able to detect fast queries that\ndoes full scan of middle size tables - to 1M rows. Surely I wou...
[ { "msg_contents": "Hello,\n\nwhen creating an event trigger for ddl_command_end that calls\npg_event_trigger_ddl_commands certain statements will cause the\ntrigger to fail with a cache lookup error. The error happens on\nmaster, 13 and 12 I didnt test any previous versions.\n\ntrg=# ALTER TABLE t ALTER COLUMN ...
[ { "msg_contents": "Hi:\n\nI would talk about the impact of init partition prune for\nset_append_rel_size.\nand create_append_path. Finally I just want to focus on set_append_rel_size\nonly in this thread.\n\nGiven the below example:\n\nCREATE TABLE P (part_key int, v int) PARTITION BY RANGE (part_key);\nCREATE ...
[ { "msg_contents": "Hi,\n\nI'm surprised that the following expression is false:\n\nselect to_tsvector('english', 'aaa: bbb') @@\nwebsearch_to_tsquery('english', '\"aaa: bbb\"');\n ?column?\n----------\n f\n(1 row)\n\nMy expectation is that to_tsvector('english', text) @@\nwebsearch_to_tsquery('english', '\" || ...
[ { "msg_contents": "Hi:\n\nWe know volatile is very harmful for optimizers and it is the default\nvalue (and safest value) if the user doesn't provide that. Asking user\nto set the value is not a good experience, is it possible to auto-generate\nthe value for it rather than use the volatile directly for user d...
[ { "msg_contents": "Hi,\n\nI assumed the cost for each nested VIEW layer would grow linear,\nbut my testing shows it appears to grow exponentially:\n\nCREATE TABLE foo (bar int);\nINSERT INTO foo (bar) VALUES (123);\n\nDO $_$\nDECLARE\nBEGIN\nCREATE OR REPLACE VIEW v1 AS SELECT * FROM foo;\nFOR i IN 1..256 LOOP\...
[ { "msg_contents": "Hi,\n\nThe CREATE SUBSCRIPTION documentation [1] includes a list of \"WITH\"\noptions, which are currently in some kind of quasi alphabetical /\nrandom order which I found unnecessarily confusing.\n\nI can't think of any good reason for the current ordering, so PSA my\npatch which has identic...
[ { "msg_contents": "Hi,\n\nMoving this topic into its own thread from the one about collation\nversions, because it concerns pre-existing problems, and that thread\nis long.\n\nCurrently initdb sets up template databases with old-style Windows\nlocale names reported by the OS, and they seem to have caused us qui...
[ { "msg_contents": "Hi All,\n\nPlease help me out with my doubt in RANGE partition with TEXT datatype:\n\npostgres=# create table tab1 (col1 text) PARTITION BY RANGE (col1);\nCREATE TABLE\n\npostgres=# create table p1 (col1 text);\nCREATE TABLE\n\n-- Partition with range from '5' to '10' shows error:\npostgres=#...
[ { "msg_contents": "hi, all\n\n Recently, I found the copyright info for PG11 branch still is \"Portions\nCopyright (c) *1996-2018*, PostgreSQL Global Development Group\". Do we need\nto update it?\n\n regards, ChenBo\n\n\n\n--\nSent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html\n\n...
[ { "msg_contents": "Hi.\n\nWith the commit mentioned in the $subject, I am seeing the\nchange in behaviour with the varlena header size. Please\nconsider the below test:\n\npostgres@83795=#CREATE TABLE test_storage_char(d char(20));\nCREATE TABLE\npostgres@83795=#INSERT INTO test_storage_char SELECT REPEAT('e',...
[ { "msg_contents": "Hello all,\nI would like to know your opinion on the following behaviour I see for \nPostgreSQL setup with synchronous replication.\n\nThis behaviour happens in a special use case. In this use case, there \nare 2 synchronous replicas with the following config (truncated):\n\n- 2 nodes\n- sync...
[ { "msg_contents": "Hi,\n\nI've noticed that customers not infrequently complain that they start\npostgres and then the system doesn't come up for a while and they have\nno idea what's going on and are (understandably) worried. There are\nprobably a number of reasons why this can happen, but the ones that\nseem ...
[ { "msg_contents": "Hello,\nI am new in PostgreSQL and I am trying to understand what the “test” word is representing in the archive_command configuration that the PostgreSQL documentation is showing as the format on how to set up this parameter\n\narchive_command = 'test ! -f /mnt/server/archivedir/%f && cp %p ...
[ { "msg_contents": "Has anyone discussed previously column-level security \"policies\" or how to\nbest manage/implement them as they don't exist yet?\n\nIn my mind we have great tools for database administrator users to have\ncolumn level security with grants, but not application users in a manner\nakin to RLS.\...
[ { "msg_contents": "Dear team ,\n\nhi, I am sending this email to propose to join PostgreSQl program to\nenhance my skills and to keep up with market needs so kindly accept my\nproposal .\n\nthanks & regards\nkhaled\n\nDear team ,hi, I am sending this email to propose to join PostgreSQl program to enhance my sk...
[ { "msg_contents": "Hi all,\n\nLike every year, I have done some tests with wal_consistency_checking\nto see if any inconsistencies have been introduced in WAL replay. And\nthe good news is that I have noticed nothing to worry about.\n\nThanks,\n--\nMichael", "msg_date": "Tue, 20 Apr 2021 11:42:12 +0900", ...
[ { "msg_contents": "Hi Peter,\n\nWhile testing wal_consistency_checking, I have noticed that by far\nmost of the runtime is spent within the regression test check_btree on\nthe series of three queries inserting each 100k tuples. This also\neats most of the run time of the test on HEAD. Could we for example\nco...
[ { "msg_contents": "There is an omission of automatic completion of CURRENT_ROLE in tab-complete.c.\n\nBest wishes,\nWei Wang", "msg_date": "Tue, 20 Apr 2021 03:28:38 +0000", "msg_from": "\"wangw.fnst@fujitsu.com\" <wangw.fnst@fujitsu.com>", "msg_from_op": true, "msg_subject": "An omission of aut...
[ { "msg_contents": "Hello.\n\nIt seems to me that there's a stale description in the documentation\nof pg_basebackup.\n\nhttps://www.postgresql.org/docs/13/app-pgbasebackup.html\n\n> Note that there are some limitations in taking a backup from a standby:\n...\n> If you are using -X none, there is no guarantee th...
[ { "msg_contents": "Hi,\n\nJust an observation: on REL_13_STABLE, $SUBJECT maps in ~170MB of\nmemory, and on master it's ~204MB. A backend running that was just\nnuked by the kernel due to lack of swap space on my tiny buildfarm\nanimal elver (a VM with 1GB RAM, 2GB swap, not doing much else).\nCould also be re...
[ { "msg_contents": "Hi hackers,\n\nAs I played with the partitioned table with GRANT, I found two questions.\nLet's see an example:\n\n\nCREATE TABLE measurement (\n city_id int not null,\n logdate date not null,\n peaktemp int,\n unitsales int\n) PARTITION BY RANGE (logd...
[ { "msg_contents": "Hello,\n\n\nI think we've found a few existing problems with handling the parallel safety of functions while doing an experiment. Could I hear your opinions on what we should do? I'd be willing to create and submit a patch to fix them.\n\nThe experiment is to add a parallel safety check in ...
[ { "msg_contents": "Hi,\n\nThis is a small patch (against master) to allow an application using \nlibpq with GSSAPI authentication to specify where to fetch the \ncredential cache from -- it effectively consists of a new field in \nPQconninfoOptions to store this data and (where the user has specified a \nccache...
[ { "msg_contents": "Hi,\n\nI noticed that the pg_stat_statements documentation doesn't include\nthe necessary config parameter setting \"compute_query_id = on\" in the\n\"typical usage\" (so if you just used those existing typical usage\nsettings, the tracking wouldn't actually work).\nI've attached a patch for ...
[ { "msg_contents": "Hello PostgreSQL Hackers,\n\nis it possible to preserve the PostgreSQL statistics on a server crash?\n\nSteps to reproduce the behaviour:\n1) Observe the statistics counters, take note\n2) Crash the machine, e.g. with sysrq; perhaps kill -9 on postgresql will\nalready suffice\n3) After recove...
[ { "msg_contents": "Hi,\n\nI just noticed that a comment for dshash_find() mentions:\n\n\"caller must not lock a lock already\"\n\nSimple patch to rephrase with \"hold a lock\" attached.", "msg_date": "Tue, 20 Apr 2021 20:16:59 +0800", "msg_from": "Julien Rouhaud <rjuju123@gmail.com>", "msg_from_op":...
[ { "msg_contents": "\nI've just noticed that we have 41 perl files in our sources with\ncopyright notices of some sort and 161 without. Should we do something\nabout that?\n\n\ncheers\n\n\nandrew\n\n\n--\nAndrew Dunstan\nEDB: https://www.enterprisedb.com\n\n\n\n", "msg_date": "Tue, 20 Apr 2021 09:58:53 -0400...
[ { "msg_contents": "Hi hackers,\n\nWhile trying to build PostgreSQL from source (master branch, 95c3a195) on a\nMacBook I discovered that `make check` fails:\n\n```\n============== removing existing temp instance ==============\n============== creating temporary instance ==============\n============== initializi...
[ { "msg_contents": "Hi,\n\nIt looks like even though the commit e5253fdc4f that added the\nparallel_leader_participation GUC correctly categorized it as\nRESOURCES_ASYNCHRONOUS parameter in the code, but in the docs it is kept\nunder irrelevant section i.e. \"Query Planning/Other Planner Options\". This\nis repo...
[ { "msg_contents": "Hi,\n\nDuring commits, and some other places, there's a short phase at which we\nblock checkpoints from starting:\n\n\t\t/*\n\t\t * Mark ourselves as within our \"commit critical section\". This\n\t\t * forces any concurrent checkpoint to wait until we've updated\n\t\t * pg_xact. Without th...
[ { "msg_contents": "Hi,\n\nI'm reading the pull_up_sublinks, and find the below comments.\n\n * However, this optimization *only*\n * works at the top level of WHERE or a JOIN/ON clause, because we cannot\n * distinguish whether the ANY ought to return FALSE or NULL in cases\n * involving NULL inputs. Also, in a...
[ { "msg_contents": "Hello.\n\nI found the following lines in xlogprefetch.c.\n\n> ereport(LOG,\n> (errmsg(\"recovery finished prefetching at %X/%X; \"\n> \"prefetch = \" UINT64_FORMAT \", \"\n> \"skip_hit = \" UINT64_FORMAT \", \"\n...\n\nIt is found in ja.po a...
[ { "msg_contents": "Hi,\n\nWe are used to thinking about table vacuum and index vacuum as parts\nof a single, indivisible operation. You vacuum the table -- among\nother things by performing HOT pruning and remembering dead TIDs --\nand then you vacuum the indexes -- removing the remembered TIDs from\nthe index ...
[ { "msg_contents": "The multirange constructors created in makeMultirangeConstructors() are:\n\nmultirange_constructor0 -> not strict\nmultirange_constructor1 -> strict\nmultirange_constructor2 -> not strict\n\nAnd both multirange_constructor1 and multirange_constructor2 contain \ncode like\n\n/*\n * These chec...
[ { "msg_contents": "Hi,\n\nIn the PageGetItemIdCareful() introduced by commit a9ce839a, it seems\nlike we are using btree page pd_special structure BTPageOpaqueData for\nerror case without max aligning it.\n if (ItemIdGetOffset(itemid) + ItemIdGetLength(itemid) >\n BLCKSZ - sizeof(BTPageOpaqueData))\n ...
[ { "msg_contents": "Hi all,\n\nCan you please explain the process of adding new items into autoconf\nscripts? Specifically into configure.ac. For example, if I want to add a\nnew --with-foo argument, let's say a new 3rd party library. What should I\ndo after proper configure.ac modification? Should I also re-gen...
[ { "msg_contents": "I found some doubious messages.\n\ncatalog.c:380, 404\n> errdetail(\"OID candidates were checked \\\"%llu\\\" times, but no unused OID is yet found.\",\n> (errmsg(\"new OID has been assigned in relation \\\"%s\\\" after \\\"%llu\\\" retries\",\n\nIt looks strange that %llu is enclosed by dou...
[ { "msg_contents": "Hi,\n\nI found some possible redundant comments in fmgr.c\n\n1.\nfmgr_symbol(Oid functionId, char **mod, char **fn)\n{\n HeapTuple procedureTuple;\n Form_pg_proc procedureStruct;\n bool isnull;\n Datum ...
[ { "msg_contents": "The docs don't explicitly mention the reduced lock level for this subcommand.\n\n-- \nSimon Riggs http://www.EnterpriseDB.com/", "msg_date": "Thu, 22 Apr 2021 12:49:49 +0100", "msg_from": "Simon Riggs <simon.riggs@enterprisedb.com>", "msg_from_op": true, "msg_su...
[ { "msg_contents": "897795240cfaaed724af2f53ed2c50c9862f951f forgot to reduce the lock\nlevel for CHECK constraints when allowing them to be NOT VALID.\n\nThis is simple and safe, since check constraints are not used in\nplanning until validated.\n\n-- \nSimon Riggs http://www.EnterpriseDB.com/", ...
[ { "msg_contents": "Hi\n\nWhen try to improve the tab compleation feature in [1], I found an existing problem and a typo.\nThe patch was attached, please kindly to take a look at it. Thanks.\n\n[1]\nhttps://www.postgresql.org/message-id/OS0PR01MB61131A4347D385F02F60E123FB469%40OS0PR01MB6113.jpnprd01.prod.outlook...
[ { "msg_contents": "Hi,\n\nIs $SUBJECT intentional, or would it be desirable to add support it?\n\nExample:\n\nSELECT * FROM pg_catalog.pg_event_trigger;\n oid | evtname | evtevent | evtowner | evtfoid | evtenabled | evttags\n-----------+---------------+-----------------+----------+---------...
[ { "msg_contents": "Hi,\n\nMichael Paquier (running locally I think), and subsequently Thomas Munro\n(noticing [1]), privately reported that they noticed an assertion failure in\nGetSnapshotData(). Both reasonably were wondering if that's related to the\nsnapshot scalability patches.\n\nMichael reported the foll...
[ { "msg_contents": "Would anyone oppose me pushing this for tab-completing the new keywords\nof\nALTER TABLE .. DETACH PARTITION?\n\n-- \n�lvaro Herrera Valdivia, Chile\n\"Por suerte hoy explot� el califont porque si no me habr�a muerto\n de aburrido\" (Papelucho)", "msg_date": "Thu, 22 Apr 202...
[ { "msg_contents": "\n\nOn 2021/04/23 0:36, Andres Freund wrote:\n> Hi\n> \n> On Thu, Apr 22, 2021, at 06:42, Fujii Masao wrote:\n>> On 2021/04/21 18:31, Masahiro Ikeda wrote:\n>>>> BTW, is it better to change PgStat_Counter from int64 to uint64 because> there aren't any counters with negative number?\n>> On se...
[ { "msg_contents": "Hi all,\n\nAs $subject says, I noticed that while scanning the area. Any\nobjections to make all that more consistent with the style of HEAD?\nPlease see the attached.\n--\nMichael", "msg_date": "Fri, 23 Apr 2021 13:54:15 +0900", "msg_from": "Michael Paquier <michael@paquier.xyz>", ...
[ { "msg_contents": "Hi,\n\nWe have automated tests for many specific replication and recovery\nscenarios, but nothing that tests replay of a wide range of records.\nPeople working on recovery code often use installcheck (presumably\nalong with other custom tests) to exercise it, sometimes with\nwal_consistency_c...
[ { "msg_contents": "Hi, Hackers:\r\n\r\nIn function ExecGetTriggerResultRel, we can see comments:\r\n\r\n> /* First, search through the query result relations */ ...\r\n> /*\r\n> * Third, search through the result relations that were created during\r\n> * tuple routing, if any.\r\n> */\r\n\r\nBut the 'Second' wa...
[ { "msg_contents": "Hi,\n\nI'm trying to test Postgres code for any unaligned memory accesses. I\nused a hack shown at [1] and put it in exec_simple_query, then I'm\nseeing a SIGBUS error from SplitIdentifierString's strncpy, see [2].\nIt looks like the SIGBUS error occurs even if a simple memcpy(for\ntesting pu...
[ { "msg_contents": "More fixes like the one Peter committed as 9bd563aa9.\nI eyeballed the HTML to make sure this looks right.\n\n From a8b782cde7c5d6eef1e3876636feb652bc5f3711 Mon Sep 17 00:00:00 2001\nFrom: Justin Pryzby <pryzbyj@telsasoft.com>\nDate: Thu, 22 Apr 2021 21:10:49 -0500\nSubject: [PATCH] Remove ex...
[ { "msg_contents": "Hi,\n\nI started to write a test for $Subject, which I think we sorely need.\n\nCurrently my approach is to:\n- start a cluster, create a few tables with test data\n- acquire SHARE UPDATE EXCLUSIVE in a prepared transaction, to prevent\n autovacuum from doing anything\n- cause dead tuples to...
[ { "msg_contents": "When compute_query_id is not enabled (this is the default setting),\npg_stat_statements doesn't track any statements. This means that\nwe will see no entries in pg_stat_statements by default. I'm afraid that\nusers may easily forget to enable compute_query_id\nwhen using pg_stat_statements (b...
[ { "msg_contents": "Hackers,\n\nLast year, when working on making compactify_tuples() go faster for\n19c60ad69, I did quite a bit of benchmarking of the recovery process.\nThe next thing that was slow after compactify_tuples() was the hash\nlookups done in smgropen().\n\nCurrently, we use dynahash hash tables to...
[ { "msg_contents": "\nI would like to undertake some housekeeping on PostgresNode.pm.\n\n1. OO modules in perl typically don't export anything. We should remove\nthe export settings. That would mean that clients would have to call\n\"PostgresNode->get_new_node()\" (but see item 2) and\n\"PostgresNode::get_free_p...
[ { "msg_contents": "Hi,\n\nWhile doing some sanity checks on the regression tests, I found some queries\nthat are semantically different but end up with identical query_id.\n\nTwo are an old issues:\n\n- the \"ONLY\" in FROM [ONLY] isn't hashed\n- the agglevelsup field in GROUPING isn't hashed\n\nAnother one was...
[ { "msg_contents": "We had a report [1] of a case where a broken client application\nsent some garbage to the server, which then hung up because it\nmisinterpreted the garbage as a very long message length, and was\nsitting waiting for data that would never arrive. There is already\na sanity check on the messag...
[ { "msg_contents": "Hi,\n\nOn twitter it was mentioned [1] that gist index builds spend a lot of time\nin FunctionCall3Coll. Which could be addressed to a good degree by not\nusing FunctionCall3Coll() which needs to call InitFunctionCallInfoData()\nevery time, but instead doing so once by including the FunctionC...
[ { "msg_contents": "The comments for rewriteTargetListIU say (or said until earlier today)\n\n * 2. For an UPDATE on a trigger-updatable view, add tlist entries for any\n * unassigned-to attributes, assigning them their old values. These will\n * later get expanded to the output values of the view. (This is eq...
[ { "msg_contents": "Hi,\n\nPSA patch to fix a misnamed function in a comment.\n\ntypo: \"DecodePreare\" --> \"DecodePrepare\"\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia", "msg_date": "Mon, 26 Apr 2021 12:29:16 +1000", "msg_from": "Peter Smith <smithpb2250@gmail.com>", "msg_from_op": tr...
[ { "msg_contents": "Hi all,\n\n9afffcb has added the concept of authenticated identity to the\ninformation provided in log_connections for audit purposes, with this\ndata stored in each backend's port. One extra thing that can be\nreally useful for monitoring is the capability to track this\ninformation directl...
[ { "msg_contents": "Hi,\n\nIn gistinitpage, pageSize variable looks redundant, instead we could\njust pass BLCKSZ. This will be consistent with its peers\nBloomInitPage, brin_page_init and SpGistInitPage. Attaching a small\npatch. Thoughts?\n\nWith Regards,\nBharath Rupireddy.\nEnterpriseDB: http://www.enterpris...
[ { "msg_contents": "Hi \n\nI think I may found a bug when using streaming in logical replication. Could anyone please take a look at this?\n\nHere's what I did to produce the problem.\nI set logical_decoding_work_mem and created multiple publications at publisher, created multiple subscriptions with \"streaming ...
[ { "msg_contents": "Hi,\n\nWhile reviewing one of the logical replication patches, I found that\nwe do not include hint messages to display the actual option which has\nbeen specified more than once in case of redundant option error. I\nfelt including this will help in easily identifying the error, users\nwill n...
[ { "msg_contents": "-hackers,\n\nSo in doing some recent work on pg_stat_statements, I notice that while the\nregression test still passes on HEAD, it appears that 4f0b096 (per git\nbisect) changed/broke how this works compared to historical versions.\n\nEssentially, when doing a fresh install of pg_stat_stateme...
[ { "msg_contents": "Hi\n\nI tried to write a query that does lateral join between\ninformation_schema.tables and pgstattuple function.\n\nselect * from information_schema.tables, lateral(select * from\npgstattuple(table_name::name)) s where table_type = 'BASE TABLE';\n\nThe query finished by strange error\n\npos...
[ { "msg_contents": "\nJust to complete the circle on this topic, which I intend to take up\nagain during the next dev cycle, I have captured the current state of my\nwork in a public git repo at\n<https://gitlab.com/adunstan/postgresnodeng>. This can be cloned and\nused without having to change the core Postgres...
[ { "msg_contents": "Hi,\n\nA lot of the APIs in PostgreSQL that accept a callback follow the\nfamiliar idiom of an extra void* argument allowing a single static\ncallback address to be multiplexed. But not all of them do. For example,\nif I wanted to expose the possibility of defining GUCs from code written\nin ...
[ { "msg_contents": "Folks,\n\nI noticed that $subject completes with already valid constraints,\nplease find attached a patch that fixes it. I noticed that there are\nother places constraints can be validated, but didn't check whether\nsimilar bugs exist there yet.\n\nBest,\nDavid.\n-- \nDavid Fetter <david(at)f...
[ { "msg_contents": "Fork is an expensive operation[1]. The major cost is the mm(VMA PTE...) copy.\n\nARM is especially weak on fork, which will invalid TLB entries one by one, and this is an expensive operation[2]. We could easily got 100% CPU on ARM machine. We also meet fork problem in x86, but not as serious ...
[ { "msg_contents": "Hi,\n\nTemporary tables usually gets a unique schema name, see this:\n\npostgres=# create temp table foo(i int);\nCREATE TABLE\npostgres=# explain verbose select * from foo;\n QUERY PLAN\n-----------------------------------------------------------------\n Seq Scan on...
[ { "msg_contents": "Hi all,\n\nI have been looking at and testing the patch set for CREATE TABLE\nCOMPRESSION, and spotted a couple of things in parallel of some work\ndone by Jacob (added in CC).\n\nThe behavior around CREATE TABLE AS and matviews is a bit confusing,\nand not documented. First, at the grammar ...
[ { "msg_contents": "Hi,\n\nWhile reviewing [1], I found that the CREATE COLLATION doesn't throw an\nerror if duplicate options are specified, see [2] for testing a few cases\non HEAD. This may end up accepting some of the weird cases, see [2]. It's\nagainst other option checking code in the server where the dupl...
[ { "msg_contents": "Hi,\n\nIf planned parallel workers do not get launched, the Result Cache plan\nnode shows all-0 stats for each of those workers:\n\ntpch=# set max_parallel_workers TO 0;\nSET\ntpch=# explain analyze\nselect avg(l_discount) from orders, lineitem\nwhere\n l_orderkey = o_orderkey\n and o_o...
[ { "msg_contents": "Hi.\n\nThis is a proposal for a new feature in pg_stat_statements extension.\nI think we need to add some statistics to pg_stat_statements_info view.\n\n\"pg_stat_statements_info.stats_reset\" will only be logged if \n\"pg_statements_reset()\" or \"pg_statements_reset(0,0,0)\" is executed.\nH...
[ { "msg_contents": "Hi,\n\nThe TRUNCATE command currently skips processing repeated relations\n(see if (list_member_oid(relids, myrelid)) continue; in\nExecuteTruncate) because the same relation can't be truncated more\nthan once as it will be under \"use\" during the txn. For instance, in\nthe following use cas...
[ { "msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/13/sql-createtrigger.html\nDescription:\n\nhttps://www.postgresql.org/docs/current/sql-createtrigger.html mentions the\nword \"transaction\" only once, in reference specifically to con...
[ { "msg_contents": "\nGreetings.\n\nThe Release Management Team (Pete Geoghegan, Michael Paquier and myself) proposes that the date of the Beta 1 release will be **Thursday May 20, 2021**, which aligns with past practice.\n\n\ncheers\n\nandrew\n\n--\nAndrew Dunstan\nEDB: https://www.enterprisedb.com\n\n\n\n", ...
[ { "msg_contents": "Hi,\n\nI spotted an error in the development version documentation for\nlibpq's connection parameter \"target_session_attrs\" (34.1.2 Parameter\nKey Words).\nIn the description for the \"prefer-standby\" mode, it says \"... but if\nnone of the listed hosts is a standby server, try again in al...