threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "I came across a couple of places in the planner that are checking\nfor nonempty havingQual; but since these bits run after\nconst-simplification of the HAVING clause, that produces the wrong\nanswer for a constant-true HAVING clause (which'll be folded to\nempty). Correct code is to check ro... |
[
{
"msg_contents": "Hi,\n\nI have seen 2 patches registered in CF failing on Linux - Debian\nBullseye in wait_for_subscription_sync(). It seems like the tables\naren't being synced. I have not done any further analysis. I'm not\nsure if this issue is being discussed elsewhere.\n\n# Postmaster PID for node \"twow... |
[
{
"msg_contents": "Hi,\n\nIn standby mode, the state machine in WaitForWALToBecomeAvailable()\nreads WAL from pg_wal after failing to read from the archive. This is\ncurrently implemented in XLogFileReadAnyTLI() by calling\nXLogFileRead() with source XLOG_FROM_PG_WAL after it fails with source\nXLOG_FROM_PG_ARC... |
[
{
"msg_contents": "Hi,\n\nAs a card-carrying Unix hacker, I think it'd be great to remove the\ndifferences between platforms if possible using newer Windows\nfacilities, so everything just works the way we expect. Two things\nthat stopped progress on that front in the past were (1) uncertainty\nabout OS versio... |
[
{
"msg_contents": "Hi,\n\nA couple days ago I posted a WIP patch [1] implementing \"BRIN Sort\",\ni.e. a node producing sorted output for BRIN minmax indexes. One of the\nchallenges I mentioned in that thread is costing - that's actually not\nspecific to that patch, it's an issue affecting BRIN in general, not\... |
[
{
"msg_contents": "PSA trivial patch to fix a code comment typo seen during a recent review.\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Wed, 19 Oct 2022 10:09:12 +1100",
"msg_from": "Peter Smith <smithpb2250@gmail.com>",
"msg_from_op": true,
"msg_subject": "Fix typo... |
[
{
"msg_contents": "Hi Hackers,\n\nThe current code comment says that the replication stream on a slot with\nthe given targetLSN can't continue after a restart but even without a\nrestart the stream cannot continue. The slot is invalidated and the\nwalsender process is terminated by the checkpoint process. Attac... |
[
{
"msg_contents": "Hi hackers,\n\nI happened to notice $subject. Attach a trivial patch for that.\n\nThanks\nRichard",
"msg_date": "Wed, 19 Oct 2022 16:02:34 +0800",
"msg_from": "Richard Guo <guofenglinux@gmail.com>",
"msg_from_op": true,
"msg_subject": "Some comments that should've covered MERG... |
[
{
"msg_contents": "HI,\n\nI noticed that the tab completion for ALTER STATISTICS .. SET was not\nhandled. The attached patch displays SCHEMA and STATISTICS for tab\ncompletion of ALTER STATISTICS name SET.\n\nRegards,\nVignesh",
"msg_date": "Wed, 19 Oct 2022 16:06:51 +0530",
"msg_from": "vignesh C <vign... |
[
{
"msg_contents": "When standby is recovering to a timeline that doesn't have any segments\narchived yet it will just blindly blow past the timeline switch point and\nkeeps on recovering on the old timeline. Typically that will eventually\nresult in an error about incorrect prev-link, but under unhappy\ncircums... |
[
{
"msg_contents": "Hi,\n\nshortly after shared memory stats went in I had a conversation with Lukas\nabout what it'd enable us going forward. I also chatted with Peter about\nautovacuum related stats. I started to write an email, but then somehow lost\nthe draft and couldn't bring myself to start from scratch.\... |
[
{
"msg_contents": "Hi,\n\nCreating a new thread focussed on adding docs for building Postgres with\nmeson. This is a spinoff from the original thread [1] and I've attempted to\naddress all the feedback provided there in the attached patch.\n\nPlease let me know your thoughts.\n\n[1]\nhttps://www.postgresql.org/... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing\nhttps://postgr.es/m/CAD21AoBe2o2D%3Dxyycsxw2bQOD%3DzPj7ETuJ5VYGN%3DdpoTiCMRJQ%40mail.gmail.com\nI noticed that pg_recvlogical prints\n\"pg_recvlogical: error: unexpected termination of replication stream: \"\n\nwhen signalled with SIGINT/TERM.\n\nOddly enough, that loo... |
[
{
"msg_contents": "I think that we should decouple the PROC_VACUUM_FOR_WRAPAROUND\nautocancellation behavior in ProcSleep() from antiwraparound\nautovacuum itself. In other words I think that it should be possible\nto cancel an autovacuum that happens to be an antiwraparound\nautovacuum, just as if were any oth... |
[
{
"msg_contents": "Hi,\n\nFound documents about parallel scan may be not so accurate.\n\nAs said in parallel.smgl:\n\n```\nIn a parallel sequential scan, the table's blocks will be divided among the cooperating processes. Blocks are handed out one at a time, so that access to the table remains sequential.\n```\... |
[
{
"msg_contents": "Having a sup_user and a normal_user, login with sup_user\nselect session_user, current_user\nsup_user, sup_user\n\nset role normal_user;\nselect session_user, current_user\nsup_user, normal_user\n\nBut then, when sup_user was running with normal_user grants an exception\noccurs\nselect * from... |
[
{
"msg_contents": "Hi,\n\nI noticed that\n select date_part('millennium', now()); --> 3\n\nwill execute also, unperturbed, in this form:\n select date_part('millennium xxxxx', now()); --> 3\n\nBy the same token\n\n select extract(millennium from now()) --> 3\n select extract(millenniumxxxxxxxxx from now... |
[
{
"msg_contents": "Suppose that, for some reason, you want to use pg_basebackup on a\nLinux machine to back up a database cluster on a Windows machine.\nSuppose further that you attempt to use the -T option. Then you might\nrun afoul of this check:\n\n /*\n * This check isn't absolutely necessary. But a... |
[
{
"msg_contents": "While playing with a proposed patch, I noticed that a session crashes\nafter a failed call to pg_backup_start().\n\npostgres=# select pg_backup_start(repeat('x', 1026));\nERROR: backup label too long (max 1024 bytes)\npostgres=# \\q\n> TRAP: failed Assert(\"during_backup_start ^ (sessionBack... |
[
{
"msg_contents": "Hello\n\nI've had this patch sitting in a local branch for way too long. It's a\ntrivial thing but for some reason it bothered me: we let the partition \nstrategy flow into the backend as a string and only parse it into the\ncatalog 1-char version quite late.\n\nThis patch makes gram.y respo... |
[
{
"msg_contents": "Hi,\n\nWhile working on some BRIN code, I discovered a bug in handling NULL\nvalues - when inserting a non-NULL value into a NULL-only range, we\nreset the all_nulls flag but don't update the has_nulls flag. And\nbecause of that we then fail to return the range for IS NULL ranges.\n\nReproduc... |
[
{
"msg_contents": "Hi all!\n\nI think I may have stumbled across a case of wrong results on HEAD (same\nthrough version 9.6, though interestingly 9.5 produces different results\naltogether).\n\ntest=# SELECT i AS ai1, i AS ai2 FROM generate_series(1,3)i GROUP BY\nai2, ROLLUP(ai1) ORDER BY ai1, ai2;\n\n ai1 | ai... |
[
{
"msg_contents": "Hello, hackers.\n\nIn current master, as well as in REL_15_STABLE, installcheck in \ncontrib/citext fails in most locales, if we use ICU as a locale provider:\n\n$ rm -fr data; initdb --locale-provider icu --icu-locale en-US -D data \n&& pg_ctl -D data -l logfile start && make -C contrib/cite... |
[
{
"msg_contents": "Hi, hackers\n\nI don't quite understand FullTransactionIdAdvance(), correct me if I’m wrong.\n\n\n/*\n * Advance a FullTransactionId variable, stepping over xids that would appear\n * to be special only when viewed as 32bit XIDs.\n */\nstatic inline void\nFullTransactionIdAdvance(FullTransact... |
[
{
"msg_contents": "When the pg_dump 002_pg_dump.pl test generates the command to load the \nschema, it does\n\n # Add terminating semicolon\n $create_sql{$test_db} .= $tests{$test}->{create_sql} . \";\";\n\nIn some cases, this creates a duplicate semicolon, but more importantly, \nthis doesn't add any n... |
[
{
"msg_contents": "Hi hackers.\n\nCan you please share some areas that would be good to start contributing?\n\nSome months ago I've got my first patch accept [1], and I'm looking to try to \nmake other contributions.\n\n\nThanks in advance!\n\n\n[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h... |
[
{
"msg_contents": "Hi, Tomas:\nFor 0002-fixup-brin-has_nulls-20221022.patch :\n\n+ first_row = (bval->bv_hasnulls && bval->bv_allnulls);\n+\n+ if (bval->bv_hasnulls && bval->bv_allnulls)\n\nIt seems the if condition can be changed to `if (first_row)` which is more\nreadable.\n\nChhers\n\nHi, Tomas:F... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that there are several places where we use the spelling\n\"implementOr\" while the correct one seems to be \"implementEr\". Here is\nthe patch.\n\n-- \nBest regards,\nAleksander Alekseev",
"msg_date": "Sun, 23 Oct 2022 13:11:50 +0300",
"msg_from": "Aleksander ... |
[
{
"msg_contents": "Hello hackers,\n\nThe `json_populate_recordset` and `json_agg` functions allow systems to\nprocess/generate json directly on the database. This \"cut outs the middle\ntier\"[1] and notably reduces the complexity of web applications.\n\nCSV processing is also a common use case and PostgreSQL h... |
[
{
"msg_contents": "\nHi, hackers\n\nThe TransactionStateData has savepointLevel field, however, I do not understand\nwhat is savepoint level, it seems all savepoints have the same savepointLevel,\nI want to know how the savepoint level changes.\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Information Technology C... |
[
{
"msg_contents": "Hi hackers.\n\nThere is a docs Logical Replication section \"31.10 Configuration\nSettings\" [1] which describes some logical replication GUCs, and\ndetails on how they interact with each other and how to take that into\naccount when setting their values.\n\nThere is another docs Server Confi... |
[
{
"msg_contents": "Avoid having to list all the possible object types twice. Instead, only \n_getObjectDescription() needs to know about specific object types. It \ncommunicates back to _printTocEntry() whether an owner is to be set.\n\nIn passing, remove the logic to use ALTER TABLE to set the owner of \nvie... |
[
{
"msg_contents": "Hi\n\nRecently I have been working a lot with partitioned tables which contain a mix\nof local and foreign partitions, and find it would be very useful to be able to\neasily obtain an overview of which partitions are foreign and where they are\nlocated.\n\nCurrently, executing \"\\d+\" on a p... |
[
{
"msg_contents": "Hello,\n\nWhen studying the weird planner issue reported here [1], I came up with \nthe attached patch. It reduces the probability of calling \nget_actual_variable_range().\n\nThe patch applies to the master branch.\n\nHow to test :\n\nCREATE TABLE foo (a bigint, b TEXT) WITH (autovacuum_enab... |
[
{
"msg_contents": "Hi -hackers,\n\nWorking with Stephen, I am attempting to pick up some of the work that\nwas left off with TDE and the key management infrastructure. I have\nrebased Bruce's KMS/TDE patches as they existed on the\nhttps://wiki.postgresql.org/wiki/Transparent_Data_Encryption wiki\npage, which ... |
[
{
"msg_contents": "Hi,\nWhen I was looking at src/backend/optimizer/util/restrictinfo.c, I found a\ntypo in one of the comments.\n\nI also took the chance to simplify the code a little bit.\n\nPlease take a look at the patch.\n\nThanks",
"msg_date": "Mon, 24 Oct 2022 10:19:23 -0700",
"msg_from": "Zhihon... |
[
{
"msg_contents": "Hi -hackers,\n\nAn additional piece that I am working on for improving infra for TDE\nfeatures is allowing the storage of additional per-page data. Rather\nthan hard-code the idea of a specific struct, this is utilizing a new,\nmore dynamic structure to associate page offsets with a particul... |
[
{
"msg_contents": "Hello!\n\nPlease, could somebody explain what the \"compound\" queries were created for?\nMaybe i'm calling them wrong. It's about queries like:\nSELECT 1 + 2 \\; SELECT 2.0 AS \"float\" \\; SELECT 1;\n\nSuch queries can neither be prepared nor used in the extended protocol with\n ERROR: c... |
[
{
"msg_contents": "The AssignTransactionId has the following comments:\n\n /*\n * ensure this test matches similar one in\n * RecoverPreparedTransactions()\n */\n if (nUnreportedXids >= PGPROC_MAX_CACHED_SUBXIDS ||\n log_unknown_top)\n {\n ...\n... |
[
{
"msg_contents": "Hi all,\n\nAs mentioned in [1], there is no regression tests for the SQL control\nfunctions: pg_control_checkpoint, pg_control_recovery,\npg_control_system and pg_control_init.\n\nIt would be minimal to check their execution, as of a \"SELECT FROM\nfunc()\", still some validation can be done ... |
[
{
"msg_contents": "\nHi, hackers\n\nI'm a bit confused about TransactionIdSetTreeStatus, the comment says if\nsubtransactions cross multiple CLOG pages, it will mark the subxids, that\nare on the same page as the main transaction, as sub-committed, and then\nset main transaction and subtransactions to committed... |
[
{
"msg_contents": "While fooling with my longstanding outer-join variables changes\n(I am making progress on that, honest), I happened to notice that\nequivclass.c is leaving some money on the table by generating\nredundant RestrictInfo clauses. It already attempts to not generate\nthe same clause twice, which... |
[
{
"msg_contents": "typedef struct A_Expr\n\n\n\n{\n\n\n\n pg_node_attr(custom_read_write)\n\n\n\n NodeTag type;\n\n\n\n A_Expr_Kind kind; /* see above */\n\n\n\n List *name; /* possibly-qualified name of operator */\n\n\n\n Node *lexpr; /* left argumen... |
[
{
"msg_contents": "As part of the AIO work [1], there are quite a number of dlist_heads\nwhich a counter is used to keep track on how many items are in the\nlist. We also have a few places in master which do the same thing.\n\nIn order to tidy this up and to help ensure that the count variable\ndoes not get ou... |
[
{
"msg_contents": "It is a common user annoyance to have a script fail because someone\nadded a VACUUM, especially when using --single-transaction option.\nFix, so that this works without issue:\n\nBEGIN;\n....\nVACUUM (ANALYZE) vactst;\n....\nCOMMIT;\n\nAllows both ANALYZE and vacuum of toast tables, but not V... |
[
{
"msg_contents": "Hi hackers,\n\nWhile trying to measure if there is any gain from the change as\ndiscussed in [1], I happened to notice another place that is slowed down\nby list_delete_first. I'm using the query as below:\n\n(n=1000000;\nprintf \"explain (summary on) select * from t where \"\nfor ((i=1;i<$n... |
[
{
"msg_contents": "In the past, developers have wondered how we can provide \"--dry-run\"\nfunctionality\nhttps://www.postgresql.org/message-id/15791.1450383201%40sss.pgh.pa.us\n\nThis is important for application developers, especially when\nmigrating programs to Postgres.\n\nPresented here are 3 features aime... |
[
{
"msg_contents": "Hi,\n\n\nWe would like to share a proposal of a patch, where we have added order by\nclause in two select statements in src/test/regress/sql/insert.sql file and\nrespective changes in src/test/regress/expected/insert.out output file.\n\nThis would help in generating output in consistent seque... |
[
{
"msg_contents": "Hi,\n\nTab completion for ALTER FUNCTION/PROCEDURE/ROUTINE action was\nmissing, this patch adds the tab completion for the same.\n\nRegards,\nVignesh",
"msg_date": "Thu, 27 Oct 2022 20:38:01 +0530",
"msg_from": "vignesh C <vignesh21@gmail.com>",
"msg_from_op": true,
"msg_subje... |
[
{
"msg_contents": "Hi,\n\nI am working on posting a patch series making relation extension more\nscalable. As part of that I was running some benchmarks for workloads that I\nthought should not or just positively impacted - but I was wrong, there was\nsome very significant degradation at very high client counts... |
[
{
"msg_contents": "Hi,\n\nWe have fallback code for computers that don't have 32 bit atomic ops.\nOf course all modern ISAs have 32 bit atomics, but various comments\nimagine that a new architecture might be born that we don't have\nsupport for yet, so the fallback provides a way to bring a new system\nup by im... |
[
{
"msg_contents": "Hi,\n\nCurrently all backends have LatchWaitSet (latch.c), and most also have\nFeBeWaitSet (pqcomm.c). It's not the end of the world, but it's a\nlittle bit wasteful in terms of kernel resources to have two\nepoll/kqueue descriptors per backend.\n\nI wonder if we should consider merging them... |
[
{
"msg_contents": "Hi,\n\nWe usually want to release lwlocks, and definitely spinlocks, before\ncalling SetLatch(), to avoid putting a system call into the locked\nregion so that we minimise the time held. There are a few places\nwhere we don't do that, possibly because it's not just a simple latch\nto hold a ... |
[
{
"msg_contents": "This adds a new psql command \\gp that works like \\g (or semicolon) but\nuses the extended query protocol. Parameters can also be passed, like\n\n SELECT $1, $2 \\gp 'foo' 'bar'\n\nI have two main purposes for this:\n\nOne, for transparent column encryption [0], we need a way to pass \n... |
[
{
"msg_contents": "Hi,\n\nRight now it is possible to add a partitioned table with foreign tables\nas its children as a target of a subscription. It can lead to an assert\n(or a segfault, if compiled without asserts) on a logical replication\nworker when the worker attempts to insert the data received via\nrepl... |
[
{
"msg_contents": "Hi,\n\nI'm working to extract independently useful bits from my AIO work, to reduce\nthe size of that patchset. This is one of those pieces.\n\nIn workloads that extend relations a lot, we end up being extremely contended\non the relation extension lock. We've attempted to address that to som... |
[
{
"msg_contents": "I'm trying to add a new index, but when I finish it, I use “ create index xxx_index on t1 using xxx(a); ”,it gives me access method \"spb\" does not exist\r\nAnd I don't know where this message is from, can you grve me its position?\r\n\r\n\r\njacktby@gmail.com\r\n\n\n\nI'm trying to add a ne... |
[
{
"msg_contents": "Hello!\n\nThis is a copy of [1] moved to a separated thread for Commitfest..\n\nI discovered an interesting behaviour during installcheck runs on PG 15+ \nwhen the cluster was initialized with ICU locale provider:\n\n$ initdb --locale-provider icu --icu-locale en-US -D data &&\npg_ctl -D data... |
[
{
"msg_contents": "Hello!\n\nThis is the last proposed patch on this subject [1] moved to a separate \nthread for Commitfest..\n\nIt looks like that the current order of checking ICU options in initdb \nand create database in PG 15+ is not user-friendly. Examples:\n\n1. initdb reports a missing ICU locale altho... |
[
{
"msg_contents": "Respected Sir/Madam\nI am Joseph Raj Vishal, a Computer Science undergrad. I have just entered\nthird year at Dayananda Sagar College of Engineering in Bengaluru. I am new\nto open source contributions but I am well aware of Python, Java, Django,\nPHP, SQL, Javascript,Kotlin and Android. I wo... |
[
{
"msg_contents": "Hi,\n\nAs part of [1] I made IOs-in-progress be tracked by resowner.c. Benchmarking\nunfortunately showed that to have a small impact on workloads that often have\nto read data, but where that data is guaranteed to be in the kernel cache.\n\nI was a bit surprised, given that we also use the r... |
[
{
"msg_contents": "Motivation:\n\nWe haven't fully solved the changing collation-provider problem. An\nupgrade of the OS may change the version of libc or icu, and that might\naffect the collation, which could leave you with various corrupt\ndatabase objects including:\n\n * indexes\n * constraints\n * range... |
[
{
"msg_contents": "postgres=# \\set QUIET \nCREATE TABLE stxdinp (i int, j int) PARTITION BY RANGE(i);\nCREATE TABLE stxdinp1 PARTITION OF stxdinp FOR VALUES FROM (1)TO(10);\nINSERT INTO stxdinp SELECT generate_series(1,9)a;\nCREATE STATISTICS stxdp ON i,j FROM stxdinp;\nANALYZE stxdinp;\nexplain SELECT i, j, C... |
[
{
"msg_contents": "\nHi, hackers\n\nThe VariableCacheData says nextOid and oidCount are protected by\nOidGenLock. However, we update them without holding the lock on\nOidGenLock in BootStrapXLOG(). Same as nextXid, for other fields\nthat are protected by XidGenLock, it holds the lock, see\nSetTransactionIdLim... |
[
{
"msg_contents": "As part of the AIO work [1], Andres mentioned to me that he found that\nprefetching tuple memory during hot pruning showed significant wins.\nI'm not proposing anything to improve HOT pruning here, but as a segue\nto get the prefetching infrastructure in so that there are fewer AIO\npatches, ... |
[
{
"msg_contents": "Hi all,\n\nI am trying to determine optimal standby for automatic failover based on\npg_last_wal_recieve_lsn() value of all slaves.\n\nBut what if max_wal_size is reached, is LSN value reset to zero.\n\nPlease share some documentation that mentions clarification.\n\nAlso suggest if there is a... |
[
{
"msg_contents": "Hi all,\n\nAs per the world clock, the next commit fest will begin in 30 hours\n(11/1 0:00 AoE time). I may have missed something, but it looks like\nwe have no CFM for this one yet.\n\nOpinions, thoughts or volunteers?\n--\nMichael",
"msg_date": "Mon, 31 Oct 2022 14:42:03 +0900",
"m... |
[
{
"msg_contents": "I noticed that some (not all) callers didn't check the return value of \npclose() or ClosePipeStream() correctly. Either they didn't check it at \nall or they treated it like the return of fclose(). Here is a patch \nwith fixes.\n\n(A failure to run the command issued by popen() is usually ... |
[
{
"msg_contents": "While working on something else, I noticed $SUBJECT: we do not\ncurrently allow row-level triggers on partitioned tables to have\ntransition tables like this:\n\ncreate table parted_trig (a int) partition by list (a);\nCREATE TABLE\ncreate function trigger_nothing() returns trigger language p... |
[
{
"msg_contents": "Hi, hackers!\n\nWhen we take LWlock, we already use atomic CAS operation to atomically\nmodify the lock state even in the presence of concurrent lock-takers. But\nif we can not take the lock immediately, we need to put the waiters on a\nwaiting list, and currently, this operation is done not ... |
[
{
"msg_contents": "Hi,\n\nIn the commitfest application, I was wondering today what was the exact meaning\nand difference between open/closed status (is it only for the current\ncommitfest?) and between «waiting for author» and «Returned with feedback».\n\nI couldn't find a clear definition searching the wiki, ... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a patch proposal to split index and table \nstatistics into different types of stats.\n\nThis idea has been proposed by Andres in a couple of threads, see [1] \nand [2].\n\nTo sum up:\n\nWe currently track index and table types of statistics in the same \nf... |
[
{
"msg_contents": "Team,\n\nWhile on the road in Iowa visiting covered bridges I met up with an amazing\nindividual named Brent. Brent, is with a small organization named: Darpa.\n\nThey are using PostgreSQL + RLS + XPATH but unfortunately the performance\nhas been less than what those who use PostgreSQL on a d... |
[
{
"msg_contents": "Hi,\n\nAttached is a patchset to refactor heapgettup(), heapgettup_pagemode(),\nand heapgetpage(). heapgettup() and heapgettup_pagemode() have a lot of\nduplicated code, confusingly nested if statements, and unnecessary local\nvariables. While working on a feature for the AIO/DIO patchset, I\... |
[
{
"msg_contents": "Hi,\r\n\r\nWe currently do not provide any SQL functions for generating SCRAM \r\nsecrets, whereas we have this support for other passwords types \r\n(plaintext and md5 via `md5(password || username)`). If a user wants to \r\nbuild a SCRAM secret via SQL, they have to implement our SCRAM hash... |
[
{
"msg_contents": "Hi,\nI was reading examine_variable in src/backend/utils/adt/selfuncs.c\n\nIt seems we already have the rte coming out of the loop which starts on\nline 5181.\n\nHere is a patch which reuses the return value from `planner_rt_fetch`.\n\nPlease take a look.\n\nThanks",
"msg_date": "Mon, 31 ... |
[
{
"msg_contents": "Hi,\n\nHere is a patch to allow PostgreSQL to use $SUBJECT. It is from the\nAIO patch-set[1]. It adds three new settings, defaulting to off:\n\n io_data_direct = whether to use O_DIRECT for main data files\n io_wal_direct = ... for WAL\n io_wal_init_direct = ... for WAL-file initialisati... |
[
{
"msg_contents": "Part of the work that Thomas mentions in [1], regarding Direct I/O,\nhas certain requirements that pointers must be page-aligned.\n\nI've attached a patch which implements palloc_aligned() and\nMemoryContextAllocAligned() which accept an 'alignto' parameter which\nmust be a power-of-2 value. ... |
[
{
"msg_contents": "Hi,\n\nHere's a patch adding regression tests for \\g and \\o, and TAP tests\nfor \\g | program,\n\nIt's a follow up to the discussion at [1]. Since this discussion\nalready has a slot in the CF [2] with a committed patch, let's start a\nnew separate thread.\n\n[1]\nhttps://www.postgresql.org... |
[
{
"msg_contents": "Dear developer:\r\nThe patch submitted addresses #17663 in the pgsql-bugs@lists.postgresql.org list.\r\nProblem: Add the parameters --enable-debug and --enable-cassert when the database is compiled. Driven by jdbc, the stored procedure containing rollbck is called, and an assertion occurs.\r\... |
[
{
"msg_contents": "Hi,\n\nTom pinged me privately because mylodon, an animal enforcing C89/C99\ncompatibility, was failed. This is due to perl on the machine being upgraded\nto perl 5.36.\n\nMylodon was failing because of:\n\nconfigure:18839: ccache clang-13 -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdecla... |
[
{
"msg_contents": "Hey,\n\nRecent threads have pointed out some long-standing doc language in initdb\nthat could be made more precise, especially in light of the relatively\nrecent addition of a glossary. Toward this end I'm attaching a patch that\ndefines three terms: \"bootstrap superuser\", \"database super... |
[
{
"msg_contents": "There's a complaint at [1] about how you can't re-use the same\ncursor variable name within a routine called from another routine\nthat's already using that name. The complaint is itself a bit\nunder-documented, but I believe it is referring to this ancient\nbit of behavior:\n\n A bo... |
[
{
"msg_contents": "In the past we pull-up the ANY-sublink with 2 steps, the first step is to\npull up the sublink as a subquery, and the next step is to pull up the\nsubquery if it is allowed. The benefits of this method are obvious,\npulling up the subquery has more requirements, even if we can just finish\nt... |
[
{
"msg_contents": "Hi all,\n\nWhile reviewing a different patch, I have noticed that guc-file.l\nincludes sys/stat.h in the middle of the PG internal headers. The\nusual practice is to have first postgres[_fe].h, followed by the\nsystem headers and finally the internal headers. That's a nit, but\nall the othe... |
[
{
"msg_contents": "add spinlock support on loongarch64.",
"msg_date": "Wed, 2 Nov 2022 05:56:36 +0000",
"msg_from": "=?gb2312?B?zuLRx7fJ?= <wuyf41619@hundsun.com>",
"msg_from_op": true,
"msg_subject": "spinlock support on loongarch64"
},
{
"msg_contents": "=?gb2312?B?zuLRx7fJ?= <wuyf4161... |
[
{
"msg_contents": "It's been known for a while that Postgres spends a lot of time translating\ninstruction addresses, and using huge pages in the text segment yields a\nsubstantial performance boost in OLTP workloads [1][2]. The difficulty is,\nthis normally requires a lot of painstaking work (unless your OS do... |
[
{
"msg_contents": "Hi,\nI was looking at the code in ri_PlanCheck\nof src/backend/utils/adt/ri_triggers.c starting at line 2289.\n\nWhen qplan is NULL, we log an error. This would skip\ncalling SetUserIdAndSecContext().\n\nI think the intention of the code should be restoring user id\nand SecContext regardless ... |
[
{
"msg_contents": "To Whom It May Concern;\n\nSome additional clarity in the versions 14/15 documentation would be helpful specifically surrounding the \"target_role\" clause for the ALTER DEFAULT PRIVILEGES command. To the uninitiated, the current description seems vague. Maybe something like the following w... |
[
{
"msg_contents": "The comments atop seem to indicate that we always accumulate\ninvalidation messages in top-level transactions which is neither\nrequired nor match with the code. This is introduced in the commit\nc55040ccd0 and I have observed it while working on a fix for commit\n16b1fe0037.\n\n-- \nWith Reg... |
[
{
"msg_contents": "Hi hackers,\n\nWhile working on an extension, I found that simplehash.h is missing \nexplicit casts in four places. Without these casts, compiling code \nincluding simplehash.h yields warnings if the code is compiled with \n-Wc++-compat.\n\nPostgreSQL seems to mostly prefer omitting the expli... |
[
{
"msg_contents": "Hello,\n\nCurrently pg_rewind refuses to run if full_page_writes is off. This is \nto prevent it to run into a torn page during operation.\n\nThis is usually a good call, but some file systems like ZFS are \nnaturally immune to torn page (maybe btrfs too, but I don't know for \nsure for this ... |
[
{
"msg_contents": "Hi,\nI was looking at the code in DecodeDateTime() around line 1382:\n\n tmask = DTK_M(type);\n\nIn case type is UNKNOWN_FIELD, the above macro would shift 1 left 31 bits\nwhich cannot be represented in type 'int'.\n\nLooking down in the same function, we can see that tmask is a... |
[
{
"msg_contents": "In the thread discussing the login event trigger patch it was argued that we\nwant to avoid recommending single-user mode for troubleshooting tasks, and a\nGUC for temporarily disabling event triggers was proposed.\n\nSince the login event trigger patch lost momentum, I've broken out the GUC ... |
[
{
"msg_contents": "Hi,\n\nA replication slot can be lost when a subscriber is not able to catch up\nwith the load on the primary and the WAL to catch up exceeds\nmax_slot_wal_keep_size. When this happens, target has to be reseeded\n(pg_dump) from the scratch and this can take longer. I am investigating the\nopt... |
[
{
"msg_contents": "Over in\nhttps://www.postgresql.org/message-id/eaf326ad693e74eba068f33a7f518039@oss.nttdata.com\nJustin\nPryzby suggested that psql might need the ability to capture the shell exit\ncode.\n\nThis is a POC patch that does that, but doesn't touch on the ON_ERROR_STOP\nstuff.\n\nI've added some ... |
[
{
"msg_contents": "Hi hackers,\r\n Recently, I'm looking into the implementation of parallel index building. And I noticed that in `README.parallel` we mentioned that `we allow no writes to the database and no DDL` . But if I understand it correctly, index building as one significant DDL is now supporting p... |
[
{
"msg_contents": "I committed draft release notes at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=bc62182f0afe6b01fec45b8d26df03fc9de4599a\n\nPlease send comments/corrections by Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Fri, 04 Nov 2022 12:47:40 -0400",
"msg_from"... |
[
{
"msg_contents": "In an internal conversation it was seen that for some tests that want\nto enforce a behaviour, a behaviour that is controlled by a GUC, we\n_need_ to perform a sleep for an arbitrary amount of time.\nAlternatively, executing the rest of the test on a new connection also\nhelps to get the expe... |
[
{
"msg_contents": "Hi,\n\nWhen I played with regression tests for pg_restore, I tested -T filtering\ntriggers too. I had problems with restoring triggers. I found that the name\nfor trigger uses the pattern \"tablename triggername\" (not just (and\ncorrect) triggername).\n\nI propose to generate tag just like t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.