threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi.\n\nI was investigating why foreign join is not happening and found the \nfollowing issue. When we search for foreign join path we stop on the \nfirst try. For example, in case\nA JOIN B JOIN C where all of them are foreign tables on the same server \nfirstly we estimate A JOIN B, A JOIN C... |
[
{
"msg_contents": "This issue was discovered by Fabien in the SHOW_ALL_RESULTS thread. I'm \nposting it here separately, because I think it ought to be addressed in \nlibpq rather than with a workaround in psql, as proposed over there.\n\nWhen using PQsendQuery() + PQgetResult() and the server crashes during \... |
[
{
"msg_contents": "Hi, hackers\n\nACL lists in tables may potentially be large in size. I suggest adding TOAST support for system tables, namely pg_class, pg_attribute and pg_largeobject_metadata, for they include ACL columns.\n\nIn commit 96cdeae0 these tables were missed because of possible conflicts with VAC... |
[
{
"msg_contents": "Hello,\n\nI have come across some missing documentation that I think could benefit\nthe community.\n\nSeveral functions like `jsonb_exists`, `jsonb_exists_any`,\n`jsonb_exists_all` have existed for many PG versions but were not\ndocumented. They are equivalent to `?`, `?|`, and `?&` operators... |
[
{
"msg_contents": "Hello pgsql-hackers,\n\nWhen dropping a partitioned index, the locking order starts with the\npartitioned table, then its partitioned index, then the partition\nindexes dependent on that partitioned index, and finally the dependent\npartition indexes' parent tables. This order allows a deadlo... |
[
{
"msg_contents": "Hi,\n\nI don't know what's going on here yet, but I noticed a $SUBJECT about\nhalf the time on my machine eelpout, starting 2-3 weeks ago. It fails\nlike:\n\nBailout called. Further testing stopped: system initdb failed\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=eelpout... |
[
{
"msg_contents": "Hi,\n\nIn a thread about sequences and sync replication [1], I've explained \nthat the issue we're observing is due to not waiting for WAL at commit \nif the transaction only did nextval(). In which case we don't flush WAL \nin RecordTransactionCommit, we don't wait for sync replica, etc. The... |
[
{
"msg_contents": "Hi,\n\npg_log_backend_memory_contexts() should be designed not to send the messages about the memory contexts to the client regardless of client_min_messages. But I found that the message \"logging memory contexts of PID %d\" can be sent to the client because it's ereport()'d with LOG level i... |
[
{
"msg_contents": "I was thinking about whether it made sense to try to commit anything\nand decided it would be a good idea to check how the buildfarm looks\nfirst. It doesn't look great.\n\n1. snapper failed 4 out of the last 5 runs in recoveryCheck. The\nlatest run as of this writing shows this:\n\n[19:09:50... |
[
{
"msg_contents": "Hello.\n\npg_waldump complains at the end in any case. I noticed that the LSN\nit shows in the finish message is incorrect. (I faintly thought that\nI posted about this but I didn't find it..)\n\n> pg_waldump: fatal: error in WAL record at 0/15073F8: invalid record length at 0/1507470: want... |
[
{
"msg_contents": "Hi,\n\nI tested the following case in PostgreSQL master:58e2e6\n\nthe partition table created:\n\n create table tbl_dts (dts timestamp with time zone not null) partition\nby range(dts);\n create table tbl_dts_1 partition of tbl_dts for values from\n('2021-07-02') to ('2021-08-01');\n ... |
[
{
"msg_contents": "The INSERT...ON CONFLICT is used for doing upserts in one of our app.\nOur app works with both MS SQL and Postgresql, based on customer needs.\n\nUnlike the MS SQL MERGE command's OUTPUT clause that gives the $action\n<https://docs.microsoft.com/en-us/sql/t-sql/statements/merge-transact-sql?v... |
[
{
"msg_contents": "Hi,\n\nWhile working on WaitEventSet-ifying various codepaths, I found it\nstrange that walreceiver wakes up 10 times per second while idle.\nHere's a draft patch to compute the correct sleep time.",
"msg_date": "Thu, 27 Jan 2022 23:50:04 +1300",
"msg_from": "Thomas Munro <thomas.munr... |
[
{
"msg_contents": "While reviewing code related to supporting multiple result sets in psql, \nit is always confusing that in psql many variables of type PGresult* are \nnamed \"results\" (plural), as if there could be multiple. While it is ok \nin casual talk to consider a return from a query to be a bunch of ... |
[
{
"msg_contents": "If you create an empty table, it is not fsync'd. As soon as you insert a \nrow to it, register_dirty_segment() gets called, and after that, the \nnext checkpoint will fsync it. But before that, the creation itself is \nnever fsync'd. That's obviously not great.\n\nThe lack of an fsync is a bi... |
[
{
"msg_contents": "Unlogged relations are not WAL-logged, but creating the init-fork is. \nThere are a few things around that seem sloppy:\n\n1. In index_build(), we do this:\n\n> \n> \t/*\n> \t * If this is an unlogged index, we may need to write out an init fork for\n> \t * it -- but we must first check wheth... |
[
{
"msg_contents": "Commit b07642dbcd (\"Trigger autovacuum based on number of INSERTs\")\ntaught autovacuum to run in response to INSERTs, which is now\ntypically the dominant factor that drives vacuuming for an append-only\ntable -- a very useful feature, certainly.\n\nThis is driven by the following logic fro... |
[
{
"msg_contents": "Is this intentional behavior?\n\n-- I can do this\nSELECT substring('3.2.0' from '[0-9]*\\.([0-9]*)\\.'); \n\n-- But can't do this gives error syntax error at or near \"from\"\nSELECT pg_catalog.substring('3.2.0' from '[0-9]*\\.([0-9]*)\\.');\n\n-- but can do\nSELECT pg_catalog.substring('3.2... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing another patch [1], I found an unnecessary test case of\npg_log_backend_memory_contexts, that is, executing the function after\ngranting the permission to the role and checking the permissions with\nthe has_function_privilege. IMO, it's unnecessary as we have the test\nc... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing patch at [1], it has been found that the memory\ncontext switch to oldcontext from cstate->copycontext in between\nBeginCopyTo is not correct because the intention of the copycontext is\nto use it through the copy command processing. It looks like a thinko\nfrom the com... |
[
{
"msg_contents": "Hi Hackers,\n\nI just noticed that the new server-side base backup feature requires\nsuperuser privileges (which is only documented in the pg_basebackup\nmanual, not in the streaming replication protocol specification).\n\nIsn't this the kind of thing the pg_write_server_files role was create... |
[
{
"msg_contents": "Hi,\n\nIt seems like there are some instances where xloginsert.h is included\nright after xlog.h but xlog.h has already included xloginsert.h.\nUnless I'm missing something badly, we can safely remove including\nxloginsert.h after xlog.h. Attempting to post a patch to remove the\nextra xlogin... |
[
{
"msg_contents": "Hi,\n\nWhile working on another pg_control patch, I observed that the\npg_controldata output fields such as \"Latest checkpoint's\nTimeLineID:\", \"Latest checkpoint's NextOID:'' and so on, are being\nused in pg_resetwal.c, pg_controldata.c and pg_upgrade/controldata.c.\nDirect usage of these... |
[
{
"msg_contents": "Hey!\n\nI was investigating a leak reported in the PostGIS issues tracker [1] which\nled me to the Postgres side where the problem really is. The leak is\nreproducible with query from original ticket [1]:\n\nWITH latitudes AS (\n\tSELECT generate_series AS latitude\n\tFROM generate_series(-90... |
[
{
"msg_contents": "Speaking of buildfarm breakage, seawasp has been failing for the\npast several days. It looks like bleeding-edge LLVM has again\nchanged some APIs we depend on. First failure is here:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=seawasp&dt=2022-01-28%2000%3A17%3A48\n\n\t\t\tre... |
[
{
"msg_contents": "Hello, \n\nI made a wiki page to describe a research on scale-out solutions\nand an interview on scale-out solutions to a few IT companies in\nJapan. \nhttps://wiki.postgresql.org/wiki/PGECons_CR_Scaleout_2021\n\nThis research and interview were conducted by the community\nrelation team of Po... |
[
{
"msg_contents": "Hi,\n\nI think emitting DBState (staring up, shut down, shut down in\nrecovery, shutting down, in crash recovery, in archive recovery, in\nproduction) via the pg_control_system function would help know the\ndatabase state, especially during PITR/archive recovery. During\narchive recovery, the... |
[
{
"msg_contents": "I got a syntax error when using the command according to the existing\ndocumentation. The output_plugin parameter needs to be passed too.\n\n-- \nAntonin Houska\nWeb: https://www.cybertec-postgresql.com",
"msg_date": "Tue, 01 Feb 2022 11:16:48 +0100",
"msg_from": "Antonin Houska <ah@c... |
[
{
"msg_contents": "Hi,\n\nI noticed a minor memleak in pg_dump. ReadStr() returns a malloc'ed pointer which\nshould then be freed. While reading the Table of Contents, it was called as an argument\nwithin a function call, leading to a memleak.\n\nPlease accept the attached as a proposed fix.\n\nCheers,\n\n//Geo... |
[
{
"msg_contents": "This patch adds to database objects the same version tracking that \ncollation objects have. There is a new pg_database column \ndatcollversion that stores the version, a new function \npg_database_collation_actual_version() to get the version from the \noperating system, and a new subcomman... |
[
{
"msg_contents": "I chased down the failure that kittiwake has been showing since\n02b8048ba [1]. It's not hard to reproduce if you have an older\nDebian release and you build --with-libedit-preferred.\nManual experimentation shows that when these versions of libedit\ncomplete a string containing double quote... |
[
{
"msg_contents": "Hi,\n\nThis patch adds a new option (-J num, --jobs-per-disk=num) in \npg_upgrade to speed up copy mode. This generates upto ${num} \nprocesses per tablespace to copy segments of the same relfilenode \nin parallel.\n\nThis can help when you have many multi gigabyte tables (each segment \nis 1... |
[
{
"msg_contents": "I noticed $subject while looking at something involving SubLinks and\nSubPlans. It seems eab6b8b27eb removed the \"plan\" field from the\nSubPlan node struct definition, but the following line from\nexpression_tree_mutator():\n\n /* but not the sub-Plan itself, which is refere... |
[
{
"msg_contents": "As part of the NSS patchset (and Secure Transport before that), I had to\nrefactor the SSL tests to handle different SSL libraries. The current tests\nand test module is quite tied to how OpenSSL works wrt setting up the server,\nthe attached refactors this and abstracts the OpenSSL specific... |
[
{
"msg_contents": "As part of the NSS patchset, quite a few bugs (and NSS quirks) were found by\ninspecting STDERR in connect_ok and require it to be empty. This is not really\nNSS specific, and could help find issues in other libraries as well so I\npropose to apply it regardless of the fate of the NSS patchs... |
[
{
"msg_contents": "Hi,\n\nHere are some improvements we can make to pg_receivewal that were\nemanated after working with it in production environments:\n\n1) As a user, I, sometimes, want my pg_receivewal to start streaming\nfrom the LSN that I provide as an input i.e. startpos instead of it\ncalculating the st... |
[
{
"msg_contents": "Hi,\n\nOn windows cfbot currently regularly hangs / times out. Presumably this is due\nto the issues discussed in https://postgr.es/m/CA%2BhUKG%2BG5DUNJfdE-qusq5pcj6omYTuWmmFuxCvs%3Dq1jNjkKKA%40mail.gmail.com\nwhich lead to reverting [1] some networking related changes everywhere but\nmaster.... |
[
{
"msg_contents": "The Postgres community is great at diagnosing problems and giving users\nfeedback. In most cases, we can either diagnose a problem and give a\nfix, or at least give users a hint at finding the cause.\n\nHowever, there is a class of problems that are very hard to help with,\nand I have perhap... |
[
{
"msg_contents": "Hi,\n\nI'm following up from Jim's POC for adding MODULE to PostgreSQL. [1]\n\nMy proposal implements modules as schema objects to be stored in a new\nsystem catalog pg_module with new syntax for CREATE [OR REPLACE] MODULE,\nALTER MODULE, DROP MODULE and for GRANT and REVOKE for privileges on... |
[
{
"msg_contents": "Hi hackers,\n\nUnlike xid, xid8 increases monotonically and cannot be reused.\nThis trait makes it possible to support min() and max() aggregate \nfunctions for xid8.\nI thought they would be useful for monitoring.\n\nSo I made a patch for this.\n\nBest wishes,\n\n-- \nKen Kato\nAdvanced Comp... |
[
{
"msg_contents": "Hello,\n\nI found a old parameter name 'heapRelation' in the comment\nof CheckIndexCompatible. This parameter was removed by 5f173040.\n\nAttached is a patch to remove it from the comment.\n\nRegards,\nYugo Nagata\n\n-- \nYugo NAGATA <nagata@sraoss.co.jp>",
"msg_date": "Fri, 4 Feb 2022 01... |
[
{
"msg_contents": "VACUUM's first pass over the heap is implemented by a function called\nlazy_scan_heap(), while the second pass is implemented by a function\ncalled lazy_vacuum_heap_rel(). This seems to imply that the first pass\nis primarily an examination of what is present, while the second pass\ndoes the ... |
[
{
"msg_contents": "Hi All,\npg_walfile_name() returns the WAL file name corresponding to the given\nWAL location. Per\nhttps://www.postgresql.org/docs/14/functions-admin.html\n---\npg_walfile_name ( lsn pg_lsn ) → text\n\nConverts a write-ahead log location to the name of the WAL file\nholding that location.\n-... |
[
{
"msg_contents": "Hi,\n\nI've been doing some experiments with compilers, and I've noticed that \nwhen using clang configure still ends up setting\n\nGCC='yes'\n\nwhich seems somewhat strange. FWIW I've noticed because when building \nwith \"-Ofast\" (yeah, I'm just playing with stuff) it fails like this:\n\nc... |
[
{
"msg_contents": "I've pushed the first draft for $SUBJECT at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ab22eea83169c8d0eb15050ce61cbe3d7dae4de6\n\nPlease send comments/corrections by Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Fri, 04 Feb 2022 14:58:59 -0500",
"... |
[
{
"msg_contents": "Hi,\n\nIt looks to me as if the transforms feature for PLs was added in\ncac7658, and support was added to plperl and plpython at that time,\nwith documentation added for CREATE FUNCTION, CREATE/DROP TRANSFORM,\nand the catalogs, but nothing was added at that time to plhandler.sgml\nto clarif... |
[
{
"msg_contents": "Significant changes:\n\n * don't run TestUpgrade if TAP tests are present in |src/bin/pg_upgrade|\n * Add proposed new location of |pg_upgrade| logs in TestUpgrade module\n * Use an HMAC over the whole content as the signature.\n * Quote |PROVE_FLAGS |in case there are multiple settings\n... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is a draft for the release announcement for the 2022-02-10 \r\ncumulative update release.\r\n\r\nPlease review for technical accuracy or if you believe any items should \r\nbe added/removed. Please provide feedback no later than 2020-02-10 0:00 \r\nAoE[1].\r\n\r\nThanks,\r... |
[
{
"msg_contents": "*Postgres version:* 11.4\n\n*Problem:*\n Query choosing Bad Index Path. Details are provided below:\n\n\n*Table :*\n\n\n\n\n\n\n*Doubt*\n 1. Why is this Query choosing *Index Scan Backward using table1_pkey\nIndex *though it's cost is high. It can rather choose\n BITMAP OR\n ... |
[
{
"msg_contents": "Hi,\n\nWhile working on pg_replslotdata tool [1], it was observed that some\nof the replication slot structures/enums/macros such as\nReplicationSlotPersistentData, ReplicationSlotPersistency,\nReplicationSlotOnDisk, ReplicationSlotOnDiskXXXX etc. are currently in\nreplication/slot.h and repl... |
[
{
"msg_contents": "Hi!\n\nA couple of years ago I was working on PostgreSQL\nfeatures and extensions. Some of them was in ECPG,\nmainly in the area of improving Informix compatibility.\n\nOne of the patchsets I invented was the cursor readahead\nsupport to improve performance in ECPG which used FETCH N.\nThis w... |
[
{
"msg_contents": "I noticed that in pgstatfuncs.c, the AF_UNIX macro is being used \nunprotected by HAVE_UNIX_SOCKETS, apparently since 2008. So I think the \nredirection through IS_AF_UNIX() is no longer necessary. (More \ngenerally, all supported platforms are now HAVE_UNIX_SOCKETS, but even \nif there wer... |
[
{
"msg_contents": "When reverse-compiling a query, ruleutils.c has some complicated code to \nhandle the join output columns of a JOIN USING join. There used to be \nno way to qualify those columns, and so if there was a naming conflict \nanywhere in the query, those output columns had to be renamed to be \nun... |
[
{
"msg_contents": "Hello,\n\nI noticed that referential integrity checks aren't currently \nparallelized. Is it on purpose?\n\n From the documentation [1], the planner will not generate a parallel \nplan for a given query if any of the following are true:\n\n1) The system is running in single-user mode.\n2) max... |
[
{
"msg_contents": "Unless I'm misreading this code I think the nevents in\nWaitLatchOrSocket should really be 4 not 3. At least there are 4 calls\nto AddWaitEventToSet in it and I think it's possible to trigger all 4.\n\nI guess it's based on knowing that nobody would actually set\nWL_EXIT_ON_PM_DEATH and WL_PO... |
[
{
"msg_contents": "Hi,\n\nDuring the last commit fest, some new contributors mentioned me that they were\nhaving trouble to find patch to review.\n\nAnd indeed, the commit fest app doesn't provide any kind of information about\nthe patch difficulty (which is different from the patch size, so you can't even\ntry... |
[
{
"msg_contents": "Hi all,\n(Added Bruce and Julien in CC)\n\nWhile testing installcheck with various server configurations to see\nhow the main regression test suites could break, I found that loading\npg_stat_statements into the backend is enough to break installcheck\nas compute_query_id = auto, the default,... |
[
{
"msg_contents": "Hi! my name is Mario Mercado. I'm from California western pacific time. I\nwould like to participate in your projects. I'm a software developer from\nCalifornia.\n\nHi! my name is Mario Mercado. I'm from California western pacific time. I would like to participate in your projects. I'm a soft... |
[
{
"msg_contents": "Hello,\n\nI was wondering if pg_restore should call VACUUM ANALYZE for all tables, \nafter the \"COPY\" stage, and before the \"post-data\" stage.\n\nIndeed, without such a VACUUM, the visibility map isn't available. \nDepending on the size of the tables and on the configuration, a foreign \n... |
[
{
"msg_contents": "Here I'm starting a new thread to discuss a topic that's related to the\nTransparent Data Encryption (TDE), but could be useful even without that. The\nproblem has been addressed somehow in the Cybertec TDE fork, and I can post\nthe code here if it helps. However, after reading [1] (and the ... |
[
{
"msg_contents": "I had to do some analysis on the \"sanity\" tests in the regression test \nsuite (opr_sanity, type_sanity) recently, and I found some of the \nqueries very confusing. One main stumbling block is that for some \nprobably ancient reason many of the older queries are written with \ncorrelation ... |
[
{
"msg_contents": "Hi,\n\nCommit 0ba281cb4bf9f5f65529dfa4c8282abb734dd454 added a new syntax for\nthe BASE_BACKUP command, and commit\ncc333f32336f5146b75190f57ef587dff225f565 added a new COPY subprotocol\nfor taking base backups. In both cases, I preserved backward\ncompatibility. However, nothing in PostgreSQ... |
[
{
"msg_contents": "Add TAP test to automate the equivalent of check_guc\n\nsrc/backend/utils/misc/check_guc is a script that cross-checks the\nconsistency of the GUCs with postgresql.conf.sample, making sure that\nits format is in line with what guc.c has. It has never been run\nautomatically, and has rotten o... |
[
{
"msg_contents": "Hi,\n\nI just noticed that e2c52beecd (adding PeterE in Cc) added a resetPQExpBuffer()\nwhich seems unnecessary since the variable is untouched since the initial\ncreatePQExpBuffer().\n\nSimple patch attached.",
"msg_date": "Wed, 9 Feb 2022 10:50:07 +0800",
"msg_from": "Julien Rouhaud... |
[
{
"msg_contents": "Hi,\n\nI think this change can improve this particular function by avoiding\ntouching value if not needed.\nTest if not isnull is cheaper than test TupleDescAttr is -1.\n\nbest regards,\n\nRanier Vilela",
"msg_date": "Wed, 9 Feb 2022 07:56:35 -0300",
"msg_from": "Ranier Vilela <ranier... |
[
{
"msg_contents": "Hi,\n\nCommit\nhttps://github.com/postgres/postgres/commit/1eb6d6527aae264b3e0b9c95aa70bb7a594ad1cf,\nmodified\ndata struct TwoPhaseFileHeader and added two new fields:\n\nXLogRecPtr origin_lsn; /* lsn of this record at origin node */\nTimestampTz origin_timestamp; /* time of prepare at origi... |
[
{
"msg_contents": "Hi.\n\nI've looked at patches, introducing CREATE INDEX CONCURRENTLY for \npartitioned tables - \nhttps://www.postgresql.org/message-id/flat/20210226182019.GU20769%40telsasoft.com#da169a0a518bf8121604437d9ab053b3 \n.\nThe thread didn't have any activity for a year.\n\nI've rebased patches and... |
[
{
"msg_contents": "Whether or not to explicitly plan the number of TAP tests per suite has been\ndiscussed a number of times on this list, often as a side-note in an unrelated\nthread which adds/modifies a test. The concensus has so far weighed towards\nnot doing manual bookkeeping of test plans but to let Tes... |
[
{
"msg_contents": "Spotted a typo when reading the new archive modules documentation, will apply\nthe attached shortly to fix.\n\n--\nDaniel Gustafsson\t\thttps://vmware.com/",
"msg_date": "Wed, 9 Feb 2022 15:04:34 +0100",
"msg_from": "Daniel Gustafsson <daniel@yesql.se>",
"msg_from_op": true,
"... |
[
{
"msg_contents": "Respected Sir/Ma'am,\nI am Annada Dash, a computer science undergraduate, currently about to\nfinish the first semester of University (MKSSS Cummins College of\nEngineering for Women, Pune). I am new to open source contributions but I\nam well aware of python, C and R. I would love to contrib... |
[
{
"msg_contents": ">No, but I was distracted by other things leaving this on the TODO list.\nIt's\n\n>been pushed now.\n\nHi,\n\nIMO I think that still have troubles here.\n\nReadStr can return NULL, so the fix can crash.\n\nregards,\n\nRanier Vilela",
"msg_date": "Wed, 9 Feb 2022 14:48:35 -0300",
"msg_... |
[
{
"msg_contents": "Hi,\n\nI was working on rebasing the AIO branch. Tests started to fail after, but it\nturns out that the problem exists independent of AIO.\n\nThe problem starts with\n\ncommit aa01051418f10afbdfa781b8dc109615ca785ff9\nAuthor: Robert Haas <rhaas@postgresql.org>\nDate: 2022-01-24 14:23:15 -0... |
[
{
"msg_contents": "Hi,\n\nI noticed that during ParallelWorkerMain()->RestoreGUCState() we perform\ncatalog accesses with GUCs being set to wrong values, specifically values that\naren't what's in postgresql.conf, and that haven't been set in the leader.\n\nThe reason for this is that\n\n1) RestoreGUCState() is... |
[
{
"msg_contents": "Hi hackers.\n\nThere appears to be some unreachable code in the relcache function\nGetRelationPublicationActions.\n\nWhen the 'relation->rd_pubactions' is not NULL then the function\nunconditionally returns early (near the top).\n\nTherefore, the following code (near the bottom) seems to have... |
[
{
"msg_contents": "Hi,\n\nI just noticed somewhat new code in LockBufferForCleanup(), added in\n\ncommit 39b03690b529935a3c33024ee68f08e2d347cf4f\nAuthor: Fujii Masao <fujii@postgresql.org>\nDate: 2021-01-13 22:59:17 +0900\n \n Log long wait time on recovery conflict when it's resolved.\n\ncommit 64638ccba... |
[
{
"msg_contents": "Hi,\n\nI think we can use the return value of XLogRecGetBlockTag instead of\nan explicit check XLogRecHasBlockRef as the XLogRecGetBlockTag would\nanyways return false in such a case. Also, in some places the macros\nXLogRecHasBlockRef and XLogRecHasBlockImage aren't being used instead\nthe c... |
[
{
"msg_contents": "Hi,\n\nIt seems like 'IN' isn't used for description of a function input\nparameter in the docs unlike 'OUT'. AFAICS this is consistent across\nthe docs except the function pg_freespace. Attaching a tiny patch to\nremove 'IN' there.\n\nThoughts?\n\nRegards,\nBharath Rupireddy.",
"msg_date... |
[
{
"msg_contents": "Hi,\n\nGiven that CheckpointWriteDelay() is really a hot code path i.e. gets\ncalled for every dirty buffer written to disk, here's an opportunity\nfor us to improve it by avoiding some function calls.\n\nFirstly, the AmCheckpointerProcess() macro check can be placed outside\nof the Checkpoin... |
[
{
"msg_contents": "The provided link\n https://www.postgresql.org/docs/release/\n\nleads to\n https://www.postgresql.org/docs/release/14.2/\n\nwhich gives 'Not Found' for me (Netherlands)\n\n\nAt least one person on IRC reports it 'works' for them but it seems \nthere still something wrong..\n\n\nErik Rijke... |
[
{
"msg_contents": "Hi hackers,\n\nPostgres first records state transaction in CLOG, then removes \ntransaction from procarray and finally releases locks.\nBut it can happen that transaction is marked as committed in CLOG, \nXMAX_COMMITTED bit is set in modified tuple but\nTransactionIdIsInProgress still returns... |
[
{
"msg_contents": "Hi hackers,\n\nI've compiled a list of all* PostgreSQL EXTENSIONs in the world:\n\nhttps://gist.github.com/joelonsql/e5aa27f8cc9bd22b8999b7de8aee9d47\n\n*) It's not all, but 1041, compared to the 338 found on PGXN.\n\nMaybe it would be an idea to provide a lightweight solution,\ne.g. maintain... |
[
{
"msg_contents": "I'd like to suggest a patch for reloption regression tests.\n\nThis patch tests case, that can be rarely met in actual life: when reloptions \nhave some illegal option set (as a result of malfunction or extension \ndowngrade or something), and user tries to remove this option by using RESET.\... |
[
{
"msg_contents": "Hi,\n\nThe problem is that whenever we are going for streaming we always set\nXLogCtl->InstallXLogFileSegmentActive to true, but while switching\nfrom streaming to archive we do not always reset it so it hits\nassertion in some cases. Basically we reset it inside\nXLogShutdownWalRcv() but whi... |
[
{
"msg_contents": "Add suport for server-side LZ4 base backup compression.\n\nLZ4 compression can be a lot faster than gzip compression, so users\nmay prefer it even if the compression ratio is not as good. We will\nwant pg_basebackup to support LZ4 compression and decompression on the\nclient side as well, and... |
[
{
"msg_contents": "Hi,\n\nI was looking over the buildfarm results yesterday and this morning,\nand things seem to be mostly green, but not entirely. 'hippopotamus'\nwas failing yesterday with strange LDAP-related errors, and is now\ncomplaining about pgsql-Git-Dirty, which I assume means that someone\nis doing... |
[
{
"msg_contents": "Hello,\n\nWhen building Postgres using MSVC with Kerberos Version 4.1 and OpenSSL\n1.1.1l (both of them, using only one will raise no errors), I see errors\nlike:\n\n\"C:\\postgres\\pgsql.sln\" (default target) (1) ->\n\"C:\\postgres\\postgres.vcxproj\" (default target) (2) ->\n(ClCompile tar... |
[
{
"msg_contents": "Hello,\n\nIf you execute pg_receivewal.exe with the option \"--compression-method\ngzip\" it will fail with no error. You can see an error in the db log:\n\n2022-02-10 11:46:32.725 CET [11664][walsender] [pg_receivewal][3/0:0] LOG:\ncould not receive data from client: An existing connection w... |
[
{
"msg_contents": "Hi,\n\nhere's a small patch modifying postgres_fdw to use TABLESAMPLE to \ncollect sample when running ANALYZE on a foreign table. Currently the \nsampling happens locally, i.e. we fetch all data from the remote server \nand then pick rows. But that's hugely expensive for large relations \nan... |
[
{
"msg_contents": "At PostGIS we've been thinking of ways to have better support, from\nPostgreSQL proper, to our upgrade strategy, which has always consisted\nin a SINGLE upgrade file good for upgrading from any older version.\n\nThe current lack of such support for EXTENSIONs forced us to install\na lot of fi... |
[
{
"msg_contents": "The attached patch fixes an overflow bug in DecodeInterval when applying\nthe units week, decade, century, and millennium. The overflow check logic\nwas modelled after the overflow check at the beginning of `int\ntm2interval(struct pg_tm *tm, fsec_t fsec, Interval *span);` in timestamp.c.\n\n... |
[
{
"msg_contents": "With yesterday’s release of PostgreSQL 11.15, 12.10, and 13.6 \n(presumably 10.20 and 14.2 as well), Zulip’s test suite started failing \nwith “variable not found in subplan target list” errors from PostgreSQL \non a table that has a PGroonga index. I found the following \nreproduction recip... |
[
{
"msg_contents": "Hi hackers.\n\nI'm attaching a patch that add some new test cases for tab completion of psql.\n\nThis is my first patch that I'm sending here so let me know if I'm doing something wrong.\n\n--\nMatheus Alcantara",
"msg_date": "Sat, 12 Feb 2022 20:17:29 +0000",
"msg_from": "Matheus Alc... |
[
{
"msg_contents": "Is there any check for warnings from new code, other than those buildfarm\nmembers with -Werror ?\n\nIt'd be better to avoid warnings, allowing members to use -Werror, rather than\nto allow/ignore warnings, which preclude that possibility. A circular problem.\n\nI checked for warnings on mas... |
[
{
"msg_contents": "Hi,\n\nI don't know what happened here, but I my little script that scrapes\nfor build farm assertion failures hasn't seen this one before now.\nIt's on a 15 year old macOS release and compiled with 15 year old GCC\nversion, for some added mystery.\n\nhttps://buildfarm.postgresql.org/cgi-bin/... |
[
{
"msg_contents": "Hi,\n\nThis thread started at https://www.postgresql.org/message-id/20220213021746.GM31460%40telsasoft.com\nbut is mostly independent, so I split the thread off\n\nOn 2022-02-12 20:17:46 -0600, Justin Pryzby wrote:\n> On Sat, Feb 12, 2022 at 06:00:44PM -0800, Andres Freund wrote:\n> > I bet u... |
[
{
"msg_contents": "Hi,\n\nIn the code comments, it is being used as \"Startup process\" in the\nmiddle of the sentences whereas in most of the places \"startup\nprocess\" is used. Also, \"WAL Sender\" is being used instead of \"WAL\nsender\". Let's be consistent across the docs and code comments.\n\nAttaching a... |
[
{
"msg_contents": "I mentioned this issue briefly in another thread, but the\njustify_interval, justify_days, and justify_hours functions\nall have the potential to overflow. The attached patch fixes\nthis issue.\n\nCheers,\nJoe Koshakow",
"msg_date": "Sun, 13 Feb 2022 13:28:38 -0500",
"msg_from": "Jose... |
[
{
"msg_contents": "Hi,\n\nSometime last year I was surprised to see (not on a public list unfortunately)\nthat bookindex.html is 657kB, with > 200kB just being repetitions of\nxmlns=\"http://www.w3.org/1999/xhtml\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n\nReminded of this, due to a proposal to automatica... |
[
{
"msg_contents": "Hi,\n\nCommit\nhttps://github.com/postgres/postgres/commit/6d554e3fcd6fb8be2dbcbd3521e2947ed7a552cb\n\nhas fixed the bug, but still has room for improvement.\n\nWhy open and lock the table Extended Statistics if it is not the owner.\nCheck and return to avoid this.\n\ntrivial patch attached.\... |
[
{
"msg_contents": "Hi!\n\nI'd like to introduce a patch that reworks options processing. \n\nThis patch detaches code for options processing and validating from the code \nthat uses these options. This will allow to reuse same code in any part of \npostgres that may need options. Currently there are three ways ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.