threads
listlengths
1
2.99k
[ { "msg_contents": "Hi hackers,\n\nWhile reading codes related with logical decoding,\nI thought that following comment in rmgrlist.h is not consistent.\n\n> /* symbol name, textual name, redo, desc, identify, startup, cleanup */\n\nThis comment describes a set of APIs that the resource manager should have, but ...
[ { "msg_contents": "Hi all,\n\nRFC9266, that has been released not so long ago, has added\ntls-exporter as a new channel binding type:\nhttps://www.rfc-editor.org/rfc/rfc5929.html\n\nAn advantage over tls-server-end-point, AFAIK, is that this prevents\nman-in-the-middle attacks even if the attacker holds the ser...
[ { "msg_contents": "This brings the bonus of support jitting on riscv64 (included in this patch)\nand other platforms Rtdyld doesn't support, e.g. windows COFF.\n\nCurrently, llvm doesn't expose jitlink (ObjectLinkingLayer) via C API, so\na wrapper is added. This also adds minor llvm 15 compat fix that is needed...
[ { "msg_contents": "Hello,\n\nwhile reading the postgres code, occasionally I see a little bit of \ninconsistency in the comments after #else (and corresponding #endif).\n\nIn some places #else/endif's comment expresses condition for else block \nto be active:\n#ifdef HAVE_UUID_OSSP\n...\n#else ...
[ { "msg_contents": "Hi,\nI add a tiny test to pg_checksum for coverage.\nI checked it improve test coverage 77.9% -> 87.7%.\n\n---\nRegards,\nDongWook Lee.", "msg_date": "Mon, 29 Aug 2022 20:26:56 +0900", "msg_from": "Dong Wook Lee <sh95119@gmail.com>", "msg_from_op": true, "msg_subject": "pg_che...
[ { "msg_contents": "Buildfarm member mamba (NetBSD-current on prairiedog's former hardware)\nhas failed repeatedly since I set it up. I have now run the cause of\nthat to ground [1], and here's what's happening: if the postmaster\nreceives a signal just before it first waits at the select() in\nServerLoop, it c...
[ { "msg_contents": "Hi,\n\nA few things about the windows resource files we generate\n\n1) For make based builds, all libraries that are built with MODULES rather\n than MODULES_big have the wrong \"FILETYPE\", because Makefile.win32 checks\n $(shlib), which is only set for MODULES_big.\n\n This used to be...
[ { "msg_contents": "Hi hackers,\n\nI'd like to propose some new hooks for the buffer manager. My primary goal\nis to allow users to create an additional caching mechanism between the\nshared buffers and disk for evicted buffers. For example, some EC2\ninstance classes have ephemeral disks that are physically a...
[ { "msg_contents": "When adding an option, we have 5 choices (bool, integer, real, enum, string),\nso the comments seem stale.\n\nThere are some sentences missing *at ShareUpdateExclusiveLock*, this\npatch adds them to make the sentences complete.\n\nOne thing I'm not sure is should we use *at ShareUpdateExclusi...
[ { "msg_contents": "mbuf_tell and mbuf_rewind functions were introduced in commit e94dd6ab91 but\nwere seemingly never used, so it seems we can consider retiring them in v16.\n\n--\nDaniel Gustafsson\t\thttps://vmware.com/", "msg_date": "Tue, 30 Aug 2022 12:59:15 +0200", "msg_from": "Daniel Gustafsson <d...
[ { "msg_contents": "In pg_regress we set restrictedToken when calling CreateRestrictedProcess, but\nwe never seem to use that anywhere. Not being well versed in Windows I might\nbe missing something, but is it needed or is it a copy/pasteo from fa1e5afa8a2\nwhich does that in restricted_token.c? If not needed,...
[ { "msg_contents": "Hi,\n\nI found the list of TG_ variables on\nhttps://www.postgresql.org/docs/current/plpgsql-trigger.html#PLPGSQL-DML-TRIGGER\nhard to read for several reasons: too much whitespace, all the lines\nstart with \"Data type\", and even after that, the actual content is\nhiding behind some extra \...
[ { "msg_contents": ">It's a shame you only see 3%, but that's still worth it.\nHi,\n\nI ran this test here:\n\nDROP TABLE hash_speed;\nCREATE unlogged TABLE hash_speed (x integer);\nINSERT INTO hash_speed SELECT random()*10000000 FROM\ngenerate_series(1,10000000) x;\nVACUUM\nTiming is on.\nCREATE INDEX ON hash_s...
[ { "msg_contents": "Hi,\r\n\r\nPlease see the first draft for the PostgreSQL 15 release announcement. \r\nThis is the announcement that goes out when we ship 15.0.\r\n\r\nA few notes on the first draft:\r\n\r\n1. I have not put in any links yet -- I want to ensure the document is \r\nclose to being static before...
[ { "msg_contents": "I was looking at F263 from the SQL standard, Comma-separated predicates in\nsimple CASE expression, and thinking if we could support this within the\nframework we already have at a minimal added cost. The attached sketch diff\nturns each predicate in the list into a CaseWhen node and uses th...
[ { "msg_contents": "Hi,\n\nOne of the most annoying things in the planner for me is unnesting of \ncorrelated queries [1]. A number papers on this subject were published \nstarting 1980s, but only trivial optimizations exists in the Core. It \nmeans a lack of performance, especially when we use foreign tables in...
[ { "msg_contents": "Hi,\n\nThe commit\nhttps://github.com/postgres/postgres/commit/b17ff07aa3eb142d2cde2ea00e4a4e8f63686f96\nIntroduced the CopyStatistics function.\n\nTo do the work, CopyStatistics uses a less efficient function\nto update/insert tuples at catalog systems.\n\nThe comment at indexing.c says:\n\"...
[ { "msg_contents": "Commit 38bfae36526 moved the .txt files pg_upgrade generates to a separate\nsubdir, but there are a few left which are written to cwd. The thread\nresulting in that patch doesn't discuss these files specifically so it seems\nthey are just an oversight. Unless I'm missing something.\n\nShould...
[ { "msg_contents": "Hi,\n\nThere are two ways in which a role can exercise the privileges of some\nother role which has been granted to it. First, it can implicitly\ninherit the privileges of the granted role. Second, it can assume the\nidentity of the granted role using the SET ROLE command. It is\npossible to ...
[ { "msg_contents": "An internal VM crashed last night due to OOM.\n\nWhen I tried to start postgres, it failed like:\n\n< 2022-08-31 08:44:10.495 CDT >LOG: checkpoint starting: end-of-recovery immediate wait\n< 2022-08-31 08:44:10.609 CDT >LOG: request to flush past end of generated WAL; request 1201/1CAF84F...
[ { "msg_contents": "Hi hackers,\n\nWhile query jumbling is provided for function calls that’s currently not \nthe case for procedures calls.\nThe reason behind this is that all utility statements are currently \ndiscarded for jumbling.\n\nWe’ve recently seen performance impacts (LWLock contention) due to the \nl...
[ { "msg_contents": "Hi Hackers,\n\nAttached is a patch to \nAdd tracking of backend memory allocated to pg_stat_activity\n    \nThis new field displays the current bytes of memory allocated to the\nbackend process.  It is updated as memory for the process is\nmalloc'd/free'd. Memory allocated to items on the fre...
[ { "msg_contents": "Hi Hackers,\n\nThis patch ensures get_database_list() switches back to the memory\ncontext in use upon entry rather than returning with TopMemoryContext\nas the context.\n\nThis will address memory allocations in autovacuum.c being associated\nwith TopMemoryContext when they should not be.\n\...
[ { "msg_contents": "Hi Hackers,\n\nAdd the ability to limit the amount of memory that can be allocated to\nbackends.\n\nThis builds on the work that adds backend memory allocated to\npg_stat_activity\nhttps://www.postgresql.org/message-id/67bb5c15c0489cb499723b0340f16e10c22485ec.camel%40crunchydata.com\nBoth pat...
[ { "msg_contents": "I noticed that buildfarm member margay, which just recently started\nrunning tests on REL_12_STABLE, is failing the plpython tests in that\nbranch [1], though it's happy in v13 and later. The failures appear\ndue to syntax errors in Python \"except\" statements, and it's visible\nin some of ...
[ { "msg_contents": "Hi, when I’m trying to access values of my custom enum type I created with\n\ncreate type colors as enum ('red', 'green', 'brown', 'yellow', 'blue');\n\nI’m getting oid as 16387 and I can see it stored as a chars\n\nis number 16387 is always OID for enum type?\n\nif not how I can get informat...
[ { "msg_contents": "Hi,\n\nWhile working on something else, I noticed that commit 487e9861d added\na new field to struct Trigger, but failed to update $SUBJECT to match.\nAttached is a small patch for that.\n\nBest regards,\nEtsuro Fujita", "msg_date": "Thu, 1 Sep 2022 15:18:38 +0900", "msg_from": "Etsur...
[ { "msg_contents": "Hi\r\n\r\nI found some data that are badly formatted in psql\r\n\r\ncreate table foo(a varchar);\r\ninsert into foo values('Dětská šperkovnice Goki ‎15545');\r\ninsert into foo values('Tlakoměr Omron Evolv s Bluetooth připojením');\r\ninsert into foo values('Řetěz KMC ‎BE08SEP22 stříbrný');\r...
[ { "msg_contents": "Hello,\n\nWhen using pg_dump (or pg_restore) with option \"--clean\", there is some \nSQL code to drop every objects at the beginning.\n\nThe DROP statement for a view involving circular dependencies is :\n\nCREATE OR REPLACE VIEW [...]\n\n(see commit message of d8c05aff for a much better exp...
[ { "msg_contents": "Inside *add_local_<>_reloption*, we should pass NoLock instead of\nthe magic 0 to init_<>_reloption, which makes more sense.\n\n\n-- \nRegards\nJunwang Zhao", "msg_date": "Thu, 1 Sep 2022 16:18:49 +0800", "msg_from": "Junwang Zhao <zhjwpku@gmail.com>", "msg_from_op": true, "ms...
[ { "msg_contents": "*TextDatumGetCString* calls palloc to alloc memory for the option\ntext datum, in some cases the the memory is allocated in\n*TopTransactionContext*, this may cause memory leak for a long\nrunning backend.\n---\n src/backend/access/common/reloptions.c | 1 +\n 1 file changed, 1 insertion(+)\n\...
[ { "msg_contents": "Hi,\n\nwalsenders currently read WAL data from disk to send it to all\nreplicas (standbys or subscribers connected via streaming or logical\nreplication respectively). This means that walsenders have to wait\nuntil the WAL data is flushed to the disk. There are a few issues with\nthis approac...
[ { "msg_contents": "Hi,\nExcuse me for posting on this thread.\n\nCoverity has a complaints about aset.c\nCID 1497225 (#1 of 2): Out-of-bounds write (OVERRUN)3. overrun-local:\nOverrunning\narray set->freelist of 11 8-byte elements at element index 1073741823 (byte\noffset 8589934591) using index fidx (which eva...
[ { "msg_contents": "Hi hackers,\n\nNow that we have some optimized linear search routines [0], I thought I'd\nquickly check whether we could use them elsewhere. To start, I took\nanother look at a previously posted patch [1] and noticed two potentially\nuseful applications of pg_lfind32(). The attached patches...
[ { "msg_contents": "Revert SQL/JSON features\n\nThe reverts the following and makes some associated cleanups:\n\n commit f79b803dc: Common SQL/JSON clauses\n commit f4fb45d15: SQL/JSON constructors\n commit 5f0adec25: Make STRING an unreserved_keyword.\n commit 33a377608: IS JSON predicate\n commi...
[ { "msg_contents": "find_my_exec() wants to obtain an absolute, symlink-free path\nto the program's own executable, for what seem to me good\nreasons. However, chasing down symlinks is left to its\nsubroutine resolve_symlinks(), which does this:\n\n * To resolve a symlink properly, we have to chdir into its...
[ { "msg_contents": "Previously, the automatically generated names were entirely undocumented. That\nis not a very good state of affairs: although it's possibly inconvenient to\nrigidly specify what it is since it's an implementation detail, these names are\nuser-visible, and it would be good to have documentatio...
[ { "msg_contents": "Hi, hackers\n\n\nI've met an assertion failure of logical decoding with below scenario on HEAD.\n\n---\n<preparation>\ncreate table tab1 (val integer);\nselect 'init' from pg_create_logical_replication_slot('regression_slot', 'test_decoding');\n\n<session1>\nbegin;\nsavepoint sp1;\ninsert in...
[ { "msg_contents": "Over on [1], there was a question about why it wasn't possible to\ncreate the following table:\n\nCREATE TABLE foobar(\n id BIGINT NOT NULL PRIMARY KEY,\n baz VARCHAR NULL DEFAULT NULL\n) PARTITION BY HASH(my_func(id));\n\nThe above is disallowed by 2 checks in DefineIndex().\n\n1. If t...
[ { "msg_contents": "Commit 4232c4b40 introduced userspace access vector cache in sepgsql, and\nremoved all callers of sepgsql_check_perms. Searching the usual repos for\nusage in 3rd party code comes up blank. Is there any reason not to remove it\nas per the attached?\n\n--\nDaniel Gustafsson\t\thttps://vmware...
[ { "msg_contents": "In funcs.sgml, the value fed into jsonb_path_exists_tz was wrong; fixed \nas attached.\n(was inadvertently reverted with the big JSON revert)\n\nErik Rijkers", "msg_date": "Fri, 2 Sep 2022 16:25:38 +0200", "msg_from": "Erik Rijkers <er@xs4all.nl>", "msg_from_op": true, "msg_su...
[ { "msg_contents": "Hi,\n\nWe have a number of places in the system where we are using\nobject-oriented design patterns. For example, a foreign data wrapper\nreturns a table of function pointers which are basically methods for\noperating on a planner or executor node that corresponds to a foreign\ntable that use...
[ { "msg_contents": "Per the meson thread, we also need to have a conversation about\nwhat's the oldest bison and flex versions still worth supporting.\nThe ones that had been our reference points are no longer\nrepresented in the buildfarm, and it seems not likely to be\nworth resurrecting copies of those.\n\nAs...
[ { "msg_contents": "Hi,\n\nI think that this is a typo.\n\nAt function circle_same the second isnan test is wrong.\n\nAttached fix patch.\n\nregards,\nRanier Vilela", "msg_date": "Fri, 2 Sep 2022 16:08:34 -0300", "msg_from": "Ranier Vilela <ranier.vf@gmail.com>", "msg_from_op": true, "msg_subject...
[ { "msg_contents": "Postgres 14 commit 5b861baa55 added hardening to nbtree page deletion.\nThis had the effect of making nbtree VACUUM robust against misbehaving\noperator classes -- we just LOG the problem and move on, without\nthrowing an error. In practice a \"misbehaving operator class\" is often\na problem...
[ { "msg_contents": "Hi,\n\nbuilding PG with meson on windows I occasionally got weird errors around\nscanners. Sometimes scanner generation would fail with\n\n win_flex.exe: error deleting file C:\\Users\\myadmin\\AppData\\Local\\Temp\\~flex_out_main_2\n\nsometimes the generated scanner would just be corrupted....
[ { "msg_contents": "Hi\n\nI got fresh warnings when I build an extension\n\nIn file included from\n/usr/local/pgsql/master/include/server/mb/pg_wchar.h:22,\n from src/format.c:17:\n/usr/local/pgsql/master/include/server/port/simd.h: In function\n‘vector8_has’:\n/usr/local/pgsql/master/include/ser...
[ { "msg_contents": "Hi hackers,\nI write a tiny patch about vacuumlo to improve test coverage.\nI hope my work is meaningful.\n\n---\nRegards,\nDongWook Lee.", "msg_date": "Sat, 3 Sep 2022 17:27:39 +0900", "msg_from": "Dong Wook Lee <sh95119@gmail.com>", "msg_from_op": true, "msg_subject": "vacuu...
[ { "msg_contents": "Hi hackers,\nI try to add to psql test about --help, \\e, and the encoding option.\n\n---\nRegards,\nDongWook Lee.\n\n\n", "msg_date": "Sat, 3 Sep 2022 18:08:38 +0900", "msg_from": "Dong Wook Lee <sh95119@gmail.com>", "msg_from_op": true, "msg_subject": "add test to psql for c...
[ { "msg_contents": "I've been trying to figure out why my new buildfarm animal mamba\noccasionally fails the pg_basebackup tests [1][2]. I've not run\nthat to ground yet, but one thing I've found that's consistently\nreproducible everywhere is that pg_basebackup's --gzip switch\nmisbehaves. The manual says, an...
[ { "msg_contents": "Hi,\nIn CheckLDAPAuth(), around line 2606:\n\n if (r != LDAP_SUCCESS)\n {\n ereport(LOG,\n (errmsg(\"could not search LDAP for filter \\\"%s\\\" on\nserver \\\"%s\\\": %s\",\n\nIt seems that the call to ldap_msgfree() is missing in the above case.\n...
[ { "msg_contents": "Hi, The ECPG preprocessor converts the code\"static VARCHAR str1[10], str2[20], str3[30];\"into\"static  struct varchar_1  { int len; char arr[ 10 ]; }  str1 ;         struct varchar_2  { int len; char arr[ 20 ]; }  str2 ;         struct varchar_3  { int len; char arr[ 30 ]; }  str3 ;\".Stora...
[ { "msg_contents": "Hi,\n\nI've been running some valgrind tests on rpi4/aarch64, and I get a crash\nin test_decoding ddl test in ~50% runs. I don't see the same failure\nwithout valgrind or on 32-bit system (hundreds of runs, no crashes), so\nI suspect this is a race condition, and with valgrind the timing chan...
[ { "msg_contents": "Hi,\n\nThe latest build fails.\nhttps://github.com/postgres/postgres/runs/8176044869\n\nIn file included from\n/tmp/cpluspluscheck.ggpN3I/test.cpp:3:[11:12:13.290]\n/tmp/cirrus-ci-build/contrib/cube/cubeparse.h:77:19: error: ‘NDBOX’\nwas not declared in this scope[11:12:13.290] 77 | int cu...
[ { "msg_contents": "Greetings!\n\nOne of our clients experienced a crash of startup process with an error\n\"invalid memory alloc request size 1073741824\" on a hot standby, which\nended in replica reinit.\n\nAccording to logs, startup process crashed while trying to replay\n\"Standby/LOCK\" record with a huge l...
[ { "msg_contents": "Hi hackers!\n\nDue to experiments with columnar data storage I've decided to revive this\nthread -\nTable AM modifications to accept column projection lists\n<https://www.postgresql.org/message-id/flat/CAE-ML+9RmTNzKCNTZPQf8O3b-UjHWGFbSoXpQa3Wvuc8YBbEQw@mail.gmail.com>\n\nTo remind:\n\nThis p...
[ { "msg_contents": "Hi,\n\nMacro exec_subplan_get_plan is not used anymore.\nAttach a patch to remove it.\n\nRegards,\nZhang Mingli", "msg_date": "Tue, 6 Sep 2022 00:39:30 +0800", "msg_from": "Zhang Mingli <zmlpostgres@gmail.com>", "msg_from_op": true, "msg_subject": "Remove dead macro exec_subpl...
[ { "msg_contents": "Attached is a patch series that attempts to modernize our GUC\ninfrastructure, in particular removing the performance bottlenecks\nit has when there are lots of GUC variables. I wrote this because\nI am starting to question the schema-variables patch [1] --- that's\ngetting to be quite a lar...
[ { "msg_contents": "Hi everyone,\n\nJust trying the new column/row filter on v15, I found this issue that\ncould be replicated very easily.\n\n\"\"\"\npostgres=# create table t1(i serial primary key);\nCREATE TABLE\npostgres=# alter table t1 drop i;\nALTER TABLE\npostgres=# alter table t1 add id serial primary k...
[ { "msg_contents": "I've noticed that some callers of PathNameOpenFile()\n(e.g. bbsink_server_begin_archive()) consider the call failed even if the\nfunction returned zero, while other ones do check whether the file descriptor\nis strictly negative. Since the file descriptor is actually returned by the\nopen() s...
[ { "msg_contents": "\nIn commit dc7420c2c9, the RecentGlobalXmin variable is removed, however,\nthere are some places that reference it.\n\n$ grep 'RecentGlobalXmin' -rn src/\nsrc/backend/replication/logical/launcher.c:101: * the secondary effect that it sets RecentGlobalXmin. (This is critical\nsrc/backend/ut...
[ { "msg_contents": "Hello!\n\nFound a periodic spike growth of the checkpoint_req counter on replica by 20-30 units\nafter large insert (~350Mb) on master.\nReproduction on master and replica with default conf:\n1) execute the command \"insert into test values (generate_series(1,1E7));\".\nThis leads to the tabl...
[ { "msg_contents": "Hi,\n\nI didn't understand the current wording of the NOTES section in\npsql(1) on which major versions psql is compatible with, so here's a\npatch to make that more explicit.\n\nChristoph", "msg_date": "Tue, 6 Sep 2022 13:30:41 +0200", "msg_from": "Christoph Berg <myon@debian.org>", ...
[ { "msg_contents": "The pg_upgrade manpage in PG 14 and earlier claims that upgrades from\n8.4 are supported, but that doesn't work:\n\n/usr/lib/postgresql/14/bin/pg_upgrade -b /usr/lib/postgresql/8.4/bin -B /usr/lib/postgresql/14/bin -p 5432 -P 5433 -d /var/lib/postgresql/8.4/upgr -o -D /etc/postgresql/8.4/upgr...
[ { "msg_contents": "New chapter on transaction management, plus a few related changes.\n\nMarkup and links are not polished yet, so please comment initially on\nthe topics, descriptions and wording.\n\n-- \nSimon Riggs http://www.EnterpriseDB.com/", "msg_date": "Tue, 6 Sep 2022 16:16:02 +0100"...
[ { "msg_contents": "Hi,\n\nI'm not sure what is causing this, but I have seen this twice. The\nsecond time without activity after changing the set of tables in a\nPUBLICATION.\n\ngdb says that debug_query_string contains:\n\n\"\"\"\nSTART_REPLICATION SLOT \"sub_pgbench\" LOGICAL 0/0 (proto_version '3', publicati...
[ { "msg_contents": "Hi,\r\n\r\nI've attached a draft of the PostgreSQL 15 Beta 4 release announcement. \r\nPlease review for correctness and if there are any omissions.\r\n\r\nPlease provide feedback on the draft no later than Sep 8, 2022 0:00 AoE.\r\n\r\nThanks!\r\n\r\nJonathan", "msg_date": "Tue, 6 Sep 202...
[ { "msg_contents": "Doc: Explain about Column List feature.\n\nAdd a new logical replication section for \"Column Lists\" (analogous to the\nRow Filters page). This explains how the feature can be used and the\ncaveats in it.\n\nAuthor: Peter Smith\nReviewed-by: Shi yu, Vignesh C, Erik Rijkers, Amit Kapila\nBack...
[ { "msg_contents": "Hello hackers!\n\nReading docs for the MERGE statement I've found a little error: a \nsemicolon in middle of a statement and absence of a semicolon in the end \nof it.\n\nKey words in subqueries are written in uppercase everywhere in the docs \nbut not in an example for MERGE. I think it shou...
[ { "msg_contents": "Fix perltidy breaking perlcritic\n\nperltidying a \"##no critic\" line moves the marker to where it becomes\nuseless. Put the line back to how it was, and protect it from further\nmalfeasance.\n\nPer buildfarm member crake.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresq...
[ { "msg_contents": "Hi All,\n\nThe logically decoded data are sent to the logical subscriber at the time\nof transaction commit, assuming that the data is small. However, before the\ntransaction commit is performed, the LSN representing the data that is yet\nto be received by the logical subscriber appears in th...
[ { "msg_contents": "Hi,\n\nIn Neon, we've had to modify the GIN fast insertion path as attached,\ndue to an unexpected XLOG insertion and buffer locking ordering issue.\n\nThe xlog readme [0] mentions that the common order of operations is 1)\npin and lock any buffers you need for the log record, then 2) start a...
[ { "msg_contents": "Apparently, you can't add a table to a publication if its schema is \nalready part of the publication (and vice versa), e.g.,\n\n=# alter publication p1 add table s1.t1;\nERROR: 22023: cannot add relation \"s1.t1\" to publication\nDETAIL: Table's schema \"s1\" is already part of the publica...
[ { "msg_contents": "The pg_walinspect function pg_get_wal_stats() has output arguments \ndeclared as float4 (count_percentage, record_size_percentage, etc.), but \nthe internal computations are all done in type double. Is there a \nreason why this is then converted to float4 for output? It probably \ndoesn't m...
[ { "msg_contents": "While testing Alvaro's \"cataloguing NOT NULL constraints\" patch [1], I\nnoticed a behavior of inherited column merging during ALTER TABLE that\nI thought might be a bug (though see at the bottom).\n\nNote how CREATE TABLE merges the inherited properties of parent foo's\na's NOT NULL into a ...
[ { "msg_contents": "Attached is the plain-text list of acknowledgments for the PG15 release \nnotes, current through REL_15_BETA4. Please check for problems such as \nwrong sorting, duplicate names in different variants, or names in the \nwrong order etc. (Note that the current standard is given name followed ...
[ { "msg_contents": "Hi hackers,\n\nI tried to understand some implementation details of ProcArray and\ndiscovered that this is a bit challenging to do due to a missing\ncomment for PGPROC.pgprocno. E.g. it's hard to understand why\nProcArrayAdd() preserves procArray->pgprocnos[] sorted by (PGPROC *)\nif actually...
[ { "msg_contents": "Hi,\n\nThe current WAL records generated by the Heap tableAM do not contain\nthe command ID of the query that inserted/updated/deleted the records.\nThe CID is not included in XLog because it is useful only to\nvisibility checks in an active read/write transaction, which currently\nonly appea...
[ { "msg_contents": "Hi!\n\nI created a patch for improving MARGE tab completion.\nCurrently there is a problem with \"MERGE INTO dst as d Using src as s ON \nd.key = s.key WHEN <tab>\" is typed, \"MATCHED\" and \"NOT MATCHED\" is not \ncompleted.\nThere is also a problem that typing \"MERGE INTO a AS <tab>\" com...
[ { "msg_contents": "Hi,\n\nWhen implementing the feature to perform streaming logical transactions by\nbackground workers[1], we plan to extend the LOGICAL_REP_MSG_STREAM_ABORT message\nto send the additional \"abort_lsn\" and \"abort_time\" so that we can advance the\norigin lsn in subscriber and can restart st...
[ { "msg_contents": "Hi!\n\nis_superuser function checks whether a user is a superuser or not, and \nis commonly used. However, is_superuser is not documented and is set to \nUNGROUPED in guc.c. I think is_superuser should be added to the \ndocumentation and set to PRESET OPTIONS.What are you thought on this?\n\n...
[ { "msg_contents": "Hello.\n\nWhile I played with some patch, I met an assertion failure.\n\n#2 0x0000000000b350e0 in ExceptionalCondition (\n conditionName=0xbd8970 \"!IsInstallXLogFileSegmentActive()\", \n errorType=0xbd6e11 \"FailedAssertion\", fileName=0xbd6f28 \"xlogrecovery.c\", \n lineNumber=41...
[ { "msg_contents": "Based on work in [1].\nAccording to https://cplusplus.com/reference/cstdio/fprintf/\nThe use of fprintf is related to the need to generate a string based on a\nformat, which should be different from \"%s\".\nSince fprintf has overhead when parsing the \"format\" parameter, plus all\nthe troub...
[ { "msg_contents": "Hi, hackers\n\nI found there are some redundant code in pl_exec.c,\nplpgsql_param_eval_generic_ro is same as plpgsql_param_eval_generic\nexcept it invokes MakeExpandedObjectReadOnly.\n\nIMO, we can invoke plpgsql_param_eval_generic in plpgsql_param_eval_generic_ro\nto avoid the redundant.\n\n...
[ { "msg_contents": "Just a reminder that the first week of \"September 2022 commitfest\" is over,\nAs of now, there are \"295\" patches in total. Out of these 295 patches, \"29\"\npatches required committer attention, and 188 patches need reviews. I think\nwe need more reviewers to low down the number.\n\nI will...
[ { "msg_contents": "Hello,\n\nplease find my first patch for PostgreSQL is attached.\nKind regards,\nAndrey Arapov", "msg_date": "Sat, 10 Sep 2022 01:24:36 +0000", "msg_from": "andrey.arapov@nixaid.com", "msg_from_op": true, "msg_subject": "[PATCH] initdb: do not exit after warn_on_mount_point" ...
[ { "msg_contents": "The sequence of events leading up to this:\n\n0) Yesterday I upgraded an internal VM to pg15b4 using PGDG RPMs;\n It's the same VM that hit the prefetch_recovery bug which was fixed by\n adb466150. I don't think that should've left it in a weird state\n (since recovery was sucessful wh...
[ { "msg_contents": "Hello,\n\nAre there any plans or thoughts about adding support for other languages\nthan C into Postgres, namely Rust? I would love to hack on some features\nbut I worry somewhat that the C compiler won't give me enough hints that\nI'm doing something wrong, and the Rust compiler has been exc...
[ { "msg_contents": "hi,\r\n\r\n\r\nthis morning i met an issue, that after vacuum full tablename, the associated toast table shows not exist.\r\nhere is the operation steps:\r\n\r\n\r\ndrop table if exists reymont;\r\ncreate table&nbsp; reymont ( id bigint primary key, data bytea not null);\r\nalter table reymon...
[ { "msg_contents": "Here's a WIP stab at the project Andres mentioned [1] of splitting up\nguc.c into smaller files. As things stand here, we have:\n\n1. guc.c: the core GUC machinery.\n2. guc_tables.c: the data arrays, and some previously-exposed constant\ntables. guc_tables.h can now be considered the associ...
[ { "msg_contents": "On a two-column btree index, we can constrain the first column with\nequality and read the rows in order by the 2nd column. But we can't\nconstrain the first column by IS NULL and still read the rows in order by\nthe 2nd column. But why not? Surely the structure of the btree index\nwould a...
[ { "msg_contents": "Hi hackers,\n\nWhile wandering around the codes of reducing outer joins, I noticed that\nwhen determining which base rels/Vars are forced nonnullable by given\nclause, we don't take SubPlan into consideration. Does anyone happen to\nknow what is the concern behind that?\n\nIMO, for SubPlans o...
[ { "msg_contents": "Hi hackers!\n\nRecently I observed very peculiar incident.\n\n=== Incident description ===\n\nETL database was operating fine for many months, regularly updated etc. Workload was not changing much, but as far as it was ETL database - most of queries were different all the time.\nOn the night ...
[ { "msg_contents": "Hi, it looks like the commit [1] renamed pg_stop_backup() to\npg_backup_stop() but forgot to rename the associated\nPG_STOP_BACKUP_V2_COLS macro. While this is harmless, here's a patch\nto rename the macro to be in sync with the function name.\n\nThoughts?\n\n[1]\ncommit 39969e2a1e4d7f5a37f3e...
[ { "msg_contents": "See attached simple patch to fix $SUBJECT; the old link generates a Not Found.\n\nThanks,\nJames Coleman", "msg_date": "Mon, 12 Sep 2022 12:13:27 -0400", "msg_from": "James Coleman <jtc331@gmail.com>", "msg_from_op": true, "msg_subject": "Fix broken link to FreeBSD DocProj in ...
[ { "msg_contents": "Hi!\n\nI am trying to solve the problem of estimating the table bloat (and index\nbloat, though I am mostly focusing on tables at the moment).\n\nAfter searching far and wide, it seems that the choice is to be made\nbetween two methods:\n1. Slow, but very precise pgstattuple\n2. Fast, but som...
[ { "msg_contents": "Hi,\n\nWhen I try to restore an old backup on Windows, the restore always fails with a message that permission denied for \"base/19513/21359\".\n\nNote this file name provided by postgres is random. When I check the properties of this file, this file doesn't have any owner at all. Windows say...
[ { "msg_contents": "My ongoing project to make VACUUM more predictable over time by\nproactive freezing [1] will increase the overall number of tuples\nfrozen by VACUUM significantly (at least in larger tables). It's\nimportant that we avoid any new user-visible impact from extra\nfreezing, though. I recently sp...
[ { "msg_contents": "Hi,\n\nWhile looking at Robert's work to improve our handling of roles I found it\nhelpful to be able to see not only the directly recorded membership\ninformation, which now includes grantor, but also to see what was reachable\nvia SET ROLE. The attached patch puts that information at our u...
[ { "msg_contents": "Move any remaining files generated by pg_upgrade into an internal subdir\n\nThis change concerns a couple of .txt files (for internal state checks)\nthat were still written in the path where the binary is executed, and\nnot in the subdirectory located in the target cluster. Like the other\n....