threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nWhile following along with Tristan and Heikki's thread about signals\nin psql, it occurred to me that the documentation atop pqsignal() is\nnot very good:\n\n * we don't explain what problem it originally solved\n * we don't explain why it's still needed today\n * we don't explain what... |
[
{
"msg_contents": "While working on the patch in [1], I noticed that ever since\n00b41463c, it's now suboptimal to do the following:\n\nswitch (bms_membership(relids))\n{\n case BMS_EMPTY_SET:\n /* handle empty set */\n break;\n case BMS_SINGLETON:\n /* call bms_singleton_member() and h... |
[
{
"msg_contents": "Hi,\n\nI propose a patch that ensures `pg_convert` doesn't allocate and copy data\nwhen no conversion is done. It is an unnecessary overhead, especially when\nsuch conversions are done frequently and for large values.\n\nI've tried measuring the performance impact, and the patched version has... |
[
{
"msg_contents": "Hello,\n\nHere is a patch to improve rowcount estimates for\n`UNNEST(some_array_column)`. Today we hard code this to 10, but we\nhave statistics about array size, so it's easy to use them.\n\nI've seen plans where this would make a difference. If the array has\nonly 1 or 2 elements, then over... |
[
{
"msg_contents": "In the past few days we've had two buildfarm failures[1][2] in the\nstats regression test that look like\n\n@@ -1582,7 +1582,7 @@\n SELECT :io_stats_post_reset < :io_stats_pre_reset;\n ?column? \n ----------\n- t\n+ f\n (1 row)\n \n -- test BRIN index doesn't block HOT update\n\nI'm a bit my... |
[
{
"msg_contents": "Hello!\n\nI'm trying to emit a JSON aggregation of JSON rows to a file using COPY TO,\nbut I'm running into problems with COPY TO double quoting the output.\nHere is a minimal example that demonstrates the problem I'm having:\n\ncreate table public.tbl_json_test (id int, t_test text);\n\n-- i... |
[
{
"msg_contents": "Hello,\n\nWhen trying to use a custom dump with the test pg_upgrade/002_pg_upgrade,\nI observe the following test failure on Windows:\n >meson test --suite setup\n >echo create database regression>...\\dump.sql\n >set olddump=...\\dump.sql& set oldinstall=.../tmp_install/usr/local/pgsql& meso... |
[
{
"msg_contents": "Hi,\n\nwhile working on a patch I noticed we do this in the SGML docs (for\nexample in indexam.sgml and a bunch of other files):\n\n <para>\n ... some text ...\n </para>\n\n <para>\n<programlisting>\nsome code\n</programlisting>\n ... description of the code.\n </para>\n\nThat is, th... |
[
{
"msg_contents": "Your Email Content\n\n\n \n Greetings from the community of programmers of IIT Guwahati and IIT Patna! \n \n This is Gautam Sharma, pursuing a BTech in the Department of Computer Science and Engineering at the Indian Institute of Technology, Guwahati. \n I am also Compet... |
[
{
"msg_contents": "Greeting hackers,\n\nIn the operator precedence table[1] table, AT TIME ZONE isn't explicitly\nlisted out; that means it's to be interpreted in the \"any other operator\ncategory\".\n\nHowever, it seems that the precedence of AT TIME ZONE is actually higher\nthan that of the addition operator... |
[
{
"msg_contents": "Hello!\n\nFound that if i set a specific time zone for a template database,\nit will not be inherited in the database created from that template.\n\npsql (17devel)\nType \"help\" for help.\n\npostgres=# select now();\n now\n-------------------------------\n 2023-11-26 17:24:58.... |
[
{
"msg_contents": "Respected team,\nI am Kirtika Gautam, a third year civil engineering grad from NIT Durgapur.\nI am new to open source contributions but I am well aware of the\ntechnologies like C++/C,javascript,node.js,react.Basically I'm a MERN Stack\ndeveloper and I love to learn new technologies.\nI would... |
[
{
"msg_contents": "Hi all,\n\nI have noticed that GetHeapamTableAmRoutine() is listed as being a\nmember of tableamapi.c but it is a convenience routine located in\nheapam_handler.c. Shouldn't the header be fixed with something like\nthe attached?\n\nThoughts or comments?\n--\nMichael",
"msg_date": "Mon, 2... |
[
{
"msg_contents": "Hi,\n\nSSL tests fail on OpenSSL v3.2.0. I tested both on macOS (CI) and\ndebian (my local) and both failed with the same errors. To trigger\nthese errors on CI, you may need to clear the repository cache;\notherwise macOS won't install the v3.2.0 of the OpenSSL.\n\n001_ssltests:\npsql exited... |
[
{
"msg_contents": "I had some interesting conversations with a couple PostgreSQL community\nmembers at PASS Data Summit the week before last about the collation\nproblem, and then - just in this last week - I saw two more people on\npublic channels hitting corruption problems. One person on the public\nPostgreS... |
[
{
"msg_contents": "Hi,\n\nI want to dynamically generate a nested json file. I have written a\nfunction for it in PL/PGSQL that accepts 3 arrays. First one is an array of\nall json fields, second one is an array of all json fields with columns\nfrom tables present in db, third one mentions the type for all the ... |
[
{
"msg_contents": "Hi,\n\nWhile adding some TAP tests, I realized that set_query_timer_restart()\nin BackgroundPsql may not work. Specifically, it seems not to work\nunless we pass an argument to the function. Here is the test script I\nused:\n\nuse strict;\nuse warnings;\nuse PostgreSQL::Test::Cluster;\nuse Po... |
[
{
"msg_contents": "Hi\n\nI posted this question already on pgsql-general, but it got no answers.\nMaybe the topic is too technical? So I'm trying it here. Maybe a SSI\nspecialist is here on the list.\n\nWe have a PostgreSql 15 server serving around 30 databases, one schema each\nwith the same layout. Each datab... |
[
{
"msg_contents": "Hi hackers,\r\n \r\nI found a problem when doing the test shown below:\r\n \r\nTime\r\n \r\nSession A\r\n \r\nSession B\r\n \r\n \r\nT1\r\n \r\npostgres=# create table test(a int);\r\n \r\nCREATE TABLE\r\n \r\npostgres=# insert into test values (... |
[
{
"msg_contents": "Hi hackers,\n\nPostgreSQL hit the following assertion during error cleanup, after being \nOOM in dsa_allocate0():\n\nvoid dshash_detach(dshash_table *hash_table) { \nASSERT_NO_PARTITION_LOCKS_HELD_BY_ME(hash_table);\n\ncalled from pgstat_shutdown_hook(), called from shmem_exit(), called \nfro... |
[
{
"msg_contents": "I noticed that under meson, the selection of the Python installation \nusing the 'PYTHON' option doesn't work completely. The 'PYTHON' option \ndetermined the Python binary that will be used to call the various build \nsupport programs. But it doesn't affect the Python installation used \nf... |
[
{
"msg_contents": "On Wed, Nov 22, 2023 at 12:49:35PM -0600, Nathan Bossart wrote:\n> On Wed, Nov 22, 2023 at 02:54:13PM +0200, Ants Aasma wrote:\n>> For reference, executing the page checksum 10M times on a AMD 3900X CPU:\n>> \n>> clang-14 -O2 4.292s (17.8 GiB/s)\n>> clang-14 -O2 -msse4.1 ... |
[
{
"msg_contents": "I enabled CI on my personal Postgres fork. I then tried to open a PR \nagainst my fork, and since GitHub defaults to creating PRs against \nupstream, I accidentally opened a PR against the Postgres mirror, which \nthe postgres-mirror bot then closed, which is good. Stupid me.\n\nWhat the bot ... |
[
{
"msg_contents": "Hi,\n\nThe just released meson 1.3 strongly deprecated a hack we were using, emitting\na noisy warning (the hack basically depended on an implementation detail to\nwork). Turns out there has been a better way available for a while, I just\nhadn't found it. 1.4 added a more convenient approach... |
[
{
"msg_contents": "On Fri, Nov 10, 2023 at 08:55:29PM -0600, Nathan Bossart wrote:\n> On Fri, Nov 10, 2023 at 06:48:39PM -0800, Andres Freund wrote:\n>> Yes. We should optimize pg_atomic_exchange_u32() one of these days - it can be\n>> done *far* faster than a cmpxchg. When I was adding the atomic abstraction\n... |
[
{
"msg_contents": "The following query:\n\n SELECT U&'\\017D' ~ '[[:alpha:]]' collate \"en-US-x-icu\";\n\nreturns true if the server encoding is UTF8, and false if the server\nencoding is LATIN9. That's a bug -- any behavior involving ICU should\nbe encoding-independent.\n\nThe problem seems to be confusion ... |
[
{
"msg_contents": "Hello.\n\nRecently, a new --filter option was added to pg_dump. I might be\nwrong, but the syntax of the help message for this feels off. Is the\nword 'on' not necessary after 'based'?\n\n> --filter=FILENAME include or exclude objects and data from dump\n> ... |
[
{
"msg_contents": "Hi,\n\nI noticed something that looks like a bug in pgbench when using the\nprepared protocol. pgbench assumes that all prepared statements are\nprepared correctly, even if they contain errors (e.g. syntax, column/table\ndoesn't exist, etc.).\n\nMy test script is just:\n\nSELECT one;\n\nThe o... |
[
{
"msg_contents": "Sorry for the sequential mails.\n\nIn the bleeding-edge version of pg_dump, when a conditionspecifying an\nindex, for example, is described in an object filter file, the\nfollowing message is output. However, there is a period at the end of\nthe line. Shouldn't this be removed?\n\n$ pg_dump -... |
[
{
"msg_contents": "Hello.\n\nUpon reviewing my translation, I discovered that filter.c was not\nincluded in the nls.mk of pg_dump. Additional it appears that two '.h'\nfiles have been included for a long time, but they seem unnecessary as\ntheir removal does not affect the results. The attached patch is\nintend... |
[
{
"msg_contents": "Hi\n\none my customer migrated a pretty large application from Oracle, and when\ndid performance tests, he found very high memory usage related probably to\nunclosed cursors. The overhead is significantly bigger than on Oracle\n(probably Oracle closes cursors after leaving cursor's variable s... |
[
{
"msg_contents": "Hi hackers,\n\n\n\nI found that dumped view SQL failed to execute due to the explicit cast\n\nof negative number, and I took a look at the defined SQL in view and then\n\nfound -1 in the group by clause. I suppose it’s the main reason the sql\n\ncannot be executed and raised ERROR \"GROUP BY ... |
[
{
"msg_contents": "Hi hackers,\nI found a problem when executing the plpython function:\nAfter the plpython function returns an error, in the same session, if we\ncontinue to execute\nplpython function, the server panic will be caused.\n\n*Reproduce*\npreparation\n\nSET max_parallel_workers_per_gather=4;\nSET p... |
[
{
"msg_contents": "Hi,\n\nDuring logical decoding, if there is a large write transaction, some\nspill files will be written to disk,\ndepending on the setting of max_changes_in_memory.\n\nThis behavior can effectively avoid OOM, but if the transaction\ngenerates a lot of change before commit,\na large number of... |
[
{
"msg_contents": "Hi there,\n\nWhile benchmarking a new feature involving tablespace support in\nCloudNativePG (Kubernetes operator), I wanted to try out the partitioning\nfeature of pgbench. I saw it supporting both range and hash partitioning,\nbut limited to pgbench_accounts.\n\nWith the attached patch, I e... |
[
{
"msg_contents": "I noticed that when a column is dropped, RemoveAttributeById() clears \nout certain fields in pg_attribute, but it leaves the variable-length \nfields at the end (attacl, attoptions, and attfdwoptions) unchanged. \nThis is probably harmless, but it seems wasteful and unclean, and leaves \npot... |
[
{
"msg_contents": "Hi,\n\nPlease find a patch attached which adds missing sql error code in\nerror reports which are FATAL or PANIC, in xlogrecovery.\nThis will help with deducing patterns when looking at error reports\nfrom multiple postgres instances.\n\n--\nThanks and Regards,\nKrishnakumar (KK).\n[Microsoft... |
[
{
"msg_contents": "I noticed that the postgres_fdw test periodically times out on Windows:\n\n\thttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=fairywren&dt=2023-11-10%2003%3A12%3A58\n\thttps://cirrus-ci.com/task/5504294095421440\n\thttps://cirrus-ci.com/task/4814111003901952\n\thttps://cirrus-ci.com/ta... |
[
{
"msg_contents": "Hi,\n\nI recently mentioned to Robert (and also Heikki earlier), that I think I see a\nway to detect an omitted backup_label in a relevant subset of the cases (it'd\napply to the pg_control as well, if we moved to that). Robert encouraged me\nto share the idea, even though it does not provid... |
[
{
"msg_contents": "Hi all,\n\nBack in 2016, a patch set has been proposed to add support for\nsequence access methods:\nhttps://www.postgresql.org/message-id/flat/CA%2BU5nMLV3ccdzbqCvcedd-HfrE4dUmoFmTBPL_uJ9YjsQbR7iQ%40mail.gmail.com\n\nThis included quite a few concepts, somewhat adapted to the point\nwhere th... |
[
{
"msg_contents": "If postgres starts, and one of its children is immediately killed, and\nthe cluster is also told to stop, then, instead, the whole system gets\nwedged.\n\n$ initdb -D ./pgdev.dat1\n$ pg_ctl -D ./pgdev.dat1 start -o '-c port=5678'\n$ kill -9 2524495; sleep 0.05; pg_ctl -D ./pgdev.dat1 stop -m ... |
[
{
"msg_contents": "I have a stored procedure in Postgres. I have generated some variables in\nthat procedure. These variables are generated inside a loop of query\nresult. Suppose if i have 10 rows from my query then for 10 times I am\ngenerating those variables.\n\nNow I want to create a materialized view wher... |
[
{
"msg_contents": "Hi hackers,\n\nI attach a small patch improving document of ECPG host variable.\nPlease back patch to supported version, if possible.\n\nRange of 'bool' as type of ECPG is not defined explicitly. Our customer was confused.\nAdditionally, I could not understand clearly what the existing senten... |
[
{
"msg_contents": "I noticed that some header files included system header files for no \napparent reason, so I did some digging and found out that in a few cases \nthe original reason has disappeared. So I propose the attached patches \nto remove the unnecessary includes.",
"msg_date": "Fri, 1 Dec 2023 08... |
[
{
"msg_contents": "[ this thread separated from [1] as the discussion focus shifted ]\n\nH Andres,\n\n29.11.2023 22:39, Andres Freund wrote:\n>> I use the following:\n>> ASAN_OPTIONS=detect_leaks=0:abort_on_error=1:print_stacktrace=1:\\\n>> disable_coredump=0:strict_string_checks=1:check_initialization_order=1:... |
[
{
"msg_contents": "The comment of search_indexed_tlist_for_var says:\n\n * In debugging builds, we cross-check the varnullingrels of the subplan\n * output Var based on nrm_match.\n\nHowever, this cross-check will also be performed in non-debug builds\never since commit 867be9c07, which converts this check from... |
[
{
"msg_contents": "Hi all\n\nCompiling PostgreSQL 13.13 with option –with-llvm fails with Developer Studio 12.6 as well as with gcc 13.2.0.\nI have installed the developer/llvm/clang\" + \"developer/llvm/clang-build pkgs (13.0.1).\n\n- It works without the llvm option\n- I have also tried it with 16.1 – no succ... |
[
{
"msg_contents": "I'm currently spending some time looking for \"Needs Review\" threads\nthat have some combination of 1) stalled for a long time and 2) lack\nconsensus, with an aim to clearing them out of CF.\n\nSince we got a late start, I will begin moving entries over to January\non Monday. I thought I rem... |
[
{
"msg_contents": "Hi,\n\nI was recently looking at the code around the WAL_DEBUG macro and GUC.\nWhen enabled, the code does the following:\n\n1. Creates a memory context that allows pallocs within critical sections.\n2. Decodes (not logical decoding but DecodeXLogRecord()) every WAL\nrecord using the above me... |
[
{
"msg_contents": "Hello hackers,\n\n# MOTIVATION\n\nMy recent experiences with problematic queries in customers motivated\nme to write this patch proposing a new feature to enhance visibility\non what active queries are doing.\n\nPostgreSQL already offers 2 very powerful tools for query troubleshooting:\n\n- E... |
[
{
"msg_contents": "hey guys,\n\nWe notice Postgres logs, pg_stat_statements and pg_stat_activity will\nrecord passwords when using \"CREATE\" statement to create user with\npassword. Can we provide users with an option to obfuscate those passwords?\n\nYours,\nGuanqun\n\nhey guys,We notice Postgres logs, pg_stat... |
[
{
"msg_contents": "Hi hackers,\n\nThere is a breaking change of API since the v2.12.0 of libxml2[1][2]. My\ncompiler complains about incompatible function signatures:\n\n\n/usr/bin/clang -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Werror=vla\n-Werror=unguarded-availability-new -We... |
[
{
"msg_contents": "Hi,\n\nThe commit 44cac934 replaced \"char buf[BLCKSZ]\" with PGAlignedBlock to\navoid issues on alignment-picky hardware. While it replaced most of the\ninstances, there are still some more left. How about we use PGAlignedBlock\nthere too, something like the attached patch? A note [2] in the... |
[
{
"msg_contents": "When one tries to connect to a server and port which is protected by a\nfirewall, ones get messages like this:\n\nUnix:\npsql: error: connection to server at \"192.168.0.26\", port 5432 failed:\nConnection timed out\n Is the server running on that host and accepting TCP/IP connections?... |
[
{
"msg_contents": "Hi,\n\nCommit 5579388d removed a bunch of dead code, formerly needed for old\nsystems that lacked getaddrinfo() in the early days of IPv6. We\nalready used the system getaddrinfo() via either configure-time tests\n(Unix) or runtime tests (Windows using attempt-to-find-with-dlsym that\nalways... |
[
{
"msg_contents": "Hi all,\n\nOn a recent thread about adding support for event triggers with\nREINDEX, a change has been proposed to make REINDEX queries reflect in\nthe logs under the DDL category:\nhttps://www.postgresql.org/message-id/ZW0ltJXJ2Aigvizl%40paquier.xyz\n\nREINDEX being classified as LOGSTMT_ALL... |
[
{
"msg_contents": "src/backend/nodes/print.c contains a number of functions that print node \ntypes, mostly to stdout. Most of these are not actually used anywhere \nin the code. Are they meant to be inserted into the code ad hoc for \ndebugging? Is anyone using these?\n\nThis file has clearly not been updat... |
[
{
"msg_contents": "Hi,\n\nI want to work on making COPY format extendable. I attach\nthe first patch for it. I'll send more patches after this is\nmerged.\n\n\nBackground:\n\nCurrently, COPY TO/FROM supports only \"text\", \"csv\" and\n\"binary\" formats. There are some requests to support more\nCOPY formats. F... |
[
{
"msg_contents": "Currently our code can do lazily detoast by design, for example:\n\nSELECT toast_col FROM t; \nSELECT toast_col FROM t ORDER BY b;\nSELECT toast_col FROM t join t2 using(c); \n\nit is only detoast at {type}_out function. The benefits includes:\n1. The life time of detoast datum is pretty shor... |
[
{
"msg_contents": "Hi\n\nThe lifecycle of cursors in plpgsql is not strictly joined with the life\ncycle of related cursor's variables. Without breaking compatibility it is\nnot possible to change this behaviour. Usually it doesn't cause problems,\nbut in some cases very big numbers or unclosed cursors can forc... |
[
{
"msg_contents": "I think that cost_incremental_sort() does not account for the limit_tuples\nargument properly. Attached is my proposal to fix the problem.\n\n-- \nAntonin Houska\nWeb: https://www.cybertec-postgresql.com",
"msg_date": "Mon, 04 Dec 2023 08:46:37 +0100",
"msg_from": "Antonin Houska <ah@... |
[
{
"msg_contents": "Hi all,\n(Alvaro in CC.)\n\nWhile running some tests for 8984480b545d, I have noticed that the TAP\ntests of pgbench fail when ~16 is compiled with\n--disable-thread-safety:\n[16:51:10.467](0.004s) not ok 227 - working \\startpipeline with serializable status (got 1 vs expected 0)\n[16:51:10.... |
[
{
"msg_contents": "Hi,\n\nAs per discussion in [1] splitting the patch. Part1 moves replacement\nlogic in initdb of NAMEDATALEN, FLOAT8PASSBYVAL, SIZEOF_VOID_P,\nALIGNOF_POINTER to compile time via genbki.pl.\n\n--\nThanks and regards,\nKrishnakumar (KK).\n[Microsoft]\n\n[1] https://www.postgresql.org/message-... |
[
{
"msg_contents": "Thank you to all who participated!\n\nHere are the stats:\n\nAt start:\nNeeds review: 210. Waiting on Author: 42. Ready for Committer: 29.\nCommitted: 55. Withdrawn: 10. Returned with Feedback: 1. Total: 347.\n\nToday:\nCommitted: 87. Moved to next CF: 234. Withdrawn: 14. Returned with\nFeedb... |
[
{
"msg_contents": "I found the way that MergeAttributes() handles column compression and \nstorage settings very weird.\n\nFor example, I don't understand the purpose of this error:\n\ncreate table t1 (a int, b text compression pglz);\n\ncreate table t1a (b text compression lz4) inherits (t1);\n...\nERROR: 428... |
[
{
"msg_contents": "Attached is the v12 patch. Below are the summary of the changes from\nprevious version.\n\n- Rebase. CFbot says v11 patch needs rebase since Nov 30, 2023.\n \n- Apply preprocess_expression() to DEFINE clause in the planning\n phase. This is necessary to simply const expressions like:\n\n ... |
[
{
"msg_contents": "I have been playing around with the idea of adding support for OLD/NEW\nto RETURNING, partly motivated by the discussion on the MERGE\nRETURNING thread [1], but also because I think it would be a very\nuseful addition for other commands (UPDATE in particular).\n\nThis was discussed a long tim... |
[
{
"msg_contents": "This came up in the \"Refactoring backend fork+exec code\" thread recently \n[0], but is independent of that work:\n\nOn 11/07/2023 01:50, Andres Freund wrote:\n>> --- a/src/backend/storage/ipc/shmem.c\n>> +++ b/src/backend/storage/ipc/shmem.c\n>> @@ -144,6 +144,8 @@ InitShmemAllocation(void)... |
[
{
"msg_contents": "Every once in a while, I find myself wanting to use shared memory in a\nloadable module without requiring it to be loaded at server start via\nshared_preload_libraries. The DSM API offers a nice way to create and\nmanage dynamic shared memory segments, so creating a segment after server\nsta... |
[
{
"msg_contents": "We have backtrace support for server errors. You can activate that \neither by setting backtrace_functions or by explicitly attaching \nerrbacktrace() to an ereport() call.\n\nI would like an additional mode that essentially triggers a backtrace \nanytime elog() (for internal errors) is call... |
[
{
"msg_contents": "Hi,\n\nxlogreader.c has a pointer overflow bug, as revealed by the\ncombination of -fsanitize=undefined -m32, the new 039_end_of_wal.pl\ntest and Robert's incremental backup patch[1]. The bad code tests\nwhether an object could fit using something like base + size <= end,\nwhich can be conve... |
[
{
"msg_contents": "In [0] it was discussed that we could make attstattarget a nullable \ncolumn, instead of always storing an explicit -1 default value for most \ncolumns. This patch implements this.\n\nThis changes the pg_attribute field attstattarget into a nullable field \nin the variable-length part of the... |
[
{
"msg_contents": "Hi,\n\nI've encountered the following segfault:\n\n#0: 0x0000000104e821a8 postgres`list_head(l=0x7f7f7f7f7f7f7f7f) at\npg_list.h:130:17\n#1: 0x0000000104e81c9c postgres`PreCommit_Notify at async.c:932:16\n#2: 0x0000000104dd02f8 postgres`CommitTransaction at xact.c:2236:2\n#3: 0x0000000104dcfc... |
[
{
"msg_contents": "Hi,\n\nPlease find the attached patch for $subject and associated test. Please review.\n\n--\nThanks and Regards,\nKrishnakumar (KK).\n[Microsoft]",
"msg_date": "Tue, 5 Dec 2023 09:36:52 -0800",
"msg_from": "Krishnakumar R <kksrcv001@gmail.com>",
"msg_from_op": true,
"msg_subj... |
[
{
"msg_contents": "The file is only referenced in Meson and MSVC scripts from what I can \ntell, and the Meson reference is protected by a Windows check.\n\n-- \nTristan Partin\nNeon (https://neon.tech)",
"msg_date": "Tue, 05 Dec 2023 12:37:44 -0600",
"msg_from": "\"Tristan Partin\" <tristan@neon.tech>"... |
[
{
"msg_contents": "CTYPE, which handles character classification and upper/lowercasing\nbehavior, may be simpler than it first appears. We may be able to get\na net decrease in complexity by just building in most (or perhaps all)\nof the functionality.\n\nUnicode offers relatively simple rules for CTYPE-like fu... |
[
{
"msg_contents": "As I recently went into on the thread where we've been discussing my\nnbtree SAOP patch [1], there is good reason to suspect that one of the\noptimizations added by commit e0b1ee17 is buggy in the presence of an\nopfamily lacking the full set of cross-type comparisons. The attached\ntest case... |
[
{
"msg_contents": "hi.\n\nstatic void\nExecSetupTransitionCaptureState(ModifyTableState *mtstate, EState *estate);\n\nnot declared in src/backend/executor/nodeModifyTable.c.\ndo we need to add the declaration?\n\n\n",
"msg_date": "Wed, 6 Dec 2023 09:50:02 +0800",
"msg_from": "jian he <jian.universality@... |
[
{
"msg_contents": "Hi,\n\nWhen testing streaming replication with a physical slot. I found an unexpected\nbehavior that the walsender could use an invalidated physical slot for\nstreaming.\n\nThis occurs when the primary slot is invalidated due to reaching the\nmax_slot_wal_keep_size before initializing the str... |
[
{
"msg_contents": "Hi,\n\nThere is an ongoing thread [1] for adding missing SQL error codes to\nPANIC and FATAL error reports in xlogrecovery.c file. I did the same\nbut for xlog.c and relcache.c files.\n\nI couldn't find a suitable error code for the \"cache lookup failed for\nrelation\" error in relcache.c an... |
[
{
"msg_contents": "I have been looking into what it would take to get rid of the \ncustom_read_write and custom_query_jumble for the RangeTblEntry node \ntype. This is one of the larger and more complex exceptions left.\n\n(Similar considerations would also apply to the Constraint node type.)\n\nAllegedly, onl... |
[
{
"msg_contents": "Hi,\n\nPFA a patch that reduces the output size of nodeToString by 50%+ in\nmost cases (measured on pg_rewrite), which on my system reduces the\ntotal size of pg_rewrite by 33% to 472KiB. This does keep the textual\npg_node_tree format alive, but reduces its size signficantly.\n\nThe basic te... |
[
{
"msg_contents": "Earlier this year, there was a thread about GSSAPI for delegated\ncredentials and various operating systems ultimately that Heimdal had\natrophied enough that you were comfortable not supporting it anymore as\na GSSAPI library.\n\nThread:\nhttps://www.postgresql.org/message-id/flat/ZDFTailRZz... |
[
{
"msg_contents": "Hi hackers,\n\n\nFor local invalidation messages, there is no need to call\n`InvalidateCatalogSnapshot` to set the CatalogSnapshot to NULL and\n rebuild it later. Instead, just update the CatalogSnapshot's `curcid`\n in `SnapshotSetCommandId`, this way can make the CatalogSnapshot work\nwell ... |
[
{
"msg_contents": "Hi all,\n\nPostgreSQL currently maintains several data structures in the SLRU cache. The current SLRU pages do not have any header, so it is impossible to checksum a page and verify its integrity. It is very difficult to debug issues caused by corrupted SLRU pages. Also, without a page hea... |
[
{
"msg_contents": "Hi all,\n\nI was trying to cross-compile PostgreSQL 16.1 using Buildroot which worked fine\nuntil I executed \"initdb\" on my target device, where I faced the following error:\n\n2023-12-06 07:10:18.568 UTC [31] FATAL: could not load library \n\"/usr/lib/postgresql/dict_snowball.so\": /usr/l... |
[
{
"msg_contents": "Hi hackers,\n\nDuring logical replication, if there is a large write transaction, some\nspill files will be written to disk, depending on the setting of\nlogical_decoding_work_mem.\n\nThis behavior can effectively avoid OOM, but if the transaction\ngenerates a lot of change before commit, a l... |
[
{
"msg_contents": "In the documentation, Under CREATE PUBLICATION under parameters \n\n publish (string)\n This parameter determines which DML operations will be published by the new publication to the subscribers. The value is comma-separated list of operations. The default is to publis... |
[
{
"msg_contents": "Greetings,\n\nGetting the following error:\n\nstate-exec: run failed: cannot create new executor meta: cannot get\nmatching bin by path: no matching binary by path\n\"C:\\\\Users\\\\Administrator\\\\AppData\\\\Local\\\\activestate\\\\cache\\\\b9117b06\\\\exec\\\\perl.EXE\"\nstate-exec: Not us... |
[
{
"msg_contents": "Hi,\n\nPostgresql seems to be missing upcasting when doing INT range and\nmulti-range operation, for example when checking if an int4 is inside\nan int8 range.\nSome non working example are the following\n\n SELECT 2::INT4 <@ '[1, 4)'::INT8RANGE\n -- ERROR: operator does not exist: inte... |
[
{
"msg_contents": "Moving this to a new thread...\n\nOn Thu, Dec 07, 2023 at 07:15:28AM -0500, Joe Conway wrote:\n> On 12/6/23 21:56, Nathan Bossart wrote:\n>> On Wed, Dec 06, 2023 at 03:20:46PM -0500, Tom Lane wrote:\n>> > If Nathan's perf results hold up elsewhere, it seems like some\n>> > micro-optimization ... |
[
{
"msg_contents": "I found a few places where access/xlog_internal.h was apparently \nincluded unnecessarily. In some of those places, a more specific header \nfile (that somehow came in via access/xlog_internal.h) can be used \ninstead. The *.h file change passes headerscheck.",
"msg_date": "Fri, 8 Dec 2... |
[
{
"msg_contents": "Hi Team,\n\nI hope this email finds you well. We are currently in the process of\nmigrating from PostgreSQL 13.2 to PostgreSQL 15, and we've encountered some\nissues during the restoration process.\n\nError Details:\n\n 1. pg_restore: error: could not execute query: ERROR: column reference\... |
[
{
"msg_contents": "Hello hackers,\n\nWhile studying bug #18158, I've come to the conclusion that the existing\ntesting infrastructure is unable to detect abnormal situations. of some\nkind.\n\nJust a simple example:\nWith Assert(0) injected in walsender (say:\nsed \"s/WalSndDone(send_data)/Assert(0)/\" -i src/b... |
[
{
"msg_contents": "Hello fellow Hackers,\n\nDoes anyone know why we have decided that the wal_keep_size,\nmax_slot_wal_keep_size GUCs \"can only be set in the postgresql.conf\nfile or on the server command line.\" [1]?\n\nIt does not seem fundamentally needed , as they are \"kind of\nguidance\", especially the... |
[
{
"msg_contents": "Dear Postgres Team,\r\n\r\nWe are contacting you today to get your feedback on a service degradation, that occurred, after upgrading related postgres databases to db-Version 15.\r\n\r\nWe upgraded several Live- and Non-Live-Landscapes to db-Version 15, coming from db-version 11. One AWS-Live-... |
[
{
"msg_contents": "Hi,\n\nAFAICS you can't use unconstify()/unvolatize() in a static inline\nfunction in a .h file, or in a .cpp file, because\n__builtin_types_compatible_p is only available in C, not C++. Seems\nlike a reasonable thing to want to be able to do, no? I'm not\nimmediately sure what the right fi... |
[
{
"msg_contents": "Hi,\n\nThis is not exhaustive, I just noticed in passing that we don't need these.",
"msg_date": "Mon, 11 Dec 2023 13:57:39 +1300",
"msg_from": "Thomas Munro <thomas.munro@gmail.com>",
"msg_from_op": true,
"msg_subject": "Some useless includes in llvmjit_inline.cpp"
},
{
... |
[
{
"msg_contents": "Hello,\n\nI recently encountered a case where partial indexes were surprisingly not\nbeing used. The issue is that predtest doesn't understand how boolean\nvalues and IS <boolean> expressions relate.\n\nFor example if I have:\n\ncreate table foo(i int, bar boolean);\ncreate index on foo(i) wh... |
[
{
"msg_contents": "Hi,\n\nA customer found what looks like a sort regression while testing his code from\nv11 on a higher version. We hunt this regression down to commit 586b98fdf1aae,\nintroduced in v12.\n\nConsider the following test case:\n\n createdb -l fr_FR.utf8 -T template0 reg\n psql reg <<<\"\n BEGI... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.