threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi hackers,\n\nI was looking into XLogWrite() and saw the below comment. It cannot really\ncircle back in wal buffers without needing to call pg_write() since next\npages wouldn't be contiguous in memory. So it needs to write whenever it\nreaches the end of wal buffers.\n\n /*\n> * Dump the ... |
[
{
"msg_contents": "hashvalidate(), which validates the signatures of support functions for \nthe hash AM, contains several hardcoded exceptions. For example, \nhash/date_ops support function 1 is hashint4(), which would ordinarily \nfail validation because the function argument is int4, not date. But \nthis w... |
[
{
"msg_contents": "While browsing through all our global variables for the multithreading \neffort, I noticed that our MD5 implementation in src/common/md5.c uses a \nstatic buffer on big-endian systems, which makes it not thread-safe. \nThat's a bug because that function is also used in libpq.\n\nThis was intr... |
[
{
"msg_contents": "I have noticed that ALTER TABLE supports multiple column actions\n(ADD/DROP column etc), but does not support multiple column renaming.\nSee [1]\n\nHere is small example of what im talking about:\n\n```\ndb2=# create table tt();\nCREATE TABLE\n\n-- multiple column altering ok\ndb2=# alter tab... |
[
{
"msg_contents": "In a blog post [1], Bruce Momjian notes that expression indexes can\nhelp with planning even if they're not used directly. But the examples\ncited in that post are vague (i.e., they improve stats, but it's not\nclear how they could change plans), and Bruce's answer to a comment\n[2] suggests ... |
[
{
"msg_contents": "After some previous work here:\n\nhttps://postgr.es/m/89475ee5487d795124f4e25118ea8f1853edb8cb.camel@j-davis.com\n\nwe are less dependent on setlocale(), but it's still not completely\ngone.\n\nsetlocale() counts as thread-unsafe, so it would be nice to eliminate\nit completely.\n\nThe obviou... |
[
{
"msg_contents": "Please find attached a patch to enable data checksums by default.\n\nCurrently, initdb only enables data checksums if passed the\n--data-checksums or -k argument. There was some hesitation years ago when\nthis feature was first added, leading to the current situation where the\ndefault is off... |
[
{
"msg_contents": "Introduce hash_search_with_hash_value() function\n\nThis new function iterates hash entries with given hash values. This function\nis designed to avoid full sequential hash search in the syscache invalidation\ncallbacks.\n\nDiscussion: https://postgr.es/m/5812a6e5-68ae-4d84-9d85-b443176966a1... |
[
{
"msg_contents": "I think we could remove the TRACE_SORT macro.\n\nThe TRACE_SORT macro has guarded the availability of the trace_sort GUC\nsetting. But it has been enabled by default ever since it was \nintroduced in PostgreSQL 8.1, and there have been no reports that \nsomeone wanted to disable it. So I th... |
[
{
"msg_contents": "Many resource managers set up a temporary memory context which is reset \nafter replaying the record. It seems a bit silly for each rmgr to do \nthat on their own, so I propose that we do it in a centralized fashion. \nThe attached patch creates one new temporary context and switches to it \n... |
[
{
"msg_contents": "It's bothered me for a long time that some of the shmem initialization \nfunctions have non-standard names. Most of them are called \nFoobarShmemSize() and FoobarShmemInit(), but there are a few exceptions:\n\nInitBufferPool\nInitLocks\nInitPredicateLocks\nCreateSharedProcArray\nCreateSharedB... |
[
{
"msg_contents": "Hi,\n\nThe documentation states that postgres_fdw can be used with remote servers\nas far back as PostgreSQL 8.3.\nhttps://www.postgresql.org/docs/devel/postgres-fdw.html#POSTGRES-FDW-CROSS-VERSION-COMPATIBILITY\n\nHowever, when using PostgreSQL 9.4 or earlier as a remote server,\nINSERT ON C... |
[
{
"msg_contents": "Hi,\n When I use the 'pqmq' recently, I found some issues, just fix them.\n\n Allow the param 'dsm_segment *seg' to be NULL in function\n 'pq_redirect_to_shm_mq'. As sometimes the shm_mq is created\n in shared memory instead of DSM.\n\n Add function 'pq_leave_shm_mq' to allow ... |
[
{
"msg_contents": "Dear hackers,\n\nThis thread forks from [1]. Here can be used to discuss second item.\nBelow part contains the same statements written in [1], but I did copy-and-paste\njust in case. Attached patch is almost the same but bit modified based on the comment\nfrom Amit [2] - an unrelated change i... |
[
{
"msg_contents": "When systable_beginscan() and systable_beginscan_ordered() choose an \nindex scan, they remap the attribute numbers in the passed-in scan keys \nto the attribute numbers of the index, and then write those remapped \nattribute numbers back into the scan key passed by the caller. This \nsecond... |
[
{
"msg_contents": "Hi,\n\nI am working on using the read stream in autoprewarm. I observed ~10%\nperformance gain with this change. The patch is attached.\n\nThe downside of the read stream approach is that a new read stream\nobject needs to be created for each database, relation and fork. I was\nwondering if t... |
[
{
"msg_contents": "Hello PostgreSQL Hackers,\n\nI am submitting a patch to add hooks for the functions\npg_total_relation_size and pg_indexes_size. These hooks allow for custom\nbehaviour to be injected into these functions, which can be useful for\nextensions and other custom PostgreSQL modifications.\n\nPatch... |
[
{
"msg_contents": "I noticed that the \"WAL reliability\" documentation says that we use CRC-32\nfor WAL records and two-phase state files, but we've actually used CRC-32C\nsince v9.5 (commit 5028f22). I've attached a short patch to fix this that\nI think should be back-patched to all supported versions.\n\nI'... |
[
{
"msg_contents": "The collation cache, which maps collation oids to pg_locale_t objects,\nhas a few longstanding issues:\n\n1. Using TopMemoryContext too much, with potential for leaks on error\npaths.\n\n2. Creating collators (UCollator for ICU or locale_t for libc) that can\nleak on some error paths. For ins... |
[
{
"msg_contents": "In dbcommands.c function createdb(), there are several sets of very \nsimilar local variable names, such as \"downer\" and \"dbowner\", which is \nvery confusing and error-prone. The first set are the DefElem nodes \nfrom the parser, the second set are the local variables with the values \ne... |
[
{
"msg_contents": "Hi,\n\nHolger Jacobs complained in pgsql-admin that in v17, if you have the ICU\ndevelopment libraries installed but not pkg-config, you get a somewhat\nunhelpful error message about ICU not being present:\n\n|checking for pkg-config... no\n|checking whether to build with ICU support... yes\n... |
[
{
"msg_contents": "Hello everyone,\n\nThe ALT Linux Team has recently initiated a focused testing effort on PostgreSQL, with an emphasis on its security aspects.\n\nAs part of this effort, we conducted static analysis using Svace, which raised some questions regarding the use of the Assert() function.\nWe were ... |
[
{
"msg_contents": "Hey all,\n\nA lot of calendaring software includes the ability to subscribe to \na calendar. For instance, in my personal life, I subscribe to a US \nHolidays calendar[0]. I wanted to see if anyone else thought it might be \na good idea to host an ICS file on postgresql.org that people could ... |
[
{
"msg_contents": "I came across this misbehavior:\n\nregression=# create or replace function foo() returns text as\n$$select current_setting('role')$$ language sql\nparallel safe set role = postgres;\nCREATE FUNCTION\nregression=# select foo();\n foo \n----------\n postgres\n(1 row)\n\nregression=# set de... |
[
{
"msg_contents": "Hi Hackers,\n\nOften in a debugger I've wanted to way to print Datums, in particular non-trivial ones like range \ntypes. This came up a lot when I was working on multiranges, and I've wished for it lately while \nworking on UPDATE/DELETE FOR PORTION OF. But all the obvious approaches are inl... |
[
{
"msg_contents": "I was playing with a static analyzer security scanner and it flagged a \ntime-of-check-time-of-use violation in libpq. I was going to propose a \nfix for this on -hackers, since you probably can't do anything \ninteresting with this, but then I figured I'd better check here first.\n\nlibpq c... |
[
{
"msg_contents": "Hi hackers,\n\nLogical replication apply worker by default switches off asynchronous \ncommit. Cite from documentation of subscription parameters:\n\n```\n\n|synchronous_commit|(|enum|)<https://www.postgresql.org/docs/devel/sql-createsubscription.html#SQL-CREATESUBSCRIPTION-PARAMS-WITH-SYNCHR... |
[
{
"msg_contents": "Hi, hackers! If you look at the code in the src/backend/executor/spi.c file,\nyou will see the SPI_connect function familiar to many there, which\ninternally simply calls SPI_connect_ext. The return type is int, at the end\nit says return SPI_OK_CONNECT;\nIt confuses me that nothing but OK, j... |
[
{
"msg_contents": "Hi PostgreSQL Community,\n\nI have a scenario where I am working with two functions: one in SQL and\nanother in C, where the SQL function is a wrapper around C function. Here’s\nan example:\n\nCREATE OR REPLACE FUNCTION my_func(IN input text)RETURNS BIGINT AS $$DECLARE\n result BIGINT;BEGI... |
[
{
"msg_contents": "Hi,\n\nI was testing creating a rule that uses RETURNING and noticed a difference\nbetween the extended query protocol and the simple query protocol. In the\nformer, RETURNING is ignored (at least in my case) and the latter it is\nrespected:\n\nCREATE table test (id bigint, deleted boolean);\... |
[
{
"msg_contents": "Hi,\r\n\r\n\r\n4, 5 ===\r\n\r\n\r\n> if (SnapBuildCurrentState(builder) < SNAPBUILD_BUILDING_SNAPSHOT ||\r\n> (SnapBuildCurrentState(builder) == SNAPBUILD_BUILDING_SNAPSHOT && info != XLOG_HEAP_INPLACE) ||\r\n> ctx->fast_forward)\r\n&g... |
[
{
"msg_contents": "Hello,\n\nI believe the topic on the link below\nhttps://www.postgresql.org/message-id/flat/98760523-a0d2-8705-38e3-c4602ecf2448%402ndquadrant.com\nshould be re-discussed, as more than 6 years passed from the last message.\nLet me summarize the topic first and ask the real question: Can decla... |
[
{
"msg_contents": "Hey. Currently synchronous_commit is by default disabled for logical \napply worker on the\nground that reported flush_lsn includes only locally flushed data so slot\n(publisher) preserves everything higher than this, and so in case of \nsubscriber\nrestart no data is lost. However, imagine t... |
[
{
"msg_contents": "hi.\n{\n /*\n * For UPDATE/DELETE result relations, the attribute number of the row\n * identity junk attribute in the source plan's output tuples\n */\n AttrNumber ri_RowIdAttNo;\n\n /* Projection to generate new tuple in an INSERT/UPDATE */\n ProjectionInfo *ri_pr... |
[
{
"msg_contents": "Hi hackers,\n\nI'd like to submit a patch that improves the estimated rows for queries \ncontaining (Var op Var) clauses by applying extended MCV statistics.\n\n*New functions:*\n\n * mcv_clauselist_selectivity_var_op_var() - calculates the selectivity\n for (Var op Var) clauses.\n * is_... |
[
{
"msg_contents": "Hi all,\n\nAttaching a patch to add remaining cached and loaded stats as mentioned \nin commit f68cd847fa40ead44a786b9c34aff9ccc048004b message. Existing TAP \ntests were updated to handle new stats. This patch has been tested on \nHEAD using \"make check-world\" after enabling injection poin... |
[
{
"msg_contents": "Hello all,\nWhile working on our internal tools that utilise replication, we\nrealised that a new parameter was added to the internal C function\ncorresponding to pg_replication_origin_session_setup.\nHowever this parameter wasn't included in the user-facing API [1].\n\nIn 'src/backend/replic... |
[
{
"msg_contents": "Hi hackers,\n\nWe encountered an issue lately, that if the database grants too many roles\n`datacl` is toasted, following which, the drop database command will fail\nwith error \"wrong tuple length\".\n\nTo reproduce the issue, please follow below steps:\n\nCREATE DATABASE test;\n\n-- create ... |
[
{
"msg_contents": "Hi,\n\nOver on the discussion thread about remaining setlocale() work[1], I\nwrote out some long boring theories about $SUBJECT. Here are some\ndraft patches to try those theories out, and make a commitfest entry.\nnl_langinfo_l() is a trivial drop-in replacement, and\npg_localeconv_r() has ... |
[
{
"msg_contents": "Hi hackers.\n\nWhile reviewing another thread I had cause to be looking more\ncarefully at the SEQUENCE documentation.\n\nI found it curious that, unlike other clauses, the syntax of the CYCLE\nclause was not displayed on a line by itself.\n\nI have changed that, and at the same time I have m... |
[
{
"msg_contents": "Hi,\r\n\r\n- I re-read your comments in [0] and it looks like you've concern about\r\n- the 2 \"if\" I'm proposing above and the fast forward handling. Is that the case\r\n- or is your fast forward concern unrelated to my proposals?\r\n\r\n\r\n\r\nIn your proposals, we will just return when f... |
[
{
"msg_contents": "Hi hackers,\nI found that the entry size is not aligned with MAXALIGN, but\ndshash_table_item did that in dshash_table. IMHO, both entry size and\ndshash_table_item should be aligned with MAXALIGN.\n\nstatic dshash_table_item *\ninsert_into_bucket(dshash_table *hash_table,\nconst void *key,\n... |
[
{
"msg_contents": "Hi,\n\nI am working on using the read stream in pg_visibility. There are two\nplaces to use it:\n\n1- collect_visibility_data()\n\nThis one is straightforward. I created a read stream object if\n'include_pd' is true because read I/O is done when 'include_pd' is\ntrue. There is ~4% timing impr... |
[
{
"msg_contents": "Hi,\n\nOver on the security mailing list, Tom Lane expressed discontent about\na few things related to astreamer_gzip.c. Here's a patch to improve\nthe comments to try to address those concerns.\n\nThis ended up being discussed on -security because\nf80b09bac87d6b49f5dbb6131da5fbd9b9773c5c mo... |
[
{
"msg_contents": "Shared libraries of extensions might want to invalidate or update their\nown caches whenever a CREATE/ALTER/DROP EXTENSION command is run for\ntheir extension (in any backend). Right now this is non-trivial to do\ncorrectly and efficiently. But if the extension catalog was part of a\nsyscache... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that in commit d3cc5ffe81f6 some GUC variables were moved to\nheader files. According to the commit message in 8ec569479, all\nvariables in header files must be marked with PGDLLIMPORT, am I right?\n\nI've made a patch that adds missing PGDLLIMPORTs, please, take a lo... |
[
{
"msg_contents": "Hi, Kirill, Junwang,\n\nI made this patch to address the refactor issue in our previous email\ndiscussion.\nhttps://www.postgresql.org/message-id/flat/CABBtG=cDTCBDCBK7McSy6bJR3s5xUTOg0vSFfuW8oLdUYyCscA@mail.gmail.com\n\nThat is, the for loop in function smgrdestroy() and smgrdounlinkall can ... |
[
{
"msg_contents": "It seems to me that we could implement prefetching support \n(USE_PREFETCH) on macOS using the fcntl() command F_RDADVISE. The man \npage description is a bit terse:\n\n F_RDADVISE Issue an advisory read async with no copy to user.\n\nBut it seems to be the right idea. Was this l... |
[
{
"msg_contents": "Hi,\n\nWhile discussing another patch [1] it was discovered that we don't\nhave a convenient way of casting a bytea to an integer / bigint and\nvice versa, extracting integers larger than one byte from byteas, etc.\n\nFor instance, casting '\\x11223344' to 0x11223344 may look like this:\n\n``... |
[
{
"msg_contents": "Hi hackers,\n\nwhile working on a replication slot tool (idea is to put it in contrib, not\nshared yet), I realized that \"pg_replslot\" is being used > 25 times in\n.c files.\n\nI think it would make sense to replace those occurrences with a $SUBJECT, attached\na patch doing so.\n\nThere is ... |
[
{
"msg_contents": "Hi.\n\n\nI looked at meson.build file at found an incorrectly used function to\n\ndetermine postgres version.\n\n\n > if pg_version.endswith('devel')\n > pg_version_arr = [pg_version.split('devel')[0], '0']\n\n\nThere should be `pg_version.contains('devel')`, not `endswith`. Like this:\n\n-... |
[
{
"msg_contents": "I'd like to send an automatic mail to a thread whenever it gets added\nto a commitfest. Since this would impact everyone that's subscribed to\nthe mailinglist I'd like some feedback on this. This mail would\ninclude:\n\n1. A very short blurb like: \"This thread was added to the commitfest\nwi... |
[
{
"msg_contents": "Hi,\n\nThe PG17 documentation for unicode_assigned() in doc/src/sgml/func.sgml \nincorrectly states that the function returns a 'text' value. It actually \nreturns a boolean value.\n\nunicode_assigned(): \nhttps://github.com/postgres/postgres/blob/ef6e028f05b3e4ab23c5edfdfff457e0d2a649f6/src/... |
[
{
"msg_contents": "Hi Hackers,\n\nWhile reviewing another logical replication thread [1], I found an\nERROR scenario that seems to be untested.\n\nTEST CASE: Attempt CREATE SUBSCRIPTION where the subscriber table is\nmissing some expected column(s).\n\nAttached is a patch to add the missing test for this error ... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that there is a magic number which can be replaced by CATCACHE_MAXKEYS\nin struct cachedesc, I checked some other struct like CatCache, CatCTup, they\nall use CATCACHE_MAXKEYS.\n\nI did some search on pg-hackers, and found an old thread[0] that\nRobert proposed to cha... |
[
{
"msg_contents": "Attached patch has EXPLAIN ANALYZE display the total number of\r\nprimitive index scans for all 3 kinds of index scan node. This is\r\nuseful for index scans that happen to use SAOP arrays. It also seems\r\nalmost essential to offer this kind of instrumentation for the skip\r\nscan patch [1].... |
[
{
"msg_contents": "Hi,\n\n\n--------------------------------------------------------------------------------------------------------------\nActual column names used while creation of foreign table are not allowed to\nbe an\nempty string, but when we use column_name as an empty string in OPTIONS\nduring\nCREATE ... |
[
{
"msg_contents": "Hi,\n\nThe Assert(buffer != NULL) is placed after the buffer is accessed,\nwhich could lead to a segmentation fault before the check is executed.\n\nAttached a small patch to correct that.\n\n--\nRegards,\nAmul Sul\nEDB: http://www.enterprisedb.com",
"msg_date": "Fri, 16 Aug 2024 17:17:47... |
[
{
"msg_contents": "Hello David,\n\nyou wrote:\n\n> v4 patch attached. If nobody else wants to look at this then I'm \n> planning on pushing it soon.\n\nHad a very brief look at this bit caught my attentioon:\n\n+\t\tEEO_CASE(EEOP_HASHDATUM_NEXT32_STRICT)\n+\t\t{\n+\t\t\tFunctionCallInfo fcinfo = op->d.hashdatum... |
[
{
"msg_contents": "About 20 minutes ago I starting getting gitmaster pull errors:\n\n\t$ git pull ssh://git@gitmaster.postgresql.org/postgresql.git\n\tssh: connect to host gitmaster.postgresql.org port 22: Connection timed\n\tout\n\tfatal: Could not read from remote repository.\n\t\n\tPlease make sure you have ... |
[
{
"msg_contents": "Hi,\n\nThe CompilerWarnings cspluspluscheck started failing recently.\n\n1. LLVM library version issue. See commit message for details.\n2. pg_verify_backup.h now uses simplehash.h, which references\npg_fatal(), which nobody declared.\n\nI'm not sure why the first one started happening at ... |
[
{
"msg_contents": "The Cirrus CI for REL_16_STABLE and REL_15_STABLE for macOS is \napparently broken right now. Here is a log example:\n\n[13:57:11.305] sh src/tools/ci/ci_macports_packages.sh \\\n[13:57:11.305] ccache \\\n[13:57:11.305] icu \\\n[13:57:11.305] kerberos5 \\\n[13:57:11.305] lz4 \\\n[13:... |
[
{
"msg_contents": "I've gotten annoyed by the notation used for ecpg.addons rules,\nin which all the tokens of the gram.y rule to be modified\nare just concatenated. This is unreadable and potentially\nambiguous:\n\nECPG: fetch_argsABSOLUTE_PSignedIconstopt_from_incursor_name addon\n\nThe attached draft patch ... |
[
{
"msg_contents": "Hi,\n\nThere's a pgsql-bugs report [1] about a behavior change with batching\nenabled in postgres_fdw. While I ultimately came to the conclusion the\nbehavior change is not a bug, I find it annoying. But I'm not 100% sure\nabout the \"not a bug\" conclusion, and and the same time I can't thin... |
[
{
"msg_contents": "Hi all,\n\nWhile reading again the code of injection_stats_fixed.c that holds the\ntemplate for fixed-numbered pgstats, I got an idea to make the code a\nbit more elegant. Rather than using a single routine to increment the\ncounters, we could use a series of routines with its internals hidd... |
[
{
"msg_contents": "https://www.postgresql.org/message-id/CANncwrJTse6WKkUS_Y8Wj2PHVRvaqPxMk_qtEPsf_+NVPYxzyg@mail.gmail.com\n\nAs the problem discussed in the above thread, I also run into that. Besides\nupdating the doc, I would like to report a error for it.\n\nIf the code in PG_TRY contains any non local con... |
[
{
"msg_contents": "Hi -hackers,\n\n From time to time we hit some memory leaks in PostgreSQL and on one\noccasion Tomas wrote: \"I certainly agree it's annoying that when OOM\nhits, we end up with no information about what used the memory. Maybe\nwe could have a threshold triggering a call to MemoryContextStats... |
[
{
"msg_contents": "Hi, hackers,\n\nI've recently encountered an issue where a standby crashes when\nreconnecting to a new primary after a switchover under certain conditions.\nHere's a procedure of the crash scenario:\n\n\n1) We have three instances: one primary and two standbys (s1 and s2, both\nusing streamin... |
[
{
"msg_contents": "Hi everyone,\n\n\nIn the `clause_selectivity_ext()` function, there’s a comment regarding \na NULL clause check that asks, \"can this still happen?\". I decided to \ninvestigate whether this scenario is still valid.\n\nHere’s what I found after reviewing the relevant cases:\n\n- approx_tuple_... |
[
{
"msg_contents": "Hi!\n\nAfter rebasing one of my old patches, I'm hit to a problem with the\ninstallcheck test for 041_checkpoint_at_promote.pl.\nAt first, I thought it was something wrong with my patch, although it\ndoesn't relate to this part of the Postgres.\nThen I decided to do the same run but on curren... |
[
{
"msg_contents": "Hi all,\n\nWhile hacking on a different thing, I've noticed that\nldap_password_func had the idea to define _PG_fini(). This is\npointless, as library unloading is not supported in the backend, and\nsomething that has been cleaned up from the tree in ab02d702ef08.\nThat's not something to en... |
[
{
"msg_contents": "Hello Postgres Hackers\n\nAn application that I am developing uses Postgresql, and includes a fairly large\nnumber of partitioned tables which are used to store time series data.\n\nThe tables are partitioned by time, and typically there is only one partition\nat a time - the current partitio... |
[
{
"msg_contents": "I’ve recently started exploring PostgreSQL implementation. I used to\nbe a MySQL InnoDB developer, and I find the PostgreSQL community feels\na bit strange.\n\nThere are some areas where they’ve done really well, but there are\nalso some obvious issues that haven’t been improved.\n\nFor examp... |
[
{
"msg_contents": "Hi. I noticed chipmunk is failing in configure:\n\nchecking whether the C compiler works... no\nconfigure: error: in `/home/pgbfarm/buildroot/HEAD/pgsql.build':\nconfigure: error: C compiler cannot create executables\n\nYou may want to give it a look.\n\nThanks!\n\n-- \nÁlvaro Herrera ... |
[
{
"msg_contents": "Avoid unnecessary form and deform tuple.\n\nIn the TPCH test, HashJoin speed up to ~2x.",
"msg_date": "Wed, 21 Aug 2024 09:49:37 +0800",
"msg_from": "\"bucoo\" <bucoo@sohu.com>",
"msg_from_op": true,
"msg_subject": "optimize hashjoin"
},
{
"msg_contents": "Hi,\n\nOn 8/... |
[
{
"msg_contents": "A USING clause when altering the type of a generated column does not \nmake sense. It would write the output of the USING clause into the \nconverted column, which would violate the generation expression.\n\nThis patch adds a check to error out if this is specified.\n\nThere was a test for ... |
[
{
"msg_contents": "When testing the json_table function, it was discovered that specifying FORMAT JSON in the column definition clause and applying this column to the JSON_OBJECT function results in an output that differs from Oracle's output.\n\n\nThe sql statement is as follows:\n\n\nSELECT JSON_OBJECT('confi... |
[
{
"msg_contents": "Hello hackers,\n\nAs a recent failure, produced by drongo [1], shows, pg_ctl stop/start\nsequence may break on Windows due to the transient DELETE PENDING state of\nposmaster.pid.\n\nPlease look at the excerpt from the failure log:\n...\npg_createsubscriber: stopping the subscriber\n2024-08-1... |
[
{
"msg_contents": "In many jit related bug reports, one of the first questions is often\n\"which llvm version is used\". How about adding it into the\nPG_VERSION_STR, similar to the gcc version?",
"msg_date": "Wed, 21 Aug 2024 12:19:49 +0200",
"msg_from": "Dmitry Dolgov <9erthalion6@gmail.com>",
"ms... |
[
{
"msg_contents": "Hi,\n\n Oversight in 7ff9afbbd; I think we can do the same way for the\nATExecAddColumn().\n-- \nTender Wang",
"msg_date": "Wed, 21 Aug 2024 18:25:01 +0800",
"msg_from": "Tender Wang <tndrwang@gmail.com>",
"msg_from_op": true,
"msg_subject": "Small code simplification"
},
... |
[
{
"msg_contents": "Hackers,\n\nThe index access method API mostly encapsulates the functionality of in-core index types, with some lingering oversights and layering violations. There has been an ongoing discussion for several release cycles concerning how the API might be improved to allow interesting addition... |
[
{
"msg_contents": "\nHello,\n\nSometimes user want to measure the server's IO performance during some\ntroubleshooting *without* the access to postgresql server. Is there any\ngood way to measure it in such sistuation?\n\nMeasuring it with SELECT .. FROM t WHERE xxx, both shared_buffer in PG\nand file system bu... |
[
{
"msg_contents": "I have had hard times understanding what RIR rules are while reading\nsome threads in pgsql-hackers. One example is 'Virtual generated\ncolumns'. I was trying to grep 'RIR rules', when I just started to\nread kernel sources. And I only today I finally bumped into this note\nin rewriteHandler.... |
[
{
"msg_contents": "Hi!\n\nI have an instance that started to consistently crash with segfault or\nbus error and most of the generated coredumps had corrupted stacks.\nSome salvageable frames showed the error happening within\nExecRunCompiledExpr. Sure enough, running the query with jit disabled\nstopped the cra... |
[
{
"msg_contents": "I ran into a query plan where the Result node seems redundant to me:\n\ncreate table t (a int, b int, c int);\ninsert into t select i%10, i%10, i%10 from generate_series(1,100)i;\ncreate index on t (a, b);\nanalyze t;\n\nset enable_hashagg to off;\nset enable_seqscan to off;\n\nexplain (verbo... |
[
{
"msg_contents": "Hello,\n\nI think that pgstattuple should use PageGetExactFreeSpace() instead of \nPageGetHeapFreeSpace() or PageGetFreeSpace(). The latter two compute the \nfree space minus the space of a line pointer. They are used like this in \nthe rest of the code (heapam.c):\n\npagefree = PageGetHeapFr... |
[
{
"msg_contents": "Hello hackers,\n\nWhile investigating a recent copperhead failure [1] with the following\ndiagnostics:\n2024-08-20 20:56:47.318 CEST [2179731:95] LOG: server process (PID 2184722) was terminated by signal 11: Segmentation fault\n2024-08-20 20:56:47.318 CEST [2179731:96] DETAIL: Failed proce... |
[
{
"msg_contents": "Hi hackers,\nCc people involved in the related work.\n\nIn the original conflict resolution thread[1], we have decided to split the\nconflict resolution work into multiple patches to facilitate incremental\nprogress towards supporting conflict resolution in logical replication, and one\nof th... |
[
{
"msg_contents": "Hi pgsql hacker,\n\nRecently I have been trying to understand why GUC changes will be visible\neven though they are done in the signal handler as part of\n*ProcessConfigfile* (done in some extension code). Later I have seen almost\nall postgresql processes/bgworkers use signal handler to set ... |
[
{
"msg_contents": "> 0) The patch does not apply anymore, thanks to David committing a patch> yesterday. Attached is a patch rebased on top of current master.That patch is based on PG17. I have now rewritten it based on the master branch and added some comments.> 1) Wouldn't it be easier (and just as efficient)... |
[
{
"msg_contents": "Hi hackers,\n\nPlease find attached a patch to $SUBJECT.\n\nThis module provides SQL functions to inspect the contents of serialized logical\nsnapshots of a running database cluster, which I think could be useful for\ndebugging or educational purposes.\n\nIt's currently made of 2 functions, o... |
[
{
"msg_contents": "Back in commit 6991e774e we established a policy that, well,\nI'll just quote the commit message:\n\n Provide feature-test macros for libpq features added in v14.\n \n We had a request to provide a way to test at compile time for the\n availability of the new pipeline features. M... |
[
{
"msg_contents": "Like ICU, allow -1 length to mean that the input string is NUL-\nterminated for pg_strncoll(), pg_strnxfrm(), and pg_strnxfrm_prefix().\n\nThis simplifies the API and code a bit.\n\nAlong with some other refactoring in this area, we are getting close to\nthe point where the collation provider... |
[
{
"msg_contents": "Hi,\n\nI would like to propose a slight elaboration of the sort cost model.\nIn practice, we frequently see the choice of suboptimal sortings, which \nslump performance by 10-50%.\n\nThe key reason here is the optimiser's blindness to the fact that \nsorting calls a comparison operator for ea... |
[
{
"msg_contents": "Hello all,\nThis PostgreSQL version is 17beta2.\nIn SlruSelectLRUPage(), Why do we need to traverse all slots to find that a page already has a buffer assigned? Why not find it \nfrom the [bankstart,bankend]?\nBest regards\n\nHello all,This PostgreSQL version is 17beta2.In SlruSelectLRUPage()... |
[
{
"msg_contents": "Hi hackers,\n\nCurrently, all processes in PostgreSQL actually use malloc to allocate and\nfree memory. In the case of long connections where business queries are\nexecuted over extended periods, the distribution of memory can become\nextremely complex.\n\nUnder certain circumstances, a commo... |
[
{
"msg_contents": "Hi hackers. I found a strange point when I was reading the heapam\nhandlers of table access method, where heapam_tuple_insert and several\nhandlers explicitly assign t_tableOid of the tuple to be operated,\nwhile later the t_tableOid is assigned again by like heap_prepare_insert or\nso. Is it... |
[
{
"msg_contents": "So, for our production use, we want to achieve $subj. The problem is\nnot new [1], as well as solutions to it[2]. So, what is the problem?\n\nOn one hand, we cannot resolve this issue with some primitive log\nchunk truncation mechanism inside core (the way it is done in\ngreenplum db for exam... |
[
{
"msg_contents": "Currently numeric.c has 2 separate functions that implement numeric\ndivision, div_var() and div_var_fast(). Since div_var_fast() is only\napproximate, it is only used in the transcendental functions, where a\nslightly inaccurate result is OK. In all other cases, div_var() is\nused.\n\nAside ... |
[
{
"msg_contents": "Hi,\r\n\r\nThe date for PostgreSQL 17 Release Candidate 1 (RC1) is September 5, \r\n2024. Please ensure all open items[1] are completed and committed before \r\nAugust 31, 2024 12:00 UTC to allow enough time for them to clear the \r\nbuildfarm.\r\n\r\nThe current target date for the PostgreSQ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.