threads
listlengths
1
2.99k
[ { "msg_contents": "Hello hackers,\n\nWhile investigating the recent skink failure [1], I've reproduced this\nfailure under Valgrind on a slow machine and found that this happens due to\nthe last checkpoint recorded in the segment 2, that is removed in the test:\nThe failure log contains:\n2023-10-10 19:10:08.21...
[ { "msg_contents": "In pg_upgrade, we reset WAL archives (remove WAL), transaction id,\netc. in copy_xact_xlog_xid() for the new cluster. Then, we create new\nobjects in the new cluster, and again towards the end of the upgrade\nwe invoke pg_resetwal with the -o option to reset the next OID. Now,\nalong with res...
[ { "msg_contents": "Hi hackers!\n\nPlease advise on the idea of preserving pg_proc oids during pg_upgrade, in\na way like relfilenodes, type id and so on. What are possible downsides of\nsuch a solution?\n\nThanks!\n\n-- \nRegards,\nNikita Malakhov\nPostgres Professional\nThe Russian Postgres Company\nhttps://po...
[ { "msg_contents": "Greetings,\n\nI've been running into challenges building 32 bit windows version. I\nsuspect there are no build farms and nobody really builds this.\n\nThe reason I need these is to be able to build 32 bit dll's for ODBC. At\none time EDB used to provide binaries but that doesn't appear to be ...
[ { "msg_contents": "Hi,\n\nAshutosh Bapat reported me off-list a possible issue in how BRIN\nminmax-multi calculate distance for infinite timestamp/date values.\n\nThe current code does this:\n\n if (TIMESTAMP_NOT_FINITE(dt1) || TIMESTAMP_NOT_FINITE(dt2))\n PG_RETURN_FLOAT8(0);\n\nso means infinite val...
[ { "msg_contents": "Hello. I started reading through the Glossary[^1] terms to learn from the\ndefinitions, and to double check them against what I'd written elsewhere. I\nfound myself making edits. :)\n\nI've put the edits together into a patch. My goal was to focus on wording\nsimplifications that are smoother...
[ { "msg_contents": "Hackers,\n\nI was recently discussing the complexities of dealing with pg_control \nand backup_label with some hackers at PGConf NYC, when David Christensen \ncommented that backup_label was not a very good name since it gives the \nimpression of being informational and therefore something th...
[ { "msg_contents": "Hackers,\n\nFollowing up from a suggestion from Tom Lane[1] to improve the documentation of boolean predicate JSON path expressions, please find enclosed a draft patch to do so. It does three things:\n\n1. Converts all of the example path queries to use jsonb_path_query() and show the results...
[ { "msg_contents": "One our customer complains that he spawned two `create index \nconcurrently` for two different tables and both stuck in\"waiting for old \nsnapshots\".\nI wonder if two CIC can really block each other in `WaitForOlderSnapshots`?\nI found the similar question in hacker archive:\n\nhttps://www....
[ { "msg_contents": "Hi.\n\n (\n SELECT interval(0) '1 day 01:23:45.6789'\n union all\n SELECT interval(1) '1 day 01:23:45.6789'\n union all\n SELECT interval(2) '1 day 01:23:45.6789'\n union all\n SELECT interval(3) '1 day 01:23:45.6789'\n union all\n ...
[ { "msg_contents": "Add support event triggers on authenticated login\n\nThis commit introduces trigger on login event, allowing to fire some actions\nright on the user connection. This can be useful for logging or connection\ncheck purposes as well as for some personalization of environment. Usage\ndetails ar...
[ { "msg_contents": "Hi,\n\nDavid and I had worked the uniquekey stuff since 2020[1], and later it\nis blocked by the NULL values stuff. Now the blocker should be removed\nby Var.varnullingrels, so it is time to work on this again. During the\npast 3 years, we have found more and more interesting usage of it. \n\...
[ { "msg_contents": "Implement TODO item:\nPL/pgSQL\nIncomplete item Allow handling of %TYPE arrays, e.g. tab.col%TYPE[]\n\nAs a first step, deal only with [], such as\nxxx.yyy%TYPE[]\nxxx%TYPE[]\n\nIt can be extended to support multi-dimensional and complex syntax in \nthe future.\n\n\n--\nQuan Zongliang", "...
[ { "msg_contents": "Hi all!\n\nI'm a DevOps Manager/Engineer by trade (though the place I work is not,\nunfortunately, using Postgres). I've been thinking quite a bit about what\nour ideal architecture at work will look like and what scaling looks like,\nboth for work and for home projects (where I *am* looking...
[ { "msg_contents": "Some small (grammatical) changes in event-trigger.sgml\n\n(also one delete of 'community-we' (which I think is just confusing for \nthe not-postgresql-community reader).\n\n\nErik", "msg_date": "Mon, 16 Oct 2023 17:34:14 +0200", "msg_from": "Erik Rijkers <er@xs4all.nl>", "msg_from...
[ { "msg_contents": "Hi!\n\nThis email is a first pass at a user-visible design for how our backup and\nrestore process, as enabled by the Low Level API, can be modified to make\nit more mistake-proof. In short, it requires pg_start_backup to further\nexpand upon what it means for the system to be in the midst o...
[ { "msg_contents": "Currently we have this odd behavior (for a superuser):\n\nregression=# ALTER SYSTEM SET foo.bar TO 'baz';\nERROR: unrecognized configuration parameter \"foo.bar\"\nregression=# SET foo.bar TO 'baz';\nSET\nregression=# ALTER SYSTEM SET foo.bar TO 'baz';\nALTER SYSTEM\n\nThat is, you can't ALT...
[ { "msg_contents": "Hi Alvaro,\n\nProblem 1\n========\n#create table tpart (a serial primary key, src varchar) partition by range(a);\nCREATE TABLE\n#create table t_p4 (a int primary key, src varchar);\nCREATE TABLE\n#\\d tpart\n Partitioned table \"public.tpart\"\n Column | Type ...
[ { "msg_contents": "Hi All,\n#create table tpart (a serial primary key, src varchar) partition by range(a);\nCREATE TABLE\n#create table t_p4 (a int primary key, src varchar);\nCREATE TABLE\nTo appease the gods of surprises I need to add a NOT NULL constraint. See [1].\n#alter table t_p4 alter column a set not n...
[ { "msg_contents": "Hi, hackers! \n\nI've stumbled into an interesting problem. Currently, if Postgres has nothing to write, it would skip the checkpoint creation defined by the checkpoint timeout setting. However, we might face a temporary archiving problem (for example, some network issues) that might lead to ...
[ { "msg_contents": "Hello.\n\nI've been unable to build PostgreSQL using Meson on Windows. As I'm\nunsure of the cause, I'm providing this as a report.\n\nIn brief, the ninja command fails with the following error message on\nmy Windows environment.\n\n>ninja -v\nninja: error: 'src/backend/postgres_lib.a.p/meson...
[ { "msg_contents": "Dear hackers,\n\nWhile discussing [1], I found that in tap tests, wal_level was set to logical for\nsubscribers too. The setting is not needed for subscriber side, and it may cause\nmisunderstanding for newcomers. Therefore, I wanted to propose the patch which\nremoves unnecessary \"allows_st...
[ { "msg_contents": "Hi,\n\nThere is one hint message in 002_pg_upgrade.pl that is not consistent with the\ntesting purpose.\n\n# --check command works here, cleans up pg_upgrade_output.d.\ncommand_ok(\n\t[\n\t\t'pg_upgrade', '--no-sync', '-d', $oldnode->data_dir,\n...\nok(!-d $newnode->data_dir . \"/pg_upgrade_o...
[ { "msg_contents": "jit: Support opaque pointers in LLVM 16.\n\nRemove use of LLVMGetElementType() and provide the type of all pointers\nto LLVMBuildXXX() functions when emitting IR, as required by modern LLVM\nversions[1].\n\n * For LLVM <= 14, we'll still use the old LLVMBuildXXX() functions.\n * For LLVM == 1...
[ { "msg_contents": "Hi hackers,\n\nAfter committing the on-login trigger\n(e83d1b0c40ccda8955f1245087f0697652c4df86) the event_trigger regress test\nbecame sensible to any other parallel tests, not only DDL. Thus it should\nbe placed in a separate parallel schedule group.\n\nThe current problem is that a race co...
[ { "msg_contents": "Hi.\n\nI happened upon a function comment referring to non-existent code\n(that code was moved to another location many years ago).\n\nProbably better to move that comment too. Thoughts?\n\nPSA.\n\n======\nKind Regards,\nPeter Smith.\nFujitsu Australia", "msg_date": "Thu, 19 Oct 2023 13:3...
[ { "msg_contents": "Hi,\n\nI believed that spread (not fast) checkpoints are the default in\npg_basebackup, but noticed that --help does not specify which is which -\ncontrary to the reference documentation.\n\nSo I propose the small attached patch to clarify that.\n\n\nMichael", "msg_date": "Thu, 19 Oct 202...
[ { "msg_contents": "We removed support for the HP-UX OS in v16, but left in support\nfor the PA-RISC architecture, mainly because I thought that its\nspinlock mechanism is weird enough to be a good stress test\nfor our spinlock infrastructure. It still is that, but my\none remaining HPPA machine has gone to the...
[ { "msg_contents": "Hi,\n\nTwice now, I've had 'meson test' fail because it tried to start too\nmany copies of the server at the same time. In the server log, I get\nthe complaint about needing to raise SHMMNI. This is a macos machine,\nwith kern.sysv.shmmni=32. The obvious fix to this is to just tell\n'meson te...
[ { "msg_contents": "Hi All,\n\nCurrently, BackgroundWorker connected to a database by calling\nBackgroundWorkerInitializeConnection with username as NULL can be\nterminated by non-superuser with pg_signal_backend privilege. When the\nusername is NULL the bgworker process runs as superuser (which is\nexpected as ...
[ { "msg_contents": "Hi all\n\nThis patch uses a parallel computing optimization algorithm to improve crc32c computing performance on ARM. The algorithm comes from Intel whitepaper: crc-iscsi-polynomial-crc32-instruction-paper. Input data is divided into three equal-sized blocks.Three parallel blocks (crc0, crc1,...
[ { "msg_contents": "I noticed $subject with the query below.\n\nset enable_memoize to off;\n\nexplain (analyze, costs off)\nselect * from tenk1 t1 left join lateral\n (select t1.two as t1two, * from tenk1 t2 offset 0) s\non t1.two = s.two;\n QUERY PLAN\n--------------------...
[ { "msg_contents": "This patch resolves false sharing observed when running Postgres in a Docker container against sysbench.\nFalse sharing was observed in freelist.c in the BufferStrategyControl struct.\nAs the size slock_t is platform dependent, and testing was done on an Intel Xeon scalable platform, the chan...
[ { "msg_contents": "Hi,\n\nThere exists an extraneous break condition in\npg_logical_replication_slot_advance(). When the end of WAL or moveto\nLSN is reached, the main while condition helps to exit the loop, so no\nseparate break condition is needed. Attached patch removes it.\n\nThoughts?\n\n-- \nBharath Rupir...
[ { "msg_contents": "Hi hackers,\n\nEXPLAIN statement has a list of options (i.e. ANALYZE, BUFFERS, \nCOST,...) which help to provide useful details of query execution.\nIn Neon we have added PREFETCH option which shows information about page \nprefetching during query execution (prefetching is more critical for ...
[ { "msg_contents": "Hi Hackers,\n\nIs there any specific reason hot_standby_feedback default is set to off? I\nsee some explanation in the thread [1] about recovery_min_apply_delay value\n> 0 causing table bloat. However, recovery_min_apply_delay is set to 0 by\ndefault. So, if a server admin wants to change thi...
[ { "msg_contents": "\nmissing dependencies PostgreSQL 16 OpenSUSE Tumbleweed (SLES 15.5 \npackages)\n\n---\n\n#### YaST2 conflicts list - generated 2023-10-22 10:30:07 ####\n\nthere is no package providing 'libldap_r-2.4.so.2())(64bit)' required by \ninstalling postgresql16-server-16.0-1PGDG.sles15.x86_64\n\...
[ { "msg_contents": "Hi,\n\nSome time ago I started a thread about prefetching heap pages during\nindex scans [1]. That however only helps when reading rows, not when\ninserting them.\n\nImagine inserting a row into a table with many indexes - we insert the\nrow into the table, and then into the indexes one by on...
[ { "msg_contents": "Hi all,\n\n5e4dacb9878c has reminded me that we don't show the version of OpenSSL\nin the output of ./configure. This would be useful to know when\nlooking at issues within the buildfarm, and I've wanted that a few\ntimes.\n\nHow about the attached to use the openssl command, if available, t...
[ { "msg_contents": "Since C99, there can be a trailing comma after the last value in an enum \ndefinition. A lot of new code has been introducing this style on the \nfly. I have noticed that some new patches are now taking an \ninconsistent approach to this. Some add the last comma on the fly if \nthey add a ...
[ { "msg_contents": "Hi,\n\nI investigated a crashing postgres instance. Turns out the original issue was\noperator error. But in the process I found a few postgres issues. The scenario\nis basically that redo LSN and checkpoint LSN are in seperate segments, and\nthat for whatever reason, the file containing the ...
[ { "msg_contents": "The commit message in the attached patch provides the reasoning, as follows:\n\nThe user does not benefit from knowing that libpq allocates some/all memory\nusing malloc(). Mentioning malloc() here has a few downsides, and almost no\nbenefits.\n\nAll the relevant mentions of malloc() are foll...
[ { "msg_contents": "Try this as a user with NOBYPASSRLS:\n\n\nCREATE TABLE rlsbug (deleted boolean);\n\nINSERT INTO rlsbug VALUES (FALSE);\n\nCREATE POLICY p_sel ON rlsbug FOR SELECT TO laurenz USING (NOT deleted);\n\nCREATE POLICY p_upd ON rlsbug FOR UPDATE TO laurenz USING (TRUE);\n\nALTER TABLE rlsbug ENABLE ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 18167\nLogged by: Marius Raicu\nEmail address: mariusraicu@laposte.net\nPostgreSQL version: 16.0\nOperating system: RedHat 8\nDescription: \n\nHello all,\r\n\r\nI am encountering some problems when...
[ { "msg_contents": "Hi,\n\nSome time ago I’ve provided some details with the issues we face when trying to use GIST and partitioning at the same time in the postgresql-general mailing list:\nhttps://www.postgresql.org/message-id/3FA1E0A9-8393-41F6-88BD-62EEEA1EC21F%40kleczek.org\nGIST index and ORDER BY\npostgr...
[ { "msg_contents": "Hi,\n\nI'm seeing an issue after upgrading from 12.13 to 15.4. This happens\nwhen we run a query against a foreign table (fdw on the same instance to\na different database) -- but does not appear when we get rid of\npostgres_fdw:\n\nERROR: cursor can only scan forward\nHINT: Declare it with...
[ { "msg_contents": "Hi,\n\nWhile reviewing the test_decoding code, I noticed that when skip_empty_xacts\noption is specified, it doesn't open the streaming block( e.g.\npg_output_stream_start) before streaming the transactional MESSAGE even if it's\nthe first change in a streaming block.\n\nIt looks inconsistent...
[ { "msg_contents": "I tried PITR recovery, and the 'recovery_target_action' guc is shutdown. I\ngot a failure, and it told me to check the log, finally I found the result\nwas due to guc. I think pg_ctl should print some information which told\nusers recovery had been done.\nI developed a commit in my workspace....
[ { "msg_contents": "Hi, all\n\nShall we show Parallel Hash node’s total rows of a Parallel-aware HashJoin?\n\nEx: a non-parallel plan, table simple has 20000 rows.\n\nzml=# explain select count(*) from simple r join simple s using (id);\n QUERY PLAN\n--------------------------...
[ { "msg_contents": "Many usages of the foreach macro in the Postgres codebase only use the\nListCell variable to then get its value. This adds macros that\nsimplify iteration code for that very common use case. Instead of\npassing a ListCell you can pass a variable of the type of its\ncontents. This IMHO improve...
[ { "msg_contents": "Hi hackers!\n\nWe need community feedback on previously discussed topic [1].\nThere are some long-live issues in Postgres related to the TOAST mechanics,\nlike [2].\nSome time ago we already proposed a set of patches with an API allowing to\nplug in\ndifferent TOAST implementations into a liv...
[ { "msg_contents": "Hi,\n\nI recently mentioned to Heikki that I was seeing latch related wakeups being\nfrequent enough to prevent walwriter from doing a whole lot of work. He asked\nme to write that set of concerns up, which seems quite fair...\n\n\nHere's a profile of walwriter while the following pgbench run...
[ { "msg_contents": "Hi all,\n\nI don't remember how many times in the last few years when I've had to\nhack the backend to produce a test case that involves a weird race\ncondition across multiple processes running in the backend, to be able\nto prove a point or just test a fix (one recent case: 2b8e5273e949).\n...
[ { "msg_contents": "Hi,\n\nWhen reading the documentation about operator class, I found\nthe following description:\n\n The pg_am table contains one row for every index access method. \n Support for access to regular tables is built into PostgreSQL, \n but all index access methods are described in pg_am.\n\nIt s...
[ { "msg_contents": "Hello, hackers!\nWe are running PG13.10 and recently we have encountered what appears to be\na bug due to some race condition between ALTER TABLE ... ADD CONSTRAINT and\nsome other catalog-writer, possibly ANALYZE.\nThe problem is that after successfully creating index on relation (which\npre...
[ { "msg_contents": "Hello,\n\nWe are aware that, using async connection functions (`PQconnectStart`,\n`PQconnectPoll`), the `connect_timeout` parameter is not supported;\nthis is documented at\nhttps://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PQCONNECTSTARTPARAMS\n\n\"\"\"\nThe connect_timeout co...
[ { "msg_contents": "Hi All,\n\nAt present, we represent temp files as a signed long int number. And\ndepending on the system architecture (32 bit or 64 bit), the range of\nsigned long int varies, for example on a 32-bit system it will range\nfrom -2,147,483,648 to 2,147,483,647. AFAIU, this will not allow a\nses...
[ { "msg_contents": "UCS_BASIC is defined in the standard as a collation based on comparing\nthe code point values, and in UTF8 that is satisfied with memcmp(), so\nthe collation locale for UCS_BASIC in Postgres is simply \"C\".\n\nBut what should the result of UPPER('á' COLLATE UCS_BASIC) be? In\nPostgres, the a...
[ { "msg_contents": "Hackers,\n\nIt looks like this code was missed in 39969e2a when exclusive backup was \nremoved.\n\nRegards,\n-David", "msg_date": "Wed, 25 Oct 2023 14:53:31 -0400", "msg_from": "David Steele <david@pgmasters.net>", "msg_from_op": true, "msg_subject": "Remove dead code in pg_ct...
[ { "msg_contents": "Hi All,\n\nWe observed the behavioral difference when query(with custom GUC) using\nthe PARALLEL plan vs the Non-PARALLEL plan.\n\nConsider the below test:\n\nI understand the given testcase doesn't make much sense, but this is the\nsimplest\nversion of the test - to demonstrate the problem.\...
[ { "msg_contents": "Keeping things up to date. Here is a rebased patch with no changes from previous one.\n\n\n * John Morris", "msg_date": "Thu, 26 Oct 2023 15:00:58 +0000", "msg_from": "John Morris <john.morris@crunchydata.com>", "msg_from_op": true, "msg_subject": "Re: Atomic ops for unlog...
[ { "msg_contents": "Hi,\n\nI've seen situations a few times now where somebody has sessions that\nare \"idle in transaction\" for a long time but they feel like it should\nbe harmless because the transaction has no XID. However, the fact that\nthe transaction is idle doesn't mean it isn't running a query, becaus...
[ { "msg_contents": "In bug #18163 [1], Alexander proved the misgivings I had in [2]\nabout catcache detoasting being possibly unsafe:\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. Ca...
[ { "msg_contents": "Hackers,\n\nThis was originally proposed in [1] but that thread went through a \nnumber of different proposals so it seems better to start anew.\n\nThe basic idea here is to simplify and harden recovery by getting rid of \nbackup_label and storing recovery information directly in pg_control. ...
[ { "msg_contents": "Hello.\n\nSome messages recently introduced by commit 29d0a77fa6 seem to deviate\nslightly from our standards.\n\n+\t\tif (*invalidated && SlotIsLogical(s) && IsBinaryUpgrade)\n+\t\t{\n+\t\t\tereport(ERROR,\n+\t\t\t\t\terrcode(ERRCODE_INVALID_PARAMETER_VALUE),\n+\t\t\t\t\terrmsg(\"replication...
[ { "msg_contents": "hi.\nThe test seems to assume the following sql query should return zero row.\nbut it does not. I don't know much about the \"relreplident\" column.\n\nhttps://git.postgresql.org/cgit/postgresql.git/tree/src/test/regress/expected/type_sanity.out#n499\ndemo: https://dbfiddle.uk/QFM88S2e\n\ntes...
[ { "msg_contents": "Hi,\n\nI as far as I can tell, pg_dump does not dup the ‘run_as_owner` setting for a subscription.\n\nShould it? Should I submit a patch? It seems pretty trivial to fix if anyone else is working on it.\n\nSent from Mail for Windows\n\n\nHi, I as far as I can tell, pg_dump does not dup the ‘ru...
[ { "msg_contents": "Hello.\n\nI found the following message recently introduced in pg_upgrade:\n\n>\t\tpg_log(PG_VERBOSE, \"slot_name: \\\"%s\\\", plugin: \\\"%s\\\", two_phase: %s\",\n>\t\t\t slot_info->slotname,\n>\t\t\t slot_info->plugin,\n>\t\t\t slot_info->two_phase ? \"true\" : \"false\");\n\nIf the ...
[ { "msg_contents": "Hi, hackers!\n\nI recently encountered strange behavior when, after running the \ncreate_ms.sql test, I ran the last query from this test. In general, the \nplayback looks like this:\n\n\\i src/test/regress/sql/create_misc.sql\n\nI added Assert(0) in create_sort_plan() before calling \ncreate...
[ { "msg_contents": "In contrib/btree_gin, leftmostvalue_interval() does this:\n\nleftmostvalue_interval(void)\n{\n Interval *v = palloc(sizeof(Interval));\n\n v->time = DT_NOBEGIN;\n v->day = 0;\n v->month = 0;\n return IntervalPGetDatum(v);\n}\n\nwhich is a long way short of the minimum possibl...
[ { "msg_contents": "Hi All,\nReading [1] I have been experimenting with behaviour of identity\ncolumns and serial column in case of partitioned tables. My\nobservations related to serial column can be found at [2]. This email\nis about identity column behaviour with partitioned tables. Serial and\nidentity colum...
[ { "msg_contents": "Hi hackers!\n\nWe run a large amount of PostgreSQL clusters in our production. They differ\nby versions (we have 11-16 pg), load, amount of data, schema, etc. From\ntime to time, postgresql corruption happens. It says\nERROR,XX001,\"missing chunk number 0 for toast value 18767319 in\npg_toast...
[ { "msg_contents": "Collegues,\n\nI've encountered following problem compiling PostgreSQL 15.4 with just\nreleased Ubuntu 23.10.\n\nI'm compiling postgres with --with-system-tzdata and then regression\ntest sysviews fails with following diff:\n\n\n--- /home/test/pg-tests/postgresql-15.4/src/test/regress/expected...
[ { "msg_contents": "Hi hackers,\n\nI found that 'make update-po' for PGXS does not work.\nEven if execute 'make update-po', but xx.po.new is not generated.\nI don't test and check for meson build system, but I post it tentatively.\n\nI attached patch and test set.\n'update-po' tries to find *.po files $top_srcdi...
[ { "msg_contents": "As this change showed a really good improvement in my micro-benchmark, I\ndecided to give it a try on something that's a bit more of a real world\nbenchmark: PostgreSQL.\n\nHence, I'm also Cc'ing the postgres maintainers in case they are interested.\nTo bring them up to speed, here's what's b...
[ { "msg_contents": "Hello\n\nThe following was tested in a PostgreSQL (16) database. In my opinion queries based on Information_schema.views sometimes give unexpected results.\n\nCREATE TABLE Dept(deptno SMALLINT NOT NULL,\ndname VARCHAR(50) NOT NULL,\nCONSTRAINT pk_dept PRIMARY KEY (deptno));\n\nCREATE TABLE Em...
[ { "msg_contents": "Hi,\n\nHow about adding code indent checks (like what BF member koel has) to\nthe SanityCheck CI task? This helps catch indentation problems way\nbefore things are committed so that developers can find them out in\ntheir respective CI runs and lets developers learn the postgres code\nindentat...
[ { "msg_contents": "Hi,\n\nAfter 96f052613f3, we have below 6 types of parameter for \npg_stat_reset_shared().\n\n \"archiver\", \"bgwriter\", \"checkpointer\", \"io\", \"recovery_prefetch\", \n\"wal\"\n\nHow about adding a new option 'all' to delete all targets above?\n\nI imagine there are cases where peopl...
[ { "msg_contents": "Under Meson, it is not very easy to see if TAP tests have been enabled \nor disabled, if you rely on the default auto setting. You either need \nto carefully study the meson setup output, or you notice, what a minute, \ndidn't there use to be like 250 tests, not only 80?\n\nI think it would ...
[ { "msg_contents": "Hi, hackers!\n\nI have already written about the problem of InvalidPath [0] appearing. I \ninvestigated this and found an error in the add_path() function, when we \nreject a path, we free up the memory of the path, but do not delete \nvarious mentions of it (for example, in the ancestor of r...
[ { "msg_contents": "Hi hackers,\n\nWhile exploring the JIT support for tuple deforming process, I noticed that\none check for TTSOpsVirtual in slot_compile_deform is obsolete. Since\nvirtual tuples never need deforming and there's an assertion in\nllvm_compile_expr[1]. I simply replace it with an assertion in\ns...
[ { "msg_contents": "This is an offshoot of the \"CRC32C Parallel Computation Optimization on\nARM\" thread [0]. I intend for this to be a prerequisite patch set.\n\nPresently, for the SSE 4.2 and ARMv8 CRC instructions used in the CRC32C\ncode for WAL records, etc., we first check if the intrinsics are availabl...
[ { "msg_contents": "Please find attached a patch to provide some basic ordering to the system\nviews pg_available_extensions and pg_available_extension_versions. It is\nsorely tempting to add ORDER BYs to many of the other views in that file,\nbut I understand that would be contentious as there are reasons for n...
[ { "msg_contents": "hi.\nerreport bug over partitioned table in pgrowlocks.\n\nBEGIN;\nCREATE TABLE fk_parted_pk (a int PRIMARY KEY) PARTITION BY LIST (a);\nSELECT * FROM pgrowlocks('fk_parted_pk');\nERROR: only heap AM is supported\n\nerror should be the following part:\nif (rel->rd_rel->relkind == RELKIND_PAR...
[ { "msg_contents": "Hi, all:\r\n\r\n\r\nwhen I execute simple sql,report ERROR:\r\n\r\n\r\n\r\n\r\npostgres=# CREATE TABLE test_v(id int,name varchar(30));\r\nCREATE TABLE\r\npostgres=# insert into test_v values(9,'abc'),(9,'def'),(9,'gh'), (9,'gh');\r\nINSERT 0 4\r\npostgres=# explain (costs off) select distinc...
[ { "msg_contents": "Hi,\nFor some reason plannode.h has declared variable to hold RTIs as\nBitmapset * instead of Relids like other places. Here's patch to fix\nit. This is superficial change as Relids is typedefed to Bitmapset *.\nBuild succeeds for me and also make check passes.\n\n-- \nBest Wishes,\nAshutosh ...
[ { "msg_contents": "Hi\n\nCurrently we do not allow TRUNCATE of a table when any Foreign Keys\npoint to that table.\n\nAt the same time we do allow one to delete all rows when\nsession_replication_role=replica\n\nThis causes all kinds of pain when trying to copy in large amounts of\ndata, especially at the start...
[ { "msg_contents": "Hello hackers,\n\nCommit 3f1ce97 refactored XLog record access macros, but missed in a few places. I fixed this, and patch is attached.\n\n--\nYuhang Qiu", "msg_date": "Tue, 31 Oct 2023 17:22:50 +0800", "msg_from": "=?utf-8?B?6YKx5a6H6Iiq?= <iamqyh@gmail.com>", "msg_from_op": true...
[ { "msg_contents": "Hi hackers,\n\nThere is a failure with 't/003_logical_slots.pl' test during the\nupgrade. The failure is intermittent and observed in the Windows\nenvironment.\n\nDetails-\nTest - pg_upgrade/t/003_logical_slots.pl\nResult -\nt/003_logical_slots.pl .. 5/?\n# Failed test 'run of pg_upgrade of...
[ { "msg_contents": "Here is an updated patch for tracking Postgres memory usage.\n\nIn this new patch, Postgres “reserves” memory, first by updating process-private counters, and then eventually by updating global counters. If the new GUC variable “max_total_memory” is set, reservations exceeding the limit are t...
[ { "msg_contents": "Postgres has been bitten by a few locale-related bugs, most recently via \nlibperl[0]. I had previously submitted this patchset in the bug thread \nfor the aforementioned bug, but here is a standalone submission for the \npurposes of an eventual commitfest submission, and to get discussion \n...
[ { "msg_contents": "Hi,\n\nCurrently, nbtree code compares each and every column of an index\ntuple during the binary search on the index page. With large indexes\nthat have many duplicate prefix column values (e.g. an index on (bool,\nbool, uuid) ) that means a lot of wasted time getting to the right\ncolumn.\n...
[ { "msg_contents": "(now really to -hackers)\nHi,\n\nOver at [0] I'd implemented an optimization that allows us to skip\ncalling _bt_compare in _bt_moveright in many common cases. This patch,\nwhen stacked on top of the prefix truncation patch, improves INSERT\nperformance by an additional 2-9%pt, with an extrem...
[ { "msg_contents": "Looking at the Assert inside tts_virtual_copyslot(), it does:\n\nAssert(srcdesc->natts <= dstslot->tts_tupleDescriptor->natts);\n\nSo, that seems to indicate that it's ok for the src slot to have fewer\nattributes than the destination. The code then calls\ntts_virtual_clear(dstslot), then sl...
[ { "msg_contents": "Hi hackers,\n\nI hope this email finds you well.\n\nI noticed that the CREATE/ALTER TABLE document does not mention that\nEXCLUDE can accept a collation. I created a documentation fix for this\nissue, and I have attached it to this email.\n\nPlease let me know if you have any questions or con...
[ { "msg_contents": "I didn't see any recent mentions in the archives, so I'll volunteer to\nbe CF manager for 2023-11.\n\n\n", "msg_date": "Wed, 1 Nov 2023 13:33:26 +0700", "msg_from": "John Naylor <johncnaylorls@gmail.com>", "msg_from_op": true, "msg_subject": "Commitfest manager November 2023" ...
[ { "msg_contents": "\nHi hackers,\n\nI try to run regression test on illumos, the 010_tab_completion will\nfailed because of timeout.\n\nHere is my build commands and logs:\n\n $ ../configure --enable-cassert --enable-debug --enable-nls --with-perl \\\n --with-python --with-tcl --with-openssl --with-libx...
[ { "msg_contents": "Since pgstatfuncs.c was refactored, the comments for synthesized\nfunction names are significant to find the function body.\n\nI happened to find a misspelling among the function name\ncomments. \"pg_stat_get_mods_since_analyze\" should be\n\"pg_stat_get_mod_since_analyze\".\n\nUpon checking ...
[ { "msg_contents": "Hi hackers,\n\nWhile reviewing another patch I noticed how the GUCs are\ninconsistently named within the GUC_check_errdetail messages:\n\n======\n\nbelow, the GUC name is embedded but not quoted:\n\nsrc/backend/access/transam/xlogprefetcher.c:\nGUC_check_errdetail(\"recovery_prefetch is not s...
[ { "msg_contents": "Hi hackers,\n\nI found that there's a nullable pointer being passed to strcmp() and\ncan make the server crash. It can be reproduced on the latest master\nbranch by crafting an extension[1]. Patch for fixing it is attatched.\n\n[1] https://github.com/higuoxing/guc_crash/tree/pg\n\n-- \nBest R...