threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi hackers!\n\n$subj was recently observed on one of our installations.\n\nStartup process backtrace\n#0 0x00007fd216660d27 in epoll_wait (epfd=525, events=0x55c688dfbde8, maxevents=maxevents@entry=1, timeout=timeout@entry=-1)\n#1 0x000055c687264be9 in WaitEventSetWaitBlock (nevents=1, occu... |
[
{
"msg_contents": "Hi hackers,\n\nI am currently working on improving the cardinality estimation component in\nPostgreSQL with machine learning. I came up with a solution that mutates\nthe bounds for different columns. For example, assume that we have a query\n\n```\nselect * from test where X<10 and Y<20;\n```... |
[
{
"msg_contents": "Hi,\n\nCurrently docs about pg_upgrade says:\n\n\"\"\"\n <para>\n The <option>--jobs</option> option allows multiple CPU cores to be used\n for copying/linking of files and to dump and reload database schemas\n in parallel; a good place to start is the maximum of the number of... |
[
{
"msg_contents": "Dear hackers,\n\nI lately had a hard time to find the root cause for some wired behavior \nwith the async API of libpq when running client and server on Windows. \nWhen the connection aborts with an error - most notably with an error at \nthe connection setup - it sometimes fails with a wrong... |
[
{
"msg_contents": "I spent a lot of time trying to figure out why xlog.c has global\nvariables ReadRecPtr and EndRecPtr instead of just relying on the\neponymous structure members inside the XLogReaderState. I concluded\nthat the values are the same at most points in the code, and thus that\nwe could just use x... |
[
{
"msg_contents": "Commit 2fd8685e7f simplified the checking of modified attributes that\ntakes place within heap_update(). This included a micro-optimization\nthat affects pages marked PageIsFull(): when the target page is marked\nwith PD_PAGE_FULL (which must have been set by a previous heap_update\ncall), do... |
[
{
"msg_contents": "Hi hackers,\n\nThere was some interest in implementing ASOF joins in Postgres, see\ne.g. this prototype patch by Konstantin Knizhnik:\nhttps://www.postgresql.org/message-id/flat/bc494762-26bd-b100-e1f9-a97901ddad57%40postgrespro.ru\nI't like to discuss the possible ways of implementation, if ... |
[
{
"msg_contents": "I noticed that, a week after Michael pushed 9ff47ea41 to silence\n-Wcompound-token-split-by-macro warnings, buildfarm member sidewinder\nis still spewing them. Investigation shows that it's building with\n\nconfigure: using compiler=cc (nb4 20200810) 7.5.0\nconfigure: using CLANG=ccache clan... |
[
{
"msg_contents": "Hi,\n\nIt seems like some of the XLogReaderAllocate failure check errors are\nnot having errdetail \"Failed while allocating a WAL reading\nprocessor.\" but just the errmsg \"out of memory\". The \"out of memory\"\nmessage without the errdetail is too generic and let's add it for\nconsistency... |
[
{
"msg_contents": "Happened to notice this when reading around the codes. The BrinMemTuple\nwould be initialized in brin_new_memtuple(), right after being created.\nSo we don't need to initialize it again outside.\n\ndiff --git a/src/backend/access/brin/brin.c b/src/backend/access/brin/brin.c\nindex ccc9fa0959.... |
[
{
"msg_contents": "Hi,\n\npgfdw_report_error() in postgres_fdw is implemented to report the message\n\"could not obtain ...\" if message_primary is NULL as follows.\nBut, just before this ereport(), message_primary is set to\npchomp(PQerrorMessage()) if it's NULL. So ISTM that message_primary is\nalways not NUL... |
[
{
"msg_contents": "Hi,\n\npostgres_fdw reports no log message when it sends \"ABORT TRANSACTION\" etc\nand gives up getting a reply from a foreign server because of timeout or\nconnection trouble. This makes the troubleshooting a bit harder when\nusing postgres_fdw.\n\nSo how about making postgres_fdw report a ... |
[
{
"msg_contents": "Hi all,\n\n\nNow that the security policy is getting stronger, it is not uncommon to \ncreate users with a password expiration date (VALID UNTIL). The problem \nis that the user is only aware that his password has expired when he can \nno longer log in unless the application with which he is ... |
[
{
"msg_contents": "Why this happens ?\n\ncreate table t(i int);\nCREATE TABLE\ninsert into t values(1);\nINSERT 0 1\nselect (ctid::text::point)[1]::int, * from t;\n ctid | i\n------+---\n 1 | 1\n(1 row)\nupdate t set i = i;\nUPDATE 1\nselect (ctid::text::point)[1]::int, * from t;\n ctid | i\n------+---\n ... |
[
{
"msg_contents": "Hi,\n\nWhile working on a patch, I noticed that we never clean the cache of \nsequence values, i.e. seqhashtab in sequence.c. That is, once we create \nan entry for a sequence (by calling nextval), it will stay forever \n(until the backend terminates). Even if the sequence gets dropped, the \... |
[
{
"msg_contents": "Why do Toast tables have it's own visibility map and xmin, xmax columns etc?\nIsn't it increasing row size in a toast table and adding more complexity?\n\nIdeally all the vacuum cleanup on a TOAST can be done based on Primary\ntable xmin,xmax and VM info. Yes, that makes any cleanup on TOAST ... |
[
{
"msg_contents": "Hi,\n\nIt seems like the same macro names for\nSnapBuildOnDiskNotChecksummedSize and SnapBuildOnDiskChecksummedSize\nare being used in slot.c and snapbuild.c. I think, in slot.c, we can\nrename them to ReplicationSlotOnDiskNotChecksummedSize and\nReplicationSlotOnDiskChecksummedSize\nsimilar ... |
[
{
"msg_contents": "Hi,\n\nI have just joined to start a community consultation process for a\nproposal. I just finished the proposal document, I spent time writing a\nProblem and Solution section, and I have done quite a bit of upfront\nexploration of the code.\n\nSee:\n\n - Google Document with Commenting tu... |
[
{
"msg_contents": "Respected madam/sirI am Raunak Parmar and I am pursuing Btech in computer science and engineering with AIML. I have just entered my first year of engineering and I am new to open source but I have sound knowledge in C++ and python, so I would like to contribute to your organization. Please gu... |
[
{
"msg_contents": "Attached WIP patch series significantly simplifies the definition of\nscanned_pages inside vacuumlazy.c. Apart from making several very\ntricky things a lot simpler, and moving more complex code outside of\nthe big \"blkno\" loop inside lazy_scan_heap (building on the Postgres\n14 work), this... |
[
{
"msg_contents": "Hello.\n\nI noticed obsolete lines in the function comment of pgss_store().\n\n * If queryId is 0 then this is a utility statement for which we couldn't\n * compute a queryId during parse analysis, and we should compute a suitable\n * queryId internally.\n\nPreviously the function actually ca... |
[
{
"msg_contents": "Hi:\n\nShould we guarantee the sequence's nextval should never be rolled back\neven in a crashed recovery case?\nI can produce the rollback in the following case:\n\nSession 1:\nCREATE SEQUENCE s;\nBEGIN;\nSELECT nextval('s'); \\watch 0.01\n\nSession 2:\nkill -9 {sess1.pid}\n\nAfter the resta... |
[
{
"msg_contents": "Currently there's a test [1] in the regression suite that ensures that\na SAVEPOINT cannot be initialized outside a transaction.\n\nInstead of throwing an error, if we allowed it such that a SAVEPOINT\noutside a transaction implicitly started a transaction, and the\ncorresponding ROLLBACK TO ... |
[
{
"msg_contents": "Hi,\n\nI cannot compile postgresql for armv7. I tested a bunch of versions of gcc\nand all have the same issue. Sometimes disabling optimization allows me to\ncompile failed files but it is not a rule. The same error will happen in\nanother file and changing optimization parameters or lto opt... |
[
{
"msg_contents": "Hi,\n\nI'm seeing the following annoying build warnings on Windows (without\nasserts, latest Postgres source):\n\npruneheap.c(858): warning C4101: 'htup': unreferenced local variable\npruneheap.c(870): warning C4101: 'tolp': unreferenced local variable\n\nI notice that these are also reported... |
[
{
"msg_contents": "Hi,\n\nI cannot compile postgresql for armv7. I tested a bunch of versions of gcc\nand all have the same issue. Sometimes disabling optimization allows me to\ncompile failed files but it is not a rule. The same error will happen in\nanother file and changing optimization parameters or lto opt... |
[
{
"msg_contents": "Hi,\n\nThis example in the docs declares a function returning an anonymous\n2-component record:\n\nCREATE FUNCTION dup(in int, out f1 int, out f2 text)\n AS $$ SELECT $1, CAST($1 AS text) || ' is text' $$\n LANGUAGE SQL;\n\nThe same declaration can be changed to have just one OUT parame... |
[
{
"msg_contents": "Hi,\n\nThere's two related, but somewhat different aspects to $subject.\n\nTL;DR: We use use -fvisibility=hidden + explicit symbol visiblity,\n-Wl,-Bdynamic, -fno-plt\n\n\n1) Cross-translation-unit calls in extension library\n\nA while ago I was looking at a profile of a workload that spent a... |
[
{
"msg_contents": "The PG docs are not quite as clear as they might be regarding the\ndefault value of the \"partition_via_partition_root\" option.\n\nThis small change originated from the row-filter thread [RF], but then\nit was decided it should really be a separate patch (hence this post).\n\n[Tomas 11/7] co... |
[
{
"msg_contents": "Hi,\n\nThe replication slots data is stored in binary format on the disk under the\npg_replslot/<<slot_name>> directory which isn't human readable. If the\nserver is crashed/down (for whatever reasons) and unable to come up,\ncurrently there's no way for the user/admin/developer to know what ... |
[
{
"msg_contents": "Hi,\n\nAttached patch covers a case where TLI in the filename for a\nrecord being read is different from where it belongs to. In other\nwords, it covers following case noted in StartupXLOG():\n\n/*\n * EndOfLogTLI is the TLI in the filename of the XLOG segment containing\n * the end-of-log. I... |
[
{
"msg_contents": "[ moving thread to -hackers for a bit more visibility ]\n\nAttached are a couple of patches I propose in the wake of commit\n405f32fc4 (Require version 0.98 of Test::More for TAP tests).\n\n0001 responds to the failure we saw on buildfarm member wrasse [1]\nwhere, despite configure having car... |
[
{
"msg_contents": "Hello all,\r\n\r\nNow that the MITM CVEs are published [1], I wanted to share my wishlist\r\nof things that would have made those attacks difficult/impossible to\r\npull off.\r\n\r\n= Implicit TLS =\r\n\r\nThe frontend/backend protocol uses a STARTTLS-style negotiation, which\r\nhas had a fai... |
[
{
"msg_contents": "On 8/26/20, 2:13 PM, \"Bossart, Nathan\" <bossartn@amazon.com> wrote:\r\n> On 8/26/20, 12:16 PM, \"Alvaro Herrera\" <alvherre@2ndquadrant.com> wrote:\r\n>> On 2020-Aug-20, Jeremy Schneider wrote:\r\n>>> Alternatively, if we don't want to take this approach, then I'd argue\r\n>>> that we shoul... |
[
{
"msg_contents": "Hi,\n\nClang 13 on my machine and peripatus (but not Apple clang 13 on eg\nsifika, I'm still confused about Apple's versioning but I think that's\nreally llvm 12-based) warns:\n\ngeqo_main.c:86:8: warning: variable 'edge_failures' set but not used\n[-Wunused-but-set-variable]\n int ... |
[
{
"msg_contents": "According to [1], we need to stop including Python's <eval.h>.\nI've not checked whether this creates any backwards-compatibility\nissues.\n\n\t\t\tregards, tom lane\n\n[1] https://bugzilla.redhat.com/show_bug.cgi?id=2023272\n\n\n",
"msg_date": "Tue, 23 Nov 2021 22:07:03 -0500",
"msg_... |
[
{
"msg_contents": "Attached patch performs polishing within vacuumlazy.c, as follow-up\nwork to the refactoring work in Postgres 14. This mainly consists of\nchanging references of dead tuples to dead items, which reflects the\nfact that VACUUM no longer deals with TIDs that might point to\nremaining heap tuple... |
[
{
"msg_contents": "Hi, \n\nI think I found a problem related to replica identity. According to PG doc at [1], replica identity includes only columns marked NOT NULL. \nBut in fact users can accidentally break this rule as follows:\n\ncreate table tbl (a int not null unique);\nalter table tbl replica identity us... |
[
{
"msg_contents": "\nHi,\n\nWhen I read the documentation about Overview of PostgreSQL Internals - Executor [1],\nI find there is a missing space in the documentation.\n\ndiff --git a/doc/src/sgml/arch-dev.sgml b/doc/src/sgml/arch-dev.sgml\nindex 7aff059e82..c2be28fac8 100644\n--- a/doc/src/sgml/arch-dev.sgml\n... |
[
{
"msg_contents": "xlog.c: Remove global variables ReadRecPtr and EndRecPtr.\n\nIn most places, the variables necessarily store the same value as the\neponymous members of the XLogReaderState that we use during WAL\nreplay, because ReadRecord() assigns the values from the structure\nmembers to the global variab... |
[
{
"msg_contents": "Hi,\n\nBy inspection of plperl and plpython, it looks like the canonical pattern\nfor a PL using internal subtransactions is:\n\nsave CurrentMemoryContext\nsave CurrentResourceOwner\nBeginInternalSubTransaction\nreimpose the saved memory context\n// but not the saved resource owner\n\n...\n(R... |
[
{
"msg_contents": "Hi Hackers,\n\nWhile an exclusive backup is in progress if Postgres restarts, postgres\nruns the recovery from the checkpoint identified by the label file instead\nof the control file. This can cause long recovery or even sometimes fail to\nrecover as the WAL records corresponding to that che... |
[
{
"msg_contents": "Hi,\n\nI noticed that the pg_dump and pg_basebackup are not erroring out when\n\"--fo\"/\"--for\"/\"--form\"/\"--forma\"/\" are specified(use cases 1 - 4, 7 -\n9) whereas it fails if a pattern that doesn't match with \"format\" is\nspecified (use case 5, 10). This seems to be true only for \"... |
[
{
"msg_contents": "A publication for all tables was running fine, Master is a PostgreSQL\n11.11. Replica was running version 13 (don´t remember minor version).\n\nThen we tried to update only subscriber server, nothing was done on master\nside.\n\nThen we did ...\n- installed postgresql-14.\n- configured postgr... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that there are some tab completions missing for the following \ncommands:\n-ALTER DEFAULT PRIVILEGES: missing FOR USER\n-ALTER FOREIGN DATA WRAPPER: missing NO HANDLER, NO VALIDATOR\n-ALTER SEQUENCE: missing AS\n-ALTER VIEW: no completion after ALTER COLUMN column_nam... |
[
{
"msg_contents": "Here is how it can be reproduced.\n\ncreate table point_tbl (f1 point);\n\ninsert into point_tbl(f1) values ('(5.1, 34.5)');\ninsert into point_tbl(f1) values (' ( Nan , NaN ) ');\nanalyze;\n\ncreate index gpointind on point_tbl using gist (f1);\n\nset enable_seqscan to on;\nset enable_indexs... |
[
{
"msg_contents": "Dear Sir/Ma'am,\n I am Parth Shah, currently a second-year computer\nengineering student at Mumbai University. I only recently started learning\nPostgres and I was quite fascinated by it. I recently read about\nKonstantina Skovola's project about creating an extension for the J... |
[
{
"msg_contents": "I think that it's worth unifying VACUUM VERBOSE and\nlog_autovacuum_min_duration output, to remove the redundancy, and to\nprovide more useful VACUUM VERBOSE output.\n\nBoth variants already output approximately the same things. But, each\nvariant reports on certain details that the other var... |
[
{
"msg_contents": "Hello!\n\nSince I used a lot of my time chasing short lived processes eating away big chunks of memory in recent weeks, I am wondering about a decent way to go about this.\nThe problem I am facing essentially relates to the fact that work_mem settings, while they are enforced per hash and sor... |
[
{
"msg_contents": "Hi hackers,\n\nthere are a very long discuss about TDE, and we agreed on that if the\ntemporary file I/O can be aligned to some fixed size, it will be easier\nto use some kind of encryption algorithm.\n\ndiscuss:\nhttps://www.postgresql.org/message-id/20211025155814.GD20998%40tamriel.snowman.... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 17302\nLogged by: Alexander Lakhin\nEmail address: exclusion@gmail.com\nPostgreSQL version: 14.1\nOperating system: Ubuntu 20.04\nDescription: \n\nThe last statement in the following sequence of qu... |
[
{
"msg_contents": "Hi Hackers,\n\nWhen the standby couldn't connect to the primary it switches the XLog\nsource from streaming to archive and continues in that state until it can\nget the WAL from the archive location. On a server with high WAL activity,\ntypically getting the WAL from the archive is slower tha... |
[
{
"msg_contents": "Hi,\r\n\r\nI found several typos in comments and README. See patch attached.\r\n\r\nBest regards,\r\nLingjie Qiang",
"msg_date": "Mon, 29 Nov 2021 01:01:55 +0000",
"msg_from": "\"qianglj.fnst@fujitsu.com\" <qianglj.fnst@fujitsu.com>",
"msg_from_op": true,
"msg_subject": "Fix t... |
[
{
"msg_contents": "This isn't flagged with GUC_EXPLAIN:\nenable_incremental_sort\n\nHere's some more candidates:\nshared_buffers - it seems unfortunate this is not included; actually, it seems\n\tlike maybe this should be always included - not just if it's set to a\n\tnon-default, but especially if it's left at... |
[
{
"msg_contents": "Hi,\n\nAttached patch is doing small changes to brin, gin & gist index tests\nto use an unlogged table without changing the original intention of\nthose tests and that is able to hit ambuildempty() routing which is\notherwise not reachable by the current tests.\n\n-- \nRegards,\nAmul Sul\nEDB... |
[
{
"msg_contents": "We've been burnt by this issue repeatedly (cf c2d1eea9e, d025cf88b,\n11b500072) so I think it's time to try to formalize and document\nwhat to do to export a variable from src/common/ or src/port/.\n\nHere's a draft patch. I'm not in love with the name \"PGDLLIMPORT_FE\"\nand would welcome b... |
[
{
"msg_contents": "Hi,\n\nDuring my recent work, I need some new stuff attached to Relation. Rather\nthan adding\nsome new data structures, I added it to Relation directly. Like\nrelation->balabala. Then\nI initialize it during ExecutorRun, like table_tuple_insert.. and\ndestroy it at ExecutorEnd.\n\nThe... |
[
{
"msg_contents": "Hi hackers,\n\nThis time, I went through DROP tab completions\nand noticed some tab completions missing for the following commands:\n-DROP MATERIALIZED VIEW, DROP OWNED BY, DROP POLICY: missing \n[CASCADE|RESTRICT] at the end\n-DROP TRANSFORM: no completions after TRANSFORM\n\nI made a patch ... |
[
{
"msg_contents": "Hi,\n\nOne of our customers had a very bad issue while trying to reassign objects\nfrom user A to user B. He had a lot of them, and the backend got very\nhungry for memory. It finally all went down when the linux kernel decided\nto kill the backend (-9 of course).\n\nI attach three shell scri... |
[
{
"msg_contents": "Hi, hackers!\n\nIt seems we have a problem in pg_statio_all_tables view defenition.\nAccording to the documentation and identification fields, this view\nmust have exact one row per a table.\nThe view definition contains an x.indexrelid as the last field in its\nGROUP BY list:\n\n <...>\n ... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nCurrently, if you attempt to use CREATE EXTENSION for an extension\r\nthat is not installed, you'll see something like the following:\r\n\r\n postgres=# CREATE EXTENSION does_not_exist;\r\n ERROR: could not open extension control file \"/usr/local/pgsql/share... |
[
{
"msg_contents": "Hi,\n\nThe attached patch updates the code comment which is no longer true\nafter commit # 4a92a1c3d1c361ffb031ed05bf65b801241d7cdd\n\n--\nRegards,\nAmul Sul\nEDB: http://www.enterprisedb.com",
"msg_date": "Tue, 30 Nov 2021 12:30:41 +0530",
"msg_from": "Amul Sul <sulamul@gmail.com>",
... |
[
{
"msg_contents": "Hi Team,\r\n\r\n\r\n\r\nI am facing connectivity issue with PostgreSQL -13 , can you please suggest .\r\n\r\n\r\n\r\nError coming:\r\n\r\n\r\n\r\n\"PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: authentication method 10 not supported in\r\n\r\n/var/www/html/myLavaUat/ap... |
[
{
"msg_contents": "Ignore BRIN indexes when checking for HOT udpates\n\nWhen determining whether an index update may be skipped by using HOT, we\ncan ignore attributes indexed only by BRIN indexes. There are no index\npointers to individual tuples in BRIN, and the page range summary will\nbe updated anyway as i... |
[
{
"msg_contents": "In commit 276db875, I made vacuumlazy.c consistently use the term\n\"cleanup lock\", rather than the term \"super-exclusive lock\". But on\nfurther reflection I should have gone further, and removed the term\n\"super-exclusive lock\" from the tree completely. The actual relevant C\nsymbols on... |
[
{
"msg_contents": "Hi,\n\nIt seems like there's a following typo in code comments:\n- /* determine how many segments slots can be kept by slots */\n+ /* determine how many segments can be kept by slots */\n\nAttaching a tiny patch to fix it. This typo exists all the way until PG 13.\n\nRegards,\nBharath Rupired... |
[
{
"msg_contents": "Hi,\n\nI recently did a small experiment to see how one can create extensions\nproperly in HA(primary-standby) setup.\n\nHere are my findings:\n1) ALTER SYSTEM SET or GUC(configuration parameters) settings are not\nreplicated to standby.\n2) CREATE EXTENSION statements are replicated to stand... |
[
{
"msg_contents": "Hi,\n\nIt seems like users can try different ways to set multiple values for\nshared_preload_libraries GUC even after reading the documentation\n[1]), something like:\nALTER SYSTEM SET shared_preload_libraries TO\nauth_delay,pg_stat_statements,sepgsql; --> correct\nALTER SYSTEM SET shared_pre... |
[
{
"msg_contents": "Hi,\n\nThe active_pid of ReplicationSlot structure, which tells whether a\nreplication slot is active or inactive, isn't persisted to the disk\ni.e has no entry in ReplicationSlotPersistentData structure. Isn't it\nbetter if we add that info to ReplicationSlotPersistentData structure\nand per... |
[
{
"msg_contents": "I noticed that the chr() function uses PG_GETARG_UINT32() to get its \nargument, even though the argument is a (signed) int. So you get some \nslightly silly behavior like this:\n\n=> select chr(-333);\nERROR: 54000: requested character too large for encoding: -333\n\nThe attached patch fix... |
[
{
"msg_contents": "The current implementation of pg_stat_progress_vacuum does not provide progress on which index is being vacuumed making it difficult for a user to determine if the \"vacuuming indexes\" phase is making progress. By exposing which index is being scanned as well as the total progress the scan h... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nThanks to 61752af, SyncDataDirectory() can make use of syncfs() to\r\navoid individually syncing all database files after a crash. However,\r\nas noted earlier this year [0], there are still a number of O(n) tasks\r\nthat affect startup and checkpointing that I'd like to i... |
[
{
"msg_contents": "As discussed in the thread [1], I find the wording \"SSL server\ncertificate revocation list\" as misleading or plain wrong.\n\nI used to read it as \"SSL server certificate (of PostgreSQL client)\nrevocation list\" but I find it misleading-ish from fresh eyes. So I'd\nlike to propose a chang... |
[
{
"msg_contents": "With Python 3.10, configure spits out warnings about the module \ndistutils.sysconfig being deprecated and scheduled for removal in Python \n3.12:\n\n<string>:1: DeprecationWarning: The distutils.sysconfig module is \ndeprecated, use sysconfig instead\n<string>:1: DeprecationWarning: The dist... |
[
{
"msg_contents": "There is another snowball release out, and I have prepared a patch to \nintegrate it. Since it's quite big and mostly boring, I'm not attaching \nit here, but you can see it at\n\nhttps://github.com/petere/postgresql/commit/11eade9302d0a737a12f193c41160fb895c0bc67.patch\n\nThe upstream relea... |
[
{
"msg_contents": "pgcrypto tests use encode() and decode() calls to convert to/from hex \nencoding. This was from before the hex format was available in bytea. \nNow we can remove the extra explicit encoding/decoding calls and rely on \nthe default output format.",
"msg_date": "Thu, 2 Dec 2021 10:22:49 +0... |
[
{
"msg_contents": "The parser's type-coercion heuristics include some special rules\nfor types belonging to the STRING category, which are predicated\non the assumption that such types are reasonably general-purpose\nstring types. This assumption has been violated by a few types,\none error being ancient and t... |
[
{
"msg_contents": "Hi,\n\nA small patch to the documentation about how to reduce the number of\nparameterized paths, because it kept me searching for a long time :-)\n(The code this documents is in add_paths_to_joinrel(), the loop\nforeach(lc, root->join_info_list).)\n\n\ndiff --git a/src/backend/optimizer/READ... |
[
{
"msg_contents": "It seems there are no environment variables corresponding to keepalives\netc. connection parameters in libpq. Is there any reason for this?\n\nBest reagards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJapanese:http://www.sraoss.co.jp\n\n\n",
"ms... |
[
{
"msg_contents": "Hi,\n\nCurrently while changing the owner of ALL TABLES IN SCHEMA\npublication, it is not checked if the new owner has superuser\npermission or not. Added a check to throw an error if the new owner\ndoes not have superuser permission.\nAttached patch has the changes for the same. Thoughts?\n\... |
[
{
"msg_contents": "Hi,\n\nAlthough the pg_stat_activity has no entry for the sys logger and\nstats collector (because of no shared memory access), the wait events\nWAIT_EVENT_SYSLOGGER_MAIN and WAIT_EVENT_PGSTAT_MAIN are defined. They\nseem to be unnecessary. Passing 0 or some other undefined wait event\nvalue ... |
[
{
"msg_contents": "Hi,\n\nIt seems like there's an extra Logging_collector check before calling\nSysLogger_Start(). Note that the SysLogger_Start() has a check to\nreturn 0 if Logging_collector is off. This change is consistent with\nthe other usage of SysLogger_Start().\n\n /* If we have lost th... |
[
{
"msg_contents": "I've now closed the 2021-11 commitfest, ~36% of the patches were closed in some\nway (committed, returned with feedback, withdrawn or rejected) with 184 patches\nmoved to the next CF.\n\n--\nDaniel Gustafsson\t\thttps://vmware.com/\n\n\n\n",
"msg_date": "Fri, 3 Dec 2021 09:51:21 +0100",
... |
[
{
"msg_contents": "[ breaking this off to an actual new thread ]\n\nChapman Flack <chap@anastigmatix.net> writes:\n> Is there any way to find out, from the catalogs or in any automatable way,\n> which types are implemented with a dependence on the database encoding\n> (or on some encoding)?\n\nNope. Base types... |
[
{
"msg_contents": "[ breaking off a different new thread ]\n\nChapman Flack <chap@anastigmatix.net> writes:\n> Then there's \"char\". It's category S, but does not apply the server\n> encoding. You could call it an 8-bit int type, but it's typically used\n> as a character, making it well-defined for ASCII value... |
[
{
"msg_contents": "Hello,\n\nPlease find attached a patch for the daitch_mokotoff module.\n\nThis implements the Daitch-Mokotoff Soundex System, as described in\nhttps://www.avotaynu.com/soundex.htm\n\nThe module is used in production at Finance Norway.\n\nIn order to verify correctness, I have compared generat... |
[
{
"msg_contents": "I want to present my proof-of-concept patch for the transparent column\nencryption feature. (Some might also think of it as automatic\nclient-side encryption or similar, but I like my name.) This feature\nenables the {automatic,transparent} encryption and decryption of\nparticular columns i... |
[
{
"msg_contents": "Hi,\n\nWhen SPI produces a tuple table result, its DestReceiver makes a new\n\"SPI TupTable\" memory context, as a child of the SPI Proc context,\nand the received tuples get copied into it. It goes away at SPI_finish,\nas a consequence of its parent SPI Proc context going away.\n\nIf a perso... |
[
{
"msg_contents": "I wonder why we're counting the number of dead tuples (or LP_DEAD stub\nitems) in the relation as a whole in ANALYZE's acquire_sample_rows()\nfunction. Wouldn't it make more sense to focus on the \"live vs dead\ntuple properties\" of heap pages that are not known to be all-visible\nwhen we ge... |
[
{
"msg_contents": "When working with the Frontend/Backend Protocol implementation in Npgsql\nand discussing things with the team, I often struggle with the fact that\nyou can't set deep links to individual message formats in the somewhat\nlengthy html docs pages.\n\nThe attached patch adds id's to various eleme... |
[
{
"msg_contents": "Certain TAP tests rely on settings that the Make files provide for them.\nHowever vcregress.pl doesn't provide those settings. This patch remedies\nthat, and I propose to apply it shortly (when we have a fix for the SSL\ntests that I will write about separately) and backpatch it appropriately... |
[
{
"msg_contents": "\nI am getting this test failure 001_ssltests.pl on my test MSVC system\nwhen SSL tests are enabled:\n\n not ok 110 - certificate authorization fails with revoked client cert with server-side CRL directory: matches\n\n # Failed test 'certificate authorization fails with revoked client... |
[
{
"msg_contents": "Changing \nFcc: +inbox\n--------\nI looked into the failure reported at [1]. Basically what's happening\nthere is that we're allowing a composite datum of type RECORD to get\nstored into a table, whereupon other backends can't make sense of it\nsince they lack the appropriate typcache entry.... |
[
{
"msg_contents": "Hi,\n\nIt looks like the logical replication subscribers are receiving the\nquorum uncommitted transactions even before the synchronous (sync)\nstandbys. Most of the times it is okay, but it can be a problem if the\nprimary goes down/crashes (while the primary is in SyncRepWaitForLSN)\nbefore... |
[
{
"msg_contents": "Hi all,\n\nI realized that pg_waldump doesn't show replication origin ID, LSN,\nand timestamp of PREPARE TRANSACTION record. Commit 7b8a899bdeb\nimproved pg_waldump two years ago so that it reports the detail of\ninformation of PREPARE TRANSACTION but ISTM that it overlooked showing\nreplicat... |
[
{
"msg_contents": "Hi,\n\nWhile the database is performing end-of-recovery checkpoint, the\ncontrol file gets updated with db state as \"shutting down\" in\nCreateCheckPoint (see the code snippet at [1]) and at the end it sets\nit back to \"shut down\" for a brief moment and then finally to \"in\nproduction\". ... |
[
{
"msg_contents": "Hi,\n\nThe function PreallocXlogFiles doesn't get called during\nend-of-recovery checkpoint in CreateCheckPoint, see [1]. The server\nbecomes operational after the end-of-recovery checkpoint and may need\nWAL files. However, I'm not sure how beneficial it is going to be if\nthe WAL is pre-all... |
[
{
"msg_contents": "I raised this issue a few years ago.\nhttps://www.postgresql.org/message-id/20181217175841.GS13019%40telsasoft.com\n\n|[pryzbyj@database ~]$ psql -v VERBOSITY=terse ts -xtc 'ONE' -c \"SELECT 'TWO'\"; echo \"exit status $?\"\n|ERROR: syntax error at or near \"ONE\" at character 1\n|?column? |... |
[
{
"msg_contents": "Over in [1] it was pointed out that I overenthusiastically\ndocumented several geometric operators that, in fact, are\nonly stubs that throw errors when called. Specifically\nthese are\n\ndist_lb:\t<->(line,box)\ndist_bl:\t<->(box,line)\nclose_sl:\tlseg ## line\nclose_lb:\tline ## box\npoly_... |
[
{
"msg_contents": "Hi all,\n\nWhile updating the patch I recently posted[1] to make pg_waldump\nreport replication origin ID, LSN, and timestamp, I found a bug that\nreplication origin timestamp is not set in ROLLBACK PREPARED case.\nCommit 8bdb1332eb5 (CC'ed Amit) added an argument to\nReorderBufferFinishPrepa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.