threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi all,\n\nAs promised around thread [1] that has moved the docs related to\nWindows into a new sub-section for Visual, here is a follow-up to\nimprove portions of its documentation, for discussion in the next CF.\n\nSome of my notes:\n- How much does command line editing work on Windows? Wh... |
[
{
"msg_contents": "Hello.\n\nWe've noticed that when walreceiver is waiting for a connection to\ncomplete, standby does not immediately respond to promotion\nrequests. In PG14, upon receiving a promotion request, walreceiver\nterminates instantly, but in PG16, it waits for connection\ntimeout. This behavior is ... |
[
{
"msg_contents": "Hi pgsql-bugs,\n\nSeveral customers reported deadlock error raised after accidental \nrestart of server.\n\nProblem description\n--------------------\n\nClient backend tries to create first temporary table after connection \nand it gets deadlock error.\nHere is example of log file records:\n\... |
[
{
"msg_contents": "Hi!\n\nMikhail Gribkov <youzhick(at)gmail(dot)com> writes:\n\n > > Honestly I'm not entirely sure fixing only two switched words is \nworth the\n > > effort, but the declared goal is clearly achieved.\n >\n >\n > > I think the patch is good to go, although you need to fix code \nformatting.\n... |
[
{
"msg_contents": "Hi,\n\nI've written a patch set for vacuum to use the streaming read interface\nproposed in [1]. Making lazy_scan_heap() async-friendly required a bit\nof refactoring of lazy_scan_heap() and lazy_scan_skip(). I needed to\nconfine all of the skipping logic -- previously spread across\nlazy_sca... |
[
{
"msg_contents": "Hi,\n(CC-ing Bruce)\n\nAs of this new year, and in the vein of c8e1ba736b2b. Bruce, are you\nplanning an update of the copyright dates with a run of\n./src/tools/copyright.pl on HEAD, and the smallish updates of the back\nbranches?\n\nAnd of course, Happy New Year to all!\n--\nMichael",
... |
[
{
"msg_contents": "I happened to notice that there is a not-quite-theoretical crash\nhazard in spcache_init(). If we see that SPCACHE_RESET_THRESHOLD\nis exceeded and decide to reset the cache, but then nsphash_create\nfails for some reason (perhaps OOM), an error will be thrown\nleaving the SearchPathCache po... |
[
{
"msg_contents": "Hello postgres hackers:\nI recently came across a scenario involving system catalog \"pg_default_acl\"\nwhere a tuple contains a NULL value for the \"defaclacl\" attribute. This can cause\nconfusion while dropping a role whose default ACL has been changed.\nHere is a way to reproduce that:\n\... |
[
{
"msg_contents": "In the following paragraph in information_schema:\n\n <term>character encoding form</term>\n <listitem>\n <para>\n An encoding of some character repertoire. Most older character\n repertoires only use one encoding form, and so there are no\n separate names for them... |
[
{
"msg_contents": "(new thread)\n\nOn Tue, Jan 02, 2024 at 10:34:11AM -0500, Robert Haas wrote:\n> On Wed, Dec 27, 2023 at 10:36 AM Nathan Bossart\n> <nathandbossart@gmail.com> wrote:\n>> Thanks! I also noticed that WALSummarizerLock probably needs a mention in\n>> wait_event_names.txt.\n> \n> Fixed.\n\nI thin... |
[
{
"msg_contents": "Hi hackers,\n\nAfter discussing this with David offlist, I decided to reinitiate this\ndiscussion that has already been raised and discussed several times in the\npast. [1] [2]\n\nCurrently, if JIT is enabled, the decision for JIT compilation is purely\ntied to the total cost of the query. Th... |
[
{
"msg_contents": "LLVM 16 provided a new function name[1], and LLVM 18 (not shipped yet)\nhas started complaining[2] about the old spelling.\n\nHere's a patch.\n\n[1] https://github.com/llvm/llvm-project/commit/1b97645e56bf321b06d1353024339958b64fd242\n[2] https://github.com/llvm/llvm-project/commit/5ac12951b4... |
[
{
"msg_contents": "Hi,\n\nI wonder what you think of making pg_prewarm use recent addition on \nsmgrprefetch and readv ?\n\n\nIn order to try, I did it anyway in the attached patches. They contain \nno doc update, but I will proceed if it is of interest.\n\nIn summary:\n\n1. The first one adds a new check on pa... |
[
{
"msg_contents": "Hi,\n\nfor 15 years pgfincore has been sitting quietly and being used in large \nsetups to help in HA and resources management.\nIt can perfectly stay as is, to be honest I was expecting to one day \ninclude a windows support and propose that to PostgreSQL, it appears \ngetting support on lin... |
[
{
"msg_contents": "Hi,\n\nfrom src/backend/storage/lmgr/README:\n\n\"\"\"\nSpinlocks. These are intended for *very* short-term locks. If a lock\nis to be held more than a few dozen instructions, or across any sort of\nkernel call (or even a call to a nontrivial subroutine), don't use a\nspinlock. Spinlocks ar... |
[
{
"msg_contents": "Hi,\n\nWe have documentation on how to upgrade \"publisher\" and \"subscriber\"\nat [1], but currently we do not have any documentation on how to\nupgrade logical replication clusters.\nHere is a patch to document how to upgrade different logical\nreplication clusters: a) Upgrade 2 node logic... |
[
{
"msg_contents": "Hi,\n\nI discovered that my patch to add WAL summarization added two new\nSQL-callable functions but failed to document them. 0001 fixes that.\n\nAn outstanding item from the original thread was to write a better\ntest for the not-yet-committed pg_walsummary utility. But I discovered\nthat I ... |
[
{
"msg_contents": "We have some (generated) SQL that uses grouping sets to give us the\nsame data grouped in multiple ways (with sets of groups configurable\nby the user), with the ordering of the rows the same as the grouping\nset. This generally works fine, except for when one of the grouping\nsets contains p... |
[
{
"msg_contents": "hi.\nMaybe this is a small printout err_position bug.\n\ncreate table atacc2 ( test int, a int, b int) ;\nsuccess tests:\nalter table atacc2 add CONSTRAINT x PRIMARY KEY (id, b );\nalter table atacc2 add CONSTRAINT x PRIMARY KEY (id, b a);\nalter table atacc2 add CONSTRAINT x PRIMARY KEYa (id... |
[
{
"msg_contents": "Hi,\n\nHere's a quick status report after the first week:\nStatus summary:\n Needs review: 238.\n Waiting on Author: 44.\n Ready for Committer: 27.\n Committed: 36.\n Moved to next CF: 1.\n Withdrawn: 2.\n Returned with Feedback: 3.\n Rejected: 1.\nTotal: 352.\n\nHere is a list of \"N... |
[
{
"msg_contents": "The pg_amcheck reports a skip message if the layout of the index does \nnot match expectations. That message includes the bytes that were \nexpected and the ones that were found. But the found ones are arbitrary \nbytes, which can have funny effects on the terminal when they are \nprinted. ... |
[
{
"msg_contents": "If I want to change the name of my database schema, I call \n\talter schema my_schema rename to other_schema\nHowever, there is a problem with functions that call other functions in the same schema. These functions have a search_path \n\talter function my_schema.function1 set search_path to ... |
[
{
"msg_contents": "After reading the logic of removing useless join, I think the comment of\nthis might need to be changed: \"Currently, join_is_removable only succeeds\nif sjinfo's right hand is a single baserel. \" could be changed to\n\"Currently, join_is_removable only succeeds if sjinfo's min_righthand is ... |
[
{
"msg_contents": "I've been thinking about INSERT performance and noticed that copyfrom.c\n(COPY FROM) performs ~4 unnecessary pointer-deferences per record in the\ncase when there's no indexes and no AFTER ROW INSERT triggers (i.e. when\nyou just want to load data really fast!).\n\nI moved the for-loop inside... |
[
{
"msg_contents": "We had a complaint (see [1], but it's not the first IIRC) about how\npsql doesn't behave very nicely if one ends \\sf or allied commands\nwith a semicolon:\n\nregression=# \\sf sin(float8);\nERROR: expected a right parenthesis\n\nThis is a bit of a usability gotcha, since many other backslas... |
[
{
"msg_contents": "In 30e7c175b81, support for pre-9.2 servers was removed from pg_dump. \nBut I found that a lot of dead code was left for supporting dumping \ntriggers from those old versions, presumably because that code was not \nbehind straightforward versioned \"if\" branches. This patch removes the \nre... |
[
{
"msg_contents": "Dear all,\r\n\r\nI recently used benchmarksql to evaluate the performance of postgresql. I achieved nearly 20% improvement \r\nwith NUM_XLOGINSERT_LOCKS changed from 8 to 16 under some cases of high concurrency. I wonder whether \r\nit is feasible to make NUM_XLOGINSERT_LOCKS a configuration ... |
[
{
"msg_contents": "Hi all,\n\nI notice that the CREATE TYPE syntax can specify subtype_diff function\nCREATE TYPE name AS RANGE (\n SUBTYPE = subtype\n [ , SUBTYPE_OPCLASS = subtype_operator_class ]\n [ , COLLATION = collation ]\n [ , CANONICAL = canonical_function ]\n [ , SUBTYPE_DIFF = subtype_... |
[
{
"msg_contents": "Hi,\n\nI've been observing a failure in t/038_save_logical_slots_shutdown.pl\nof late on my developer system:\n\nt/038_save_logical_slots_shutdown.pl .. 1/?\n# Failed test 'Check that the slot's confirmed_flush LSN is the same\nas the latest_checkpoint location'\n# at t/038_save_logical_s... |
[
{
"msg_contents": "When building current head on debian bullseye I get this compile warning:\n\nIn file included from ../src/backend/commands/dbcommands.c:20:\n../src/backend/commands/dbcommands.c: In function ‘createdb’:\n../src/include/postgres.h:104:9: warning: ‘src_hasloginevt’ may be\nused uninitialized in... |
[
{
"msg_contents": "The meson build doesn't tell you what tool is missing when trying to\nbuild the docs (and you don't have it in the path.. sigh), it just\ntells you that something is missing. Attached is a small patch that at\nleast lists what's expected -- I'm not sure if this is the way to go,\nor if we sho... |
[
{
"msg_contents": "The attached patch adds a column \"authuser\" to pg_stat_activity which\ncontains the username of the externally authenticated user, being the\nsame value as the SYSTEM_USER keyword returns in a backend.\n\nThis overlaps with for example the values in pg_stat_gss, but it will\ninclude values ... |
[
{
"msg_contents": "Hello all,\n\n*TL; DR*\nThere has been a discussion about GUCifying the MAX_WAL_SEND constant in\nwalsender.c in here <https://commitfest.postgresql.org/13/958/> nearly 7\nyears ago, but resulting in nothing in the end. Today, I found out the\nconfigurability of this parameter can be very hel... |
[
{
"msg_contents": "Hi,\n\nReplication slots in postgres will prevent removal of required\nresources when there is no connection using them (inactive). This\nconsumes storage because neither required WAL nor required rows from\nthe user tables/system catalogs can be removed by VACUUM as long as\nthey are require... |
[
{
"msg_contents": "Hi Hackers,\n\nVarious sections of the code utilize the walrcv_connect() function,\nemployed by various processes such as walreceiver, logical replication\napply worker, etc., to establish connections with other hosts.\nPresently, in case of connection failures, the error message lacks\ninfor... |
[
{
"msg_contents": "Hi, hackers\n\nThere is below description in docs for stats_fetch_consistency.\n\"Changing this parameter in a transaction discards the statistics \nsnapshot.\"\n\nHowever, I wonder if changes stats_fetch_consistency in a transaction, \nstatistics is not discarded in some cases.\n\nExample:\n... |
[
{
"msg_contents": "Good day, hackers.\n\nHere I am to suggest two small improvements to Point In Time Recovery.\n\nFirst is ability to recover recovery-target-time with timestamp stored \nin XLOG_RESTORE_POINT. Looks like historically this ability did exist \nand were removed unintentionally during refactoring ... |
[
{
"msg_contents": "Hi,\n\n\n>> BTW, while nosing around I found what seems like a very nasty related\n>> bug. Suppose that a catalog tuple being loaded into syscache contains\n>> some toasted fields. CatalogCacheCreateEntry will flatten the tuple,\n>> involving fetches from toast tables that will certainly caus... |
[
{
"msg_contents": "Add new pg_walsummary tool.\n\nThis can dump the contents of the WAL summary files found in\npg_wal/summaries. Normally, this shouldn't really be something anyone\nneeds to do, but it may be needed for debugging problems with\nincremental backup, or could possibly be useful to external tools.... |
[
{
"msg_contents": "I tried to post this elsewhere but it got moderated, so retrying:\n\nOn Thu, Jan 11, 2024 at 1:49 PM Robert Haas <robertmhaas@gmail.com> wrote:\n> On Thu, Jan 11, 2024 at 12:56 PM Robert Haas <rhaas@postgresql.org> wrote:\n> > Add new pg_walsummary tool.\n>\n> culicidae is unhappy with this, ... |
[
{
"msg_contents": "I recently began trying to write documentation for the dynamic shared\nmemory registry feature [0], and I noticed that the \"Shared Memory and\nLWLocks\" section of the documentation might need some improvement. At\nleast, I felt that it would be hard to add any new content to this section\n... |
[
{
"msg_contents": "Hi,\n\nRETURNING is usually tagged with appropriate tags, such as <LITERAL>, \nbut not in the 'query' section of COPY.\n\nhttps://www.postgresql.org/docs/devel/sql-copy.html\n\nWould it be better to put <LITERAL> here as well?\n\n-- \nRegards,\n\n--\nAtsushi Torikoshi\nNTT DATA Group Corporat... |
[
{
"msg_contents": "Hi\n\nI have reported very memory expensive pattern:\n\nCREATE OR REPLACE FUNCTION public.fx(iter integer)\n RETURNS void\n LANGUAGE plpgsql\nAS $function$\ndeclare\n c cursor(m bigint) for select distinct i from generate_series(1, m) g(i);\n t bigint;\n s bigint;\nbegin\n for i in 1..ite... |
[
{
"msg_contents": "Perl 5.38 has landed in Debian unstable, and plperl doesn't like it:\n\ndiff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out\n--- /home/myon/projects/pos... |
[
{
"msg_contents": "Hi,\n\nI propose to add a new predefined role to Postgres,\npg_manage_extensions. The idea is that it allows Superusers to delegate\nthe rights to create, update or delete extensions to other roles, even\nif those extensions are not trusted or those users are not the database\nowner.\n\nI hav... |
[
{
"msg_contents": "It looks like every recent cfbot run has failed in the\nFreeBSD-13-Meson build, even if it worked in other ones.\nThe symptoms are failures in the TAP tests that try to\nuse interactive_psql:\n\nCan't call method \"slave\" on an undefined value at /usr/local/lib/perl5/site_perl/IPC/Run.pm lin... |
[
{
"msg_contents": "Introduced in commit c3afe8cf5a.\n\nSomeone issuing repeated \"CREATE SUBSCRIPTION\" commands where the\nconnection has no password and must_have_password is true will leak\nmalloc'd memory in the error path. Minor issue in practice, because I\nsuspect that a user privileged enough to create ... |
[
{
"msg_contents": "Hi,\n\nA friend of mine complained about strange behavior of `postgres`. When\nexecuted without any arguments the following error is shown:\n\n```\n$ postgres\npostgres does not know where to find the server configuration file.\nYou must specify the --config-file or -D invocation option or se... |
[
{
"msg_contents": "Hello all,\n\nCurrently PostgreSQL doesn't support data change delta tables. For example, it doesn't support this type of query:\n\nSELECT * FROM NEW TABLE (\n INSERT INTO phone_book\n VALUES ( 'Peter Doe', '555-2323' )\n) AS t\n\nPostgreSQL has RETURNING that provides only a subset o... |
[
{
"msg_contents": "Hi.\n\nWhile there are plans to remove the sockets functions (Windows) [1], I\nbelieve it is worth fixing possible current bugs.\n\nIn the pgwin32_socket function (src/backend/port/win32/socket.c), there is\na possible socket leak if the socket cannot be made non-blocking.\n\nTrivial patch at... |
[
{
"msg_contents": "Hi,\n\nHere's a quick status report after the second week:\nStatus summary:\nstatus | w1 | w2\n-------------------------+-----------+-----\nNeeds review: | 238 | 213\nWaiting on Author: | 44 | 46\nReady for Committer: | 27 | ... |
[
{
"msg_contents": "Daniel,\n You have a commit [1] that MIGHT fix this.\nI have a script that recreates the problem, using random data in pg_temp.\nAnd a nested cursor.\n\n It took me a few days to reduce this from actual code that was\nexperiencing this. If I turn off JIT, the problem goes away. (if I don'... |
[
{
"msg_contents": "Hi hackers,\n\nWhile working on [1], we discovered (thanks Alexander for the testing) that an\nconflicting active logical slot on a standby could be \"terminated\" without\nleading to an \"obsolete\" message (see [2]).\n\nIndeed, in case of an active slot we proceed in 2 steps in\nInvalidateP... |
[
{
"msg_contents": "Pursuant to a comment I made a few months ago[1], I propose the attached\nchanges to replication slots documentation. In essence, I want to\nexplain that replication slots are good, and the max_size GUC, before\nmoving on to explain that the other methods are worse.\n\nThanks\n\n[1] https://... |
[
{
"msg_contents": "d=# create type varbitrange as range (subtype = varbit);\nCREATE TYPE\nd=# \\dT+\n List of data types\n Schema | Name | Internal name | Size | Elements | Owner | Access privileges | Description \n--------+------------------+-------... |
[
{
"msg_contents": "While working on [1], I noticed some strange code in\nDiscreteKnapsack() which seems to be aiming to copy the Bitmapset.\n\nIt's not that obvious at a casual glance, but:\n\nsets[j] = bms_del_members(sets[j], sets[j]);\n\nthis is aiming to zero all the words in the set by passing the same\nse... |
[
{
"msg_contents": "\nHi, hackers\n\nRecently, I'm trying to implement a new TAM for PostgreSQL, I find there is no\nAPI for handling table's option. For example:\n\n CREATE TABLE t (...) USING new_am WITH (...);\n\nIs it possible add a new API to handle table's option in TableAmRoutine?\n\n--\nRegrads,\nJap... |
[
{
"msg_contents": "hi.\nhttps://www.postgresql.org/docs/current/sql-merge.html\n\nCompatibility section:\n\"WITH clause\"\nshould be\n\n<literal>WITH</literal> clause\n\n\n",
"msg_date": "Tue, 16 Jan 2024 18:30:14 +0800",
"msg_from": "jian he <jian.universality@gmail.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Dear PostgreSQL Team,\n\n\n\nI am writing to inform you that our PostgreSQL database service is\ncurrently down. We are experiencing an unexpected interruption, and we are\nseeking your expertise to help us resolve this issue promptly.\n\nWe would greatly appreciate your immediate attention t... |
[
{
"msg_contents": "This issue has been reported in the <pgsql-bugs> list at the link below, but has not received a reply.\nhttps://www.postgresql.org/message-id/18286-f6273332500c2a62%40postgresql.org\nHopefully to get some response from kernel hackers, thanks!\n\nHi,\nWhen reindex the partitioned table's index... |
[
{
"msg_contents": "Hi developers,\r\n\r\nI was working on loans and bank financing, specifically focusing on Amortization Systems. I had the need to reverse the counter for the total number of installments or for a specific set of installments. This \"reversal\" is essentially a reverse \"row_number\" function.... |
[
{
"msg_contents": "Hi all,\nI think the comment above the function DecodeInsert()\nin src/backend/replication/logical/decode.c should be\n+ * *Inserts *can contain the new tuple.\n, rather than\n- * *Deletes *can contain the new tuple.\n\nPlease correct me if I'm wrong, thanks a lot.",
"msg_date": "Wed, 17 ... |
[
{
"msg_contents": "Had some time to watch code run through an extensive test suite, so \nthought I would propose this patch that is probably about 75% of the way \nto the stated $subject. I had to add in a hack for Meson, and I couldn't \nfigure out a good hack for autotools.\n\nI think a good solution would be... |
[
{
"msg_contents": "Hi,\n\n132de9968840c introduced SAVE_ERROR_TO option to COPY and enabled to \nskip malformed data, but there is no way to watch the number of skipped \nrows during COPY.\n\nAttached patch adds tuples_skipped to pg_stat_progress_copy, which \ncounts the number of skipped tuples because source ... |
[
{
"msg_contents": "Hi all,\n\nrorqual has failed today with a very interesting failure:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=rorqual&dt=2024-01-17%2005%3A06%3A31\n\nThis has caused an assertion failure for a 2PC transaction when\nreplaying one of the tests from the main regression suite:\n20... |
[
{
"msg_contents": "Hi hackers,\n\nDuring logical replication, if there is a large write transaction, some\nspill files will be written to disk, depending on the setting of\nlogical_decoding_work_mem.\n\nThis behavior can effectively avoid OOM, but if the transaction\ngenerates a lot of change before commit, a l... |
[
{
"msg_contents": "Hi All,\n\nWith the attached patch, the backup manifest will have a new key item as\n\"System-Identifier\" 64-bit integer whose value is derived from pg_control\nwhile\ngenerating it, and the manifest version bumps to 2.\n\nThis helps to identify the correct database server and/or backup for ... |
[
{
"msg_contents": "If txn1 begin after SNAPBUILD_BUILDING_SNAPSHOT and commit before\r\nSNAPBUILD_FULL_SNAPSHOT(so txn1 will not be processed by DecodeCommit), and\r\ntxn2 begin after SNAPBUILD_FULL_SNAPSHOT and commit after\r\nSNAPBUILD_CONSISTENT(so txn2 will be replayed), how to ensure that txn2\r\ncould see... |
[
{
"msg_contents": "Hi.\n\nPSA a small patch to adjust the first-word capitalisation of some\nerrmsg/ errdetail/ errhint so they comply with the guidelines.\n\n======\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Thu, 18 Jan 2024 09:17:08 +1100",
"msg_from": "Peter Smith <smithpb2250@gma... |
[
{
"msg_contents": "Hi,\n\nI had reported a possible subscription 'disable_on_error' bug found\nwhile reviewing another patch.\n\nI am including my initial report and Nisha's analysis again here so\nthat this topic has its own thread.\n\n==================\nINITIAL REPORT [1]\n==================\n\n...\nI see no... |
[
{
"msg_contents": "Hi,\n\nI was testing the index prefetch and streamIO patches and I added \ncachestat() syscall to get a better view of the prefetching.\n\nIt's a new linux syscall, it requires 6.5, it provides numerous \ninteresting information from the VM for the range of pages examined.\nIt's way way faste... |
[
{
"msg_contents": "Hi,\n\nI was testing the index prefetch and streamIO patches and I added \ncachestat() syscall to get a better view of the prefetching.\n\nIt's a new linux syscall, it requires 6.5, it provides numerous \ninteresting information from the VM for the range of pages examined.\nIt's way way faste... |
[
{
"msg_contents": "Greetings,\nGetting the following error\n\n[1146/2086] Generating src/backend/postgres.def with a custom command\n(wrapped by meson to set PATH)\nFAILED: src/backend/postgres.def\n\"C:\\Program Files\\Meson\\meson.exe\" \"--internal\" \"exe\" \"--unpickle\"\n\"C:\\Users\\davec\\projects\\post... |
[
{
"msg_contents": "The overall trend in machine learning embedding sizes has been growing\nrapidly over the last few years from 128 up to 4K dimensions yielding\nadditional value and quality improvements. It's not clear when this trend\nin growth will ease. The leading text embedding models\n<https://d2Vt1P04.n... |
[
{
"msg_contents": "Hi,\n\nPQsendSyncMessage() was added in\nhttps://commitfest.postgresql.org/46/4262/. It allows users to add a\nSync message without flushing the buffer.\n\nAs a follow-up, this change adds an additional meta-command to\npgbench, \\syncpipeline, which will call PQsendSyncMessage(). This will\n... |
[
{
"msg_contents": "Hi,\n\nIn [1], David and I talked about a requirement that a user just want\nto unset the all bits in a Bitmapset but keep the allocated memory\nun-deallocated for later use. It is impossible for the current\nBitmapset. So David suggested a Bitset struct for this purpose. I start\nthis new th... |
[
{
"msg_contents": "Hello, hackers,\n\nI believe there is a small problem in the 039_end_of_wal.pl's \n\"xl_tot_len zero\" test. It supposes that after immediate shutdown the \nserver, upon startup recovery, should always produce a message matching \n\"invalid record length at .*: wanted 24, got 0\". However, if... |
[
{
"msg_contents": "Hi all,\n\nI think the correct placeholder for var *startoff* should be *%d*.\nThanks for your time.\n\nBest\n\nYongtao Huang",
"msg_date": "Thu, 18 Jan 2024 21:32:55 +0800",
"msg_from": "Yongtao Huang <yongtaoh2022@gmail.com>",
"msg_from_op": true,
"msg_subject": "Fix incorre... |
[
{
"msg_contents": "Hello hackers,\n\n[ reporting this bug here due to limitations of the bug reporting form ]\n\nWhen a node, that acted as a primary, becomes a standby as in the\nfollowing script:\n[ ... some WAL-logged activity ... ]\n$primary->teardown_node;\n$standby->promote;\n\n$primary->enable_streaming(... |
[
{
"msg_contents": "This issue has been reported in the <pgsql-bugs> list at the below link, but\r\nreceived almost no response:\r\nhttps://www.postgresql.org/message-id/18280-4c8060178cb41750%40postgresql.org\r\nHoping for some feedback from kernel hackers, thanks!\r\n\r\n\r\nHi, hackers,\r\nI've encountered... |
[
{
"msg_contents": "This patch fixes two things in the function fetch_remote_table_info().\n\n(1) *pfree(pub_names.data)* to avoid potential memory leaks.\n(2) 2 pieces of code can do the same work,\n\n``` C\nforeach(lc, MySubscription->publications)\n{\n if (foreach_current_index(lc) > 0)\n appendStri... |
[
{
"msg_contents": "We have a huge amount of WAL files at backup site. A listing of the\ndirectory takes several seconds. During startup pg_receivewal checks size\nof all theus files. It does not check file integrity or gaps between\nfiles. It takes several hours for our setup.\nI have add an options that skip ... |
[
{
"msg_contents": "Hello,\n\nI realize this is almost ancient history at this point, but I ran into\na surprising behavior change from PG11->12 with ON CONFLICT ... DO\nUPDATE SET ...\n\nSuppose I have this table:\ncreate table foo (id int primary key);\n\nOn PG11 this works:\npostgres=# insert into foo (id) va... |
[
{
"msg_contents": "EXPLAIN has always been really poor at displaying SubPlan nodes\nin expressions: you don't get much more than \"(SubPlan N)\".\nThis is mostly because every time I thought about it, I despaired\nof trying to represent all the information in a SubPlan accurately.\nHowever, a recent discussion[... |
[
{
"msg_contents": "Hello all,\n\nFollowing the threads here\n<https://www.postgresql.org/message-id/flat/CAFWczPvi_5FWH%2BJTqkWbi%2Bw83hy%3DMYg%3D2hKK0%3DJZBe9%3DhTpE4w%40mail.gmail.com>\nand there <https://commitfest.postgresql.org/13/958/>, I decided to submit\nthis patch.\n\nFollowing is the description whic... |
[
{
"msg_contents": "While working on the dynamic shared memory registry, I noticed a couple of\npotential improvements for code that uses dshash tables.\n\n* A couple of dshash_create() callers pass in 0 for the \"void *arg\"\n parameter, which seemed weird. I incorrectly assumed this was some sort\n of flags... |
[
{
"msg_contents": "Hello, I find a bug in building historic snapshot and the steps to reproduce are as follows:\r\n\r\n\r\nPrepare:\r\n\r\n\r\n(pub)create table t1 (id int primary key);\r\n\r\n\r\n\r\n(pub)insert into t1 values (1);\r\n\r\n\r\n\r\n(pub)create publication pub for table t1;\r\n\r\n\r\n\r\n(sub)cr... |
[
{
"msg_contents": "Hi all,\n\nAs the title said, just fix some typos.\n\nRegards\n\nYongtao Huang",
"msg_date": "Sun, 21 Jan 2024 20:22:01 +0800",
"msg_from": "Yongtao Huang <yongtaoh2022@gmail.com>",
"msg_from_op": true,
"msg_subject": "Fix some typos"
},
{
"msg_contents": "On Sun, Jan ... |
[
{
"msg_contents": "It would be useful to have the ability to define for a role default vCPU\naffinity limits/thread priority settings so that more active sessions could\ncoexist similar to MySQL resource groups\n<https://dev.mysql.com/doc/refman/8.0/en/resource-groups.html>.\n\nBest Regards,\nYoni Sade\n\nIt wo... |
[
{
"msg_contents": "Hi,\n\nI'm an extension developer. If I use PostgreSQL built with\nMeson, I get the following warning:\n\n cc1: warning: '-Wformat-security' ignored without '-Wformat' [-Wformat-security]\n\nBecause \"pg_config --cflags\" includes -Wformat-security but\ndoesn't include -Wformat.\n\nCan we ... |
[
{
"msg_contents": "One of the goals is to make the creation of the distribution tarball \nmore directly traceable to the git repository. That is why we removed \nthe \"make distprep\" step.\n\nHere I want to take another step in that direction, by changing \"make \ndist\" to directly use \"git archive\", rathe... |
[
{
"msg_contents": "Hi,\nI'm learning faster COPY of PG16. I have some questions about extension lock improvement.\nFrom ./src/backend/storage/buffer/bufmgr.c:1901 (ExtendBufferedRelShared)\n```\n /*\n * Lock relation against concurrent extensions, unless requested not to.\n *\n * We use the same extension lock ... |
[
{
"msg_contents": "Assuming a SELECT statement reading from a single table, it is quite an\neffort to transform that statement to an UPDATE statement on that table,\nperhaps to fix a typo that the user has spotted in the query result.\n\nFirst, the general syntax is not the same with the order of syntax\nelemen... |
[
{
"msg_contents": "Hi,\n\nHere's a quick status report after the third week:\nStatus summary:\nstatus | w1 | w2 | w3\n-----------------------------------+-----------+--------+----------\nNeeds review: | 238 | 213 | 181\nWaiting on Author:... |
[
{
"msg_contents": "Hello,\n\nA question about protocol design - would it be possible to extend the\nprotocol, so it can handle multiple startup / authentication messages over\na single connection? Are there any serious obstacles? (possible issues with\nre-initialization of backends, I guess?)\nIf that is possib... |
[
{
"msg_contents": "Hi,\n\nI noticed that I was getting core dumps while executing the tests, without the\ntests failing. Backtraces are vriations of this:\n\n#0 0x0000000000ca29cd in pg_atomic_read_u32_impl (ptr=0x7fe13497a004) at ../../../../../home/andres/src/postgresql/src/include/port/atomics/generic.h:48\... |
[
{
"msg_contents": "Hi, hackers\n\nI find heapam_relation_copy_data() and index_copy_data() have the following code:\n\n\tdstrel = smgropen(*newrlocator, rel->rd_backend);\n\n\t...\n\n\tRelationCreateStorage(*newrlocator, rel->rd_rel->relpersistence, true);\n\nThe smgropen() is also called by RelationCreateStora... |
[
{
"msg_contents": "Add better handling of redundant IS [NOT] NULL quals\n\nUntil now PostgreSQL has not been very smart about optimizing away IS\nNOT NULL base quals on columns defined as NOT NULL. The evaluation of\nthese needless quals adds overhead. Ordinarily, anyone who came\ncomplaining about that would... |
[
{
"msg_contents": "Similar to what we did to GROUP BY keys in 0452b461bc, I think we can do\nthe same to DISTINCT keys, i.e. reordering DISTINCT keys to match input\npath's pathkeys, which can help reduce cost by avoiding unnecessary\nre-sort, or allowing us to use incremental-sort to save efforts. For\ninstan... |
[
{
"msg_contents": "We recently made corrections to the capitalization of DETAIL messages.\nFor example;\n\n-\t\tGUC_check_errdetail(\"invalid list syntax in parameter %s\",\n+\t\tGUC_check_errdetail(\"Invalid list syntax in parameter %s\",\n\nBut still it is missing the period at the end.\n\nThere are several p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.