threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nApologies if this has already been discussed someplace, but I couldn't\nfind a previous discussion. It seems to me that base backups are\nbroken in the face of a concurrent truncation that reduces the number\nof segments in a relation.\n\nSuppose we have a relation that is 1.5GB in siz...
[ { "msg_contents": "Hi,\r\n\r\nI recently noticed the following in the work_mem [1] documentation:\r\n\r\n“Note that for a complex query, several sort or hash operations might be running in parallel;”\r\n\r\nThe use of “parallel” here is misleading as this has nothing to do with parallel query, but\r\nrather sev...
[ { "msg_contents": "A couple of days ago, our PostGIS PG16 bots started failing with order\nchanges in text.\nWe have our tests set to locale=c\n\nIt seems since April 20th, our tests that rely on sorting characters\nchanged.\nAs noted in this ticket:\n\nhttps://trac.osgeo.org/postgis/ticket/5375\n\nI'm assuming...
[ { "msg_contents": "Hi,\n\nFirst-time potential contributor here. We recently had an incident due\nto a sudden 1000x slowdown of a Postgres query (from ~10ms to ~10s)\ndue to a join with a foreign key that was often null. We found that it\nwas caused by a merge join with an index scan on one join path --\nwhenev...
[ { "msg_contents": "Hi,\n\nI find the inclusion of the un-parenthesized syntax for VACUUM, ANALYZE,\nand EXPLAIN in the docs makes it harder to understand the preferred,\nparenthesized syntax (see [1] as an example).\n\nOver in [2], it was suggested that moving the un-parenthesized syntax to\nthe \"Compatibility...
[ { "msg_contents": "Attached is a proof-of-concept/work-in-progress patch set that adds\nfunctions for \"vectors\" repreѕented with one-dimensional float8 arrays.\nThese functions may be used in a variety of applications, but I am\nproposing them with the AI/ML use-cases in mind. I am posting this early\nin the...
[ { "msg_contents": "Hi,\n\nI think there could be a mistake in freespace/README. There are\nseveral places where it says about ~4000 slots per FSM page for the\ndefault BLKSZ:\n\n\"\"\"\nFor example, assuming each FSM page can hold information about 4 pages (in\nreality, it holds (BLCKSZ - headers) / 2, or ~4000...
[ { "msg_contents": "This is a proposal for a new transaction characteristic. I haven't\nwritten any code, yet, and am interested in hearing if others may find\nthis feature useful.\n\nMany a times we start a transaction that we never intend to commit;\nfor example, for testing, or for EXPLAIN ANALYZE, or after d...
[ { "msg_contents": "Hi,\n\nBest way to restrict query on many columns is to have index on these\ncolumns.\nBUT with faster and faster IOPS is it not already feasable to make\nmerge\njoin on indexes ? Then it could be possible to have just index on\nsingle columns\nfor more rare queries. Index which have column a...
[ { "msg_contents": "\"$SUBJECT\" may sound like a Zen kōan, but buffile.c does a few useful\nthings other than buffering (I/O time tracking, inter-process file\nexchange though file sets, segmentation, etc). A couple of places\nsuch as logtape.c, sharedtuplestore.c and gistbuildbuffers.c do\nblock-oriented I/O ...
[ { "msg_contents": "Hi\r\n\r\nmaybe I found a bug in xmlserialize\r\n\r\nSELECT xmlserialize(DOCUMENT '<foo><bar><val x=\"y\">42</val></bar></foo>' AS\r\nvarchar INDENT);\r\n\r\n(2023-04-23 07:27:53) postgres=# SELECT xmlserialize(DOCUMENT\r\n'<foo><bar><val x=\"y\">42</val></bar></foo>' AS varchar INDENT);\r\n┌...
[ { "msg_contents": "My work on page-level freezing for PostgreSQL 16 has some remaining\nloose ends to tie up with the documentation. The \"Routine Vacuuming\"\nsection of the docs has no mention of page-level freezing. It also\ndoesn't mention the FPI optimization added by commit 1de58df4. This\nisn't a small t...
[ { "msg_contents": "Hello.\n\nWhile working on a patch, I noticed that a rcent commit (d4e71df6d75)\nadded an apparently unnecessary inclusion of guc.h in smgr.h.\n\nThe only change made by the commit to the file is the added #include\ndirective, which doesn't seem to be functioning, and the build\nactually suce...
[ { "msg_contents": "Hi,\n\nCurrently pg_archivecleanup doesn't remove backup history files even \nwhen they're older than oldestkeptwalfile.\n\nOf course the size of backup history files are smaller than WAL files \nand they wouldn't consume much disk space, but a lot of backup history \nfiles(e.g. daily backup ...
[ { "msg_contents": "Hi\n\nWhen I implemented profiler and coverage check to plpgsql_check I had to\nwrite a lot of hard maintaining code related to corect finishing some\noperations (counter incrementing) usually executed by stmt_end and func_end\nhooks. It is based on the fmgr hook and its own statement call st...
[ { "msg_contents": "Hi,\n\nRegarding pg_stat_io for the startup process, I noticed that the counters\nare only incremented after the startup process exits, not during WAL replay\nin standby mode. This is because pgstat_flush_io() is only called when\nthe startup process exits. Shouldn't it be called during WAL r...
[ { "msg_contents": "`local_traverse_files` and `libpq_traverse_files` both have a\ncallback parameter but instead use the global process_source_file\nwhich is no good for function encapsulation.\n\n-- \nRegards\nJunwang Zhao", "msg_date": "Wed, 26 Apr 2023 09:51:13 +0800", "msg_from": "Junwang Zhao <zhjw...
[ { "msg_contents": "Hello,\n\npg_dumpall.c has a function dumpRoleMembership() which dumps all\nmembership roles. This function includes a piece of code which checks\nif the membership tree has an open end which can't be resolved.\nHowever that code is never used.\n\nThe variable prev_remaining is initially set ...
[ { "msg_contents": "Hi hackers,\r\n\r\nIn 035_standby_logical_decoding.pl, I think that the check in the following test\r\ncase should be performed on the standby node, instead of the primary node, as\r\nthe slot is created on the standby node. The test currently passes because it\r\nonly checks the return value...
[ { "msg_contents": "Hackers,\n\nI have been updating pgAudit for PG16 and ran into the following issue \nin the regression tests:\n\n\\connect - user1\nWARNING: permission denied to set parameter \"pgaudit.log_level\"\n\nThis happens after switching back and forth a few times between the \ncurrent user when the...
[ { "msg_contents": "Hi,\n\nToday, I found myself wondering whether we could add a non-btree\nindex, and in particular a GIN index, to a system catalog if we so\ndesired. Currently, after initdb, we only create tables and btree\nindexes, but I'm not sure if there is any good reason why we couldn't\ndo something e...
[ { "msg_contents": "I am not sure it is really a bug, but nevertheless\n\nIf you do\n\nmkdir [source]\ngit clone git://git.postgresql.org/git/postgresql.git [source]\nmkdir build; cd build\n../\\[source\\]/configure \nmake\n\nyou will get\n\nmake[1]: *** No rule to make target 'generated-headers'. Stop.\n\nIf t...
[ { "msg_contents": "Hi,\n\n*Problem: Having multiple versions of Postgres installed in CentOS 7. I\nWant to set the 9.5 version as default. Not able to access Postgres 9.5\nthrough the terminal as well.*\n\n 1. For Command *psql --version* I'm getting 9.5 as the version.\n 2. For Command *sudo -u postgres ps...
[ { "msg_contents": "I had noticed that performance wasn't great when using the @> or <@ \noperators when examining if an element is contained in a range.\nBased on the discussion in [1] I would like to suggest the following \nchanges:\n\nThis patch attempts to improve the row estimation, as well as opening \nthe...
[ { "msg_contents": "Hi!\nWe are developing a GiST index structure. We use M-tree for this work. We have a problem with it. We would like to get some closest neighbors. In my select we order the query by distance, and we use limit. Sometimes it works well, but in some cases I don’t get back the closest points. If...
[ { "msg_contents": "Big PostgreSQL databases use and regularly open/close huge numbers of\nfile descriptors and directory entries for various anachronistic\nreasons, one of which is the 1GB RELSEG_SIZE thing. The segment\nmanagement code is trickier that you might think and also still\nharbours known bugs.\n\nA...
[ { "msg_contents": "This is in response to Alexander's observation at [1], but I'm\nstarting a fresh thread to keep this patch separate from the plperl\nfixes in the cfbot's eyes.\n\nAlexander Lakhin <exclusion@gmail.com> writes:\n> I continue watching the array handling bugs dancing Sirtaki too. Now it's\n> ano...
[ { "msg_contents": "Hi,\n\nThere is at present a comment at the top of transformStatsStmt which\nsays \"To avoid race conditions, it's important that this function\nrelies only on the passed-in relid (and not on stmt->relation) to\ndetermine the target relation.\" However, doing what the comment says\nwe need to...
[ { "msg_contents": "Hi,\n\nI just found the naming of the ItemId variables is not consistent in\nheapam.c. There are 13 'lpp's and 112 'lp's. Technically 'lpp' is correct\nas ItemId is a line pointer's pointer and there used to be code like\n\"++lpp\" for line pointer array iteration. Now that all the \"++lpp\" ...
[ { "msg_contents": "Hi\n\nCommit b23cd185f [1] forbids manual creation of ON SELECT rule on\na table, and updated the main rules documentation [2], but didn't update\nthe corresponding CREATE RULE page [3].\n\n[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b23cd185fd5410e5204683933f848d4583e3...
[ { "msg_contents": "When working on the improper qual pushdown issue [1], there is a need in\nthe proposed fix to avoid scanning all the SpecialJoinInfos, since that\nis too expensive. I think this might be a common requirement. In the\ncurrent codes there are several places where we need to scan all the\nSpec...
[ { "msg_contents": "When reading a memory contexts log I realized that we have this:\n\nLOG: level: 2; EventTriggerCache: 8192 total in 1 blocks; 7928 free (4 chunks); 264 used\nLOG: level: 3; Event Trigger Cache: 8192 total in 1 blocks; 2616 free (0 chunks); 5576 used\n\nThe reason is that BuildEventTriggerCa...
[ { "msg_contents": "Hello,\nI am trying out logical replication for upgrading postgres instance from\nversion 11 to 15.x. In the process, I noticed that some tables get stuck in\nthe 's' state during logical replication and they do not move to the 'r'\nstate. I tried to drop the subscription and create a new sub...
[ { "msg_contents": "Hi pg-hackers,\n\n\nWhen I wrote an extension to implement a new storage by table access method. I found some issues\nthat the existing code has strong assumptions for heap tables now. Here are 3 issues that I currently have:\n\n\n1. Index access method has a callback to handle reloptions, bu...
[ { "msg_contents": "Hi,\n\nWe have recently used the PostgreSQL documentation when setting up our \nlogical replication. We noticed there was a step missing in the \ndocumentation on how to drop a logical replication subscription with a \nreplication slot attached.\n\nWe clarify the documentation to include prer...
[ { "msg_contents": "I made this function:\n\nCREATE OR REPLACE FUNCTION test_fun()\nRETURNS void\nLANGUAGE SQL\nBEGIN ATOMIC\nMERGE INTO target\nUSING source s on s.id = target.id\nWHEN MATCHED THEN\n UPDATE SET data = s.data\nWHEN NOT MATCHED THEN\n INSERT VALUES (s.id, s.data);\nend;\n\nIt appears to work fi...
[ { "msg_contents": "... at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=56e869a0987c93f594e73c1c3e49274de5c502d3\n\nAs usual, please send corrections/comments by Sunday.\n\n\t\t\tregards, tom lane\n\n\n", "msg_date": "Fri, 05 May 2023 12:42:25 -0400", "msg_from": "Tom Lane <tgl@s...
[ { "msg_contents": "Let me know if results like this shouldn't be posted here.\n\nThis is mostly a hobby project for me - my other hobby is removing\ninvasive weeds. I am happy to answer questions and run more tests, but\nturnaround for answers won't be instant. Getting results from Linux perf\nfor these tests i...
[ { "msg_contents": "Dear PostgreSQL Community,\n\nHope you all are doing very well.\nMy name is Francisco Arbelaez and I would like to introduce myself in behalf of Bancolombia, from Open Source Office.\n From the Bancolombia organization, we have the responsibility to migrate private licensed technology to Open...
[ { "msg_contents": "Currently Window function nth_value is coded as following:\n\n\tnth = DatumGetInt32(WinGetFuncArgCurrent(winobj, 1, &isnull));\n\tif (isnull)\n\t\tPG_RETURN_NULL();\n\tconst_offset = get_fn_expr_arg_stable(fcinfo->flinfo, 1);\n\n\tif (nth <= 0)\n\t\tereport(ERROR,\n\t\t:\n\t\t:\n\nIs there an...
[ { "msg_contents": "Hi, hackers\n\nWhen executing \\du, you can see duplicates of the same role in 'member of'.\nThis happens when admin | inherit | set options are granted by another role.\n\n---\npostgres=# create role role_a login createrole;\nCREATE ROLE\npostgres=# \\du\n                                    ...
[ { "msg_contents": "Hi,\r\n\r\nAttached is a draft of the release announcement for the upcoming update \r\nrelease on May 11, 2023.\r\n\r\nPlease provide any suggestions, corrections, or notable omissions no \r\nlater than 2023-05-11 0:00 AoE.\r\n\r\nThanks,\r\n\r\nJonathan", "msg_date": "Sat, 6 May 2023 23:...
[ { "msg_contents": "Hi\r\n\r\n\r\n\r\n\r\nI am writing to propose a prototype implementation that can greatly enhance the C/C++ interoperability in PostgreSQL. The implementation involves converting PG longjmp to&nbsp;[force unwind](https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html#base-throw), which trigger...
[ { "msg_contents": "Hi,\n\nWe call pgstat_drop_subscription() at the end of DropSubscription()\nbut we could leave from this function earlier e.g. when no slot is\nassociated with the subscription. In this case, the statistics entry\nfor the subscription remains. To fix it, I think we need to call it\nearlier, j...
[ { "msg_contents": "Hi\n\nI try run make check-world. Now I have problems with tests of psql\n\nI had to cancel tests\n\nlog:\n\n[08:46:49.828](0.038s) ok 63 - no ON_ERROR_STOP, --single-transaction and\nmultiple -c switches\n[08:46:49.860](0.033s) ok 64 - client-side error commits transaction, no\nON_ERROR_STOP...
[ { "msg_contents": "Where in the code is written the mechanism used for isolation when drop\ntable is executed in a transaction\n\nThanks for your help\n\nFabrice\n\nWhere in the code is written the mechanism used for isolation when drop table is executed in a transaction Thanks for your helpFabrice", "msg_d...
[ { "msg_contents": "Hi,\r\n\r\nThe release date for PostgreSQL 16 Beta 1 is scheduled for May 25, 2023.\r\n\r\nPlease ensure you have committed any work for Beta 1 released committed \r\nby May 21, 2023 AoE.\r\n\r\nThank you for your efforts with resolving open items[2] as we work to\r\nstabilize PostgreSQL 16 f...
[ { "msg_contents": "Hi,\n\nUnfortunately I have found the following commit to have caused a performance\nregression:\n\ncommit e101dfac3a53c20bfbf1ca85d30a368c2954facf\nAuthor: Andres Freund <andres@anarazel.de>\nDate: 2023-04-08 00:24:24 -0700\n\n For cascading replication, wake physical and logical walsen...
[ { "msg_contents": "Hi,\n\nOne complaint about PHJ is that it can, in rare cases, use a\nsurprising amount of temporary disk space where non-parallel HJ would\nnot. When it decides that it needs to double the number of batches to\ntry to fit each inner batch into memory, and then again and again\ndepending on y...
[ { "msg_contents": "I was looking at the new smgrzeroextend() function in the smgr API. The \ndocumentation isn't very extensive:\n\n/*\n * smgrzeroextend() -- Add new zeroed out blocks to a file.\n *\n * Similar to smgrextend(), except the relation can be extended by\n * multiple blocks at once ...
[ { "msg_contents": "We already have\n\\ef\n\\ev\n\nThe use case here is simply that it saves me from:\n\\d <table>\n[scroll through all the fields]\n[often scroll right]\nselect function name\n\\ef [paste function name]\n\nand tab completion is much narrower\n\nWhen doing conversions and reviews all of this stuf...
[ { "msg_contents": "In writing the PG 16 release notes, I came upon an oddity in our new\ncreateuser syntax, specifically --role and --member. It turns out that\n--role matches CREATE ROLE ... ROLE IN (and has prior to PG 16) while\nthe new --member option matches CREATE ROLE ... ROLE. The PG 16 feature\ndiscu...
[ { "msg_contents": "Hi\n\nWhile translating the v15 message catalog (yes, I'm quite late!), I\nnoticed that commit 1f39bce02154 introduced three copies of the\nfollowing message in hashagg_batch_read():\n\n+ ereport(ERROR,\n+ (errcode_for_file_access(),\n+ errmsg(\"unexpected E...
[ { "msg_contents": "This commit:\n\n\tcommit 366283961a\n\tAuthor: Amit Kapila <akapila@postgresql.org>\n\tDate: Thu Jul 21 08:47:38 2022 +0530\n\t\n\t Allow users to skip logical replication of data having origin.\n\nhas this change:\n\n\tdiff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml...
[ { "msg_contents": "Hi hackers!\n\nThere were several discussions where the limitations of the existing TOAST\npointers\nwere mentioned [1], [2] and [3] and from time to time this topic appears in\nother places.\n\nWe proposed a fresh approach to the TOAST mechanics in [2], but\nunfortunately the\npatch was met ...
[ { "msg_contents": "Hi.\n\nWhile reviewing another patch to the file info.c, I noticed there seem\nto be some unnecessary calls to strlen(query) in get_rel_infos()\nfunction.\n\ni.e. The query is explicitly initialized to an empty string\nimmediately prior, so why the strlen?\n\nPSA patch for this.\n\n------\nKi...
[ { "msg_contents": "Hi --\n\nWhile reviewing another patch for the file info.c, I noticed some\nmisplaced colon (':') in the verbose logs for print_rel_infos().\n\nPSA patch to fix it.\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia", "msg_date": "Thu, 11 May 2023 15:41:20 +1000", "msg_from": "...
[ { "msg_contents": "While merging commits from c9f7f926484d69e2806e35343af7e472fadfede7\nthrough 3db72ebcbe20debc6552500ee9ccb4b2007f12f8 into a fork, my\ncolleague Rushabh Lathia and I noticed that the merge caused certain\nqueries to return wrong answers. Rushabh then discovered that this\nalso happens in unmo...
[ { "msg_contents": "Hi hackers,\n\nI've come across an unexpected behavior in our CSV parser that I'd like to\nbring up for discussion.\n\n% cat example.csv\nid,rating,review\n1,5,\"Great product, will buy again.\"\n2,3,\"I bought this for my 6\" laptop but it didn't fit my 8\" tablet\"\n\n% psql\nCREATE TABLE r...
[ { "msg_contents": "I happened to notice that the query below can be inefficient.\n\n# explain (costs off)\nselect * from\n int8_tbl a left join\n (int8_tbl b inner join\n lateral (select *, b.q2 as x from int8_tbl c) ss on b.q2 = ss.q1)\n on a.q1 = b.q1;\n QUERY PLAN\n--------------------------...
[ { "msg_contents": "HN had a thread regarding the challenges faced by new users during the\nadoption of Postgres in 2023.\n\nOne particular issue that garnered significant votes was the lack of a\n\"SHOW CREATE TABLE\" command, and seems like it would be an easy one to\nimplement: https://news.ycombinator.com/it...
[ { "msg_contents": "Hi,\n\nCurrently the example uses the following order of calls:\n\n StartTransactionCommand();\n SPI_connect();\n PushActiveSnapshot(...);\n\n ...\n\n SPI_finish();\n PopActiveSnapshot();\n CommitTransactionCommand();\n\nThis could be somewhat misleading. Typically one ex...
[ { "msg_contents": "This is intended as a follow-up to de4d456 [0]. I noticed that c3afe8c\nintroduced another \"must have privileges\" error message that I think should\nbe adjusted to use the new style introduced in de4d456. І've attached a\nsmall patch for this.\n\nWhile looking around for other such error ...
[ { "msg_contents": "Hello hackers,\n\nI found \"...\" confusing in some comments, so this patch changes it to\n\"cstring\". Which seems to be the intention after all.\n\nBest regards,\nSteve", "msg_date": "Sun, 14 May 2023 18:07:23 -0300", "msg_from": "Steve Chavez <steve@supabase.io>", "msg_from_op"...
[ { "msg_contents": "Hello hackers,\n\nI use postgres/src/tools/make_ctags and it works great. But it leaves the\ntags files ready to be committed in git. So, I've added 'tags' to\n.gitignore.\n\nBest regards,\nSteve\n\nHello hackers,I use postgres/src/tools/make_ctags and it works great. But it leaves the tags f...
[ { "msg_contents": "Personally I would appreciate it if \\sv actually showed you the DDL.\nOftentimes I will \\ev something to review it, with syntax highlighting.\n\nObviously this won't go in until V17, but looking at other tab-completion\nfixes.\n\nThis should not be that difficult. Just looking for feedback...
[ { "msg_contents": "This would be a trivial change. Willing to do it, and push it.\n\nIn effect, we have this GREAT feature:\n\\set ECHO_HIDDON on\n\nWhich outputs a bunch of queries (as you all know).\nBut somehow nobody thought that a user might want to paste ALL of the\nqueries into their query editor, or ev...
[ { "msg_contents": "Hi hackers,\n\nPlease find attached a patch to $SUBJECT.\n\nThis is preliminary work to autogenerate some wait events\ncode and documentation done in [1].\n\nThe patch introduces 2 new \"wait events\" (WAIT_EVENT_EXTENSION\nand WAIT_EVENT_BUFFER_PIN) and their associated functions\n(pgstat_ge...
[ { "msg_contents": "Hello, hackers!\n\nWhen running tests for version 15, we found a conflict between \nregression tests namespace & transactions due to recent changes [1].\n\ndiff -w -U3 .../src/test/regress/expected/transactions.out \n.../src/bin/pg_upgrade/tmp_check/results/transactions.out\n--- .../src/test/...
[ { "msg_contents": "The pginfra team is about to begin an upgrade of git.postgresql.org to\na new version of debian. During the operation there may be some\nintermittent outages -- we will let you know once the upgrade is\ncomplete.\n\n-- \n Magnus Hagander\n Me: https://www.hagander.net/\n Work: https://www.red...
[ { "msg_contents": "Currently, I believe that we are frowning on writing things directly to\nPublic by default.\n\nAlso, we had already taken that step in our systems. Furthermore we force\nPublic to be the first Schema, so this restriction enforces that everything\ncreated must be assigned to the appropriate s...
[ { "msg_contents": "Hi Hackers,\n\nI noticed some confusing behavior with REVOKE recently. Normally if\nREVOKE fails to revoke anything a warning is printed. For example, see\nthe following scenario:\n\n```\ntest=# SELECT current_role;\n current_role\n--------------\n joe\n(1 row)\n\ntest=# CREATE ROLE r1;\nCREA...
[ { "msg_contents": "Hi,\n\nCurrently, the main loop of apply worker looks like below[1]. Since there are\ntwo loops, the inner loop will keep receiving and applying message from\npublisher until no more message left. The worker only reloads the configuration in\nthe outer loop. This means if the publisher keeps ...
[ { "msg_contents": "Hi,\n\nThis patch set tries to add loongarch64 native spin lock to postgresql.\n\n- [PATCH 1/2] implements a loongarch64 native spin lock.\n- [PATCH 2/2] fixes s_lock_test to make it runnable via `make check'.\n\nThe patch set is tested on my Loongson 3A5000 machine with Loong Arch \nLinux an...
[ { "msg_contents": "Team,\n I made the /**** QUERY ****/ changes.\nAnd I found the .po files, and modified those to match.\n\n make checkworld -- worked\n\n Anyway, I have NO IDEA how I run psql in a different language.\nI tried gnome-language-selector, I installed Russian/Czech.\nI switched my entire syste...
[ { "msg_contents": "|1. Switch --load-via-partition-root is very useful.\nWould it be a big deal to add extra information to the |||dump |custom \nformat so that this switch can be specified from pg_restore level?\n\n2. Another common usability problem is a quick dump of the selected \nparent table.\nIt is impor...
[ { "msg_contents": "I'm sorry I was unable to respond right away.\n\nOn 09.05.2023 17:23, torikoshia wrote:\n> You may already understand it, but these variable names are given in \n> imitation of FREEZE and BINARY cases:\n>\n>   --- a/src/include/commands/copy.h\n>   +++ b/src/include/commands/copy.h\n>   @@ -4...
[ { "msg_contents": "Hi,\n\nI was working on setting up a PG16.devel(375407f4) test database with\nUTF8 but C locale, and found the following strange behaviour:\n\nplain initdb:\n[...]\n Using default ICU locale \"en_US\".\n Using language tag \"en-US\" for ICU locale \"en_US\".\n The database cluster will be ini...
[ { "msg_contents": "I did a preliminary test run of pgindent today, and was dismayed\nto see a bunch of misformatting in backend/jit/llvm/, which\nevidently is because the typedefs list available from the\nbuildfarm no longer includes any LLVM typedefs. We apparently\nused to have at least one buildfarm animal ...
[ { "msg_contents": "Hi hackers,\n\nA colleague of mine, Ante Krešić, got puzzled by the following behavior:\n\nSetup:\n\npostgres=# create table inh_test (id serial, value float);\nCREATE TABLE\npostgres=# create table inh_child_1 () INHERITS ( inh_test);\nCREATE TABLE\npostgres=# create table inh_child_2 () INH...
[ { "msg_contents": "Hi all,\n\nAs was previously discussed at the thread surrounding [1]: Currently\nany block registration in WAL takes up at least 8 bytes in xlog\noverhead, regardless of how much data is included in that block: 1\nbyte for block ID, 1 byte for fork and flags, 2 bytes for the block\ndata lengt...
[ { "msg_contents": "Hi,\n\nI took some time to look at the Meson build for Postgres. I contribute\nsome of the time to Meson, itself. Within this patchset you will find\npretty small changes. Most of the commits are attempting to create more\nconsistency with the surrounding code. I think there is more that can ...
[ { "msg_contents": "Hi,\n\nI've open-coded $subject many times. I wonder if we should add at least a\nrestricted version of it.\n\nI did find one past discussion of it on the list:\nhttps://www.postgresql.org/message-id/24948.1259797531%40sss.pgh.pa.us\n\nWe have workarounds for it on the wiki:\nhttps://wiki.pos...
[ { "msg_contents": "I have completed the first draft of the PG 16 release notes. You can\nsee the output here:\n\n\thttps://momjian.us/pgsql_docs/release-16.html\n\nI will adjust it to the feedback I receive; that URL will quickly show\nall updates.\n\nI learned a few things creating it this time:\n\n* I can ...
[ { "msg_contents": "Hi hackers,\n I found $subject problem when using SQLancer.\n\n How to repeat:\n CREATE TEMP TABLE t0(c0 inet, c1 money, c2 TEXT);\nCREATE TEMP TABLE IF NOT EXISTS t1(LIKE t0); CREATE TEMP TABLE t2(c0\nboolean , c1 DECIMAL NOT NULL UNIQUE); CREATE TEMPORARY TABLE t3(LIKE t1);\nCREATE VIEW...
[ { "msg_contents": "Hi,\r\n\r\nAttached is a draft of the release announcement for PostgreSQL 16 Beta \r\n1. The goal of this announcement is to get people excited about testing \r\nthe beta and highlight many of the new features.\r\n\r\nPlease review for inaccuracies, omissions, and other suggestions / errors.\...
[ { "msg_contents": "I observed a missing end bracket in E 1.3.11:\n\n\nRequire Windows 10 or newer versions (Michael Paquier, Juan José Santamaría Flecha\n\n\nHans Buschmann\n\n\n\n\n\n\n\n\nI observed a missing end bracket in E 1.3.11:\n\n\nRequire Windows 10 or newer versions (Michael Paquier, Juan José Santam...
[ { "msg_contents": "The thread \"Should CSV parsing be stricter about mid-field quotes?\" [1] forked\ninto a new topic, with two new ideas, hence this new thread.\n\n1. COPY ... QUOTE NONE\n\nIn the [1] thread, Andrew Dunstan suggested a trick on how to deal with\nunquoted but delimited files, such as TSV-files ...
[ { "msg_contents": "I am trying to connect with PostgreSQL database from client with SSL\nenabled on server 10.30.32.186 port 6432 using below java code -\n\nI am using certificates ( [server-cert.pem, server-key.pem, ca.cert] and\n[postgresql.crt, postgresql.pk8, root.crt] ).\n\nSuggest me if there are any spec...
[ { "msg_contents": "Why is the new PG 16 GUC called \"gss_accept_deleg\" and not\n\"gss_accept_delegation\"? The abbreviation here seems atypical.\n\n-- \n Bruce Momjian <bruce@momjian.us> https://momjian.us\n EDB https://enterprisedb.com\n\n Only you can decide w...
[ { "msg_contents": "Hi\nI’m looking at config_default.pl file and I can see the line\n\ngss => undef, # --with-gssapi=<path>\n\nI was advised to use SSPI API that is built-in (windows) instead of MIT Kerberos\n\nSo what should I set and where to ensure that result PostgreSQL build will support SSPI?\n\n...
[ { "msg_contents": "Hi,\n\nWhile re-reading 38.10.10. Shared Memory and LWLocks [1] and the\ncorresponding code in pg_stat_statements.c I noticed that there are\nseveral things that can puzzle the reader.\n\nThe documentation and the example suggest that LWLock* should be\nstored within a structure in shared mem...
[ { "msg_contents": "Work from commit 5b861baa (later backpatched as commit 43e409ce)\ntaught nbtree to press on with vacuuming an index when page deletion\nfails to \"re-find\" a downlink in the target page's parent (or in some\npage to the right of the parent) due to index corruption.\n\nTo recap, avoiding ERRO...
[ { "msg_contents": "Hi,\n\nHere is a draft version of the long awaited patch to support LLVM 16.\nIt's mostly mechanical donkeywork, but it took some time: this donkey\nfound it quite hard to understand the mighty getelementptr\ninstruction[1] and the code generation well enough to figure out all\nthe right type...
[ { "msg_contents": "Hi,\n\nWhile working on [1], I thought there seems to be unnecessary #include \n\"pg_getopt.h\".\ngetopt_long.h has already included pg_getopt.h, but some files include \nboth getopt.h and getopt_long.h.\n\n\n[1] \nhttps://www.postgresql.org/message-id/flat/d660ef741ce3d82f3b4283f1cafd576c@os...
[ { "msg_contents": "Hello,\n\nThe way that pgbench handled SIGINT changed in\n1d468b9ad81b9139b4a0b16b416c3597925af4b0. Unfortunately this had a\ncouple of unintended consequences, at least from what I can tell[1].\n\n- CTRL-C no longer stops the program unless the right point in pgbench\n execution is hit\n- p...
[ { "msg_contents": "Hi,\n\nSome files were missing information from the c.h header.\n\n-- \nTristan Partin\nNeon (https://neon.tech)", "msg_date": "Mon, 22 May 2023 10:10:31 -0500", "msg_from": "\"Tristan Partin\" <tristan@neon.tech>", "msg_from_op": true, "msg_subject": "Add missing includes" ...
[ { "msg_contents": "Hello,\n\nThis is a way that would solve bug #17698[1]. It just reuses the same\nhandler as SIGINT (with a function rename).\n\nThis patch works best if it is combined with my previous submission[2].\nI can rebase that submission if and when this patch is pulled in.\n\n[1]: https://www.postgr...
[ { "msg_contents": "I came across $subject on master and here is the query I'm running.\n\ncreate table t (a int unique, b int);\n\nexplain (costs off)\nselect 1 from t t1\n left join t t2 on true\n inner join t t3 on true\n left join t t4 on t2.a = t4.a and t2.a = t3.a;\nERROR: no relation entry for re...
[ { "msg_contents": "When creating a private service for another instance of PostgreSQL I used the template of postgresql-15.service file installed into /usr/lib/systemd/system on Fedora 38 provided through the installation for postgres 15.3 from PGDG repositories.\n\n\nThere I noticed that the line ExecStart sti...