threads
listlengths
1
2.99k
[ { "msg_contents": "While hacking on zedstore, we needed to get a list of the columns to\nbe projected--basically all of the columns needed to satisfy the\nquery. The two use cases we have for this is\n1) to pass this column list down to the AM layer for the AM to leverage it\n2) for use during planning to impro...
[ { "msg_contents": "Hello hackers,\n\nPlease consider fixing the following typos and inconsistencies living in\nthe source code starting from v11:\n3.1 add_placeholders_to_child_joinrel -> remove (orphaned after 7cfdc770)\n3.2 AttachIndexInfo -> IndexAttachInfo (an internal inconsistency)\n3.3 BlockRecordInfo ->...
[ { "msg_contents": "Once in a blue moon I get this assertion failure on server start:\n\n2019-06-15 12:00:29.650 -04 [30080] LOG: iniciando PostgreSQL 12beta1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04) 7.4.0, 64-bit\n2019-06-15 12:00:29.650 -04 [30080] LOG: escuchando en la direcciï¿...
[ { "msg_contents": "Hi hackers,\n\nI see evidence on this list that it's sort of a rite of passage\nto ask the flinfo->fn_extra question, and my time has come.\n\nSo please let me know if I seem to correctly understand the limits\non its use.\n\nI gather that various extensions use it to stash various things. Bu...
[ { "msg_contents": "I encountered the following segfault when running against a PG 12 beta1\n\nduring a analyze against a table.\n\n\n#0 0x000056008ad0c826 in update_attstats (vacattrstats=0x0, \nnatts=2139062143, inh=false,\n relid=<error reading variable: Cannot access memory at address \n0x40>) at analy...
[ { "msg_contents": "There are a few places in configure and the makefiles that are looking\nat $host_cpu to decide what to do. As far as I can tell, almost all of\nthem are wrong and should be looking at $target_cpu instead. (The\nlack of complaints indicates that nobody is trying very hard to test\ncross-comp...
[ { "msg_contents": "Hi all,\n(Adding in CC relevant committer and author, Teodor and Alexander)\n\nI have been looking today at a crash of pg_waldump on one of the test\nbuilds keeping running in some internal environment. Luckily, I have\nbeen able to put my hands on a core file with 11.2 running. The\nbacktr...
[ { "msg_contents": "Hi all,\n\nAlvaro has reported a rather rare buildfarm failure involving\n007_sync_rep.pl to which I have responded here:\nhttps://www.postgresql.org/message-id/20190613060123.GC1643@paquier.xyz\n\nThe buildfarm failure is here:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=chipmun...
[ { "msg_contents": "Hi all,\n\nI have just bumped into $subject, which makes no sense now as this is\nan init-time option. Any objections if I remove this code as per the\nattached?\n\nThanks,\n--\nMichael", "msg_date": "Mon, 17 Jun 2019 16:32:28 +0900", "msg_from": "Michael Paquier <michael@paquier.xyz...
[ { "msg_contents": "Hello,\n\nI had an trouble report that the reporter had the following error\nmessages.\n\nFATAL: XX000: requested timeline 175 is not a child of this server's history\nDETAIL: Latest checkpoint is at 1A/D6000028 on timeline 172, but in\nthe history of the requested timeline, the server fork...
[ { "msg_contents": "Hi all,\n\nDuring the reorder of grouping sets into correct prefix order, if only\none aggregation pass is needed, we follow the order of the ORDER BY\nclause to the extent possible, to minimize the chance that we add\nunnecessary sorts. This is implemented in preprocess_grouping_sets -->\nre...
[ { "msg_contents": "Can anyone please give me a hint (and possibly add some comments to the code)\nwhen pg_log_fatal() should be used in frontend code and when it's appropriate\nto call pg_log_error()? The current use does not seem very consistent.\n\nI'd expect that the pg_log_fatal() should be called when the ...
[ { "msg_contents": "A small new feature in SQL:2016 allows attaching a table alias to a\nJOIN/USING construct:\n\n <named columns join> ::=\n USING <left paren> <join column list> <right paren>\n [ AS <join correlation name> ]\n\n(The part in brackets is new.)\n\nThis seems quite useful, and it seem...
[ { "msg_contents": "There is a fair amount of collation-related functionality that is only\nbeing tested by sql/collate.icu.utf8.sql and sql/collate.linux.utf8.sql,\nwhich are not run by default. There is more functionality planned in\nthis area, so making the testing more straightforward would be useful.\n\nTh...
[ { "msg_contents": "Hi. If I'm using psql, and type for example:\n\nUPDATE my_table SET my_field\n(with a trailing space)\n\nand then hit Tab, it will expand that to an =, and then another tab will\nexpand to DEFAULT, so that I then have:\n\nUPDATE my_table SET my_field = DEFAULT\n\nIf I'm tabbing out in this s...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15858\nLogged by: William Allen\nEmail address: williamedwinallen@live.com\nPostgreSQL version: 11.3\nOperating system: Windows Server 2012 R2\nDescription: \n\nIssue using copy from command for fi...
[ { "msg_contents": "The current hardcoded EDH parameter fallback use the old SKIP primes, for which\nthe source disappeared from the web a long time ago. Referencing a known dead\nsource seems a bit silly, so I think we should either switch to a non-dead\nsource of MODP primes or use an archive.org link for SKI...
[ { "msg_contents": "In a case of a corrupted database, I saw an error message like\n\n Could not read from file ...: Success.\n\nfrom the SLRU module. This is because it checks that it reads or writes\nexactly BLCKSZ, and else goes to the error path. The attached patch\ngives a different error message in th...
[ { "msg_contents": "-----\r\n To avoid planning the subquery again later on, I want to keep a pointer of\r\n the subplan in SubLink so that we can directly reuse the subplan when\r\n needed. However, this change breaks initdb for some reason and I'm trying to\r\n figure it out.\r\n-----\r\n\r\n\"make...
[ { "msg_contents": "Hi,\n\nThe current implementation of multi-column MCV lists (added in this\ncycle) uses a fairly simple algorithm to pick combinations to include in\nthe MCV list. We just compute a minimum number of occurences, and then\ninclude all entries sampled more often. See get_mincount_for_mcv_list()...
[ { "msg_contents": "Hi,\n\nOne slightly inconvenient thing I realized while playing with the\naddress data set is that it's somewhat difficult to set the desired size\nof the multi-column MCV list.\n\nAt the moment, we simply use the maximum statistic target for attributes\nthe MCV list is built on. But that doe...
[ { "msg_contents": "Hi,\n\nWhen experimenting with multi-column MCV lists with statistic target set\nto high value (e.g. 10k), I've realized there's an O(N^2) issue in\nstatext_mcv_build() when computing base frequencies.\n\nWe do this:\n\n for (i = 0; i < nitems; i++)\n {\n ...\n item->base_...
[ { "msg_contents": "I noticed that the old NetBSD 5.1.5 installation I had on my G4 Mac\nwas no longer passing our regression tests, because it has a strtof()\nthat is sloppy about underflow. Rather than fight with that I decided\nto update it to something shinier (well, as shiny as you can get on\nhardware tha...
[ { "msg_contents": "A customers DB crashed due to OOM. While investigating the issue in our\nreport, I created MV stats, which causes this error:\n\nts=# CREATE STATISTICS sectors_stats (dependencies) ON site_id,sect_id FROM sectors;\nCREATE STATISTICS\nts=# ANALYZE sectors;\nERROR: XX000: tuple already update...
[ { "msg_contents": "Hello,\n\nIf you run a lot of parallel queries that use big parallel hash joins\nsimultaneously, you can run out of DSM slots (for example, when\ntesting many concurrent parallel queries). That's because we allow 64\nslots + 2 * MaxBackends, but allocating seriously large amounts of\ndynamic...
[ { "msg_contents": "Hi all,\n\nWhile looking at this code, I have noticed that a couple of reloptions\nwhich are not toast-specific don't get properly initialized.\ntoast_tuple_target and parallel_workers are the ones standing out.\n\nThoughts?\n--\nMichael", "msg_date": "Wed, 19 Jun 2019 13:53:24 +0900", ...
[ { "msg_contents": "Hello, hackers.\n\nAny body know how to produce a Soft Block case of Deadlock Detection?\nI have produced the Hard Block case, but can't produce the Soft Block case.\n\n\nI read the design: src/backend/storage/lmgr/README. It reads,\n\n\"If a process A is behind a process B in some lock's wai...
[ { "msg_contents": "A Twitter thread today regarding the use of master/slave [1] made me curious\nand so I had a look. It seems that commit a1ef920e27ba6ab3602aaf6d6751d8628\nreplaced most instances but missed at least one which is fixed in the attached.\n\ncheers ./daniel\n\n[1] https://twitter.com/Xof/status/...
[ { "msg_contents": "s/hte/the/ fixed in the attached.\n\ncheers ./daniel", "msg_date": "Wed, 19 Jun 2019 14:56:42 +0200", "msg_from": "Daniel Gustafsson <daniel@yesql.se>", "msg_from_op": true, "msg_subject": "Typo in tableamapi.c" }, { "msg_contents": "On Wed, Jun 19, 2019 at 2:57 PM Dan...
[ { "msg_contents": "Hi hackers!\nThis proposal aims to provide the ability to de-TOAST a fully TOAST'd and\ncompressed field using an iterator and then update the appropriate parts of\nthe code to use the iterator where possible instead of de-TOAST'ing and\nde-compressing the entire value. Examples where this ca...
[ { "msg_contents": "src/include/common/unicode_norm_table.h also should be updated to the\nlatest Unicode tables, as described in src/common/unicode. See attached\npatches. This also passes the tests described in\nsrc/common/unicode/README. (That is, the old code does not pass the\ncurrent Unicode test file, ...
[ { "msg_contents": "Hi\n\nHere:\n\n https://www.postgresql.org/docs/devel/catalog-pg-class.html\n\nthe description for \"relam\" has not been updated to take into account\ntable access methods; patch attached.\n\n\nRegards\n\nIan Barwick\n\n-- \n Ian Barwick https://www.2ndQuadrant.com/\n P...
[ { "msg_contents": "Hello,\n\nWhile looking at bug #15857[1], I wondered why the following two\nqueries get different plans, given the schema and data from the bug\nreport:\n\n(1) SELECT COUNT (*)\n FROM a\n JOIN b\n ON a.id=b.base_id\n WHERE EXISTS (\n SELECT 1\n FROM ...
[ { "msg_contents": "A patch fixing this bug\nhttps://www.postgresql.org/message-id/flat/15738-21723084f3009ceb%40postgresql.org", "msg_date": "Thu, 20 Jun 2019 08:40:58 +0500", "msg_from": "RekGRpth <rekgrpth@gmail.com>", "msg_from_op": true, "msg_subject": "Disconnect from SPI manager on error" ...
[ { "msg_contents": "The discussion in bug #15631 revealed that serial/identity sequences of\ntemporary tables should really also be temporary (easy), and that\nserial/identity sequences of unlogged tables should also be unlogged.\nBut there is no support for unlogged sequences, so I looked into that.\n\nIf you c...
[ { "msg_contents": "Hello,\n\nI ran into someone with a system where big queries scanning 8GB+ of\nall-in-cache data took consistently ~2.5x longer on a primary server\nthan on a replica. Both servers had concurrent activity on them but\nplenty of spare capacity and similar specs. After some investigation\nit ...
[ { "msg_contents": "I decided to do some experiments with how we use Flex. The main\ntakeaway is that backtracking, which we removed in 2005, doesn't seem\nto matter anymore for the core scanner. Also, state table size is of\nmarginal importance.\n\nUsing the information_schema Flex+Bison microbenchmark from Tom...
[ { "msg_contents": "Hi,\n\nRight now using -w for shutting down clusters with a bit bigger shared\nbuffers will very frequently fail, because the shutdown checkpoint takes\nmuch longer than 60s. Obviously that can be addressed by manually\nsetting PGCTLTIMEOUT to something higher, but forcing many users to do\n...
[ { "msg_contents": "Hi\n\nSearching subject for \"Specify thread msgid\" field doesn't work. It returns\nempty result set every time.\n\nRegards\n\nPavel\n\nHiSearching subject for \"Specify thread msgid\" field doesn't work. It returns empty result set every time.RegardsPavel", "msg_date": "Thu, 20 Jun 2019...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15865\nLogged by: Keith Fiske\nEmail address: keith.fiske@crunchydata.com\nPostgreSQL version: 11.4\nOperating system: CentOS7\nDescription: \n\nWhen testing the setup of our monitoring platform, w...
[ { "msg_contents": "In a recent thread[0], the existence of explicit_bzero() was mentioned.\nI went to look where we could use that to clear sensitive information\nfrom memory and found a few candidates:\n\n- In be-secure-common.c, clear the entered SSL passphrase in the error\npath. (In the non-error path, the...
[ { "msg_contents": "After the earlier thread [0] that dealt with ALTER TABLE on system\ncatalogs, I took a closer look at the allow_system_table_mods setting.\nI found a few oddities, and it seems there is some room for improvement.\n\nAttached are some patches to get the discussion rolling: One patch makes\nall...
[ { "msg_contents": "Hello,\nI am Mahesh S Nair from India. I am a GSoC 2018 student at KDE. I am very\nmuch interested in working with the organization for Google Season of Docs\n2019. I think I am capable for, an open-source technical writing work as I\nhave done GSoC and was a GCI mentor also.\nI am actually n...
[ { "msg_contents": "Hackers,\n\nWhile investigating \"Too many open files\" errors reported in our\nparallel restore_command I noticed that the restore_command can inherit\nquite a lot of fds from the recovery process. This limits the number of\nfds available in the restore_command depending on the setting of s...
[ { "msg_contents": "Hello\n\nHere's a patch that implements progress reporting for ANALYZE.\n\n\nThanks\n\n-- \n�lvaro Herrera https://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "msg_date": "Fri, 21 Jun 2019 14:52:07 -0400", "msg_from": ...
[ { "msg_contents": "Does Microsoft or any other DB manufacturer have an ear on this mailing\nlist?\n\nSascha Kuhl\n\nDoes Microsoft or any other DB manufacturer have an ear on this mailing list?Sascha Kuhl", "msg_date": "Sun, 23 Jun 2019 07:18:31 +0200", "msg_from": "Sascha Kuhl <yogidabanli@gmail.com>",...
[ { "msg_contents": "There is some language in a code comment that has been bothering me for\nseveral years now. After pointing it out in a conversation off-list\nrecently, I figured it was past time to do something about it.\n\nPatch attached.\n-- \nVik Fearing +33 6 46 ...
[ { "msg_contents": "Hi all,\n\nAfter the issues behind CVE-2019-10164, it seems that we can do much\nbetter with the current interface of decoding and encoding functions\nfor base64 in src/common/.\n\nThe root issue is that the callers of pg_b64_decode() and\npg_b64_encode() provide a buffer where the result get...
[ { "msg_contents": "While digging into the incremental sort patch, I noticed in\ntuplesort.c at the beginning of the function in $SUBJECT we have this\ncomment and assertion:\n\ntuplesort_set_bound(Tuplesortstate *state, int64 bound)\n{\n /* Assert we're called before loading any tuples */\n Assert(state->...
[ { "msg_contents": "\nAlvaro pointed out to me recently that the buildfarm client doesn't have\nany provision for running module tests like commit_ts and\nsnapshot_too_old that use NO_INSTALLCHECK. On looking into this a bit\nmore, I noticed that we also don't run any TAP tests in\nsrc/test/modules. I'm adding s...
[ { "msg_contents": "Hi,\n\n/*\n * GatherMergePath runs several copies of a plan in parallel and collects\n * the results, preserving their common sort order. For gather merge, the\n * parallel leader always executes the plan too, so we don't need single_copy.\n */\ntypedef struct GatherMergePath\n\nThe second s...
[ { "msg_contents": "Hi,\n\nIn commit a76200de we added a line to unset MAKELEVEL to fix a problem\nwith our temp-install logic. I don't think it was a great idea to\nclear MAKEFLAGS at the same time, because now when you type \"make -s\n-j8\" on a non-GNU system it ignores you and is loud and slow.\nAdmittedly ...
[ { "msg_contents": "Hi,\n\nI'm looking at PostGIS geometry GiST index build times and try to optimize\nwithing the current GiST framework. The function that shows a lot on my\nflame graphs is penalty.\n\nI spent weekend rewriting PostGIS penalty to be as fast as possible.\n(FYI https://github.com/postgis/postgis...
[ { "msg_contents": "Proposing following changes to make predicate locking and checking\nfunctions generic and remove dependency on HeapTuple and Heap AM. We\nmade these changes to help with Zedstore. I think the changes should\nhelp Zheap and other AMs in general.\n\n- Change PredicateLockTuple() to PredicateLoc...
[ { "msg_contents": "Hello hackers,\n\nWhen running on REL_11_STABLE the following query:\nCREATE PROCEDURE test_ambiguous_procname(int) as $$ begin end; $$\nlanguage plpgsql;\nCREATE PROCEDURE test_ambiguous_procname(text) as $$ begin end; $$\nlanguage plpgsql;\nDROP PROCEDURE test_ambiguous_procname;\nunder val...
[ { "msg_contents": "Short benchmark runs are bad if the runs aren't long enough to produce consistent results.\n\nHaving to do long runs because a benchmarking tool 'converges to reality' over time in reporting a tps number, due to miscalculation, is also bad.\n\n\nI want to measure TPS at a particular connectio...
[ { "msg_contents": "New thread continuing from\n<https://www.postgresql.org/message-id/d4903af2-e7b7-b551-71f8-3e4a6bdc2e73@2ndquadrant.com>.\n\nHere is a extended version of Álvaro's patch that adds an errbacktrace()\nfunction. You can do two things with this:\n\n- Manually attach it to an ereport() call site ...
[ { "msg_contents": "Hello everyone,\n\nI am participating in gsoc and would like to share the current working status of my project,\ndevoted to an alternative data structure for buffer management.\n\nTo get things going, I started with the basic implementation of the art tree for the single\nbackend process, usi...
[ { "msg_contents": "Hi hackers,\n\nI believe we found a bug in logical decoding. It only occures with\ncasserts enabled. It was originally discovered and reproduced by Murat\nKabilov and Ildus Kurbangaliev. Here is the stacktrace we've got:\n\n#0 0x00007facc66ef82f in raise () from /usr/lib/libc.so.6\n#1 0x000...
[ { "msg_contents": "Hi,\n\nI think it might be worthwhile require that IndexAmRoutine returned by\namhandler are allocated statically. Right now we copy them into\nlocal/cache memory contexts. That's not free and reduces branch/jump\ntarget prediction rates. For tableam we did the same, and that was\nactually m...
[ { "msg_contents": "Hi\n\nif somebody has a interest about topic, then can look to article\n\nhttps://sigmodrecord.org/publications/sigmodRecord/1806/pdfs/full-issue.pdf\n\nThe New and Improved SQL:2016 Standard\n\nRegards\n\nPavel\n\nHiif somebody has a interest about topic, then can look to articlehttps://sigm...
[ { "msg_contents": "I'm seeing a reproducible bus error here:\n\n#0 0x00417420 in statext_mcv_serialize (mcvlist=0x62223450, stats=Variable \"stats\" is not available.\n)\n at mcv.c:785\n785 memcpy(ITEM_BASE_FREQUENCY(item, ndims), &mcvitem->base_frequency, sizeof(double));\n\nWhat appear...
[ { "msg_contents": "Hello all.\n\nFirst, I'd like to appreciate with all your reviewing and discussion in the last CommitFest[1].\n\nI don't think that the rest one of my proposals has been rejected completely, so I want to restart discussion.\n\nIt is a timeout parameter in interfaces/libpq.\n\nConsider some si...
[ { "msg_contents": "Hello!\n\n\\c is followed by [-reuse-previous=on/off] positional syntax | conninfo\nUsing \\c -reuse-previous=on positional syntax or \\c positional syntax without -reuse-previous option, some parameters which were omitted or notated as \"-\" will be reused in the new connection.\nThe target ...
[ { "msg_contents": "Dear GSoD PostgreSQL Organization Administrators,\n\n \n\nI am a PhD Student in Istanbul Technical University, Computer Engineering.\nBefore the being full-time researcher in the laboratory, I was full-stack\nsoftware developer. Therefore, I am strongly familiar the SQL queries. Also,\nspecia...
[ { "msg_contents": "Hello\n\nThis is my first posting to hackers so sorry if I'm taking up valuable time.\n\nI'm currently migrating a packaged application which supported oracle and sql server to PostgreSQL.\n\nSomething that I've identified as hurting the performance a lot is loose index scanning. I don't have...
[ { "msg_contents": "Hi all,\n\nWe have been using RAND_OpenSSL(), a function new as of OpenSSL 1.1.0\nin pgcrypto until fe0a0b5 which has removed the last traces of the\nfunction in the tree. We still have a configure check for it and the\nrelated compilation flag in pg_config.h.in, and both are now useless.\n\...
[ { "msg_contents": "Hi\n\nWe are facing an issue where the cost shows up \"cost=10000000000.00\" so\ntrying to find where that is set.\n\nCould anyone point me to the code where the cost \"cost=10000000000.00\" is\nset?\n\nIt doesn't show up when searching through find.\n\nfind . -type f -print | xargs grep 1000...
[ { "msg_contents": "Deja vu from this time last year when despite everyone's best efforts\n(mostly Alvaro) we missed getting run-time pruning in for MergeAppend\ninto the PG11 release. This year it was ModifyTable, which is now\npossible thanks to Amit and Tom's modifications to the inheritance\nplanner.\n\nI'...
[ { "msg_contents": "Hello hackers,\n\nWhile working on pg_dump I noticed the extra quote_all_identifiers in \n_dumpOptions struct. I attached the patch.\n\nIt came from refactoring by 0eea8047bf. There is also a discussion:\nhttps://www.postgresql.org/message-id/CACw0%2B13ZUcXbj9GKJNGZTkym1SXhwRu28nxHoJMoX5Qwmbg...
[ { "msg_contents": "Hi,\n\nI think commit 83e176ec1, which moved block sampling functions to\nutils/misc/sampling.c, forgot to update this comment in\ncommands/analyze.c: \"This algorithm is from Jeff Vitter's paper (see\nfull citation below)\"; since the citation was also moved to\nutils/misc/sampling.c, I thin...
[ { "msg_contents": "On several popular operating systems, we can use relative rpaths, using\nthe $ORIGIN placeholder, so that the resulting installation is\nrelocatable. Then we also don't need to set LD_LIBRARY_PATH during make\ncheck.\n\nThis implementation will use a relative rpath if bindir and libdir are\n...
[ { "msg_contents": "The ssl_ciphers GUC for configuring cipher suites sets the default value based\non USE_SSL but it’s actually an OpenSSL specific value. As with other such\nchanges, it works fine now but will become an issue should we support other TLS\nbackends. Attached patch fixes this.\n\ncheers ./danie...
[ { "msg_contents": "Hi,\n\nHere is a patch for the pg_receivewal documentation to highlight that \nWAL isn't acknowledged to be applied.\n\nI'll add a CF entry for it.\n\nBest regards,\n Jesper", "msg_date": "Thu, 27 Jun 2019 10:06:46 -0400", "msg_from": "Jesper Pedersen <jesper.pedersen@redhat.com>", ...
[ { "msg_contents": "Does anyone know why there is no PG 12 stable branch in our git tree?\n\n\t$ git branch -l\n\t REL9_4_STABLE\n\t REL9_5_STABLE\n\t REL9_6_STABLE\n\t REL_10_STABLE\n\t REL_11_STABLE\n\t master\n\nThey exist for earlier releases. Is this a problem?\n\n-- \n Bruce Momjian <bruce@momjian...
[ { "msg_contents": "Hello,\n\nI just realized that 7e534adcdc7 broke support for hypothetical\nindexes using BRIN am. Attached patch fix the issue.\n\nThere's no interface to provide the hypothetical pagesPerRange value,\nso I used the default one, and used simple estimates.\n\nI'll add this patch to the next c...
[ { "msg_contents": "Hi,\n\nI noticed that the create_upper_paths_hook is never called for partially\ngrouped rels. Is this intentional or a bug? Only the FDW routine's\nGetForeignUpperPaths hook is called for partially grouped rels. This seems\nodd since the regular create_upper_paths_hook gets called for all ot...
[ { "msg_contents": "During the unconference at PGCon in Ottawa, I asked about writing C-based\ntests for Postgres. There was interest in trying a tool and also some\nhesitation to depend on a third-party library. So, I wrote a tool that I'd\nlike to contribute to Postgres. I’ve been calling it cexpect [1]\n<http...
[ { "msg_contents": "Hello hackers,\n\nThe first Commitfest[1] for the next major release of PostgreSQL\nbegins in a few days, and runs for the month of July. There are 218\npatches registered[2] right now, and I'm sure we'll see some more at\nthe last minute. PostgreSQL 13 needs you!\n\nI volunteered to be the...
[ { "msg_contents": "Hi,\n\nIn postgresAcquireSampleRowsFunc, we 1) determine the fetch size and\nthen 2) construct the fetch command in each iteration of fetching some\nrows from the remote, but that would be totally redundant. Attached\nis a patch for removing that redundancy.\n\nI'll add this to the upcoming ...
[ { "msg_contents": "backend/libpq/be-secure-gssapi.c is including both libpq-be.h and libpq.h,\nwhich makes libpq-be.h superfluous as it gets included via libpq.h. The\nattached patch removes the inclusion of libpq-be.h to make be-secure-gssapi.c\nbehave like other files which need both headers.\n\ncheers ./dan...
[ { "msg_contents": "Hello,\n pg_dump ignores the dumping of data in foreign tables\n on purpose, this patch makes it optional as the user maybe\n wants to manage the data in the foreign servers directly from\n Postgres. Opinions?\n\nCheers\nLuis M Carril", "msg_date": "Fri, 28 Jun 2019 14:49:42 +0000", ...
[ { "msg_contents": "Hi\n\nI returned to possibility to sort output of \\d* and \\l by size. There was\nmore a experiments in this area, but without success. Last patch was\nexample of over engineering, and now, I try to implement this feature\nsimply how it is possible. I don't think so we need too complex solut...
[ { "msg_contents": "Resending patch v2.2, looks like the previous submission did not get attached to the original thread.\r\n\r\nThis version fixed an issue that involves CTE. Because we call subquery_planner before deciding whether to proceed with the transformation, we need to setup access to upper level CTEs ...
[ { "msg_contents": "Setting up a standby instance is still quite complicated. You need to\nrun pg_basebackup with all the right options. You need to make sure\npg_basebackup has the right permissions for the target directories. The\ncreated instance has to be integrated into the operating system's start\nscri...
[ { "msg_contents": "Hi,\n\nI think we should consider changing the effective_io_concurrency default\nvalue, i.e. the guc that determines how many pages we try to prefetch in\na couple of places (the most important being Bitmap Heap Scan).\n\nThe default is 1 since forever, but from my experience hardly the right...
[ { "msg_contents": "bowerbird is failing the pg_dump regression tests with a lot of\n\nFATAL: SSPI authentication failed for user \"regress_postgres\"\n\nI think this is likely a consequence of ca129e58c0 having modified\n010_dump_connstr.pl to use \"regress_postgres\" not \"postgres\" as the\nbootstrap superus...
[ { "msg_contents": "Hi,\n\nWith the glibc 2.28 coming, all users will have to reindex almost\nevery indexes after a glibc upgrade to guarantee the lack of\ncorruption. Unfortunately, reindexdb is not ideal for that as it's\nprocessing everything using a single connexion and isn't able to\ndiscard indexes that d...
[ { "msg_contents": "Hello hackers,\n\nPlease consider fixing the next bunch of typos and inconsistencies in\nthe tree:\n4.1. AccesShareLock -> AccessShareLock\n4.2. AdjustTimestampForTypemod -> AdjustTimestampForTypmod\n4.3. AExprConst -> AexprConst\n4.4. AlterExtensionOwner_oid - remove (orphaned after 994c36e0...
[ { "msg_contents": "Hi All,\n\nThere is an interesting issue: I created one replication slot,\nspecifying pgouput plugin and one publication \"foobar\". The\npublication \"foobar\" was set to tables \"foo1, foo2\".\n\nThe slot was left unread, while the tables foo1 and foo2 get changed.\nThen, I alter the public...
[ { "msg_contents": "Hi hackers,\n\nI have found two minor issues with unified logging system for \ncommand-line programs (commited by Peter cc8d415117), while was rebasing \nmy pg_rewind patch:\n\n1) forgotten new-line symbol in pg_fatal call inside pg_rewind, which \nwill cause the following Assert in common/lo...
[ { "msg_contents": "Hello,\n\nwe use atoi for user argument processing in same place which return zero\nfor both invalid input and input value zero. In most case its ok because we\nerror out with appropriate error message for input zero but in same place\nwhere we accept zero as valued input it case a problem by...
[ { "msg_contents": "This is for design review. I have a patch (WIP) for Approach 1, and if\nthis discussion starts to converge on that approach I will polish and\npost it.\n\nLet's start at the beginning: why do we have two strategies -- hash\nand sort -- for aggregating data? The two are more similar than they\...
[ { "msg_contents": "Hi,\n\nIn below testcase when I changed the staorage option for root partition,\nnewly attached partition not including the changed staorage option.\nIs this an expected behavior?\n\npostgres=# CREATE TABLE tab1 (c1 INT, c2 text) PARTITION BY RANGE(c1);\nCREATE TABLE\npostgres=# create table ...
[ { "msg_contents": "Hi Tom,\n\nI think an assumption of d25ea01275 breaks partitionwise join. Sorry\nit took me a while to report it.\n\nIn https://postgr.es/m/8168.1560446056@sss.pgh.pa.us, Tom wrote:\n> I poked into this and found the cause. For the sample query, we have\n> an EquivalenceClass containing the...
[ { "msg_contents": "Hi Hackers,\n\nI think I found an issue in the TopoSort() function.\n\nAs the comments say,\n\n /* .....\n * ...... If there are any other processes\n * in the same lock group on the queue, set their number of\n * beforeConstraint...
[ { "msg_contents": "The single largest benefit of the v12 nbtree enhancement was its\nadaptability with indexes where a portion of the key space contains\nmany duplicates. Successive page splits choose split points in a way\nthat leaves duplicates together on their own page, and eventually pack\npages full of du...
[ { "msg_contents": "Hi,\nbecause there's destination data\nsrc/makefiles/pgxs.mk line\nln -s $< $@\nfails and make clean doesn't remove these links.\nln -sf\nis an option but it's not tested in configure\nor rm -f\n\nRegards\nDidier\n\n\n", "msg_date": "Wed, 3 Jul 2019 02:26:49 +0200", "msg_from": "didie...
[ { "msg_contents": "Hi Everyone,\n\nI have installed PostgresSQL 11.2 version on Centos 7 and try to install\n*pguint* from source to install *TINYINT* datatype .\nBut installation had problem not able to resolve dependency packages. I\nhave followed below method to install , please help me to resolve this\nis...
[ { "msg_contents": "Hi,\nCurrently there's 0 coverage of CustomScan code path in core.\n\nWhat about adding a noops custom_scan test in src/test/modules/ ? Or\nis it out of pg perimeter and each extension using it should take are\nof themselves?\n\nIf there's an interest I'm willing to write and propose such t...