threads
listlengths
1
2.99k
[ { "msg_contents": "Run the attached script and you'll get: \n\npsql -f error.sql -d test \npsql:error.sql:37: ERROR: attribute number 6 exceeds number of columns 5\n\nSplitting up the alter-table like this makes it work: \n\nalter table access\n add column start_timestamp timestamp not null DEFAULT CURRENT_TIME...
[ { "msg_contents": "Hi Hackers,\n\nSome ORMs may generate queries larger than the maximum possible value of \ntrack_activity_query_size (100 kB).\nIs there any reasons to limit the maximum value of \ntrack_activity_query_size to such small value?\nIncreasing the maximum value to 1 MB will help partially solve th...
[ { "msg_contents": "Hi\n\nI have a report from my customer about migration his application from\nOracle to Postgres.\n\nThe most significant issue was missing correct estimation for coalesce\nfunction. He had to rewrite coalesce(var, X) = X to \"var IS NULL or var =\nX\". Then the result was very satisfactory.\n...
[ { "msg_contents": "Hi hackers,\n\nI wonder how it is possible to prohibit parallel scan for the external \nstorage accessed through tableam?\nFor example if I want to implement specialized tableam for fast access \nto temp tables, how can I inform optimizer that\nparallel scan is not possible (because table dat...
[ { "msg_contents": "Dear all,\n\nI've met the following problem in our product environment. We tried to reproduce the problem, but because of the low probability of occurrence, we could not reproduce it.\n1. phenomenon\nBackend process crashed when executing 2pc transaction in citus.\n\n- coordinator\n\n\t\t2019...
[ { "msg_contents": "I got interested in $SUBJECT as a result of the complaint at [1]\nabout typmods not being checked/enforced in places where they\nreasonably should be. The cause is that executor/functions.c's\ncheck_sql_fn_retval() only worries about types not typmods.\nAnother thing not to like is that it o...
[ { "msg_contents": "Hi,\n\nI wonder why we don't use the same style for $subject as pg_basebackup\n--progress, that is, use a carriage return instead of a newline after\neach line reporting the number of tuples copied?\n\nAttached patch for that.\n\nThanks,\nAmit", "msg_date": "Thu, 28 Nov 2019 10:41:14 +090...
[ { "msg_contents": "Hi.\n\nI'm using the \"Incremental Materialized View Maintenance\" patch and have\nreported the following issues.\n(https://commitfest.postgresql.org/25/2138/)\n\nTo Suggest a \"DROP INCREMENTAL MATERIALIZED VIEW\" in psql, but the syntax\nerror when you run.\n(\"DROP MATERIALIZED VIEW\" comm...
[ { "msg_contents": "Hi hackers,\n\nWe just want to introduce another POC for vectorized execution engine\nhttps://github.com/zhangh43/vectorize_engine and want to get some feedback\non the idea.\n\nThe basic idea is to extend the TupleTableSlot and introduce\nVectorTupleTableSlot, which is an array of datums org...
[ { "msg_contents": "Here's a silly insomnia-inspired little patch that removes useless\n\"return;\" lines from some routines. (I left some alone, because they\nseemed to be there more for documentation purposes, such as the ones in\nfrom_char_set_mode and from_char_set_int; also regcomp.c since the\npedigree th...
[ { "msg_contents": "Hackers,\n\nWhile working on the problem of XID wraparound within the LISTEN/NOTIFY\nsystem, I tried to increment XIDs by more than one per transaction. \nThis leads to a number of test failures, many which look like:\n\n+ERROR: could not access status of transaction 7485\n+DETAIL: Could no...
[ { "msg_contents": "Hello hackers,\n\nWhen dealing with an OS upgrade, a some kind of anomaly related to\ncollations was found.\nSuppose, we have Debian 8 with postgresql 12 installed.\nThen we create a custom collation:\nCREATE COLLATION russian (provider=icu, locale='ru_RU');\nand\nSELECT oid, collname, collna...
[ { "msg_contents": "This patch is a rather hacky implementation of the basic idea for\nimplementing FETCH ... WITH TIES, and potentially also PERCENT, by using\na window function expression to compute a stopping point.\n\nLarge chunks of this (the parser/ruleutils changes, docs, tests) are\ntaken from Surafel Te...
[ { "msg_contents": "Hi all,\n\nSince commit d6c55de1, we support %m in the in-core port for printf\nand such. And it seems to me that we could do better for the frontend\ncode by reducing the dependency to strerror().\n\nOne advantage of doing a switch, or at least reduce the use of\nstrerror(), would be to eas...
[ { "msg_contents": "I propose to change the default of ssl_min_protocol_version to TLSv1.2 \n(from TLSv1, which means 1.0). Older versions would still be supported, \njust not by default.\n\nThe reason is that TLS 1.0 and 1.1 are either already discouraged or \ndeprecated or will be by the time PostgreSQL 13 co...
[ { "msg_contents": "Hi,\n\nI encountered that the assertion error is reported instead of a proper\nPANIC message when failed to fsync WAL. The cause is that there are\nmultiple places where we call XLogFileNameP function that calls palloc\nduring critical section, for example XLogWrite function.\n\nTRAP: FailedA...
[ { "msg_contents": "Folks,\n\nPer a suggestion Christophe made, please find attached a patch to\n$Subject:\n\nApart from carefully fudging with pg_resetwal, and short of running in\nproduction for a few weeks, what would be some good ways to test this?\n\nBest,\nDavid.\n-- \nDavid Fetter <david(at)fetter(dot)org...
[ { "msg_contents": "While reviewing the patches in\nhttp://postgr.es/m/20191126.213752.2132434859202124793.horikyota.ntt@gmail.com\nI noticed three related problems. The defects motivating that other thread\nare specific to wal_level=minimal. The related problems are not specific to\nany wal_level, hence my st...
[ { "msg_contents": "Hello,\n\nSteps to reproduce:\n\nselect extract(epoch from '2001-09-09 01:46:39.999999'::timestamp)\n\nreturns 999999999.999999 as expected\n\nwhile\n\nselect extract(epoch from '2001-09-09 01:46:40.000021'::timestamp)\n\nreturns 1000000000.00002 - 1 microsecond is truncated.\n\nObviously, it...
[ { "msg_contents": "This came up recently on IRC, not sure if the report there was passed on\nat all.\n\nProcessStartupPacket assumes that there will be only one negotiation\nrequest for an encrypted connection, but libpq is capable of issuing\ntwo: it will ask for GSS encryption first, if it looks like it will ...
[ { "msg_contents": "I started to fool around with the ruleutils.c rewrite discussed in [1],\nand ran into an independent bug: if you attach column aliases to a\npartitioned table, and some of the partitions don't have an exact match of\ncolumn attnums, then EXPLAIN uses the wrong aliases for those partitions.\nA...
[ { "msg_contents": "The code in GetSnapshotData() that read the `xid` field of&nbsp; PGXACT struct has a dependency on code in GetNewTransactionId() that write `MyPgXact-&gt;xid`. It means that the store of xid should happen before the load of it. In C11, we can use [Release-Acquire ordering](https://en.cpprefer...
[ { "msg_contents": "Hi,\n\nwhile evaluating one of the CF patches (the incremental sort one, but\nthat's mostly irrelevant), I ran into a strange issue with join planning\nfor a fairly simple query. I needed to asses how the patch affects query\nplanning for different GUCs, so I ran a group of queries and stashe...
[ { "msg_contents": "Hi all,\n\nI have run the TAP tests with an instance of Postgres locally set at\nport 5432 on Windows, to notice that 001_start_stop.pl fails various\ntests because the test tries to use the default port for the node\ninitialized with pg_ctl. The problem can get fixed easily by\nassigning a ...
[ { "msg_contents": "Hi all,\n\nI was just looking at some callers of pg_fsync(), to notice that some\ncode paths don't use data_sync_elevel(). For some code paths, that's\nactually better to never PANIC (say backup_label file, logical\ndecoding snapshot, lock file where FATAL/LOG are used now, etc.).\nHowever I...
[ { "msg_contents": "Hello,\n\nGreg reported in [1] before, autovacuum ignores partitioned tables.\nThat is, even if individual partitions’ statistics are updated, its parent's\nstatistics are not updated. This is TODO for declarative partitioning.\nAs Amit mentioned in [2], a way to make parent's statistics fro...
[ { "msg_contents": "Currently, configure puts the configure args into the makefiles and\nthen have the makefiles pass them to the build of pg_config. That looks \nlike an unnecessary redirection, and indeed that method was\nput in place when pg_config was a shell script. We can simplify that\nby having configu...
[ { "msg_contents": "Folks,\n\nWhile it would be lovely if we could all plan all table partitioning\nin advance of inserting the first row, that's not the reality, and has\nlittle prospect of becoming the reality. One reality I'm dealing with\nis where people discover the list partitions they need to add based on...
[ { "msg_contents": "I see from the buildfarm status page that since commits 6b802cfc7\net al went in a week ago, frogmouth and currawong have failed that\nnew test case every time, with the symptom\n\n================== pgsql.build/src/test/isolation/regression.diffs ===================\n*** c:/prog/bf/root/REL_...
[ { "msg_contents": "Hi.\n\nI need to check database's age in psql, so I want to append that.\n\n\nlike this,\n\n\n(12) [postgres@ioseph-centos7 ~]$ psql -E\npsql (12.0)\nType \"help\" for help.\n\n(12.0) postgres@postgres=# \\l\n********* QUERY **********\nSELECT d.datname as \"Name\",\n        pg_catalog.pg_get...
[ { "msg_contents": "Hi Hackers,\n\nI hit an error when updating a view with conditional INSTEAD OF rules, the\nreproduce steps are list below:\n\nCREATE TABLE t1(a int, b int);\n\nCREATE TABLE t2(a int, b int);\n\nCREATE VIEW v1 AS SELECT * FROM t1 where b > 100;\n\nINSERT INTO v1 values(1, 110);\n\nSELECT * FRO...
[ { "msg_contents": "Hi!\n\nDuring work on knn-btree patchset we've faced the need to move\nfunctions/operators from contrib to core [1]. In the extension\nupgrade script we need to use @extschema@ in order to distinguish\ncontrib and core objects. However, it appears to be possible to use\n@extschema@ only in ...
[ { "msg_contents": "Hello,\n\nWhile going through this file I noticed some inconsistencies in the\ncomments. Please find attachment for the fix.\n\n-- \nRegards,\nRafia Sabih", "msg_date": "Tue, 3 Dec 2019 14:36:20 +0100", "msg_from": "Rafia Sabih <rafia.pghackers@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "This patch simply adds “.idea/“ to the list of global excludes across all subdirectories. This directory is created when a JetBrains IDE is used to open a project. In my specific case, Clion is creating the project directory.\n\nThe ONLY change in the patch is the “.idea/“ addition to .gitign...
[ { "msg_contents": "Hi hackers,\n\nOne of our customers complains about that some sessions generates \"too \nmuch WAL records\".\nCertainly WAL activity doesn't indicate a problem itself: huge workload \ncause huge WAL activity.\nBut them are trying to understand which clients produces so much \ndatabase changes...
[ { "msg_contents": "Responding to the recent thread on bumping the default TLS version, I realized\nthat we don't have a way to set the minimum/maximum TLS protocol version in\nclientside libpq. Setting the maximum protocol version obviously not terribly\nimportant (possibly with the exception of misbehaving mi...
[ { "msg_contents": "Hi,\nI believe PostgreSQL can benefit from changing the alert level of compilation warnings.\nThe current Level3 level for windows does not show any alerts, but that does not mean that there are no problems.\nChanging the level to Level4 and its equivalent for GCC in Unix environments will sh...
[ { "msg_contents": "Hi hackers.\n\nI made a patch fixing build and install problems under MSYS2, including\nllvmjit.\n\nI have tested this in my environment and it works, of course need more\nextensive testing.\nAttached is a patch that fixes it. Tag REL_12_1.\n\n-- \nBest regards.\nGuram Duka.", "msg_date":...
[ { "msg_contents": "Hi,\n\nProbably a simple question, but I don't see a simple answer so far. In\none extension I want to convert uint64 into a numeric to put it\neventually into a jsonb object. As far as I see in numeric.c there are\nfunctions only for signed int64. Is there a way to achive this with\nuint64 (...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16147\nLogged by: Bill Tihen\nEmail address: btihen@gmail.com\nPostgreSQL version: 12.1\nOperating system: MacOS 10.15.1\nDescription: \n\nThe following command crashes with any database I've tried...
[ { "msg_contents": "Run the regression tests with \"make installcheck\", then:\n\n$ pg_dump -Fc regression >r.dump\n$ createdb r2\n$ pg_restore -d r2 r.dump\npg_restore: while PROCESSING TOC:\npg_restore: from TOC entry 6005; 2604 24821 DEFAULT gtest1_1 b postgres\npg_restore: error: could not execute query: ERR...
[ { "msg_contents": "I just proposed in\nhttps://postgr.es/m/0191204143715.GA17312@alvherre.pgsql the addition of\nstrndup() to our src/port.\n\nI think this should be pretty uncontroversial, but wanted to give a\nheads-up outside that thread. I attach the patch here for completeness.\n\n-- \n�lvaro Herrera ...
[ { "msg_contents": "In the previous discussions on backtrace support, some people asked for \nbacktraces in more situations. Here is a patch that prints backtraces \non SIGABRT, SIGBUS, and SIGSEGV signals. SIGABRT includes assertions \nand elog(PANIC).\n\nDo signals work like this on Windows? Do we need spec...
[ { "msg_contents": "Until PostgreSQL 9.1, it was possible to run ALTER TABLE ... SET \nSTATISTICS without allow_system_table_mods. In PostgreSQL 9.2 and \nlater, this no longer works. This change was apparently accidental. (I \ngave up after a while trying to bisect it exactly, but probably \nsomething relate...
[ { "msg_contents": "Hi all,\n\nSo, I have been looking at what we could clean up by removing support\nfor OpenSSL 0.9.8 and 1.0.0. Here are my notes:\n1) SSL_get_current_compression exists before 0.9.8, and we don't\nactually make use of its configure check. So I think that it could\njust be removed, as per pa...
[ { "msg_contents": "Hello,\n\nWhile reading pg_upgrade code to restore the objects on the new\ncluster, I noticed that 5b570d771b8 didn't adjust the database name in\nthe comments explaining the requirements for an extra \"--clean\" for\ntemplate1 and postgres databases. While it's true that both databases\nwil...
[ { "msg_contents": "When hacking the Zedstore, we need to get a more accurate statistic for\nzedstore and we\nfaced some restrictions:\n1) acquire_sample_rows() always use RelationGetNumberOfBlocks to generate\nsampling block\n numbers, this is not friendly for zedstore which wants to use a logical\nblock num...
[ { "msg_contents": "Hi,\nIt was observed that when we try to connect through a user/database created\nusing\nsimplified Chinese characters on EUC_CN server_encoding, it fails giving\nerror that\nthe object does not exists. Whereas if we query the system table we can\nfind their entries\nthere.\n\nData setup:\n....
[ { "msg_contents": "We have a Postgres 10 database that we recently upgraded to Postgres 12 using pg_upgrade. We recently discovered that there are rows in one of the tables that have duplicate primary keys:\n\nrecord_loader=# \\d loader.sync\n Table \"loader.sync\"\n Column ...
[ { "msg_contents": "New users frequently attempt to run PostgreSQL's command line utilities\nfrom the psql prompt.\n\nThey tend to be confused when this appears to do absolutely nothing:\n\n psql=> pg_restore\n psql->\n\nsince they're generally not going to semicolon-terminate the command either.\n...
[ { "msg_contents": "Hi,\n\nIn few scenarios the message displayed in psql console is not consistent in\nwindows and linux. The execution results from few scenarios in windows and\nlinux is listed below:\n\nIn CentOS\n========================================================\n\n*After transaction idle timeout*post...
[ { "msg_contents": "Hello Hackers:\n I'm reading the code of optimizer and get confused about the 3\nfunctions. add_path/set_cheapest/get_cheapest_fractional_path\n\n\nadd_(partial_)path:\nFor every relations, optimizer will build path for it and add then call\nadd_path to the rel->pathlist. during this stag...
[ { "msg_contents": "We use system UTF-16 collation to implement UTF-8 collation on Windows. The\nPostgreSQL security team received a report, from Timothy Kuun, that this\ncollation does not uphold the \"symmetric law\" and \"transitive law\" that we\nrequire for btree operator classes. The attached test progra...
[ { "msg_contents": "Hello.\n\nThis is the reased (and a bit fixed) version of the patch. This\napplies on the master HEAD and passes all provided tests.\n\nI took over this work from Sawada-san. I'll begin with reviewing the\ncurrent patch.\n\nregards.\n\n-- \nKyotaro Horiguchi\nNTT Open Source Software Center",...
[ { "msg_contents": "Hi!\n\nI've received a bug report from a PostgreSQL user that psql 12.1 failed to connect to a PostgreSQL 12.1 server, with the following error message:\n\npsql: error: could not connect to server: FATAL: unsupported frontend protocol 1234.5679: server supports 2.0 to 3.0\n\nAfter inspecting ...
[ { "msg_contents": "Hi,\n\nThis topic was discussed several times, with the most recent\ndiscussions found at [1] and [2]. Based on those discussions, my\nunderstanding is that the current approach in BASE_BACKUP has too many\ndrawbacks and we should instead do this check in the backend. I've\nbeen working usi...
[ { "msg_contents": "In the thread \nhttps://www.postgresql.org/message-id/2620882.s52SJui4ql@x200m\nI've suggested to split one big StdRdOption that is used for options storage \ninto into Options structures individual for each relkind and each relam\n\nThat patch have been split into smaller parts, most of them...
[ { "msg_contents": "Hi,\n\n[1] made me notice these issues. The issues here are mostly independent,\nbut it's still worthwhile to read that thread - in particular because my\nproposed solution for the problem is possibly somewhat related to this\nissue. And, if we were to go for my more extreme proposal below, t...
[ { "msg_contents": "Jeff said:\nhttps://www.postgresql.org/message-id/CAMkU%3D1zBJNVo2DGYBgLJqpu8fyjCE_ys%2Bmsr6pOEoiwA7y5jrA%40mail.gmail.com\n|What would I find very useful is a verbosity option to get the cost\n|estimates expressed as a multiplier of each *_cost parameter, rather than\n|just as a scalar.\n\nI...
[ { "msg_contents": "Hi, Hackers.\n\nI propose a small improvement to the psql command.\nCurrently, psql's help/quit/exit command needs to start from the first position of the prompt.\nFor example, if you write a command after a space, the continuation prompt\n(PROMPT2) is displayed.\n\n---\npostgres=> \\set PROM...
[ { "msg_contents": "It seems that explanation for the contents of the pid file has moved to\npidfile.h, but the comments in CreateLockFile() still point to miscadmin.h.\n\nThe attached patch updates those pointers.", "msg_date": "Sat, 7 Dec 2019 23:40:27 -0800", "msg_from": "Hadi Moshayedi <hadi@moshayed...
[ { "msg_contents": "Is there a way to force a meaningful parallel seq scan, or at least the\nplanning of one, when the planner wants a non-parallel one?\n\nUsually I can do things like with with enable_* setting, but if I `set\nenable_seqscan to off`, it penalizes the parallel seq scan 8 times harder\nthan it pe...
[ { "msg_contents": "Buildfarm member hyrax has been intermittently failing the\ndeadlock-parallel isolation test ever since that went in.\nI finally got around to looking at this closely, and what\nseems to be happening is simply that isolationtester.c's\nhard-wired three-minute timeout for the completion of any...
[ { "msg_contents": "Hackers,\n\nI'm thinking of submitting a patch, and would like to review my\ndesign ideas with you all before doing so. I've thought about\nthis problem before, but I can't find any email where I might\nhave already proposed this. If I did, and this is a duplicate,\nplease forgive me. I'm ...
[ { "msg_contents": "Hi All,\n\nWe recently started seeing an error “ERROR: uncommitted xmin 347341220\nfrom before xid cutoff 967029200 needs to be frozen” on our user tables.\nI’m unable to do ‘vacuum’, ‘vacuum freeze’ or ‘vacuum full’ on the\naffected tables.\n\n From what I read, this was a bug couple of ye...
[ { "msg_contents": "A small add-on to the generated columns feature: Add an ALTER TABLE \nsubcommand for dropping the generated property from a column, per SQL \nstandard.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", ...
[ { "msg_contents": "Per discussion in [0], here is a patch set to remove support for Python \nversions older than 2.6.\n\n\n[0]: \nhttps://www.postgresql.org/message-id/6d3b7b69-0970-4d40-671a-268c46e93fe3@2ndquadrant.com\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, ...
[ { "msg_contents": "I was playing with the Unicode normalization test in \nsrc/common/unicode/. I think there is something wrong with how the test \nprogram reports failures. For example, if I manually edit the \nnorm_test_table.h to make a failure, like\n\n- { 74, { 0x00A8, 0 }, { 0x0020, 0x0308, 0 } },\n+...
[ { "msg_contents": "Hello PostgreSQL hackers,\n\nI hope I am posting on the right mailing-list.\n\nI am actually doing a PhD related to relational databases and software engineering.\n\nI use PostgreSQL for my research.\n\nI have a few questions about the internals of PostgreSQL and I think they require experts ...
[ { "msg_contents": "I have a table with about 7 million records. I had a query in which I\nneeded 2 indexes added, one for a created timestamp field another for an id\nfield; both very high cardinality.\n\nFirst I noticed the query would not use the timestamp index no matter what\nsession config settings I used...
[ { "msg_contents": "Hi,\n\nThe memory consumption of VACUUM has some issues and could be improved.\nSome of its limitations are recorded in the comments of the “vacuumlazy.c”\nfile. The current design of VACUUM memory usage is that it stores the TID\nin a fixed-size array which is allocated at the start, based u...
[ { "msg_contents": "Hi,\n\ntoday I observed (on a r5.24xlarge AWS RDS instance, i.e. 96 logical\ncores) lock contention on a buffer content lock due to taking of a\nSHARED lock (I think):\n\nThree tables were involved, simplified case:\n\nCREATE TABLE global_config (id BIGINT PRIMARY KEY);\n\nCREATE TABLE b (\n ...
[ { "msg_contents": "Hi,\n\nI think there's a minor bug in pg_stat_activity tracking of walsender\nprocesses. The issue is that xact_start is only updated at the very\nbeginning when the walsender starts (so it's almost exactly equal to\nbackend_start) and then just flips between NULL and that value.\n\nReproduci...
[ { "msg_contents": "Hi,\n\nI several times, most recently for the record format in the undo\npatchset, wished for a fast variable width integer implementation for\npostgres. Using very narrow integers, for space efficiency, solves the\nspace usage problem, but leads to extensibility / generality problems.\n\nOth...
[ { "msg_contents": "While testing, my colleague Vignesh has hit an assert in\nTransactionGroupUpdateXidStatus. But that is not reproducible. After\nsome analysis and code review, I have found the reason for the same.\n\nAs shown in the below code, there is an assert in\nTransactionGroupUpdateXidStatus, which a...
[ { "msg_contents": "Start Walreceiver completely before shut down it on standby server.\n\nThe walreceiver will be shut down, when read an invalid record in the\nWAL streaming from master.And then, we retry from archive/pg_wal again.\n\nAfter that, we start walreceiver in RequestXLogStreaming(), and read\nrecord...
[ { "msg_contents": "I recently became annoyed while working on patch A that I could not\nuse simplehash in shared memory, and then I became annoyed again while\nworking on patch B that I could not use simplehash in frontend code.\nSo here are a few patches for discussion.\n\nA significant problem in either case ...
[ { "msg_contents": "Hello,\r\n\r\nI noticed that pg_control_init() is failing an assertion on 13devel:\r\n\r\n TRAP: FailedAssertion(\"(atti->attalign) == 's'\", File: \"heaptuple.c\", Line: 160)\r\n postgres: bossartn postgres [local] SELECT(ExceptionalCondition+0x55)[0x8e02b5]\r\n postgres: bossartn p...
[ { "msg_contents": "Hello PG hackers;\n\nI'm writing an extension running on background workers and found\nget_database_name() causes SEGV and found internally resource owner was wet\nto NULL. Could anybody let me know how it happens and how I can use this\nfunction. Argument to get_database_name() looks cor...
[ { "msg_contents": "De: Stephen Frost\nEnviadas: Terça-feira, 10 de Dezembro de 2019 17:52\n\n>There's multiple ways to get there though and I think what you're seeing\n>is that the \"just change it to something else\" answer isn't necessairly\n>going to be viewed as an improvement (or, at least, not enough of a...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16159\nLogged by: Pavel Suderevsky\nEmail address: psuderevsky@gmail.com\nPostgreSQL version: 11.6\nOperating system: CentOS 7.6.1810 (3.10.0-957.el7.x86_64)\nDescription: \n\nReproduced 11.2,11.6....
[ { "msg_contents": "During NestLoop execution we have bad corner case: if outer subtree \ncontains tuples the join node will scan inner subtree even if it does \nnot return any tuples.\n\nTo reproduce the problem see 'problem.sql' in attachment:\nOut of explain analyze see in 'problem_explain.txt'\n\nAs you can ...
[ { "msg_contents": "There were a couple of recent threads that wanted to add an \n.editorconfig file but never actually ended up doing so.[0][1] Here is \na patch. It is meant to match more or less what's in .dir-locals.el.\n\nI have only tested this with the GitHub view, not with an actual editor.\n\n[0]: \nh...
[ { "msg_contents": "De: Stephen Frost\nEnviadas: Quarta-feira, 11 de Dezembro de 2019 15:34\n\n>I agree with not breaking things but that doesn't mean the only\n>reasonable approach is to do the absolute minimum- you might not be\n>breaking something today, but it's going to confuse people later on down\n>the ro...
[ { "msg_contents": "De: Stephen Frost\nEnviadas: Quarta-feira, 11 de Dezembro de 2019 18:57\n>I really don't have any doubts that it's going to lead to confusion,\n>particularly in a case like the numTables vs. nTables thing you're\n>proposing in the one case that I spent some time looking at, and that\n>confusi...
[ { "msg_contents": "While reviewing the first patch in Asif Rehman's series of patches for\nparallel backup over at\nhttp://postgr.es/m/CADM=Jeg3ZN+kPQpiSfeWCXr=xgpLrq4cBQE5ZviUxygKq3VqiA@mail.gmail.com\nI discovered that commit 7117685461af50f50c03f43e6a622284c8d54694\nintroduced a use of cancel_before_shmem_ex...
[ { "msg_contents": "Folks,\n\nI've found myself writing a lot of boilerplate pg_hba.conf entries\nalong the lines of\n\n hostnossl all all 0.0.0.0/0 reject\n hostssl all all 0.0.0.0/0 md5\n\nso I thought I'd make it easier to do that from initdb.\n\nWhat say?\n\nBest,\nDav...
[ { "msg_contents": "Here are patches to add support for Unicode normalization into SQL, per \nSQL standard:\n\n normalize($string [, form])\n $string is [form] normalized\n\n(comment about silly SQL syntax here)\n\nWe already have all the infrastructure for Unicode normalization for the \nSASLprep functi...
[ { "msg_contents": "Hi,\n\nI find there is a duplicate function call on timestamp2tm in timestamptz_part and timestamp_part.\nIs that necessary? I remove the latter one and it also works.\n\nBest,\nJapin.", "msg_date": "Thu, 12 Dec 2019 14:34:20 +0000", "msg_from": "Li Japin <japinli@hotmail.com>", "...
[ { "msg_contents": "I have a nagios check on ancient tempfiles, intended to catch debris left by\ncrashed processes. But triggered on this file:\n\n$ sudo find /var/lib/pgsql/12/data/base/pgsql_tmp -ls\n142977 4 drwxr-x--- 3 postgres postgres 4096 Dec 12 11:32 /var/lib/pgsql/12/data/base/pgsql_tmp\n169...
[ { "msg_contents": "Hello! I wrote my extension for PG and am trying to run Async_Notify from it. But messages come very late! Sometimes only after I execute the notify command from the shell. What am I doing wrong? How to use Async_Notify correctly.\n \n--\nАрсен Арутюнян\n\nHello! I wrote my extension for PG a...
[ { "msg_contents": "I have just found out the hard way (cf commits 22864f6e0, 776a2c887)\nthat if one uses EXPLAIN with both ANALYZE and VERBOSE selected,\nthe output is not the same between force_parallel_mode = off and\nforce_parallel_mode = regress. This seems to me to be quite broken;\nwhat's the point of f...
[ { "msg_contents": "There were a number of recent threads about building PostgreSQL on \nMSYS2. This has been confusing on occasion; see for example [0]. MSYS2 \nis actually a derivative of Cygwin. What most people are actually doing \nis using MSYS2 has the host environment for doing a kind of \ncross-compil...
[ { "msg_contents": "Hi,\n\nEvery SERIALIZABLEXACT holds an xmin that comes from a Snapshot, and\nSxactGlobalXmin holds the oldest of them. But a SERIALIZABLEXACT can\nlive longer than a transaction and snapshot, so now I'm wondering if\nit's possible to reach a state where there exist SERIALIZABLEXACT\nobjects ...
[ { "msg_contents": "Hi hackers,\r\n\r\nI believe I've uncovered a bug that may cause archive status \".ready\"\r\nfiles to be created too early, which in turn may cause an incorrect\r\nversion of the corresponding WAL segment to be archived.\r\n\r\nThe crux of the issue seems to be that XLogWrite() does not wait...
[ { "msg_contents": "On 12.1, fresh initdb the following query gives me the error\n\"ERROR: failed to construct the join relation\"\n\n SELECT FROM (\n SELECT FROM pg_catalog.pg_stat_bgwriter AS ref_0\n LEFT JOIN pg_catalog.pg_stat_bgwriter AS ref_1 ON (true), LATERAL (\n SELECT FROM pg_catalog.pg_pu...
[ { "msg_contents": "On Thu, Dec 12, 2019, Justin Pryzby wrote in 20191212180506.GR2082@telsasoft.com:\n> Actually, I tried using pg_ls_tmpdir(), but it unconditionally masks\n> non-regular files and thus shared filesets. Maybe that's worth discussion on a\n> new thread ?\n> \n> src/backend/utils/adt/genfile.c\n...
[ { "msg_contents": "Hello!\n\nAccording to discussion at pgsql-general (\nhttps://www.postgresql.org/message-id/flat/CAFp7QwqFYcHiARfT91rOQj%3DmFT0MWBE%2BkxEmjfQh3QmRN1UBiw%40mail.gmail.com#05b75be4fd11c0e6216f0b329c808f72)\nI\nhave prepared patch to improve documentation for REINDEX. It should be more\ninline w...
[ { "msg_contents": "I noticed this in the regression test while polishing the PWJ-enhancement patch:\n\n-- partitionwise join can not be applied for a join between list and range\n-- partitioned tables\nEXPLAIN (COSTS OFF)\nSELECT t1.a, t1.c, t2.b, t2.c FROM prt1_n t1 FULL JOIN prt1 t2 ON (t1.c = t2.c);\n\nThe t...
[ { "msg_contents": "Keeping pg_config.h.win32 up to date with pg_config.h.in is a gratuitous \nannoyance. This setup dates back to the minimal client-only Windows \nbuilds using win32.mak files, which has been removed in PG10. The MSVC \nbuild system has the power of Perl available, so we can do better.\n\nMy ...