threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI'm not subscribed to the list, so please include me directly if you want my attention. This is a \"drive-by\" patch as it were.\n\nAttached is a minor patch to fix the name param documentation for create role, just adding a direct quote from user-manag.sgml talking about what the role...
[ { "msg_contents": "I was a bit confused by some of the comments around the SCRAM function\nread_any_attr(), used to skip over extensions.\n\nThe comment \"Returns NULL if there is attribute.\", besides being\nstrangely worded, appears to be wrong anyway, because the function never\nreturns NULL.\n\nThis lead me...
[ { "msg_contents": "Hello,\n\nattached you find a patch that adds a new GUC:\n\nprepared_statement_limit:\n\n         Specifies the maximum amount of memory used in each session to \ncache\n         parsed-and-rewritten queries and execution plans. This affects \nthe maximum memory\n         a backend threads wi...
[ { "msg_contents": "Try this:\nalter system set max_parallel_workers = 20;\nand restart the system.\n\nmax_parallel_workers is still 8, according to both SHOW and\npg_controldata, nor can you launch more than 8 workers.\n\nEven odder, if you just do\n\nregression=# set max_parallel_workers = 200;\nSET\nregressio...
[ { "msg_contents": "Hello,\n\nGoing through the current items in the wiki's todo list, I have been\nlooking into: \"Allow to_date () and to_timestamp () to accept\nlocalized month names\".\n\nIt seems to me that the code is almost there, so I would like to know\nif something like the attached patch would be a re...
[ { "msg_contents": "Hi,\n\nAttached is a patch to support send/recv on ltree, lquery and ltxtquery.\nI'm a contributor to the Npgsql .NET PostgreSQL driver and we'll be\nthe first to have official support once those ltree changes have been\nreleased.\nYou can find the driver support work here, the tests verify a...
[ { "msg_contents": "Hello hackers,\n\nPlease consider fixing the last group (for now) of typos and\ninconsistencies in the tree:\n\n11.1 peforming -> performing\n11.2 table_freeze_age -> freeze_table_age\n11.3 TableInfoData -> TableDataInfo\n11.4 TableStatus -> PgStat_TableStatus\n11.5 TAG_VALID -> BM_TAG_VALID\...
[ { "msg_contents": "Hi all,\n\nI have been looking at the isolation tests, and we have in some specs\nsteps which are defined but not used in any permutations. In order to\ndetect them, I have been using the attached trick to track which\npermutations are used. This allows to find immediately any\nover-enginee...
[ { "msg_contents": "Hello\n\nIs psql command \\r actually works? I expected \\r and then \\e command should start editor without text of last query.\n\nLANG=C EDITOR=cat psql \npsql (11.5 (Debian 11.5-1.pgdg100+1))\nType \"help\" for help.\n\nmelkij=> select 1;\n ?column? \n----------\n 1\n(1 row)\n\nmelk...
[ { "msg_contents": "Hi,\n\nin the README, top level, there is this:\n\nPostgreSQL has many language interfaces, many of which are listed here:\nhttps://www.postgresql.org/download\n\nI don't think the download page lists any language interfaces or do I miss something?\n\nRegards\nDaniel\n\n\n\n\n\n\n\n\nHi,\n\n\...
[ { "msg_contents": "Hi,\n\nFor already some time I'm following the new linux IO interface \"io_uring\", that\nwas introduced relatively recently [1]. Short description says:\n\n Shared application/kernel submission and completion ring pairs, for\n supporting fast/efficient IO.\n\nFor us the important par...
[ { "msg_contents": "Hello hackers,\n\nNow that the unicums checking is finished, I would like to share the\nscript I used to find them.\nMaybe it can be useful to recheck the source tree from time to time...\nI don't think that the check could be fully automated, but with some\neyeballing it allows to maintain a...
[ { "msg_contents": "Hi all,\n\nWhile refactoring some code, I have bumped into $subject, which causes\nboth tools to have incorrect error message formats and progname being\nused all through the code, sometimes incorrectly or just missing.\n\nAt the same time, we are missing a call to set_pglocale_pgservice()\nf...
[ { "msg_contents": "I have troubles to understand the pg lock in the following simple\nsituation.\n\n\nSession 1:\n\n\nbegin; update t set a = 1 where a = 10;\n\n\nSession 2:\n\n\nbegin; update t set a = 2 where a = 10;\n\n\nThey update the same row and session 2 is blocked by session 1 without\nsurprise.\n\n\n...
[ { "msg_contents": "Before understanding how postgres implements the serializable isolation\nlevel (I have see many paper related to it), I have question about how it\nshould be.\n\n\nI mainly read the ideas from\nhttps://www.postgresql.org/docs/11/transaction-iso.html.\n\n\nIn fact, this isolation level works e...
[ { "msg_contents": "I propose the attached patch to make the new SQL/JSON error code names\nmatch the SQL standard. The existing minor differences don't seem\nnecessary.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", ...
[ { "msg_contents": "I noticed that configure is still looking for crypt() and crypt.h.\nIsn't that long obsolete?\n\nIf so, I suggest to remove it with the attached patch.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", ...
[ { "msg_contents": "Running the regression tests on mingw32, I get the following diff in\ncircle.out:\n\n@@ -111,8 +111,8 @@\n WHERE (c1.f1 < c2.f1) AND ((c1.f1 <-> c2.f1) > 0)\n ORDER BY distance, area(c1.f1), area(c2.f1);\n five | one | two | distance\n-------+----------------+--...
[ { "msg_contents": "Here is an initial patch to add the option to use ICU as the global\ncollation provider, a long-requested feature.\n\nTo activate, use something like\n\n initdb --collation-provider=icu --locale=...\n\nA trick here is that since we need to also still set the normal POSIX\nlocales, the --lo...
[ { "msg_contents": "Hello all,\n\nI was just playing around with table partitioning and noticed\n1. When one inserts into a parent table with no partitions defined\nyet, it errors out\n2. Similarly, if we try to insert into a parent table a value which is\nnot covered in any partition and has no default partitio...
[ { "msg_contents": "I find the time displays like\n\n 01:03 ago\n\non the buildfarm status page unhelpful.\n\nFirst, I can never tell whether this is hours-minutes or minutes-seconds\n-- there is probably a less ambiguous format available.\n\nBut more importantly, the page doesn't say when it was generated, s...
[ { "msg_contents": "Hi, hackers.\n\nRight now if replication level is rgeater or equal than \"replica\", \nvacuum  of relation copies all its data to WAL:\n\n\n     /*\n      * We need to log the copied data in WAL iff WAL archiving/streaming is\n      * enabled AND it's a WAL-logged rel.\n      */\n     use_wal...
[ { "msg_contents": "given the following example:\npostgres=# create table t2 as select generate_series(1, 100000) as a,\n generate_series(1, 100000) as b;\nSELECT 100000\npostgres=# create index t2_idx on t2(a);\nCREATE INDEX\npostgres=# set enable_seqscan = 0;\nSET\npostgres=# select * from t2 where a in (1, 10...
[ { "msg_contents": "Hi Hackers,\n\nI have been looking into adding parallel backup feature in pg_basebackup.\nCurrently pg_basebackup sends BASE_BACKUP command for taking full backup,\nserver scans the PGDATA and sends the files to pg_basebackup. In general,\nserver takes the following steps on BASE_BACKUP comma...
[ { "msg_contents": "Hi, hackers.\n\nOne of our customers complains about slow execution of PL/pgSQL \nfunctions comparing with Oracle.\nSo he wants to compile PL/pgSQL functions (most likely just-in-time \ncompilation).\nCertainly interpreter adds quite large overhead comparing with native \ncode (~10 times) but...
[ { "msg_contents": "We've repeatedly kicked around the idea of getting rid of the\npg_pltemplate catalog in favor of keeping that information directly in\nthe languages' extension files [1][2][3][4]. The primary abstract\nargument for that is that it removes a way in which our in-tree PLs\nare special compared ...
[ { "msg_contents": "Hello,\n\nAfter rereading some old papers recently, I wanted to share some\nthoughts about XPRS and modern PostgreSQL. XPRS stood for \"eXtended\nPostgres on RAID and Sprite\", and was a research project done nearly\nthree decades ago at Berkeley by the POSTGRES group working with\noperating...
[ { "msg_contents": "Hi,\n\nA comment in tqueue.c says that the bytes return by shm_mq_receive()\n\"had better be sufficiently aligned\", before assigning the pointer to\nhtup.t_data. Then it copies htup and returns the copy (and it did so\nin the earlier version that had all the remapping stuff, too, but\nsomet...
[ { "msg_contents": "Hello, hackers:\n\nI created a patch about tab completion for command CREATE OR REPLACE in psql\nincludes:\n\tCREATE [ OR REPLACE ] FUNCTION\n\tCREATE [ OR REPLACE ] PROCEDURE\n\tCREATE [ OR REPLACE ] LANGUAGE\n\tCREATE [ OR REPLACE ] RULE name AS ON event\n\tCREATE [ OR REPLACE ] VIEW AS SEL...
[ { "msg_contents": "Hi all,\n\nIn six places of the code tree (+ one in psql which is a bit\ndifferent), we have the following pattern for frontend tools to\nconnect to a backend with a password prompt, roughly like that:\ndo\n{\n [...]\n conn = PQconnectdbParams(keywords, values, true);\n\n [...]\n\n ...
[ { "msg_contents": "Hi,\n\nWhile merging Greenplum with 9.4, we ran into problems with the GIN \nposting list encoding, because Greenplum sometimes uses ItemPointers \nwith offset numbers up to 32768. The GIN posting list code was written \nwith the assumption that the maximum is MaxHeapTuplesPerPage, and it \nu...
[ { "msg_contents": "Hello,\n\nEven if skipping header is done only once its checked and skipped in a\nloop. If I don’t miss something it can be done out side a loop like\nattached patch\n\nregards\n\nSurafel", "msg_date": "Thu, 22 Aug 2019 11:31:14 +0300", "msg_from": "Surafel Temesgen <surafel3000@gmail...
[ { "msg_contents": "Hello hackers,\r\n\r\nOne of the area that didn't get much attention in the community\r\nrecently is analysing and increasing the code coverage of \r\nPostgreSQL regession test suite. I have started working on the\r\ncode coverage by running the GCOV code coverage analysis tool in\r\norder to...
[ { "msg_contents": "Hello\n\nFault injection was discussed a few months ago at PGCon in Ottawa. At\nleast a few folks showed interest and so I would like to present what we\nhave been using in Greenplum.\n\nThe attached patch set contains the fault injector framework ported to\nPostgreSQL master. It provides ...
[ { "msg_contents": "Currently, we fail to do $SUBJECT: post-restore, an extension will\nbe owned by the role used to do the restore. This is because pg_dump\ndoes not consider that extensions have owners at all, so it doesn't\nissue ALTER EXTENSION OWNER TO, which is a command that the server\ndoesn't have anyw...
[ { "msg_contents": "Hello Hackers,\n\nThere is an edge case in 9_5_STABLE (doesn't reproduce 9_6+) we found in how\nbackends handle the TERM signal while handling a USR1 signal that can cause\nthem to infinitely wait. A backend can end up waiting forever inside\nSyncRepWaitForLSN() at:\n\nrc = WaitLatch(MyLatch,...
[ { "msg_contents": "Hi all,\n\nAttached is a patch set to respawn the issue of $subject which has\nbeen discussed here:\nhttps://www.postgresql.org/message-id/20170720204733.40f2b7eb.nagata@sraoss.co.jp\n\nThe patch has been committed once as of cd8ce3a but it got shortly\nreverted after with 98d54bb because of ...
[ { "msg_contents": "With the additional functionality, the --help synopsis of pg_checksums\nhas gotten quite long:\n\n pg_checksums enables, disables, or verifies data checksums in a\n PostgreSQL database cluster.\n\nCan we try to shorten this a bit? Maybe\n\n pg_checksums manages data checksums in a Post...
[ { "msg_contents": "Hi,\n\nIt is quite common to set a global statement_timeout to a few seconds\n(or minutes) in postgresql.conf in order to avoid hitting a production\nserver with slow/bad queries.\nThis value is applied to all connections in the system unless it is\nredefined per database, user, or explicitly...
[ { "msg_contents": "As of PostgreSQL, an appropriately built client will initiate TCP/IP\nconnections with these packets:\n\n1. GSSENCRequest\n2. SSLRequest\n3. StartupMessage\n\nOlder servers will respond to the first one with:\n\nFATAL: unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0\n\nli...
[ { "msg_contents": "Hi,\n\nI'm currently working on a tool to visualize an execution plan [1]. For\nthose who know PEV, it's actually a fork of this great tool since it\nhasn't been active for more than 2 years.\n\nAmong other things, I'd like to show information for the parallel\nqueries. First of which is info...
[ { "msg_contents": "Hello team,\n\nThis is the first time I post here, if you can provide some help, would be\nmuch appreciated.\n\nI have an application that can not access the database due to OID value for\nhstore extension is bigger than an integer value. Application uses a NpgSql\ndriver that only supports i...
[ { "msg_contents": "Hi Folks,\n\n\nI am having trouble setting up replication with Postgres 11.3.\npg_basebackup is taking an unusually long time for an small Postgres\ndatabase. Anything wrong in my configuration or anything I could do to\nspeed up pg_basebackup?\n\n\nI recently upgraded form Postgres 9.2.1. Us...
[ { "msg_contents": "Hi,\n\nllvmjit_inline.cpp:177:55: error: ‘make_unique’ is not a member of ‘llvm’\n std::unique_ptr<ImportMapTy> globalsToInline =\nllvm::make_unique<ImportMapTy>();\n\nThat's because they just moved to C++14 and replaced their own\nllvm::make_unique<> with std::make_unique<>:\n\nhttps://gith...
[ { "msg_contents": "Core was generated by `postgres: telsasoft ts 10.100.2.162(33500) SELECT '.\nProgram terminated with signal 6, Aborted.\n#0 0x00000039ff6325e5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64\n64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);\nMissing separate...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15977\nLogged by: mtlh kdvt\nEmail address: emuser20140816@gmail.com\nPostgreSQL version: 12beta3\nOperating system: Windows\nDescription: \n\nWhen a ROLLBACK AND CHAIN command is executed in the i...
[ { "msg_contents": "I propose the attached patch to make pg_upgrade error out on too many\ncommand-line arguments. This makes it match the behavior of other\nPostgreSQL programs.\n\nSee [0] for an issue related to the lack of this check:\n\n[0]:\nhttps://www.postgresql.org/message-id/871sdbzizp.fsf%40jsievers.e...
[ { "msg_contents": "When passing an argument option with a missing argument, strcmp would\nbe called with the argv terminating NULL.\n---\n src/bin/psql/startup.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)\n\ndiff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c\nindex 4730c73396..cffbfc8...
[ { "msg_contents": "Is there a reason why the serial pseudotypes still behave as they did\npre-v10 and don't map to GENERATED BY DEFAULT AS IDENTITY these days?\n\n\nI'm hoping it's just an oversight and I can help \"fix\" it, but maybe\nthere is an actual reason for it to be this way?\n\n-- \n\nVik Fearing\n\n\...
[ { "msg_contents": "I wrote a prototype quality patch that implements what I call\n\"classic\" suffix truncation. That is, the patch makes nbtree leaf page\nsplits generate a short prefix datum for the new high key for\nvariable-length datatypes, generated using new opclass infrastructure.\nThis is useful for st...
[ { "msg_contents": "This is a minor gripe in the grand scheme of things, but I'm a little\nannoyed that we accept standard SQL but then don't spit it back out.\n\n\nFor example:\n\n\n```\n\nEXPLAIN (COSTS OFF) SELECT * FROM pg_am WHERE amname LIKE '%t%';\n\n            QUERY PLAN            \n-------------------...
[ { "msg_contents": "Anastasia's nbtree deduplication patch [1] has an open problem that I\nwould like to find a solution for: it currently assumes that there is\nno difference between binary equality and opclass equality. That won't\nwork for opclasses such as btree/numeric, because compressing equal\nnumeric da...
[ { "msg_contents": "Hi!\n\nIn many cases GiST index can be build fast using z-order sorting.\n\nI've looked into proof of concept by Nikita Glukhov [0] and it looks very interesting.\nSo, I've implemented yet another version of B-tree-like GiST build.\nIt's main use case and benefits can be summarized with small...
[ { "msg_contents": "Hi All,\n\nTo generate partitionwise join, we need to make sure there exists an\nequi-join condition for each pair of partition keys, which is performed\nby have_partkey_equi_join(). This makes sense and works well.\n\nBut if, let's say, one certain pair of partition keys (foo.k = bar.k)\nhas...
[ { "msg_contents": "Hello,\n\none of the most frustating things when I started with PostgreSQL was \nthat IDENTITY columns are based on sequences that are completly \ndisconnected from the table contents and manually imported data will \nlead to errors like 'duplicate key value violates unique constraint \n\"xyz...
[ { "msg_contents": "Hi\n\nI would like to check that postgresql is compatible with TLS 1.2.\nwhat test could I do to check this compatibility?\n\nThanks in advance\n\nBest Regards\nDidier ROS\nEDF\nCe message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinatai...
[ { "msg_contents": "OK, let's try this again :)\n\nThis is work mainly based in the first version of the online checksums\npatch, but based on top of Andres WIP patchset for global barriers (\nhttps://www.postgresql.org/message-id/20181030051643.elbxjww5jjgnjaxg%40alap3.anarazel.de\n)\n\nAndres patch has been en...
[ { "msg_contents": "The well known rightmost page split optimization (where we apply leaf\npage fill factor) usually does a great job of maximizing space\nutilization with indexes on a single auto-incrementing column or\ntimestamp column, by packing the left half of the rightmost page full.\nSplitting the rightm...
[ { "msg_contents": "Hi,\n\nThis is apparently an EDB-owned machine but I have no access to it\ncurrently (I could ask if necessary). For some reason it's been\nfailing for a week, but only on REL_12_STABLE, with this in the log:\n\n2019-08-20 04:31:48.886 MDT [13421:4] LOG: server process (PID 13871)\nwas term...
[ { "msg_contents": "Hi\n\nIn my business, one of the things blocking the migration from Oracle to PostgreSQL is not having the equivalent of Oracle Real Application Testing .\nThis product captures a charge in production and replay it in a test environment.\nthis allows to know the impacts of a migration to a ne...
[ { "msg_contents": "Hello,\n\nI was looking at resolve_generic_type to add anymultirange support,\nand the range logic doesn't seem correct to me. This function takes 3\ntype Oids:\n\n- declared_type is the declared type of a function parameter whose\nactual type it would like to deduce.\n- context_{declared,act...
[ { "msg_contents": "While reviewing a proposed patch to basebackup.c this morning, I found\nmyself a bit underwhelmed by the quality of the code and comments in\nbasebackup.c's sendFile(). I believe it's already been pointed out\nthat the the retry logic here is not particularly correct, and the\ncomments demons...
[ { "msg_contents": "In 959f6d6a1821 it seems that I fat-fingered and missed a newline in the usage\noutput, which makes --check become appended to -B rather than on its own line.\nThe attached diff fixes that.\n\ncheers ./daniel", "msg_date": "Tue, 27 Aug 2019 21:06:15 +0200", "msg_from": "Daniel Gustafs...
[ { "msg_contents": "Dear Hackers.\n\nCurrently, the XLogWrite function is written in 8k(or 16kb) units\nregardless of the size of the new record.\nFor example, even if a new record is only 300 bytes, pg_pwrite is\ncalled to write data in 8k units (if it cannot be writing on one page\nis 16kb written).\nLet's loo...
[ { "msg_contents": "Hi all,\n\nThis is a follow-up of the discussion which happened here after Tom\nhas committed fb57f40:\nhttps://www.postgresql.org/message-id/20190828012439.GA1965@paquier.xyz\n\nI have reviewed the TAP tests, and we have much more spots where it\nis better to use PostgresNode::safe_psql inst...
[ { "msg_contents": "I bumped into a little bug in BRIN, while hacking on something \nunrelated. This causes a segfault, or an assertion failure if assertions \nare enabled:\n\nCREATE TABLE brintest (n numrange);\nCREATE INDEX brinidx ON brintest USING brin (n);\n\nINSERT INTO brintest VALUES ('empty');\nINSERT I...
[ { "msg_contents": "Hi, \n\n      \n\n          I have a  join query with is not distinct from criteria (select * from table1 join table2 on a is not  distinct from b). on examining,  it was the  nested loop join that makes the query slow.  For join with ' is not distinct from ' qual can't the planner choose  ha...
[ { "msg_contents": "Hello,\n\nI hear that not recommended to set pg_resetwal with --wal-segsize for wal\nincreasing. Are any more detailed information exists about it? What an\neffects could be? Does it possible change it due full offline?\n\nRegards, Paul\n\n Hello,I hear that not recommended to set pg_resetwal...
[ { "msg_contents": "I'm pretty new to this, and I find it hard trying to make some sense from\nsrc code.\n\nI'm trying to understand, logical decoding.\n\nIn `HEAP2` RMGR,\nwhat does HEAP2_NEW_CID operation do?\n\ncan somebody give an example, when this type of record is written to wal\nfiles.\n\nWhen logical de...
[ { "msg_contents": "Hello\nWe already have function pg_get_userbyid(oid) with lookup in pg_authid catalog. My collegue ask me can we add similar function pg_get_databasebyid(oid) with lookup in pg_databases.\nIt is simple function to get a database name by oid and fallback to 'unknown (OID=n)' if missing.\n\nThe...
[ { "msg_contents": "Hello devs,\n\nThe attached patch improves psql code coverage by adding a specific TAP \ntest. The 1709 tests take 4 seconds CPU (6.3 elapsed time) on my laptop.\n\nThe infrastructure is updated to require perl module \"Expect\", allowing to \ntest interactive features such as tab completion ...
[ { "msg_contents": "It was apparently entirely undocumented that the tablespace size\nestimates sent by the base backup protocol are in kilobytes. Here is a\npatch to document that. Also, a related clarification in the\npg_basebackup.c source code: It was not clear without analyzing the\nwhole stack that \"tot...
[ { "msg_contents": "SECCOMP (\"SECure COMPuting with filters\") is a Linux kernel syscall\nfiltering mechanism which allows reduction of the kernel attack surface\nby preventing (or at least audit logging) normally unused syscalls.\n\nQuoting from this link:\nhttps://www.kernel.org/doc/Documentation/prctl/seccom...
[ { "msg_contents": "Hackers,\n[apologies if this is the incorrect list or is already discussed material]\n\nI've noticed that mailing list discussions in -hackers and other\nmailing lists appear to not be indexed by google -- at all. We are\nalso not being tracked by any mailing list aggregators -- in contrast\...
[ { "msg_contents": "Hi,\n\nThere's been a lot of complaints over the years about how annoying it is\nto keep the out/read/copy/equalfuncs.c functions in sync with the actual\nunderlying structs.\n\nThere've been various calls for automating their generation, but no\nactual patches that I am aware of.\n\nThere al...
[ { "msg_contents": "Hi\n\nHere:\n\n https://www.postgresql.org/docs/current/plpgsql-control-structures.html#PLPGSQL-RECORDS-ITERATING\n\nwe have a sample PL/PgSQL function (dating from at least 7.2) demonstrating\nquery result loops, which refreshes some pseudo materialized views stored in\na user-defined tabl...
[ { "msg_contents": "\n> Patch works for me, and solution seems appropriate. It should be committed \n> for pg 12.0.\n\nI have listed this as an open issue of the upcoming pg 12:\n\n \thttps://wiki.postgresql.org/wiki/PostgreSQL_12_Open_Items#Open_Issues\n\n-- \nFabien.\n\n\n", "msg_date": "Thu, 29 Aug 2019 0...
[ { "msg_contents": "Dear Hackers.\n\nKuroda-san and I are interested in the GIN index and have been testing\nvarious things.\nWhile testing, we are found a little bug.\nSome cases, the value of nEntries in the metapage was set to the wrong value.\n\nThis is a reproduce of bug situation.\n=# SET maintenance_work_...
[ { "msg_contents": "Hello\n\nI hear is not recommended to set pg_resetwal with --wal-segsize for wal\nincreasing. Are any more detailed information exists about it? What an\neffects could be? Does it possible change it due full offline?\n\nRegards,\nPaul\n\nHelloI hear is not recommended to set pg_resetwal with ...
[ { "msg_contents": "Hi\n\nI just noticed \"\\df[TAB]\" fails to offer any tab-completion for\nthe possible suffixes (\"\\dfa\", \"\\dfn\", \"\\dfp\", \"\\dft\" and \"\\dfw\").\nTrivial patch attached, which applies back to Pg96, and separate\npatches for Pg95 and Pg94.\n\nI'll add this to the next commitfest.\n\...
[ { "msg_contents": "My buildfarm animal dromedary ran out of disk space yesterday, which\nI found rather surprising because the last time I'd looked it had\ntens of GB to spare. On investigation, the problem was lots and lots\nof core images in /cores, which is where macOS drops them (by default\nat least). It...
[ { "msg_contents": "Hi all,\n\nBased on the current clock we are going to be the 1st of September\nanywhere on Earth in approximately 7 hours:\nhttps://www.timeanddate.com/time/zones/aoe\n\nOnce this happens, I will switch the commit fest as in progress and it\nwill not be possible to add any new patches.\n\nI a...
[ { "msg_contents": "Hi!\n\nI found it weird that CLUSTER/VACUUM FULL don't write visibility map.\nAttached patch implements writing visibility map in\nheapam_relation_copy_for_cluster().\n\nI've studied previous attempt to implement this [1]. The main problem\nof that attempt was usage of existing heap_page_is_...
[ { "msg_contents": "Hello\n\npg_stat_statements is a great tool to track performance issue in live \ndatabases, especially when adding interfaces like PoWA on top of it.\nBut so far, tools like PoWA can not track the min_time, max_time, mean_time \nand sum_var_time of queries : these statistics are cumulated ove...
[ { "msg_contents": "Folks,\n\nI'd like to $Subject, on by default, with a switch to turn it off for\nthose really at the outer edges of performance. Some reasons include:\n\n- It's broadly useful.\n- Right now, the barrier for turning it on is quite high. In addition\n to being non-core, which is already a pret...
[ { "msg_contents": "Hi,\n\nI don't mean \"overload objectSubId\" in any ObjectAddress that PG code\nwould ever see. I am only thinking of a data structure of my own that\nis ObjectAddress-like and has all three components available all the\ntime, and for an object that's a type, I would find it handy to stash\na...
[ { "msg_contents": "Hi,\n\nNews from Fabien's bleeding edge compiler zoo: apparently GCC 10\n20190831 thinks the tsearch test should produce different output than\n20190824 did. It looks like the parsing of question marks change...\nI can't wait for next week's installment.\n\n--\nThomas Munro\nhttps://enterpri...
[ { "msg_contents": "Hi\n\n\npg_basebackup -F t fails when fsync spends more time than tcp_user_timeout in following environment.\n\n[Environment]\nPostgres 13dev (master branch)\nRed Hat Enterprise Postgres 7.4\n\n[Error]\n$ pg_basebackup -F t --progress --verbose -h <hostname> -D <directory>\npg_basebackup: ini...
[ { "msg_contents": "Hi!\n\nAndrey Borodin noticed me that results of some KNN-GIST tests are\nobviously wrong and don't match results of sort node.\n\nSELECT * FROM point_tbl ORDER BY f1 <-> '0,1';\n f1\n-------------------\n (10,10)\n (NaN,NaN)\n (0,0)\n (1e-300,-1e-300)\n (-3,4)\n (-10,0)\n (-5,-12)\n (...
[ { "msg_contents": "We have the following options in pg_dump:\n\n--exclude-schema=schema\n--exclude-table=table\n--exclude-table-data=table\n\nand new in pg_dumpall:\n\n--exclude-database=pattern\n\nI was momentarily confused that the latter is documented as taking a\n\"pattern\" but the others are not. Of cour...
[ { "msg_contents": "Hello all,\n\nI've been working on an extension that tightly integrates\npostgres with underlying filesystem . I need to customize\nhow postgres copies directories for new databases.\n\nI first looked at the ProcessUtility_hook. This would require\nme to copy or rewrite most of the createdb()...
[ { "msg_contents": "Hi,\n\nRight now, when assertions are enabled, using castNode() on a pointer to\nconst triggers a warning for my compilers:\nwarning: passing argument 2 of ‘castNodeImpl’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]\n\nwhich seems appropriate. Obviously we coul...
[ { "msg_contents": "Hi pgsql hackers,\n\nI'd like to ask you for kind advice with problem I'm pretty long stuck on. I simplified it just to two tables and trigger. I described it thoroughly on Stack Overflow a week ago but nobody responded so far, so I was advised by Czech PG expert Pavel Stěhule to use this for...
[ { "msg_contents": "When you lock a row with FOR KEY SHARE, and the row's non-key columns \nhave been updated, heap_lock_tuple() walks the update chain to mark all \nthe in-progress tuple versions also as locked. But it doesn't pay \nattention to the NOWAIT or SKIP LOCKED flags when doing so. The \nheap_lock_upd...
[ { "msg_contents": "Shutdown postgres server immediately with pg_ctl stop -m immediate command.\nWhen I restart the server got following fatal message:\n-------------------------------------------\n126690 2019-09-03 14:06:52 UTC XX000 FATAL: cou...
[ { "msg_contents": "I've work in the a little patch to add into the \\conninfo of psql\ncommand the connection time against a server backend\n\nMaybe could add after, the precheck to if the connection is alive.\nI've take first look to the pqPacketSend, my idea is send a ECHO\npacket over to the database connec...
[ { "msg_contents": "Hi,\n\nMaybe I'm forgetting some dependency management discussion that I was\npart of recently, but is the following behavior unintentional?\n\ncreate table p (a int, b int, c int) partition by list (a);\ncreate table p1 partition of p for values in (1) partition by list (b);\ncreate table p1...
[ { "msg_contents": "Hello,\n\nA few years back[1] I experimented with a simple readiness API that\nwould allow Append to start emitting tuples from whichever Foreign\nScan has data available, when working with FDW-based sharding. I used\nthat primarily as a way to test Andres's new WaitEventSet stuff and my\nkq...
[ { "msg_contents": "Since JIT is on by default in v12, I wanted to revisit the issue raised in\nhttps://www.postgresql.org/message-id/CAMkU=1zVhQ5k5d=YyHNyrigLUNTkOj4=YB17s9--3ts8H-SO=Q@mail.gmail.com\n\nWhen the total estimated cost is between jit_above_cost and\njit_optimize_above_cost, I get a substantial reg...
[ { "msg_contents": "Hello hackers\n\nI am getting sporadic errors when I tried to use PG12 bionic debian\nrepository.\n\nHere is the error message that is result of apt-get update.\n-----------\nFailed to fetch\nhttp://apt.postgresql.org/pub/repos/apt/dists/bionic-pgdg/main/binary-i386/Packages.gz\nFile has unex...