threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nWe found that if we provide *--enable-tap-tests * switch at the time of PG\nsources configuration, getting this below error\n\"\nchecking for Perl modules required for TAP tests... Can't locate IPC/Run.pm\nin @INC (you may need to install the IPC::Run module) (@INC contains:\n/usr/lib...
[ { "msg_contents": "Hi -hackers,\n\nI've spent some time fighting against \"out of memory\" errors coming\nout of psql when trying to use the cursor via FETCH_COUNT. It might be\na not so well known fact (?) that CTEs are not executed with cursor\nwhen asked to do so, but instead silently executed with potential...
[ { "msg_contents": "Hello Hackers,\n\nThe attached patch adds pl/pgsql versions of \"tpcb-like\" and\n\"simple-update\" internal test scripts\n\nThe tests perform functionally exactly the same, but are generally\nfaster as they avoid most client-server latency.\n\nThe reason I'd like to have them as part of pgbe...
[ { "msg_contents": "Hi !\nI discovered an interesting behavior in PostgreSQL bulk update query using\n`from (values %s)` syntax.\n\nLet's see an example;\n```\nupdate persons p\nset age = t.age\nfrom (\n values\n ('uuid1', null),\n ('uuid2', null)\n) as t(id, age)\nwhere p.id = t.id;\n```\nThe ...
[ { "msg_contents": "Hi,\n\nWhile I was running some isolation tests for MERGE, I noticed one issue\nwhen MERGE tries to UPDATE rows that are concurrently updated by another\nsession.\n\nBelow is the test case for the same.\n\n\n==================== TEST CASE START =============================\n\n\n DROP TABLE t...
[ { "msg_contents": "Hi.\n\nI changed the src/test/regress/sql/interval.sql, How can I generate the new\nsrc/test/regress/expected/interval.out file.\n\nHi.I changed the src/test/regress/sql/interval.sql, How can I generate the new src/test/regress/expected/interval.out file.", "msg_date": "Thu, 5 Jan 2023 16...
[ { "msg_contents": "Hello, hackers.\n\nIt seems like PG 14 works incorrectly with vacuum_defer_cleanup_age\n(or just not cleared rows, not sure) and SELECT FOR UPDATE + UPDATE.\nI am not certain, but hot_standby_feedback probably able to cause the\nsame issues.\n\nSteps to reproduce:\n\n1) Start Postgres like th...
[ { "msg_contents": "Hi hackers,\n\nPlease find attached a patch proposal to $SUBJECT.\n\nThis is the same kind of work that has been done in 83a1a1b566 and 8018ffbf58 but this time for the\npg_stat_get_xact*() functions (as suggested by Andres in [1]).\n\nThe function names remain the same, but some fields have ...
[ { "msg_contents": "Hi Team,\n\nIn order to restore dumped extended statistics (stxdndistinct, stxddependencies, stxdmcv) we need to provide input functions to parse pg_distinct/pg_dependency/pg_mcv_list strings.\n\nToday we get the ERROR \"cannot accept a value of type pg_ndistinct/pg_dependencies/pg_mcv_list\"...
[ { "msg_contents": "This does not seem good:\n\nregression=# create table pp (a int, b int) partition by range(a);\nCREATE TABLE\nregression=# create table cc (a int generated always as (b+1) stored, b int);\nCREATE TABLE\nregression=# alter table pp attach partition cc for values from ('1') to ('10'); \nALTER T...
[ { "msg_contents": "57faaf376 added pg_truncate(const char *path, off_t length), but\n\"length\" is ignored under WIN32 and the file is unconditionally\ntruncated to 0.\n\nThere's no live bug, since the only caller passes 0:\n\n| src/backend/storage/smgr/md.c: ret = pg_truncate(path, 0);\n\nBut I guess extensio...
[ { "msg_contents": "Hi,\n\nWhen developing another feature, I find an existing bug which was reported from Dilip[1].\n\nCurrently, it's possible that we only send a streaming block without sending a\nend of stream message(stream abort) when decoding and streaming a transaction\nthat was aborted due to crash beca...
[ { "msg_contents": "Hi all,\n\nI've attached the simple patch to add the progress reporting option to\npg_verifybackup. The progress information is displayed with --progress\noption only during the checksum verification, which is the most time\nconsuming task. It cannot be used together with --quiet option.\n\nF...
[ { "msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/15/ddl-partitioning.html\nDescription:\n\nLink:\nhttps://www.postgresql.org/docs/current/ddl-partitioning.html#DDL-PARTITIONING-DECLARATIVE\r\n\r\n\"Using ONLY to add or drop a constra...
[ { "msg_contents": "Can we change 'convey' to 'confer' in these recent doc changes?\n\nMaybe 'convey a privilege' isn't exactly wrong but it leaves you \nwondering what exactly is meant.\n\nThanks,\n\nErik", "msg_date": "Fri, 6 Jan 2023 10:24:06 +0100", "msg_from": "Erik Rijkers <er@xs4all.nl>", "msg...
[ { "msg_contents": "Hi hackers,\n\nPlease find attached a patch to $SUBJECT.\n\nThe wrong comments have been discovered by Robert in [1].\n\nSubmitting this here as a separate thread so it does not get lost in the logical decoding\non standby thread.\n\n[1]: https://www.postgresql.org/message-id/CA%2BTgmoYTTsxP8...
[ { "msg_contents": "Hello,\n\nOne of our customers has an issue with partitions and foreign keys. He\nworks on a v13, but the issue is also present on v15.\n\nI attach a SQL script showing the issue, and the results on 13.7, 13.9, and\n15.1. But I'll explain the script here, and its behaviour on 13.9.\n\nThere i...
[ { "msg_contents": "Hello,\n\nwe have the great fuzzy string match, that comes up with suggestions in the case of a typo of a column name.\n\nSince underscores are the de facto standard of separating words, it would also make sense to also generate suggestions, if the order of words gets mixed up. Example: If th...
[ { "msg_contents": "Dear all\n\nMobilityDB (https://github.com/MobilityDB/MobilityDB) defines at the C\nlevel four template types: Set, Span, SpanSet, and Temporal. The type Set\nis akin to PostgreSQL's ArrayType restricted to one dimension, but enforces\nthe constraint that sets do not have duplicates, the type...
[ { "msg_contents": "While working on the regression tests added in a14a58329, I noticed\nthat DISTINCT does not make use of Incremental Sort. It'll only ever\ndo full sorts on the cheapest input path or make use of a path that's\nalready got the required pathkeys. Also, I see that\ncreate_final_distinct_paths(...
[ { "msg_contents": "Hi,\n\nwhile looking at fixing [1], I again came across the fact that we don't\ninitialize the projection etc during ExecInitWorkTableScan(), but do so during\nthe first call to ExecWorkTableScan().\n\nThis is explained with the following comment:\n\n\t/*\n\t * On the first call, find the anc...
[ { "msg_contents": "thorntail failed some recovery tests in 2022-10:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=thorntail&dt=2022-11-02%2004%3A25%3A43\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=thorntail&dt=2022-10-31%2013%3A32%3A42\nhttps://buildfarm.postgresql.org/cgi-bin/show_log...
[ { "msg_contents": "I've been thinking about adding RETURNING support to MERGE in order to\nlet the user see what changed.\n\nI considered allowing a separate RETURNING list at the end of each\naction, but rapidly dismissed that idea. Firstly, it introduces\nshift/reduce conflicts to the grammar. These can be re...
[ { "msg_contents": "In-Reply-To: <20220327205020.GM28503@telsasoft.com>\n\nOn Sun, Mar 27, 2022 at 03:50:20PM -0500, Justin Pryzby wrote:\n> Here's a patch for zstd --long mode.\n\nRebased. I'll add this to the CF.", "msg_date": "Sun, 8 Jan 2023 14:27:37 -0600", "msg_from": "Justin Pryzby <pryzby@telsas...
[ { "msg_contents": "Hi,\n\nA recent commit [1] added --save-fullpage option to pg_waldump to\nextract full page images (FPI) from WAL records and save them into\nfiles (one file per FPI) under a specified directory. While it added\ntests to check the LSN from the FPI file name and the FPI file\ncontents, it miss...
[ { "msg_contents": "\nHi,\n\nCommit 216a784829 change the src/backend/replication/logical/worker.c file mode\nfrom 0644 to 0755, which is unwanted, right?\n\n[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=216a784829c2c5f03ab0c43e009126cbb819e9b2\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Info...
[ { "msg_contents": "Hi hackers,\n\nI noticed that there is a problem about system view pg_publication_tables when\nlooking into [1]. The column \"attnames\" contains generated columns when no\ncolumn list is specified, but generated columns shouldn't be included because\nthey are not replicated (see send_relatio...
[ { "msg_contents": "Over at [1] I speculated that it might be a good idea to allow\n+grouprole type user names in pg_ident.conf. The use case I have in mind\nis where the user authenticates to pgbouncer and then pgbouncer connects\nas the user using a client certificate. Without this mechanism that\nmeans that y...
[ { "msg_contents": "Hi,\n\nPostgres verifies consistency of FPI from WAL record with the replayed\npage during recovery in verifyBackupPageConsistency() when either\nwal_consistency_checking for the resource manager is enabled or a WAL\nrecord with XLR_CHECK_CONSISTENCY flag is inserted. While doing so, it\nuses...
[ { "msg_contents": "When you include one role in another, you can specify three options:\nADMIN, INHERIT (added in e3ce2de0) and SET (3d14e171).\n\nFor example.\n\nCREATE ROLE alice LOGIN;\n\nGRANT pg_read_all_settings TO alice WITH ADMIN TRUE, INHERIT TRUE, SET TRUE;\nGRANT pg_stat_scan_tables TO alice WITH ADM...
[ { "msg_contents": "Doc: add XML ID attributes to <sectN> and <varlistentry> tags.\n\nThis doesn't have any external effect at the moment, but it\nwill allow adding useful link-discoverability features later.\n\nBrar Piening, reviewed by Karl Pinc.\n\nDiscussion: https://postgr.es/m/CAB8KJ=jpuQU9QJe4+RgWENrK5g9j...
[ { "msg_contents": "Hi,\n\nA couple times when investigating data corruption issues, the last time just\nyesterday in [1], I needed to see the offsets affected by PRUNE and VACUUM\nrecords. As that's probably not just me, I think we should make that change\nin-tree.\n\nThe attached patch adds details to XLOG_HEA...
[ { "msg_contents": "Hi all,\n\nThe problem mentioned in $subject has been discussed here:\nhttps://www.postgresql.org/message-id/DM5PR0501MB38800D9E4605BCA72DD35557CCE10@DM5PR0501MB3880.namprd05.prod.outlook.com\n\nThs issue has been fixed by 947789f, without a backpatch to v12 (as\nper 96cdeae) as the risk seem...
[ { "msg_contents": "Hi hackers,\n\nWhile working on [1], I noticed that xl_hash_vacuum_one_page.ntuples is an int.\n\nUnless I'm missing something, It seems to me that it would make more sense to use an uint16 (like this is done for\ngistxlogDelete.ntodelete for example).\n\nPlease find attached a patch proposal...
[ { "msg_contents": "While reviewing [1], I visited other places where sorting is needed, and\nhave some findings.\n\nIn add_paths_with_pathkeys_for_rel, we do not try incremental sort atop\nof the epq_path, which I think we can do. I'm not sure how useful this\nis in real world since the epq_path is used only f...
[ { "msg_contents": "Hi,\n\nI propose using windows VMs instead of containers, the patch is \nattached. Currently, windows containers are used on the CI, but these \ncontainer images are needs to get pulled on every CI run, also they are \nslow to run.\n\nThese VM images are created in the same way how container ...
[ { "msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/15/index.html\nDescription:\n\nhttps://www.postgresql.org/docs/devel/storage-toast.html - This is the\ndevelopment version.\r\n\r\n> PLAIN prevents either compression or out-of-line st...
[ { "msg_contents": "This question is about ClockSweepTick function and the code is below.\nhttps://github.com/postgres/postgres/blob/24d2b2680a8d0e01b30ce8a41c4eb3b47aca5031/src/backend/storage/buffer/freelist.c#L146-L165\n\n The value of expected, NBuffers, wrapped variable is fixed in the while\nloop, so that ...
[ { "msg_contents": "Hi,\nI was reading src/backend/replication/logical/applyparallelworker.c .\nIn `pa_allocate_worker`, when pa_launch_parallel_worker returns NULL, I\nthink the `ParallelApplyTxnHash` should be released.\n\nPlease see the patch.\n\nThanks\n\nHi,I was reading src/backend/replication/logical/appl...
[ { "msg_contents": "Add new GUC createrole_self_grant.\n\nCan be set to the empty string, or to either or both of \"set\" or\n\"inherit\". If set to a non-empty value, a non-superuser who creates\na role (necessarily by relying up the CREATEROLE privilege) will\ngrant that role back to themselves with the specif...
[ { "msg_contents": "Hi Hackers,\n\nvacuum is not able to clean up dead tuples when OldestXmin is not moving\n(because of a long running transaction or when hot_standby_feedback is\nbehind). Even though OldestXmin is not moved from the last time it checked,\nit keeps retrying every autovacuum_naptime and wastes C...
[ { "msg_contents": "Is it desirable to support specifying a level ?\n\nMaybe there's a concern about using high compression levels, but \nI'll start by asking if the feature is wanted at all.\n\nPrevious discussion at: 20210614012412.GA31772@telsasoft.com", "msg_date": "Tue, 10 Jan 2023 17:26:34 -0600", ...
[ { "msg_contents": "Hi all,\n\nI've been talking to other Timescale devs about a requested change to\npg_dump, and there's been quite a bit of back-and-forth to figure out\nwhat, exactly, we want. Any mistakes here are mine, but I think we've\nbeen able to distill it down to the following request:\n\nWe'd like t...
[ { "msg_contents": "I discussed this a bit in a different thread [0], but I thought it deserved\nits own thread.\n\nAfter setting wal_retrieve_retry_interval to 1ms in the tests, I noticed\nthat the recovery tests consistently take much longer. Upon further\ninspection, it looks like a similar race condition to...
[ { "msg_contents": "Hi,\n\nI realized that in CreateDecodingContext() function, we update both\nslot->data.two_phase and two_phase_at without acquiring the spinlock:\n\n /* Mark slot to allow two_phase decoding if not already marked */\n if (ctx->twophase && !slot->data.two_phase)\n {\n slot->dat...
[ { "msg_contents": "I discussed this elsewhere [0], but I thought it deserved its own thread.\n\nAfter setting wal_retrieve_retry_interval to 1ms in the tests, I noticed\nthat some of the archiving tests began consistently failing on Windows. I\nbelieve the problem is that WaitForWALToBecomeAvailable() depends ...
[ { "msg_contents": "> The confusion that 0001 is addressing is fair (cough, fc579e1, cough),\n> still I am wondering whether we could do a bit better to be more\n\nYeah, even after 0001 it's definitely suboptimal. I tried to keep the changes\nminimal to not distract from the main purpose of this patch. But I'll ...
[ { "msg_contents": "Hello hackers,\n\nCurrently, the Checkpointer process only reports SLRU statistics at server\nshutdown, leading to delayed statistics for SLRU flushes. This patch adds a\nflush of SLRU stats to the end of checkpoints.\n\nBest regards,\nAnthonin", "msg_date": "Wed, 11 Jan 2023 10:29:06 +01...
[ { "msg_contents": "Hi,\n\nWhen I was reading the \"Logical Decoding Output Plugins\" chapter in pg-doc [1],\nI think in the summary section, only the callback message_cb is not described\nwhether it is required or optional, and the description of callback\nstream_prepare_cb seems inaccurate.\n\nAnd after the su...
[ { "msg_contents": "The current hierarchy of object types is like this:\n\ndatabase\n\taccess method\n\tevent trigger\n\textension\n\tforeign data wrapper\n\tforeign server\n\tlanguage\n\tpublication\n\tschema\n\t\taggregate\n\t\tcollation\n\t\tconversion\n\t\tdomain\n\t\tfunction/procedure\n\t\tindex\n\t\topera...
[ { "msg_contents": "I find \\df+ much less useful than it should be because it tends to be\ncluttered up with source code. Now that we have \\sf, would it be reasonable\nto remove the source code from the \\df+ display? This would make it easier\nto see function permissions and comments. If somebody wants to see...
[ { "msg_contents": "Hi all,\n\n\nI would like to propose a new pg_dump option called --with-child to \ninclude or exclude from a dump all child and partition tables when a \nparent table is specified using option -t/--table or -T/--exclude-table. \nThe whole tree is dumped with the root table.\n\n\nTo include al...
[ { "msg_contents": "Hi,\n\nThe use of the ringbuffer in VACUUM often causes very substantial slowdowns.\n\nThe primary reason for that is that often most/all the buffers in the\nringbuffer have been dirtied when they were processed, with an associated WAL\nrecord. When we then reuse the buffer via the (quite sma...
[ { "msg_contents": "I'm developing a module that implements Haskell as a procedural language (\nhttps://www.postgresql.org/about/news/plhaskell-v10-released-2519/)\n\nI'm using a callback function that is called when a memory context is\ndeleted to remove a temporary file. This works fine when the transaction\ne...
[ { "msg_contents": "Motivation\n==========\n\nSECURITY INVOKER is dangerous, particularly for administrators. There\nare numerous ways to put code in a place that's likely to be executed:\ntriggers, views calling functions, logically-replicated tables, casts,\nsearch path and function resolution tricks, etc. If ...
[ { "msg_contents": "Hi\n\nI need to resend\nhttps://www.postgresql.org/message-id/CALte62yFXQvRrA47unpedfcn%3DGoE_VyvxcKkqj2NUhenK__qgA%40mail.gmail.com\n\nUnfortunately I didn't get any mail.\n\nRegards\n\nPavel\n\nHiI need to resend https://www.postgresql.org/message-id/CALte62yFXQvRrA47unpedfcn%3DGoE_VyvxcKkq...
[ { "msg_contents": "Hi, hackers\n\nSome conditions in shm_toc_insert and shm_toc_allocate are bogus, like:\n\n\tif (toc_bytes + nbytes > total_bytes || toc_bytes + nbytes < toc_bytes)\n\nRemove the condition `toc_bytes + nbytes < toc_bytes` and take a sizeof(shm_entry) into account in shm_toc_allocate though\nsh...
[ { "msg_contents": "Hi,\n\n I'm migrating our existing PG instances from PG11.4 to PG14.3. I\nhave around 5 Million Tables in a single database. When migrating using\npg_upgrade, its taking 3 hours for the process to complete. I'm not sure if\nits the intended behaviour or we're missing something here.\n ...
[ { "msg_contents": "Technically correct name of this feature would be Readable Names for\nOperators, or Pronounceable Names for Operators. But I'd like to call\nit Named Operators.\n\nWith this patch in place, the users can name the operators as\n:some_pronounceable_name: instead of having to choose from the spe...
[ { "msg_contents": "Hi hackers,\n\nPlease find attached a patch to $SUBJECT.\n\nIt is a preliminary patch for [1].\n\nThe main ideas are: 1) to have consistent naming between the pg_stat_get*() functions\nand their associated counters and 2) to define the new macros in [1] the same way as it\nhas been done in 80...
[ { "msg_contents": "Dear all,\n\nI think I've found a problem in logical replication that was introduced \nrecently in the patch:\n\nFix calculation of which GENERATED columns need to be updated\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=3f7836ff651ad710fef52fa87b248ecdfc6468dc\n\nThere is a...
[ { "msg_contents": "Hi,\n\nAs discussed [1], here's a patch to beautify pg_walinspect docs\nsimilar to pageinspect docs. The existing pg_walinspect docs calls out\nthe column names explicitly and then also shows them in the function\nexecution examples which is duplicate and too informative. Also \\x\nisn't used...
[ { "msg_contents": "Hi hackers,\n\nI was running static analyser against PostgreSQL and found there're 2\nreturn statements in PL/Python module which is not safe. Patch is\nattached.\n\n-- \nBest Regards,\nXing", "msg_date": "Thu, 12 Jan 2023 23:19:29 +0800", "msg_from": "Xing Guo <higuoxing@gmail.com>",...
[ { "msg_contents": "What's the distinction between errdetail and errdetail_log in the ereport interface?\n\n", "msg_date": "Thu, 12 Jan 2023 12:28:39 -0800", "msg_from": "Christophe Pettus <xof@thebuild.com>", "msg_from_op": true, "msg_subject": "errdetail vs errdetail_log?" }, { "msg_con...
[ { "msg_contents": "Hi,\n\nWhile working on the postmaster latch stuff, one of the things I\nlooked into, but de-scoped for now, is how the postmaster code would\nlook if it didn't use global variables to track its sockets, children\nand state (ie now that it's no longer necessary for technical\nreasons). Here'...
[ { "msg_contents": "Hi,\n\nThis is a follow-up for commit c94ae9d8. It's in the spirit of other\nrecent changes to remove noise from ancient pre-standard systems.\n\nThe reason we introduced PG_SETMASK() in the first place was to\nsupport one particular system that was very slow to adopt the POSIX\nsignals stuf...
[ { "msg_contents": "Hi,\n\nIn CustomScan cost estimator, where PlannerInfo and RelOptInfo are passed,\nI want to get access to the relation stats (for example pg_stat_all_tables)\nby calling pg_stat_fetch_stat_tabentry(). However, I don't have access to\nrelid to pass to this function. For a sample relation, whe...
[ { "msg_contents": "Hi,\n\nThe commit 7265dbffad7feac6ea9d373828583b5d3d152e07 has added a script\nin src/backend/utils/misc/check_guc that cross-checks the consistency\nof the GUCs with postgresql.conf.sample, making sure that its format\nis in line with what guc.c has. As per the commit message, the\nparameter...
[ { "msg_contents": "Hi,\n\nI noticed one BF failure[1] when monitoring the BF for some other commit.\n\n# Failed test 'authentication success for method password, connstr user=scram_role: log matches'\n# at t/001_password.pl line 120.\n# '2023-01-13 07:33:46.741 EST [243628:5] LOG: receive...
[ { "msg_contents": "Hi,\nI was looking at commit b7ae03953690a1dee455ba3823cc8f71a72cbe1d .\n\nIn `pg_get_publication_tables`, attnums is allocated with size\n`desc->natts`. However, since some columns may be dropped, this size may be\nlarger than necessary.\nWhen `nattnums > 0` is false, there is no need to all...
[ { "msg_contents": "Over at [1] there was some discussion of moving knowledge of what's\nrequired to be fixed from old branch repos to be able to upgrade them\ninto the core code, instead of having it reside in a buildfarm client\nmodule.\n\nHere's a piece of WIP for that, in the form of a perl module that\nprov...
[ { "msg_contents": "This is a followup to the discussion at [1], in which we agreed that\nit's time to fix the buildfarm client so that knowledge about\ncross-version discrepancies in pg_dump output can be moved into\nthe community git tree, making it feasible for people other than\nAndrew to fix problems when w...
[ { "msg_contents": "Hot on the heels of Release 15 comes Release 16.\n\nThis release deals with some issues that have been discovered with the\ncheck for update feature of Release 15 and the |force_every| and\n|trigger_exclude| features, so that it now works correctly with those\nfeatures.\n\nIt also features th...
[ { "msg_contents": "Hi,\n\nBefore scanning a relation, in the planner stage, I want to make a call to\nretrieve information about how many pages will be a hit for a specific\nrelation. The module pg_buffercache seems to be doing a similar thing.\nAlso, pg_statio_all_tables seems to be having that information, bu...
[ { "msg_contents": "There seem to be a small typo in backup.sgml\n(<varname>archive_command</varname> is unnecessarily\nrepeated). Attached is a patch to fix that.\n\nBest reagards,\n--\nTatsuo Ishii\nSRA OSS LLC\nEnglish: http://www.sraoss.co.jp/index_en/\nJapanese:http://www.sraoss.co.jp", "msg_date": "Sat...
[ { "msg_contents": "I've attached a patch for $SUBJECT, which allows us to remove a use of the\nunconstify macro in basic_archive. This is just a pet peeve, but maybe it\nbothers others, too.\n\n-- \nNathan Bossart\nAmazon Web Services: https://aws.amazon.com", "msg_date": "Sat, 14 Jan 2023 15:11:26 -0800",...
[ { "msg_contents": "Without this patch:\n\n$ mkdir 000; chmod 000 ./000\n$ strace -fe open,stat ./tmp_install/usr/local/pgsql/bin/pg_restore -vvv -l ./000\n...\npg_restore: allocating AH for ./000, format 0\npg_restore: attempting to ascertain archive format\nstat(\"./000\", {st_mode=S_IFDIR|000, st_size=4096, ....
[ { "msg_contents": "Hello,\n\nLogical replication sometimes gets stuck with\n ERROR: int2vector has too many elements\n\nI can't find the exact circumstances that cause it but it has something \nto do with many columns (or adding many columns) in combination with \nperhaps generated columns.\n\nThis replicati...
[ { "msg_contents": "Hi, hackers\n\nFound  some functions in dsa.c are not used anymore.\n\ndsa_create\ndsa_attach\ndsa_get_handle\ndsa_trim\ndsa_dump\n\nWe once used dsa_create to create DSA and  it ’s all replaced by dsa_create_in_place since commit 31ae1638ce.\ndsa_attach and dsa_get_handle cooperate with dsa_...
[ { "msg_contents": "This is a test. Please ignore...\n--\nTatsuo Ishii\nSRA OSS LLC\nEnglish: http://www.sraoss.co.jp/index_en/\nJapanese:http://www.sraoss.co.jp\n\n\n", "msg_date": "Mon, 16 Jan 2023 07:35:20 +0900 (JST)", "msg_from": "Tatsuo Ishii <ishii@sraoss.co.jp>", "msg_from_op": true, "msg...
[ { "msg_contents": "Hi,\n\nI find if there are more than one functions in different schemas,\n\nand the functions have the same name and the same arguments,\n\n\\df[+] only display the function that schema earlier appeared in the search_path.\n\nAnd SELECT pg_function_is_visible(funoid) returns f.\n\n\n\nBecause...
[ { "msg_contents": "Hi.\n\nWe've run regress isolation tests on partitioned tables and found \ninteresting VACUUM behavior. I'm not sure, if it's intended.\n\nIn the following example, partitioned tables and regular tables behave \ndifferently:\n\nCREATE TABLE vacuum_tab (a int) PARTITION BY HASH (a);\nCREATE TA...
[ { "msg_contents": "I happened to notice we have the case in memoize.sql that tests for\nmemoize node with LATERAL joins, which is\n\n-- Try with LATERAL joins\nSELECT explain_memoize('\nSELECT COUNT(*),AVG(t2.unique1) FROM tenk1 t1,\nLATERAL (SELECT t2.unique1 FROM tenk1 t2 WHERE t1.twenty = t2.unique1) t2\nWHE...
[ { "msg_contents": "src/tools/darwin_sysroot (previously in src/template/darwin) contains this:\n\n# [...] Using a version-specific sysroot seems\n# desirable, so if the path is a non-version-specific symlink, expand\n# it.\n\nOn my system, the non-version-specific symlink is\n\n/Applications/Xcode.app/Contents/...
[ { "msg_contents": "Hi hackers,\n\nWhile playing with 64-bit XIDs [1] my attention was drawn by the\nfollowing statement in the docs [2]:\n\n\"\"\"\nIf these warnings are ignored, the system will shut down and refuse to\nstart any new transactions once there are fewer than three million\ntransactions left until ...
[ { "msg_contents": "Hi,\n\nAs far as I read the manual below, auto_explain.log_verbose should \nrecord logs equivalent to VERBOSE option of EXPLAIN.\n\n> -- https://www.postgresql.org/docs/devel/auto-explain.html\n> auto_explain.log_verbose controls whether verbose details are printed \n> when an execution plan ...
[ { "msg_contents": "Hi,\n\nnot sure if this is known behavior.\n\nServer version is 14.6 (Debian 14.6-1.pgdg110+1).\n\nIn a PITR setup I have these settings:\n\nrecovery_target_xid = '852381'\nrecovery_target_inclusive = 'false'\n\nIn the log file I see this message:\n\nLOG: recovery stopping before commit of t...
[ { "msg_contents": "Due to cf5eb37c5ee0cc54c80d95c1695d7fca1f7c68cb,\ne5b8a4c098ad6add39626a14475148872cd687e0, and prior commits touching\nrelated code, it should now be possible to consider handing out\nCREATEROLE as a reasonable alternative to handing out SUPERUSER. Prior\nto cf5eb37c5ee0cc54c80d95c1695d7fca1...
[ { "msg_contents": "Hi,\n\nI was trying to extract a commitable piece out of [1]. To be able to judge\nchanges in timing overhead more accurately, I thought it'd be sensible to\nupdate pg_test_timing to report nanoseconds instead of microseconds. Which\nlead to trying to update pg_test_timing's docs [2].\n\nThe ...
[ { "msg_contents": "Hi,\n\nWhile working on some logical replication patch,\nI've find a typo on HEAD.\nAttached the modification patch for this.\n\n\nBest Regards,\n\tTakamichi Osumi", "msg_date": "Tue, 17 Jan 2023 03:00:22 +0000", "msg_from": "\"Takamichi Osumi (Fujitsu)\" <osumi.takamichi@fujitsu.com>...
[ { "msg_contents": "I was wondering why ExecCrossPartitionUpdateForeignKey() has an unused\nargument \"oldslot\" and wanted to suggest its removal. However, before I did,\nit occurred to me that callers may want to pass the whole slot when the\npartition is a foreign table, i.e. when the \"tupleid\" argument can...
[ { "msg_contents": "Hi,\n\nI noticed that commit 5212d447fa updated some comments in multixact.c because\nSLRU truncation for multixacts is performed during VACUUM, instead of\ncheckpoint. Should the following comments which mentioned checkpointer be\nchanged, too?\n\n1.\n* we compute it (using nextMXact if none...
[ { "msg_contents": "Hi hackers,\n\nplease find attached a patch proposal to define $SUBJECT.\n\nThe idea has been raised in [1], where we are adding more calls to wait_for_catchup() in 'replay' mode.\n\nThe current code already has 25 of those, so the proposed patch is defining a new wait_for_replay_catchup() fu...
[ { "msg_contents": "Hi hackers,\n\nThis is a follow-up to [1] and c8ad4d81.\n\n> Additionally Bharath pointed out that there are other pieces of code\n> that we may want to change in a similar fashion,\n> proclist.h/proclist_types.h as one example. I didn't do this yet\n> because I would like to know the communi...
[ { "msg_contents": "Greetings -hackers,\n\nOur beloved Google Summer of Code is back for 2023, with a format \nsimilar to 2022: both medium and large sized projects can be proposed, \nwith more flexibility on end dates. The program will be open to students \nand open source beginners, as stated in this blog post...
[ { "msg_contents": "I'm trying to better understand the following barging behaviour with SHARED\nlocks.\n\n*Setup:*\n\npostgres=# create table t(a INT);\nCREATE TABLE\npostgres=# INSERT INTO t VALUES(1);\nINSERT 0 1\n\nThen, performing the following operations in 3 different sessions, in\norder, we observe:\n\nS...
[ { "msg_contents": "Hi, this is extension of `teach planner to evaluate multiple windows in \nthe optimal order` work applied to distinct operation.\n\nBased on discussions before \n(https://www.postgresql.org/message-id/flat/CAApHDvr7rSCVXzGfVa1L9pLpkKj6-s8NynK8o%2B98X9sKjejnQQ%40mail.gmail.com#e01327a3053d9281...
[ { "msg_contents": "Hi,\n\nI happened to notice some examples of SGML linkends that were using\nsingle quotes instead of double quotes.\n\nIt didn't seem to be the conventional style because grepping (from\ndoc/src/sgml folder) showed only a tiny fraction using single quotes.\n\n(single-quotes)\n$ grep --include...
[ { "msg_contents": "Hi, hackers\n\n\nThe attached patch includes below two changes for the description of\nLogical Replication \"Configuration Settings\".\n\n1. Add one brief description about wal_sender_timeout.\n I made it similar to one other sentence for subscriber.\n2. Fix a wrong GUC name \"wal_receiver_...
[ { "msg_contents": "Hi,\n\nlogicalrep_read_tuple() duplicates code for LOGICALREP_COLUMN_TEXT and\nLOGICALREP_COLUMN_BINARY introduced by commit 9de77b5. While it\ndoesn't hurt anyone, deduplication makes code a bit leaner by 57 bytes\n[1]. I've attached a patch for $SUBJECT.\n\nThoughts?\n\n[1] size ./src/backe...