threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nas I've just upgraded an instance which contained tables \"WITH OIDS\" I wonder if it would make sense if pg_upgrade directly creates a script to fix those. I know it is easy to that with e.g. sed over tables_with_oids.txt but it would be more convenient to have the script generated di... |
[
{
"msg_contents": "Hi hackers,\n\nDuring the [1] discussion it was suggested to constify the arguments\nof ilist.c/ilist.h functions. Bharath (cc'ed) pointed out that it's\nbetter to start a new thread in order to attract more hackers that may\nbe interested in this change, so I started one.\n\nThe patch is att... |
[
{
"msg_contents": "Hi,\n\nIn both TransactionGroupUpdateXidStatus and ProcArrayGroupClearXid\nglobal MyProc is used. for consistency, replaced with a function local variable.\n\n\nthanks\nRajesh",
"msg_date": "Mon, 7 Nov 2022 15:16:49 +0530",
"msg_from": "rajesh singarapu <rajesh.rs0541@gmail.com>",
... |
[
{
"msg_contents": "Hi,\n\nWe have a NMS application in cisco and using postgres as a database.\n\nWe have query related to disabling auto vacuum. We have below configuration in postgres.conf where the autovacuum=on is commented out.\n\n[Shape Description automatically generated]\n\nBut when checked in database... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is a draft of the release announcement for the 2022-11-10 release.\r\n\r\nPlease provide feedback no later than 2022-11-10 0:00 AoE[1].\r\n\r\nThanks,\r\n\r\nJonathan\r\n\r\n[1] https://en.wikipedia.org/wiki/Anywhere_on_Earth",
"msg_date": "Mon, 7 Nov 2022 10:51:45 -05... |
[
{
"msg_contents": "Hi,\n\nI was recently reminded of my previous desire to allow setting the segment\nsize to less than 1GB. It's pretty painful to test large amount of segments\nwith a segment size of 1GB, certainly our regression test don't cover anything\nwith multiple segments.\n\nThis likely wouldn't have ... |
[
{
"msg_contents": "Hi,\n\nWe have a NMS application where we are using postgres as database, what we are noticing is that vacuuming is not happening for certain tables for 2-3 days and eventually the table bloats and disk space is running out.\n\nWhat could be the reason for auto vacuuming not happening for cer... |
[
{
"msg_contents": "In the release team's discussion leading up to commit 0e758ae89,\nAndres opined that what commit 4ab5dae94 had done to mdunlinkfork\nwas a mess, and I concur. It invented an entirely new code path\nthrough that function, and required two different behaviors from the\nsegment-deletion loop. ... |
[
{
"msg_contents": "I happened to notice that these lists of supported versions haven't\nbeen updated in a good long time:\n\n PGAC_PATH_PROGS(LLVM_CONFIG, llvm-config llvm-config-7 llvm-config-6.0 llvm-config-5.0 llvm-config-4.0 llvm-config-3.9)\n\n PGAC_PATH_PROGS(CLANG, clang clang-7 clang-6.0 clang-5.0 cla... |
[
{
"msg_contents": "Hi, hackers\n\nGetRunningTransactionData requires holding both ProcArrayLock and\nXidGenLock (in that order). Then LogStandbySnapshot releases those\nlocks in that order. However, to reduce the frequency of having to\nwait for XidGenLock while holding ProcArrayLock, ProcArrayAdd releases\nt... |
[
{
"msg_contents": "Commit b7eda3e0e3 moves XidINMVCCSnapshot into snapmgr.{c,h},\nhowever, it forgets the declaration of XidINMVCCSnapshot in\nheapam.h.\n\nAttached removes the redundant declaration in heapam.h.\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Information Technology Co.,Ltd.",
"msg_date": "Wed, 0... |
[
{
"msg_contents": "This arose during the review of another patch.\n\nWe often omit the default case of a switch statement to allow the \ncompiler to complain if an enum case has been missed. I found a few \nwhere that wasn't done yet, but it would make sense and would have found \nan omission in another patch.... |
[
{
"msg_contents": "While looking through vacuum code, I noticed that\r\nunlike non-parallel vacuum, parallel vacuum only gets\r\na failsafe check after an entire index cycle completes.\r\n\r\nIn vacuumlazy.c, lazy_check_wraparound_failsafe is checked\r\nafter every index completes, while in parallel, it is chec... |
[
{
"msg_contents": "Inspired by a recent posting on Slack...\n\ndiff --git a/doc/src/sgml/limits.sgml b/doc/src/sgml/limits.sgml\nindex d5b2b627dd..5d68eef093 100644\n--- a/doc/src/sgml/limits.sgml\n+++ b/doc/src/sgml/limits.sgml\n@@ -97,6 +97,13 @@\n <entry>32</entry>\n <entry>can be increased by recomp... |
[
{
"msg_contents": "I think I had brought this up a while ago, but I forget what the opinion was\non the matter.\n\nPostGIS has a number of extensions that rely on it. For the extensions that\nare packaged with PostGIS, we force them all into the same schema except for\nthe postgis_topology and postgis_tiger_ge... |
[
{
"msg_contents": "Hello all,\n\nMeson doesn't see the redefinition of locale_t done\nin src/include/port/win32_port.h, so is not defining\nHAVE_LOCALE_T, HAVE_WCSTOMBS_L nor HAVE_MBSTOWCS_L as the\ncurrent src/tools/msvc/build.pl script does.\n\nPlease find attached a patch for so.\n\nRegards,\n\nJuan José San... |
[
{
"msg_contents": "Hi,\n\nThomas has reported this failure in an email [1] and shared the\nfollowing links offlist with me:\nhttps://cirrus-ci.com/task/5311549010083840\nhttps://api.cirrus-ci.com/v1/artifact/task/5311549010083840/testrun/build/testrun/subscription/100_bugs/log/100_bugs_twoways.log\nhttps://api.... |
[
{
"msg_contents": "Hi, hackers\n\nI found that we set the SO_TYPE_ANALYZE option in table_beginscan_analyze()\n\nstatic inline TableScanDesc\ntable_beginscan_analyze(Relation rel)\n{\n\tuint32 flags = SO_TYPE_ANALYZE;\n\n\treturn rel->rd_tableam->scan_begin(rel, NULL, 0, NULL, NULL, flags);\n}\n\nBut I didn’t f... |
[
{
"msg_contents": "Hello everyone.\n\nRecently when I was running regression tests, I got 'Database \n\"contrib_regression\" does not exist' error. After I reproduce the \nproblem, I found it is an auto-vacuum worker process who complains about \nthis error.\n\nThen I tried to analyze the code. When this auto-v... |
[
{
"msg_contents": "Greetings! Long time no see, I know. How are you, Hackers?\n\nI notice from the docs in the Postgres JSONPath type, brackets are described as:\n\n> • Square brackets ([]) are used for array access.\n\n\n https://www.postgresql.org/docs/current/datatype-json.html#DATATYPE-JSONPATH\n\nNotably ... |
[
{
"msg_contents": "\nHi, hackers\n\nRecently, when I read the XidInMVCCSnapshot(), and find there are some\ntypos in the comments.\n\ndiff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c\nindex 207c4b27fd..9e8b6756fe 100644\n--- a/src/backend/storage/ipc/procarray.c\n+++ b/src/... |
[
{
"msg_contents": "While reviewing the outer-join Vars patch, I encountered something\nconfusing me which can also be seen on HEAD. According to outer join\nidentity 3\n\n (A leftjoin (B leftjoin C on (Pbc)) on (Pab)) left join D on (Pcd)\n\nshould be equal to\n\n ((A leftjoin B on (Pab)) leftjoin C on (Pbc)) ... |
[
{
"msg_contents": "Hi,\n\nInspired by recent commits 9fcdf2c, e813e0e and many small test\nmodules/extensions under src/test/modules, I would like to propose one\nsuch test module for Custom WAL Resource Manager feature introduced by\ncommit 5c279a6. It not only covers the code a bit, but it also\ndemonstrates ... |
[
{
"msg_contents": "Hi hackers,\n\neqjoinsel() can be optimized by not reading MCV stats if at least one of \nthe two join attributes is unique. As primary keys are implicitly unique \nthis situation can occur frequently. For unique columns no MCV stats are \nstored and eqjoinsel_inner() and eqjoinsel_semi(), ca... |
[
{
"msg_contents": "Per the discussion at [1], it seems like it'd be a good idea to make\nBitmapsets into full-fledged, tagged Nodes, so that we could do things\nlike print or copy lists of them without special-case logic. The\nextra space for the NodeTag is basically free due to alignment\nconsiderations, at l... |
[
{
"msg_contents": "Proposed wording attached.\n\nThe typical WAL rules are broken for setting PD_ALL_VISIBLE. I'm OK\nwith that -- rules are meant to be broken -- but it's confusing enough\nthat I think we should (internally) document it better. This doesn't\nguarantee things won't change again in the future, b... |
[
{
"msg_contents": "Hi, hackers\n\n\nParam RangeTblEntry *rte in function set_plain_rel_pathlist is not used at all.\n\nI look at the commit e2fa76d80b(10 years ago), it’s useless since then.\n\nAdd a path to remove it.\n\nRegards,\nZhang Mingli",
"msg_date": "Sat, 12 Nov 2022 19:13:49 +0800",
"msg_from"... |
[
{
"msg_contents": "When setting up a postgres tree with Meson on an almost empty Debian 11 VM I\nhit an error on \"meson setup -Ddebug=true build .\" like this:\n\n Program python3 found: YES (/usr/bin/python3)\n meson.build:987:2: ERROR: Unknown method \"dependency\" in object.\n\nThe error in itself isn... |
[
{
"msg_contents": "[ I'm intentionally forking this off as a new thread, so as to\nnot confuse the cfbot about what's the live patchset on the\nExecRTCheckPerms thread. ]\n\nAmit Langote <amitlangote09@gmail.com> writes:\n> On Sat, Nov 12, 2022 at 1:46 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>> The main thing I... |
[
{
"msg_contents": "Hi,\n\nI was looking at Todo item:/Consider changing error to warning for strings larger than one megabyte/ \nand after going through existing mails and suggestions. I would like to propose a patch for tsearch to change error into warning for string larger than one mb and also increase word... |
[
{
"msg_contents": "\nHere's a couple of things I've noticed.\n\n\nandrew@ub22:HEAD $ inst.meson/bin/pg_config --libdir --ldflags\n/home/andrew/pgl/pg_head/root/HEAD/inst.meson/lib/x86_64-linux-gnu\n-fuse-ld=lld -DCOPY_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST\n-DWRITE_READ_PARSE_PLAN_TREES\n\n\nAre we rea... |
[
{
"msg_contents": "Hello\nAre there any plans to incorporate a formal syntax multitable/conditional\ninsert , similar to the syntax below? snowflake does have the same feature\n\nhttps://oracle-base.com/articles/9i/multitable-inserts\n\nToday, im resorting to a function that receives the necessary parameters\nf... |
[
{
"msg_contents": "Hi,\n\nIn the postgres document we notice that the --force-index-cleanup option is available in PostgreSQL server 12 and Later. We have postgres db running on 12.9 but we don’t see this option.\n\nhttps://www.postgresql.org/docs/current/app-vacuumdb.html\n\n[cid:image001.png@01D8F92E.779AB8B0... |
[
{
"msg_contents": "Most recovery conflicts are generated in REDO routines using a\nstandard approach these days: they all call\nResolveRecoveryConflictWithSnapshot() with a latestRemovedXid argument\ntaken directly from the WAL record. Right now we don't quite present\nthis information in a uniform way, even th... |
[
{
"msg_contents": "Hi,\nI was looking at the commit:\n\ncommit 2fe3bdbd691a5d11626308e7d660440be6c210c8\nAuthor: Peter Eisentraut <peter@eisentraut.org>\nDate: Tue Nov 15 15:35:37 2022 +0100\n\n Check return value of pclose() correctly\n\nIn src/bin/pg_ctl/pg_ctl.c :\n\n if (fd == NULL || fgets(filename... |
[
{
"msg_contents": "Hello,\n\n\nI am looking at todo item (#1) /Implement DISTINCT clause in window \naggregates/ and while looking at code, I found distinct tightly coupled \nwith Agg function. Looking at another todo item(#2) /Do we really need \nso much duplicated code between Agg and WindowAgg/? I was wonde... |
[
{
"msg_contents": "Hello all,\n\nAs mentioned here [1] it might be interesting to complete the returned\ninformation by version() when compiled with meson by including the\nhost_system.\n\n[1]\nhttps://www.postgresql.org/message-id/20221115195318.5v5ynapmkusgyzks%40awork3.anarazel.de\n\nRegards,\n\nJuan José Sa... |
[
{
"msg_contents": "Hello,\n\nWe've accidentally found a subtle bug introduced by\n\ncommit 9d9c02ccd1aea8e9131d8f4edb21bf1687e40782\nAuthor: David Rowley\nDate: Fri Apr 8 10:34:36 2022 +1200\n\n Teach planner and executor about monotonic window funcs\n\n\nOn a 32-bit system Valgrind reports use-after-free... |
[
{
"msg_contents": "The attached patch is a contrib module to set login restrictions on users with \ntoo many authentication failure. The administrator could manage several GUC \nparameters to control the login restrictions which are listed below.\n- set the wait time when password authentication fails.\n- allo... |
[
{
"msg_contents": "\nOn Wed, 16 Nov 2022 at 12:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Japin Li <japinli@hotmail.com> writes:\n>> Hi, hackers,\n>\n> ITYM pgsql-hackers, this is off-topic here.\n>\n\nSorry for typo the email address.\n\n>> When I'm reviewing patch [1], I find there is a memory leak in\n>> adj... |
[
{
"msg_contents": "Hi,\n\n\n\nA quick question on merge regress-test\n\n\n\nhttps://github.com/postgres/postgres/blob/REL_15_STABLE/src/test/regress/expected/merge.out#L846<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpostgres%2Fpostgres%2Fblob%2FREL_15_STABLE%2Fsrc%2Ftest%2Fre... |
[
{
"msg_contents": "Hi,\n\nA customer seems to have run into $subject. Here's a reproducer they shared:\n\nCREATE TABLE test (id integer, category integer, rate numeric);\nINSERT INTO test\nSELECT x.id,\n y.category,\n random() * 10 AS rate\nFROM generate_series(1, 1000000) AS x(id)\nINNER JOIN gene... |
[
{
"msg_contents": "Hi Hackers,\n\nThis is Myo Wai Thant.\nI found out that there is a mistake written in executor/README file.\n\nThe actions of MERGE command can be specified as follows: INSERT, UPDATE, DELETE and DO NOTHING.\nHowever, in the README file, the ‘UPDATE’ word is described 2 times instead of ‘DELE... |
[
{
"msg_contents": "Hi All,\nFunctions like lappend_*() in list.c do not modify the second\nargument. So it can be qualified as const. Any reason why we don't do\nthat? Is it because the target pointer ptr_value is not const\nqualified?\n\nIn my code, I am using lappend() and passing it the output of\npq_getmsgs... |
[
{
"msg_contents": "Hi!\n\n\nPROBLEM\n\nOur customer stumble onto the next behaviour of the Postgres cluster: if\ndisk space is exhausted, Postgres continues to\nwork until WAL can be successfully written. Thus, upon disk space\nexhaustion, clients will get an “ERROR: could not\nextend file “base/XXXXX/XXXXX”: N... |
[
{
"msg_contents": "Hello!\n\nThe previous discussion was here:\nhttps://www.postgresql.org/message-id/flat/b570c367-ba38-95f3-f62d-5f59b9808226%40inbox.ru\n\n>On 15.11.2022 04:59, Tom Lane wrote:\n>> \"Anton A. Melnikov\" <aamelnikov@inbox.ru> writes:\n>> \n>> Additionally\n>> i've tried to reduce overall numbe... |
[
{
"msg_contents": "Since 2fe3bdbd691a, initdb has been failing on malleefowl:\n\nperforming post-bootstrap initialization ... sh: locale: not found\n2022-11-15 23:48:44.288 EST [10436] FATAL: could not execute command \n\"locale -a\": command not found\n2022-11-15 23:48:44.288 EST [10436] STATEMENT: SELECT \n... |
[
{
"msg_contents": "Hi Robert,\n\nIn 9c08aea6a you introduce the block-by-block strategy for creating a\ncopy of the database. In the main loop, this utilizes this call:\n\nbuf = ReadBufferWithoutRelcache(rlocator, MAIN_FORKNUM, blkno,\nRBM_NORMAL, bstrategy, false);\n\nHere, the last parameter is \"false\" for... |
[
{
"msg_contents": "Hi,\n\nI am working on polishing my patch to make CI use sanitizers. Unfortunately\nusing -fsanitize=alignment,undefined causes tests to fail on 32bit builds.\n\nhttps://cirrus-ci.com/task/5092504471601152\nhttps://api.cirrus-ci.com/v1/artifact/task/5092504471601152/testrun/build-32/testrun/r... |
[
{
"msg_contents": "Hi.\n\nPG13+. Assume we have two identical queries with no arguments (as a plain\ntext, e.g. passed to PQexec - NOT to PQexecParams!):\n\n- one with \"a=X AND b IN(...)\"\n- and one with \"a=X and b=ANY('{...}')\n\nThe question: is it guaranteed that the planner will always choose\nidentical ... |
[
{
"msg_contents": "Hi, hackers\n\nI find some typo about xl_running_xacts in comments.\nAttached a patch to fix those.\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Information Technology Co.,Ltd.",
"msg_date": "Thu, 17 Nov 2022 15:06:38 +0800",
"msg_from": "Japin Li <japinli@hotmail.com>",
"msg_from_o... |
[
{
"msg_contents": "I noticed an odd behavior today in pg_stat_statements query\nnormalization for queries called from SQL-language functions. If I\nhave three functions that call an essentially identical query (the\nfunctions are only marked SECURITY DEFINER to prevent inlining):\n\nmaciek=# create or replace f... |
[
{
"msg_contents": "Hi,\n\nWhen I was reviewing one of the patches, I found a typo in the\ncomments of SH_LOOKUP and SH_LOOKUP_HASH. I felt \"lookup up\" should\nhave been \"lookup\".\nAttached a patch to modify it.\n\nRegards,\nVignesh",
"msg_date": "Thu, 17 Nov 2022 15:26:14 +0530",
"msg_from": "vignes... |
[
{
"msg_contents": "Hi,\nI was looking at commit aca992040951c7665f1701cd25d48808eda7a809\n\nI think the check of msg after the switch statement is not necessary. The\nvariable msg is used afterward.\nIf there is (potential) missing case in switch statement, the compiler\nwould warn.\n\nHow about removing the ch... |
[
{
"msg_contents": "Hi Hackers,\n\nwhile testing the developer settings of PSQL (14.5) I came across this\nissue:\n\npostgres=# CREATE UNLOGGED TABLE stats (\npostgres(# pg_hash BIGINT NOT NULL,\npostgres(# category TEXT NOT NULL,\npostgres(# PRIMARY KEY (pg_hash, category)\npostgres(# );\nserver clo... |
[
{
"msg_contents": "Hi,\n\npg_stat_bgwriter view currently reports checkpointer stats as well. It\nis that way because historically checkpointer was part of bgwriter\nuntil the commits 806a2ae and bf405ba, that went into PG 9.2,\nseparated them out. I think it is time for us to separate checkpointer\nstats to it... |
[
{
"msg_contents": "Hi,\n\n Recently read the code, I find that when calling DefineIndex\n from ProcessUtilitySlow, is_alter_table will be set true if\n this statement is came from expandTableLikeClause.\n\n I check the code of DefineIndex, there are only two places use\n is_alter_table:\n 1. the functio... |
[
{
"msg_contents": "Hi,\n\n\nI have an incorrect behavior with pg_dump prior PG version 15. With \nPostgreSQL 15, thanks to commit e3fcbbd623b9ccc16cdbda374654d91a4727d173 \nthe problem is gone but for older versions it persists with locks on \npartitioned tables.\n\n\nWhen we try to dump a database where a tabl... |
[
{
"msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/15/logical-replication-row-filter.html\nDescription:\n\nThere are several things missing here and some of them I found to be highly\nimportant:\r\n1. How can I find why a logical repli... |
[
{
"msg_contents": "I happened to notice that the link to Hunspell in our documentation goes to the\nhunspell sourceforge page last updated in 2015. The project has since moved to\nGithub [0] with hunspell.sourceforge.net redirecting there, I'm not sure\nexactly when but Wikipedia updated their link entry in 20... |
[
{
"msg_contents": "Hi,\n\nI wonder why the walreceiver didn't start in\n008_min_recovery_point_node_3.log here:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mamba&dt=2022-11-16%2023%3A13%3A38\n\nThere was the case of commit 8acd8f86, but that involved a deadlocked\npostmaster whereas this one stil... |
[
{
"msg_contents": "Patch: Global Unique Index \n\n\n\n“Global unique index” in our definition is a unique index on a partitioned table that can ensure cross-partition uniqueness using a non-partition key. This work is inspired by this email thread, “Proposal: Global Index” started back in 2019 (Link below). My ... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a patch proposal to avoid 2 calls to \npgstat_fetch_stat_tabentry_ext() in pgstat_fetch_stat_tabentry() in case \nthe relation is not a shared one and no statistics are found.\n\nThanks Andres for the suggestion done in [1].\n\n[1]: \nhttps://www.postgresql... |
[
{
"msg_contents": "Hi,\n\nI'm unable to reset stats. Please help me to fix this?\n\ntestdb => select * from pg_stat_reset_replication_slot(NULL);\nERROR: permission denied for function pg_stat_reset_replication_slot\n\nRegards,\n*Satya*\n\nHi,I'm unable to reset stats. Please help me to fix this?testdb => selec... |
[
{
"msg_contents": "Hi all,\n\nWorking with PostgreSQL Logical Replication is just great! It helps a lot\ndoing real time replication for analytical purposes without using any other\n3d party service. Although all these years working as product architect of\nreporting i have noted a few requirements which are al... |
[
{
"msg_contents": "We realized today [1] that it's been some time since the buildfarm\nhad any debug_discard_caches (nee CLOBBER_CACHE_ALWAYS) coverage.\nSure enough, as soon as Tomas turned that back on, kaboom [2].\nThe test_oat_hooks test is failing --- it's not crashing, but\nit's emitting more NOTICE lines... |
[
{
"msg_contents": "Fix typos and bump catversion.\n\nTypos reported by Álvaro Herrera and Erik Rijkers.\n\nCatversion bump for 3d14e171e9e2236139e8976f3309a588bcc8683b was\ninadvertently omitted.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/2fb6154fcd769b2d4ea1226788e0... |
[
{
"msg_contents": "Hi,\n\nIs there a way to find out about new git commits that is more\nefficient and timely than running N git fetches or whatever every\nminute in a cron job? Maybe some kind of long polling where you send\nan HTTP request that says \"I think the tips of branches x, y, z are at\n111, 222, 33... |
[
{
"msg_contents": "\nHello devs,\n\nI want to abort a psql script. How can I do that? The answer seems to be \n\\quit, but it is not so simple:\n\n - when the current script is from a terminal, you exit psql, OK\n\n - when the current script is from a file (-f, <), you exit psql, OK\n\n - when the current sc... |
[
{
"msg_contents": "Attached patch has vacuumlazy.c pass its VacuumParams state directly\nto vacuum_set_xid_limits(), the vacuum.c function that figures out\nwhich actual cutoffs for freezing should be used. The patch also makes\nthe function use output parameter symbol names that match those used\nby its vacuum... |
[
{
"msg_contents": "Hi,\n\nIn [1] Robert justifiably complained about the use of PROC_QUEUE. I've\npreviously been bothered by this in [2], but didn't get around to finishing\nthe patches.\n\nOne thing that made me hesitate was the naming of the function for a) checking\nwhether a dlist_node is a list, b) initia... |
[
{
"msg_contents": "Greetings PGSQL hackers,\n\nI am working on a backport of CVE-2022-2625 to PostgreSQL 9.6 and 9.4.\nI am starting from commit 5919bb5a5989cda232ac3d1f8b9d90f337be2077.\n\nThe backport to 9.6 was relatively straightforward, the principal change\nbeing to omit some of the hunks related to comma... |
[
{
"msg_contents": "My very slow buildfarm animal mamba has failed pageinspect\nseveral times [1][2][3][4] with this symptom:\n\ndiff -U3 /home/buildfarm/bf-data/HEAD/pgsql.build/contrib/pageinspect/expected/page.out /home/buildfarm/bf-data/HEAD/pgsql.build/contrib/pageinspect/results/page.out\n--- /home/buildfa... |
[
{
"msg_contents": "Hi,\n\nThe lwlock wait queue scalability issue [1] was quite hard to find because of\nthe exponential backoff and because we adjust spins_per_delay over time within\na backend.\n\nI think the least we could do to make this easier would be to signal spin\ndelays as wait events. We surely don't... |
[
{
"msg_contents": "Hi! Do I get it right, that bitwise operations have the same precedence?\n\nQuery *SELECT 1 & 2 | 3, 3 | 1 & 2*\nreturns 3 and 2 respectively. See also\nhttps://www.db-fiddle.com/f/iZHd8zG7A1HjbB6J2y8R7k/1. It looks like the\nresult is calculated from left to right and operators have\nthe sam... |
[
{
"msg_contents": "I'm encountering some surprising (to me) behaviour related to WAL, and I'm\nwondering if anybody can point me at an article that might help me\nunderstand what is happening, or give a brief explanation.\n\nI'm trying to make a slimmed down version of my database for testing\npurposes. As part... |
[
{
"msg_contents": "Hi Hackers,\n\nforking this thread from the discussion [1] as suggested by Amit.\n\nCatalog_xmin is not advanced when a logical slot is invalidated (lost)\nuntil the invalidated slot is dropped. This patch ignores invalidated slots\nwhile computing the oldest xmin. Attached a small patch to a... |
[
{
"msg_contents": "Hi Hackers,\n\nThe comments atop seem to indicate that it is only showing active\nreplication slots. The comment is ambiguous as it also shows all the slots\nincluding lost and inactive slots. Attached a small patch to fix it.\n\nThanks,\nSirisha",
"msg_date": "Sun, 20 Nov 2022 23:15:57 -... |
[
{
"msg_contents": "Hi Hackers,\n\nAt present, calling pg_stat_reset* functions requires super user access\nunless explicitly grant execute permission on those. In this thread, I am\nproposing to grant execute on them to users with pg_monitor role\npermissions. This comes handy to the monitoring users (part of p... |
[
{
"msg_contents": "Hi, hackers!\n\nIt is important for customer support to know what system operations \n(pg_resetwal, pg_rewind, pg_upgrade, ...) have been executed on the \ndatabase. A variant of implementation of the log for system operations \n(operation log) is attached to this email.\n\nIntroduction.\n--... |
[
{
"msg_contents": "Hi,\n\nI noticed that the comment on/beneath rs_numblocks in HeapScanDescData\nis duplicated above rs_strategy. I don't know if there should have\nbeen a different comment above rs_strategy, but the current one is\ndefinitely out of place, so I propose to remove it as per attached.\n\nThe com... |
[
{
"msg_contents": "Hi hackers,\n\nthe case of planner's\nsrc/backend/utils/adt/selfuncs.c:get_actual_variable_endpoint()\nspending literally seconds seems to be well known fact across hackers\n(in the extreme wild case it can be over 1+ hour on VLDBs). For those\nunfamiliar it is planner estimation that tries t... |
[
{
"msg_contents": "Hi!\n\n\nPREAMBLE\n\nFor a last couple of months, I stumbled into a problem while running tests\non ARM (Debain, aarch64) and some more wired platforms\nfor my 64–bit XIDs patch set. Test contrib/test_decoding\n(catalog_change_snapshot) rarely failed with the next message:\n\nTRAP: FailedAsse... |
[
{
"msg_contents": "Hi everyone,\n\nI have made a patch that introduces support for libpq binary protocol\nin postgres_fdw. The idea is simple, when a user knows that the foreign\nserver is binary compatible with the local and his workload could\nsomehow benefit from using binary protocol, it can be switched on ... |
[
{
"msg_contents": "Prevent instability in contrib/pageinspect's regression test.\n\npageinspect has occasionally failed on slow buildfarm members,\nwith symptoms indicating that the expected effects of VACUUM\nFREEZE didn't happen. This is presumably because a background\ntransaction such as auto-analyze was h... |
[
{
"msg_contents": "Hello,\n\nThe operator `IS NULL` doesn't work if the argument has unknown type.\nIn psycopg 3:\n\n >>> conn.execute(\"select %s is null\", ['foo']).fetchone()\n IndeterminateDatatype: could not determine data type of parameter $1\n\nThis can get in the way of using the unknown type for ... |
[
{
"msg_contents": "The CREATEROLE permission is in a very bad spot right now. The biggest\nproblem that I know about is that it allows you to trivially access\nthe OS user account under which PostgreSQL is running, which is\nexpected behavior for a superuser but simply wrong behavior for any\nother user. This i... |
[
{
"msg_contents": "In SELinux file context files you can specify <<none>> for a file\nmeaning you don't want restorecon to relabel it. <<none>> is\nespecially useful in an SELinux MLS environment when objects are\ncreated at a specific security level and you don't want restorecon to\nrelabel them to the wrong s... |
[
{
"msg_contents": "Hi hackers,\n\nWhile working on avoiding unnecessary wakeups in logical/worker.c (as was\ndone for walreceiver.c in 05a7be9), I noticed that the tests began taking\nmuch longer. This seems to be caused by the reduced frequency of calls to\nmaybe_reread_subscription() in LogicalRepApplyLoop()... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a patch proposal to $SUBJECT.\n\nThe idea has been proposed by Andres in [1] and can be seen as preparatory work for [1].\n\nThe patch introduces 2 new Macros, PGSTAT_DEFINE_REL_INT64_FIELD_ACCESSOR and PGSTAT_DEFINE_REL_TSTZ_FIELD_ACCESSOR.\n\nFor some fun... |
[
{
"msg_contents": "Hello.\n\nI noticed that $SUBJECT. \"spurious\" here means the locks on the rows\nthat are not seemingly qualified by the query condition (that is, EPQ\nfailure).\n\nIt doesn't seem to be a bug to me (or it\nseems just inevitable.). But that doesn't seems to be described either\nin the doc. I... |
[
{
"msg_contents": "Hi hackers,\n\nWhen running tpcc on sysbench with high concurrency (96 threads, scale factor 5) we realized that a fix for visibility check (introduced in PG-14.5) causes sysbench to fail in 1 out of 70 runs.\nThe error is the following:\n\nSQL error, errno = 0, state = 'XX000': new multixact... |
[
{
"msg_contents": "Hi,\n\nMy buildfarm animal grassquit just showed an odd failure [1] in REL_11_STABLE:\n\nok 10 - standby is in recovery\n# Running: pg_ctl -D /mnt/resource/bf/build/grassquit/REL_11_STABLE/pgsql.build/src/bin/pg_ctl/tmp_check/t_003_promote_standby2_data/pgdata promote\nwaiting for server to p... |
[
{
"msg_contents": "I have psql working with readline (roughly) in windows 10!\nin my attempt to test it...\n\n>> 1..0 # SKIP IO::Pty is needed to run this test\n\nI would like to run these tests to see how far off I am...\n(Randomly typing sql and squealing like a child has its limits)\n\nI have built this usi... |
[
{
"msg_contents": "A little while ago we discussed briefly over in the meson thread whether \nwe could remove the postmaster symlink [0]. The meson build system \ncurrently does not install a postmaster symlink. (AFAICT, the MSVC \nbuild system does not either.) So if we want to elevate the meson build \nsys... |
[
{
"msg_contents": "I was thinking some more about the recent fix to multi-row VALUES\nhandling in the rewriter (b8f2687fdc), and I realised that there is\nanother bug in the way DEFAULT values are handled:\n\nIn RewriteQuery(), the code assumes that in a multi-row INSERT query,\nthe VALUES RTE will be the only ... |
[
{
"msg_contents": "While playing around with rules and MERGE, I noticed that there is a\nbug in the way that it detects whether the target table has rules ---\nit uses rd_rel->relhasrules, which can be incorrect, since it might be\nset for a table that doesn't currently have rules, but did in the\nrecent past.\... |
[
{
"msg_contents": "Hi,\n\nWhile working on something else, I noticed that each WAL insert lock\ntracks its own last important WAL record's LSN (lastImportantAt) and\nboth the bgwriter and checkpointer later computes the max\nvalue/server-wide last important WAL record's LSN via\nGetLastImportantRecPtr(). While ... |
[
{
"msg_contents": "Some modest cleanups I've accumulated.",
"msg_date": "Wed, 23 Nov 2022 11:24:36 -0600",
"msg_from": "Justin Pryzby <pryzby@telsasoft.com>",
"msg_from_op": true,
"msg_subject": "code cleanups"
},
{
"msg_contents": "Justin Pryzby <pryzby@telsasoft.com> writes:\n> Some mo... |
[
{
"msg_contents": "Hello,\n\n\nI have questions regarding distinct operation and would be glad if \nsomeone could help me out.\n\nConsider the following table (mytable):\n\nid, name\n\n1, A\n\n1, A\n\n2, B\n\n3, A\n\n1, A\n\nIf we do /select avg(id) over (partition by name) from mytable/, \npartition logic goes... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.