threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nit seems there's a fairly annoying memory leak in trigger code,\nintroduced by\n\n commit fc22b6623b6b3bab3cb057ccd282c2bfad1a0b30\n Author: Peter Eisentraut <peter@eisentraut.org>\n Date: Sat Mar 30 08:13:09 2019 +0100\n\n Generated columns\n ...\n\nwhich added GetAllUpdate... |
[
{
"msg_contents": "Hi!\n\nI noticed that errors due to writable CTEs in read-only or non-volatile context say the offensive command is SELECT.\n\nFor example a writeable CTE in a IMMUTABLE function:\n\n CREATE TABLE t (x INTEGER);\n\n CREATE FUNCTION immutable_func()\n RETURNS INTEGER\n LANGUAGE SQL\n IMMUTA... |
[
{
"msg_contents": "Hello,\n\nWe (Neon) have noticed that pgbench can be quite slow to populate data\nin regard to higher latency connections. Higher scale factors exacerbate\nthis problem. Some employees work on a different continent than the\ndatabases they might be benchmarking. By moving pgbench to use COPY ... |
[
{
"msg_contents": "Hi all,\n\nAs touched on in past threads, our SCRAM implementation is slightly\nnonstandard and doesn't always protect the entirety of the\nauthentication handshake:\n\n- the username in the startup packet is not covered by the SCRAM\ncrypto and can be tampered with if channel binding is not ... |
[
{
"msg_contents": "This is a short patch which cleans up code for unlogged LSNs. It replaces the existing spinlock with\natomic ops. It could provide a performance benefit for future uses of\nunlogged LSNS, but for now it is simply a cleaner implementation.",
"msg_date": "Tue, 23 May 2023 20:24:45 +0000",... |
[
{
"msg_contents": "With the idea that someone else will someday need to create the Postgres\nmajor release notes, here are the instructions and editor macros I use,\nand the intermediate files I created to generate the Postgres 16 major\nrelease notes.\n\n-- \n Bruce Momjian <bruce@momjian.us> https://... |
[
{
"msg_contents": "Hi all,\n\n$Subject says it all. Based on an analysis of the code, I can note\nthe following when it comes to the removal of 1.0.1:\n- A lot of code related to channel binding is now simplified as\nX509_get_signature_nid() always exists, mostly around its CFLAGS.\n- This removes the comments... |
[
{
"msg_contents": "Testing with SQLancer reports a wrong results issue on master and I\nreduced it to the repro query below.\n\ncreate table t (a int, b int);\n\nexplain (costs off)\nselect * from t t1 left join\n (t t2 left join t t3 full join t t4 on false on false)\n left join t t5 on t2.a = t5.a\non t... |
[
{
"msg_contents": "I recently stumbled over the following Intel proposal for dropping 32bit support in x86 processors. [1]\n\n\nThis inspired me to propose dropping 32bit support for PostgreSQL starting with PG17.\n\n\nIt seems obvious that production systems mostly won't use newly installed 32 bit native code ... |
[
{
"msg_contents": "Hi everyone,\n\nI was wondering if waiting for an LSN in SyncRepWaitForLSN ensures that the\nXLOG has been flushed locally up to that location before the record is\nshipped off to standbys?\n\nRegards,\nTej\n\nHi everyone,I was wondering if waiting for an LSN in SyncRepWaitForLSN ensures that... |
[
{
"msg_contents": "Greetings,\n\nIn\nhttps://github.com/postgres/postgres/blob/5c2c59ba0b5f723b067a6fa8bf8452d41fbb2125/src/backend/libpq/auth.c#L463\n\nThe last piece of information is the encryption state. However when an SSL\nconnection fails to authenticate the state is not encrypted.\n\nWhen would it ever ... |
[
{
"msg_contents": "Why does pgindent require that pg_bsd_indent be installed in the path? \nCouldn't pgindent call the pg_bsd_indent built inside the tree? That \nwould make the whole process much smoother.\n\n\n",
"msg_date": "Thu, 25 May 2023 10:32:20 +0200",
"msg_from": "Peter Eisentraut <peter@eise... |
[
{
"msg_contents": "Working with PostgreSQL Logical Replication is just great! It helps a lot\ndoing real time replication for analytical purposes without using any other\n3d party service. Although all these years working as a product architect\nof reporting I have noted a few requirements which are always a ch... |
[
{
"msg_contents": "Until PG15, calling pgindent without arguments would process the whole \ntree. Now you get\n\nNo files to process at ./src/tools/pgindent/pgindent line 372.\n\nIs that intentional?\n\n\nAlso, pgperltidy accepts no arguments and always processes the whole \ntree. It would be nice if there we... |
[
{
"msg_contents": "hi.\nhttps://www.postgresql.org/docs/current/pgwalinspect.html\n\nlast query should be:\nSELECT * FROM pg_get_wal_stats('0/1E847D00', '0/1E84F500')\nWHERE count > 0 AND\n \"resource_manager/record_type\" = 'Transaction'\nLIMIT 1;\n\nhi.https://www.postgresql.org/docs/current/pgwalins... |
[
{
"msg_contents": "The PostgreSQL Global Development Group announces that the first beta release of\nPostgreSQL 16 is now [available for download](https://www.postgresql.org/download/).\nThis release contains previews of all features that will be available when\nPostgreSQL 16 is made generally available, though... |
[
{
"msg_contents": "Hi,\n\nThe recovery tap test has 4 implementations of find_in_log sub routine\nfor various uses, I felt we can generalize these and have a single\nfunction for the same. The attached patch is an attempt to have a\ngeneralized sub routine find_in_log which can be used by all of them.\nThoughts... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 17946\nLogged by: Guido Brugnara\nEmail address: gdo@leader.it\nPostgreSQL version: 12.15\nOperating system: Ubuntu 20.04\nDescription: \n\nAfter upgrading an application using Postgresql from vers... |
[
{
"msg_contents": "Commit 61b313e4, which prepared index access method code for the\nlogical decoding on standbys work, made quite a few mechanical\nchanges. Many routines were revised in order to make sure that heaprel\nwas available in _bt_getbuf()'s P_NEW (new page allocation) path. But\nthis went further th... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nI saw a buildfarm failure on \"dikkop\"[1]. It failed in\r\n035_standby_logical_decoding.pl, because the slots row_removal_inactiveslot and\r\nrow_removal_activeslot are not invalidated after vacuum.\r\n\r\nregress_log_035_standby_logical_decoding:\r\n```\r\n[12:15:05.943](... |
[
{
"msg_contents": "I have attempted to convert pg_get_indexdef() to use\nsystable_beginscan() based on transaction-snapshot rather than using\nSearchSysCache(). The latter does not have any old info and thus\nprovides only the latest info as per the committed txns, which could\nresult in errors in some scenario... |
[
{
"msg_contents": "I need to implement a trigger that will behave similarly to a foreign key\nconstraint. The trigger itself will be created with:\n\n CREATE CONSTRAINT TRIGGER ... AFTER INSERT OR UPDATE OF ... ON foo\n\nI'd like to skip execution of the trigger logic if, by the time that the\ntrigger\nis exec... |
[
{
"msg_contents": "Maintenance commands (ANALYZE, CLUSTER, REFRESH MATERIALIZED VIEW,\nREINDEX, and VACUUM) currently run as the table owner, and as a\nSECURITY_RESTRICTED_OPERATION.\n\nI propose that we also fix the search_path to \"pg_catalog, pg_temp\"\nwhen running maintenance commands, for two reasons:\n\n... |
[
{
"msg_contents": "I don't recall if this has come up before.\n\nI'm sometimes mildly annoyed when I get on a new system and find the \nusername missing in my psql prompt. Or if a customer shows me a screen \nand I have to ask \"which user is this\". If we're dealing with several \nroles it can get confusing. M... |
[
{
"msg_contents": "The attached patch clarifies that the server will start even if it is\nunable to open the port on some of the TCP/IP addresses listed (or\nimplied by a value of '*' or localhost) in listen_addresses parameter.\n\nI think it is important to call this out, because I was surprised to\nsee that t... |
[
{
"msg_contents": "Attached is a html report that was generated by a tool called\nabi-compliance-checker/abi-dumper [1][2] (by using\n\"abi-compliance-checker -l libTest ... \") . I deliberately introduced\n2 ABI compatibility issues affecting postgres, just to see what the\ntool had to say about it.\n\nThe fir... |
[
{
"msg_contents": "Hi, hackers.\nIn PostgreSQL 16 Beta 1, standalone backend was added to the backend type by this patch [1]. I think this patch will change the value of backend_type column in the pg_stat_activity view, but it's not explained in the documentation. The attached patch fixes monitoring.sgml.\n\n[1... |
[
{
"msg_contents": "hi.\nreading through contrib/spi/insert_username.c\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD\n36\n<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a patch proposal to $SUBJECT.\n\nIndeed, we have seen occurrences in [1] that some slots were\nnot invalidated (while we expected vacuum to remove dead rows\nleading to slots invalidation on the standby).\n\nThough we don't have strong evidences that this\n... |
[
{
"msg_contents": "Good morning,\n\nMy name is Nick Mayer, and I had a question concerning PostgreSQL's EAL. Has PostgreSQL been put through any audit/security testing, and does it have an EAL? If so, would I be able to get this information? I would appreciate any assistance you are able to provide for this.\n\... |
[
{
"msg_contents": "I found an error similar to others before ([1]) that is still persists as of head right now (0bcb3ca3b9).\n\nCREATE TABLE t (\n\tn INTEGER\n);\n\nSELECT *\n FROM (VALUES (1)) t(c)\n LEFT JOIN t ljl1 ON true\n LEFT JOIN LATERAL (WITH cte AS (SELECT * FROM t WHERE t.n = ljl1.n) SELECT * FROM... |
[
{
"msg_contents": "I want to report on my on-the-plane-to-PGCon project.\n\nThe idea was mentioned in [0]. genbki.pl already knows everything about \nsystem catalog indexes. If we add a \"please also make a syscache for \nthis one\" flag to the catalog metadata, we can have genbki.pl produce \nthe tables in s... |
[
{
"msg_contents": "Hi, hackers.\n PostgreSQL 16 Beta1, added last access time to pg_stat_all_tables and pg_stat_all_indexes views by this patch [1].\nAccording to the documentation [2], the data type of the columns added to these views is 'timestamptz'. \nHowever, columns of the same data type in pg_stat_all_ta... |
[
{
"msg_contents": "The SSL tests for pg_ctl restarts with an incorrect key passphrase run pg_ctl\nmanually and use the internal method _update_pid to set the server PID file\naccordingly. This is needed since $node->restart will BAIL in case the restart\nfails, which clearly isn't useful to anyone wanting to t... |
[
{
"msg_contents": "Hi,\n\nI've been working with a social network start-up that uses PostgreSQL as their\nonly database. Recently, they became interested in graph databases, largely\nbecause of an article [1] suggesting that a SQL database \"just chokes\" when it\nencounters a depth-five friends-of-friends quer... |
[
{
"msg_contents": "Hello hackers,\n\nHere's a rebased version of the patch-set adding Incremental View\nMaintenance support for PostgreSQL. That was discussed in [1].\n\nThe patch-set consists of the following eleven patches. \n\n- 0001: Add a syntax to create Incrementally Maintainable Materialized Views\n- 00... |
[
{
"msg_contents": "Hi Postgres community: I think support editing order of the fields in \ntable is a useful feature. I have known that the order of fields will \neffect the data structure of rows data, but I think we could add a extra \ninformation to identify the display order of fields but not effect the \nr... |
[
{
"msg_contents": "Hi,\r\n\r\nWhat appears to be a pg_dump/pg_restore bug was observed with the new\r\nBEGIN ATOMIC function body syntax introduced in Postgres 14.\r\n\r\nDependencies inside a BEGIN ATOMIC function cannot be resolved\r\nif those dependencies are dumped after the function body. The repro\r\ncase... |
[
{
"msg_contents": "LoongArch is a new architecture that is already supported by linux-6.1,\ngcc-12, and I want to add LoongArch spinlock support in s_lock.h.",
"msg_date": "Thu, 1 Jun 2023 15:53:45 +0800",
"msg_from": "zang ruochen <xmdy61@gmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH... |
[
{
"msg_contents": "Hi Hackers,\n\nPeter's patch set for autogenerating syscache info\n(https://postgr.es/m/75ae5875-3abc-dafc-8aec-73247ed41cde%40eisentraut.org)\ntouched on one of my least favourite parts of Catalog.pm: the\nparenthesis-counting nightmare that is the parsing of catalog header\ndirectives.\n\nH... |
[
{
"msg_contents": "Hi Hackers,\n\nWhile hacking on Catalog.pm (over in\nhttps://postgr.es/m/87y1l3s7o9.fsf%40wibble.ilmari.org) I noticed that\nninja wouldn't rebuild postgres.bki on changes to the module. Here's a\npatch that adds it to depend_files for the targets I culd find that\ninvoke scripts that use it... |
[
{
"msg_contents": "Hello all,\n\nI am a researcher in databases who would like to suggest a new function. I\nam writing to you because you have an active developer community. Your\nwebsite said that suggestions for new functions should go to this mailing\nlist. If there is another mailing list you prefer, pl... |
[
{
"msg_contents": "In make_outerjoininfo, I think we can additionally check a property\nthat's needed to apply OJ identity 3: the lower OJ in the RHS cannot be\na member of inner_join_rels because we do not try to commute with any of\nlower inner joins.\n\n--- a/src/backend/optimizer/plan/initsplan.c\n+++ b/src... |
[
{
"msg_contents": "Hi, I noticed a feature description [1] referring to a command example:\n\nCREATE PUBLICATION ... FOR ALL TABLES IN SCHEMA ....\n\n~~\n\nAFAIK that should say \"FOR TABLES IN SCHEMA\" (without the \"ALL\", see [2])\n\n------\n[1] https://www.postgresql.org/about/featurematrix/detail/391/\n[2]... |
[
{
"msg_contents": "Attached is a patch to allow a new behavior for the \\watch command in psql.\nWhen enabled, this instructs \\watch to stop running once the query returns\nzero rows. The use case is the scenario in which you are watching the\noutput of something long-running such as pg_stat_progress_create_in... |
[
{
"msg_contents": "Hello,\n\nI was just in a pg_upgrade unconference session at PGCon where the\nlack of $SUBJECT came up. This system call gives the kernel the\noption to use fast block cloning on XFS, ZFS (as of very recently),\netc, and works on Linux and FreeBSD. It's probably much the same as\n--clone mo... |
[
{
"msg_contents": "Hi all,\n\nI am facing very unusual behaviour in our production postgres system\nrunning on pg15 and deployed on AWS.\npgwal is mounted on a separate EBS drive with size of 100 GBs (on disk size\nas seen from df -hT).\nmax_wal_size = 95 GB, min_wal_size = 1 GB, checkpoint_completion_target =\... |
[
{
"msg_contents": "Hello hackers\n\nAttached is my first patch for PostgreSQL, which is a simple one-liner\nthat I believe can improve the code.\n\nIn the \"join_search_one_level\" function, I noticed that the variable\n\"other_rels_list\" always refers to \"joinrels[1]\" even when the (level\n== 2) condition i... |
[
{
"msg_contents": "Hi,\n\nThis is for Postgres 17 (head).\n\nPer Coverity.\nAt function print_unaligned_text, variable \"need_recordsep\", is\nunnecessarily set to true and false.\n\nAttached a trivial fix patch.\n\nregards,\nRanier Vilela",
"msg_date": "Sat, 3 Jun 2023 07:14:57 -0300",
"msg_from": "Ran... |
[
{
"msg_contents": "Hi,\n\nI tried to use `REGRESS_OPTS = --temp-config` in order to test a 3rd\nparty extension with a custom .conf file similarly to how PostgreSQL\ndoes it for src/test/modules/test_slru. It didn't work and \"38.18.\nExtension Building Infrastructure\" [1] doesn't seem to be much help.\n\nHere... |
[
{
"msg_contents": "I posted earlier in pgsql-general, that I realised there’s no greek.stop under $(pg_config —sharedir)/tsearch_data\n\nAnd indeed looks like stop words are maintained with to_tsvector(‘greek’, ..). \n\nI wrote an extension https://github.com/Florents-Tselai/pg_fts_greek that adds another ‘gree... |
[
{
"msg_contents": "Hi all,\n\nDuring the PGCon Unconference session about Table Access Method one missing\nitem pointed out is that currently we lack documentation and examples of\nTAM.\n\nSo in order to improve things a bit in this area I'm proposing to add a\ntest module for Table Access Method similar what w... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nAt function ExtendBufferedRelShared, has a always true test.\neb.rel was dereferenced one line above, so in\nif (eb.rel) is always true.\n\nI think it's worth removing the test, because Coverity raises dozens of\nalerts thinking eb.rel might be NULL.\nBesides, one less... |
[
{
"msg_contents": "Looking at the \"collation settings\" table in the v16 docs, I think some\nreaders may have a little difficulty understanding what each row means.\n\nhttps://www.postgresql.org/docs/devel/collation.html#ICU-COLLATION-SETTINGS\n\nThe \"Key\" column isn't meaningful and it's a bit arduous to re... |
[
{
"msg_contents": "hi,\n\n\nin our test enviroment, if one database's have major update operations, autovacuum does not work and cause major performance degradation.\nif found this issue may be resolved by revert this Skip redundant anti-wraparound vacuums · postgres/postgres@2aa6e33 (github.com) commit.\n\n\na... |
[
{
"msg_contents": "Hi, all\nI got a coredump when testing with the REL_14_STABLE branch, which is as below:\nI noticed that in commit 10520f4346876aad4941797c2255a21bdac74739, int delayChkpt has been changed back to bool delayChkpt + bool delayChkptEnd. However, the initialization to delayChkptEnd is missed in ... |
[
{
"msg_contents": "This makes \"make check\" work on Mac OS X. Without this patch, on Mac OS X a\ndefault \"./configure; make; make check\" fails with errors like:\n\ndyld[65265]: Library not loaded: /usr/local/pgsql/lib/libpq.5.dylib\n Referenced from: <59A2EAF9-6298-3112-BEDB-EA9A62A9DB53>\n/Users/evan.jones... |
[
{
"msg_contents": "I have reworked the case of BUG #17842 to include the data and the questions for further investigation.\n\n\nqualstest_data contais the data export with --insert (to test it on other DB systems)\n\nqualstest_query contains the failing query and a short introduction to the data.\n\n\nThe probl... |
[
{
"msg_contents": "I spoke with some folks at PGCon about making PostgreSQL multi-threaded, \nso that the whole server runs in a single process, with multiple \nthreads. It has been discussed many times in the past, last thread on \npgsql-hackers was back in 2017 when Konstantin made some experiments [0].\n\nI ... |
[
{
"msg_contents": "This patch fixes a rare parsing bug with unicode characters on Mac OS X.\nThe problem is that isspace() on Mac OS X changes its behaviour with the\nlocale. Use scanner_isspace instead, which only returns true for ASCII\nwhitespace. It appears other places in the Postgres code have already run... |
[
{
"msg_contents": "Everyone,\n After recently deep diving on some readline features and optimizing my\nbash environment to have a static set of \"snippets\" that I can always\nfind...\n\n it takes just a couple of history API calls to add some interesting\nfeatures for those that want them. The result of ad... |
[
{
"msg_contents": "On 05/06/2023 11:18, Tom Lane wrote:\n> Heikki Linnakangas <hlinnaka(at)iki(dot)fi> writes:\n>> I spoke with some folks at PGCon about making PostgreSQL multi-threaded,\n>> so that the whole server runs in a single process, with multiple\n>> threads. It has been discussed many times in the pa... |
[
{
"msg_contents": "Hi,\n\nCurrently the libc collation version for Windows has two components\ncoming from the NLSVERSIONINFOEX structure [1]\ndwNLSVersion and dwDefinedVersion\n\nSo we get version numbers looking like this (with 16 beta1):\n\npostgres=# select collversion,count(*) from pg_collation group by\nc... |
[
{
"msg_contents": "Hi,\n\nWhile trying pg16beta1 libc collations on Windows, I noticed that UTF-8\ntext sorts sometimes differently across invocations with the same\nlocales, which is wrong since these collations are deterministic.\n\nThe OS is Windows 10 Home, version 10.0.19045 Build 19045,\nself-built 16beta... |
[
{
"msg_contents": "Hi everyone,\n\nWhen a transaction reads tuples from the heap, I would like to keep track\nof the maximum commit LSN of the xmin transactions of tuples as they are\nread. For e.g., consider a transaction T that reads tuples [t1, t2, t3]\nwith respective xmins [700, 705, 702] and respective co... |
[
{
"msg_contents": "The Standard defines time zone conversion as follows:\n\n<datetime factor> ::=\n <datetime primary> [ <time zone> ]\n\n<time zone> ::=\n AT <time zone specifier>\n\n<time zone specifier> ::=\n LOCAL\n | TIME ZONE <interval primary>\n\n\nWhile looking at something else, I noticed we ... |
[
{
"msg_contents": "Hi All,\n\nAt present, pg_promote() returns true to the caller on successful\npromotion of standby, however it returns false in multiple scenarios\nwhich includes:\n\n1) The SIGUSR1 signal could not be sent to the postmaster process.\n2) The postmaster died during standby promotion.\n3) Stand... |
[
{
"msg_contents": "Hello,\n\nToday, I compiled the master branch of Postgres with the following GCC\nversion:\n\ngcc (GCC) 13.1.1 20230511 (Red Hat 13.1.1-2)\n\nI got the following warning:\n\n[701/2058] Compiling C object src/backend/postgres_lib.a.p/access_transam_xlogrecovery.c.o\nIn function ‘recoveryStopsA... |
[
{
"msg_contents": "Hi,\n\nWe recently upgraded to Postgres 15.3. When running ANALYZE, we get the\nfollowing message:\nERROR: could not determine which collation to use for string comparison\nHINT: Use the COLLATE clause to set the collation explicitly.\n\nWe have never seen this before. Could this be a bug?\... |
[
{
"msg_contents": "Hi\n\nHere:\n\n https://www.postgresql.org/docs/current/fdw-functions.html\n\nthe enumeration of OIDs which might be passed as the FDW validator function's\nsecond argument omits \"AttributeRelationId\" (as passed when altering\na foreign table's column options).\n\nAttached v1 patch adds th... |
[
{
"msg_contents": "Hi,\n\nI'm testing the ability to have a logical replica subscribed from a standby.\n\nOf course, I'm doing this in a laboratory with no activity so\neverything get stuck after creating the subscription (the main slot).\nThis is clearly because every time it will create a temp slot for copy\n... |
[
{
"msg_contents": "Continuing the work started with 208bf364a9, this patch removes md5() \nfunction calls from these test suites:\n\n- bloom\n- test_decoding\n- isolation\n- recovery\n- subscription\n\nThis covers all remaining test suites where md5() calls were just used \nto generate some random data and can ... |
[
{
"msg_contents": "Fixed typo in SQL.\n\nCurrent: ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1\n'value', SET opt2 'value2', DROP opt3 'value3');\n\nFixed: ALTER FOREIGN TABLE myschema.distributors OPTIONS (ADD opt1 'value',\nSET opt2 'value2', DROP opt3);\n\nDrop options do not get a value.\n\n--... |
[
{
"msg_contents": "This patch is really not necessary from a functional point of view. It\nis only necessary if we want to silence a compiler warning.\n\nTested on `gcc (GCC) 13.1.1 20230511 (Red Hat 13.1.1-2)`.\n\nAfter silencing this warning, all I am left with (given my build\nconfiguration) is:\n\n[1667/228... |
[
{
"msg_contents": "The usual question is “why did DELETE not release disk space?”, and I\nunderstand why that is and something about how to get the space back\n(VACUUM).\n\nI have a database which hosts multiple applications in various schemas and\nI’m trying to make test/sample data files by starting with a re... |
[
{
"msg_contents": "Visual Studio 2015 version \"14.0.25431.01 Update 3\" has an apparent compiler\nbug that causes the build to fail with \"readfuncs.switch.c(522): fatal error\nC1026: parser stack overflow, program too complex (compiling source file\nsrc/backend/nodes/readfuncs.c)\". While I wouldn't mind rev... |
[
{
"msg_contents": "Greetings,\n\nAt pgcon last week I was speaking to some people about the problem we have\nwith connection pools and named prepared statements.\n\nFor context pgjdbc (and others) use un-named statements and then switch to\nnamed statements after using the statement N (default 5) times. In sess... |
[
{
"msg_contents": "A postgres.exe built with meson, ninja, and MSVC lacks the version metadata\nthat postgres.exe gets under non-meson build systems. Patch attached.",
"msg_date": "Wed, 7 Jun 2023 16:14:07 -0700",
"msg_from": "Noah Misch <noah@leadboat.com>",
"msg_from_op": true,
"msg_subject":... |
[
{
"msg_contents": "Recently Markus Winand pointed out to me that the PG15 changes made in\n[1] to teach the query planner about monotonic window functions\nimproved the situation for PostgreSQL on his feature/optimization\ntimeline for PostgreSQL. These can be seen in [2].\n\nUnfortunately, if you look at the ... |
[
{
"msg_contents": "Hi,\n\nThis patch tries to add loongarch native crc32 check with crcc.* \ninstructions to postgresql.\n\nThe patch is tested on my Loongson 3A5000 machine with Loong Arch Linux \nand GCC 13.1.0 / clang 16.0.0 with\n\n- default ./configure\n- default meson setup\n\n\nSee:\n\n[1]: \nhttps://loo... |
[
{
"msg_contents": "Greetings, everyone!\n\nWhile working on an extension I've found an error in how length of \nencoded base64 string is calulated;\n\nThis error is present in 3 files across all supported versions:\n\n/src/common/base64.c, function pg_b64_enc_len;\n/src/backend/utils/adt/encode.c, function pg_b... |
[
{
"msg_contents": "Hi, We are Query Tricks.\nWe are a project team created to provide better usability for PostgreSQL\nDBAs and users.\nand I'm Hyunhee Ryu, a member of the project team.\n\nThere is something I would like you to consider introducing in a new\nversion of the release.\nThis is related to \\d+ tab... |
[
{
"msg_contents": "I've noticed the planner is not yet smart enough to do an index scan\nwhen the left operand of a contains operator (<@) is a btree-indexed column\nand the right operand is a range or multirange type of the same type\nas the column.\n\nFor instance, given a users table with an id int primary k... |
[
{
"msg_contents": "Dear Postgres Hackers,\n\nI am writing to seek your guidance and utilization of Valgrind in\nPostgreSQL for detecting memory leaks in extension-related code. Recently,\nI have been exploring ways to improve the stability and performance of\nPostgreSQL extensions by addressing memory-related i... |
[
{
"msg_contents": "Hi,\n\nHere's a WIP patch allowing parallel CREATE INDEX for BRIN indexes. The\ninfrastructure (starting workers etc.) is \"inspired\" by the BTREE code\n(i.e. copied from that and massaged a bit to call brin stuff).\n\n _bt_begin_parallel -> _brin_begin_parallel\n _bt_end_parallel -> _brin_e... |
[
{
"msg_contents": "Hi,\n\nI am not a native English speaker, but shouldn't there be a \"to\" before \"detect\"?\n\nThese two additions make it possible detect a concurrent page split\n\nRegards\nDaniel\n\n",
"msg_date": "Thu, 8 Jun 2023 14:11:18 +0000",
"msg_from": "\"Daniel Westermann (DWE)\" <daniel.w... |
[
{
"msg_contents": "Hi,\n\nAt pgcon unconference I presented a PoC patch adding prefetching for\nindexes, along with some benchmark results demonstrating the (pretty\nsignificant) benefits etc. The feedback was quite positive, so let me\nshare the current patch more widely.\n\n\nMotivation\n----------\n\nImagine... |
[
{
"msg_contents": "Hi All:\n\nI upgraded to postgres v15, and I am getting intermittent failures for\nsome of the bin regression tests when building on Windows 10. Example:\n\nperl vcregress.pl bincheck\n\nInstallation complete.\nt/001_initdb.pl .. ok\nAll tests successful.\nFiles=1, Tests=25, 12 wallclock secs... |
[
{
"msg_contents": "Pushing SELECT statements at socket speeds with prepared statements is a\nsynthetic benchmark that normally demos big pgbench numbers. My benchmark\nfarm moved to Ubuntu 23.04/kernel 6.2.0-20 last month, and that test is\nbadly broken on the system PG15 at larger core counts, with as much as... |
[
{
"msg_contents": "Hi,\n\nSomeone made https://git.postgresql.org/ depressed\n\nAfter not being able to pull, I dropped and tried to clone again:\n\n\"\"\"\njcasanov@DangerBox:/opt/pgdg$ git clone\nhttps://git.postgresql.org/git/postgresql.git\nClonando en 'postgresql'...\nfatal: unable to access\n'https://git.... |
[
{
"msg_contents": "Hi,\n\nIn logical decoding, we don't need to collect decoded changes of\naborted transactions. While streaming changes, we can detect\nconcurrent abort of the (sub)transaction but there is no mechanism to\nskip decoding changes of transactions that are known to already be\naborted. With the a... |
[
{
"msg_contents": "Hackers,\n\nWhile updating pgAudit for PG16 I found the following (from our \nperspective) regression.\n\nIn prior versions of Postgres, views were listed in rangeTabls when \nExecutorCheckPerms_hook() was called but in PG16 the views are no longer \nin this list. The permissions have been br... |
[
{
"msg_contents": "Per discussion at the unconference[0], I started to write a patch that \nremoves the make distprep target. A more detailed explanation of the \nrationale is also in the patch.\n\nIt needs some polishing around the edges, but I wanted to put it out \nhere to get things moving and avoid duplic... |
[
{
"msg_contents": "Hi hackers,\n\nI've always been annoyed by the fact that pg_get_serial_sequence takes\nthe table and returns the sequence as strings rather than regclass. And\nsince identity columns were added, the name is misleading as well (which\nis even acknowledged in the docs, together with a suggestio... |
[
{
"msg_contents": "Fix search_path to a safe value during maintenance operations.\n\nWhile executing maintenance operations (ANALYZE, CLUSTER, REFRESH\nMATERIALIZED VIEW, REINDEX, or VACUUM), set search_path to\n'pg_catalog, pg_temp' to prevent inconsistent behavior.\n\nFunctions that are used for functional in... |
[
{
"msg_contents": "While working on 2dcd157, I noticed cfbot failures for Windows due to tests\nwith commands that had non-options specified before options. For example,\n\"createuser myrole -a myadmin\" specified a non-option (myrole) before the\noption/argument pair (-a admin). To get the tests passing for ... |
[
{
"msg_contents": "Hi,\n\nThis message is not about inventing backend threads, but I was\nreminded to post this by some thought-provoking hallway track\ndiscussion of that large topic at PGCon, mostly with Heikki.\n\n1. We should completely remove --disable-thread-safety and the\nvarious !defined(ENABLE_THREAD... |
[
{
"msg_contents": "I've previously noted in \"Add last commit LSN to\npg_last_committed_xact()\" [1] that it's not possible to monitor how\nmany bytes of WAL behind a logical replication slot is (computing such\nis obviously trivial for physical slots) because the slot doesn't need\nto replicate beyond the last... |
[
{
"msg_contents": "On Wed, Aug 24, 2022 at 6:42 AM Kyotaro Horiguchi\n<horikyota.ntt@gmail.com> wrote:\n>\n> At Tue, 16 Aug 2022 18:40:49 +0200, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote in\n> > On 2022-Aug-16, Andrew Dunstan wrote:\n> >\n> > > I don't think there's a hard and fast rule about it. Certainly... |
[
{
"msg_contents": "Hi,\n\nWhile testing some stuff, I noticed heapam_estimate_rel_size (or rather\ntable_block_relation_estimate_size it calls) ignores fillfactor, so that\nfor a table without statistics it ends up with reltuple estimate much\nhigher than reality. For example, with fillfactor=10 the estimate is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.