threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "This array of tranche names is looking pretty ugly these days, and it'll\nget worse as we add more members to it. I propose to use C99 designated\ninitializers, like we've done for other arrays. Patch attached.\n\nThe way I've coded in this patch, it means the array will now have 52\nNULL p... |
[
{
"msg_contents": "These checks are not effective for what they are trying to prevent. \nA recent commit[0] in libcurl when used on macOS has been tripping the \npthread_is_threaded_np() check in postmaster.c for \nshared_preload_libraries entries which use libcurl (like Neon). Under \nthe hood, libcurl calls S... |
[
{
"msg_contents": "I just discovered that doing \"make -C src/backend/storage/lmgr check\" no\nlonger works, because commit 92daeca45df6 (\"Add wait event for\npg_usleep() in perform_spin_delay()\") added a requirement for\nmy_wait_event_info to be present at link time:\n\n$ LC_ALL=C make -C src/backend/storage... |
[
{
"msg_contents": "Hi,\n\nBecause of commit 1bdd54e662, the code of HandleWalWriterInterrupts()\nbecame the same as HandleMainLoopInterrupts(). So I'd like to propose to\nremove HandleWalWriterInterrupts() and make walwriter use\nHandleMainLoopInterrupts() instead for improved code simplicity. Thought?\n\nPatch... |
[
{
"msg_contents": "Greetings -hackers and -mentors,\n\nGoogle Summer of Code is back for 2024! Please review this\nannouncement blog post:\nhttps://opensource.googleblog.com/2023/11/google-summer-of-code-2024-celebrating-20th-year.html\n\nAnd please make yourself familiar with the GSoC 2024 timeline:\nhttps://d... |
[
{
"msg_contents": "Hi,\n\nIt would be viable and appropriate to implement a unified function that provides important information about the current connection?\n\nJust an example: \"Current Connection Informations\".\n\nI implemented it in PL/pgSQL to demonstrate the idea, see on GitHub:\nhttps://github.com/maiq... |
[
{
"msg_contents": "Hi,\n\nAttached is a patch set which combines the freeze and prune records\nfor vacuum -- eliminating the overhead of a separate freeze WAL record\nfor every block frozen by vacuum. The contents of the freeze record\nare added to the PRUNE record.\n\nIn cases where vacuum does freeze and prun... |
[
{
"msg_contents": "I came across a warning when building master (a044e61f1b) on old GCC\n(4.8.5).\n\njsonfuncs.c: In function ‘jsonb_populate_record_valid’:\n../../../../src/include/nodes/miscnodes.h:53:15: warning: the comparison\nwill always evaluate as ‘true’ for the address of ‘escontext’ will never be\nNUL... |
[
{
"msg_contents": "Hi,\n\nIn the function ReplicationSlotAcquire(), I found there is a missing in the\nbelow comments:\n\n```\n\t/*\n\t * Search for the slot with the specified name if the slot to acquire is\n\t * not given. If the slot is not found, we either return -1 or error out.\n\t */\n\ts = SearchNamedRe... |
[
{
"msg_contents": "Hi,\n\nAs described in 9e2d870119, COPY ON_EEOR is expected to have more \n\"error_action\".\n(Note that option name was changed by b725b7eec)\n\nI'd like to have a new option \"log\", which skips soft errors and logs \ninformation that should have resulted in errors to PostgreSQL log.\n\nI t... |
[
{
"msg_contents": "Hey,\n\nIn a nearby user complaint email [1] some missing information regarding\nownership reassignment came to light. I took that and went a bit further\nto add what I felt was further missing information and context for how the\nprivilege system is designed. I've tried to formalize and la... |
[
{
"msg_contents": "Hi,\n\nAttached is a simple patch to rename setup_cancel_handler()\nin pg_dump/parallel.c. \n\nI am proposing it because there is a public function with\nthe same name in fe_utils/cancel.c. I know pg_dump/parallel.c\ndoes not include fe_utils/cancel.h, so there is no conflict,\nbut I think it... |
[
{
"msg_contents": "Hi,\n\nI found that the documentation of COPY ON_ERROR said\nCOPY stops operation at the first error when \n\"ON_ERROR is not specified.\", but it also stop when\nON_ERROR is specified to the default value, \"stop\".\n\nI attached a very small patch to fix this just for\nmaking the descriptio... |
[
{
"msg_contents": "Hello hackers,\n\nAfter determining a possible cause for intermittent failures of the test\nsubscription/031_column_list [1], I was wondering what makes another\nsubscription test (014_binary) fail on the buildfarm:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=snakefly&dt=2024-01-... |
[
{
"msg_contents": "Currently, nodeMemoize.c builds the hashtable for the cache during\nexecutor startup. This is not what is done in hash joins. I think we\nshould make the two behave the same way.\n\nPer [1] and the corresponding discussion leading to that, making a\npossibly large allocation at executor star... |
[
{
"msg_contents": "In 5543677ec9 we introduced an optimization that uses Limit instead of\nUnique to implement DISTINCT when all the DISTINCT pathkeys have been\nmarked as redundant. I happened to notice that this optimization was\nnot applied to partial DISTINCT, which I think should be. This can\nimprove pl... |
[
{
"msg_contents": "Hi,\n\n9e2d870 enabled the COPY command to skip soft error, and I think we can \nadd another option which specifies the maximum tolerable number of soft \nerrors.\n\nI remember this was discussed in [1], and feel it would be useful when \nloading 'dirty' data but there is a limit to how dirty... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nI'm not sure if it's the best list for my question but I have a following problem.\r\n\r\nI have an existing DB with lots of data and I need to modify the behavior of one specific\r\nbuilt-in function. I can of course create my own function and redefine the behavior but\r\n... |
[
{
"msg_contents": "Hi,\n\nThe option choice of \"ignore\" in the COPY ON_ERROR clause seems overly\ngeneric. There would seem to be two relevant ways to ignore bad column\ninput data - drop the entire row or just set the column value to null. I\ncan see us wanting to provide the set to null option and in any ... |
[
{
"msg_contents": "Hello hackers,\n\nCurrently a function definition must include its body inline. Because of\nthis, when storing function definitions in files, linters and syntax\nhighlighters for non-SQL languages (python, perl, tcl, etc) won't work. An\nexample can be seen on:\n\nhttps://github.com/postgres/... |
[
{
"msg_contents": "Hackers,\n\nI wanted to try to customize the subdirectory for an extension. The docs[1] say:\n\n> directory (string)\n> \n> The directory containing the extension's SQL script file(s). Unless an absolute path is given, the name is relative to the installation's SHAREDIR directory. The default... |
[
{
"msg_contents": "Hi All,\n\nI am trying to use GSSAPI (Kerberos auth) on FreeBSD.\n\nAfter several attempts I was able to build PostgreSQL 16 from FreeBSD ports with GSSAPI support. The steps were:\n1. Uninstall Heimdal\n2. Install krb5 (MIT Kerberos)\n3. Build Pg with GSSAPI support\n\nI configured pg_hba.co... |
[
{
"msg_contents": "Buildfarm member caiman has been failing build for a couple weeks now.\nThe reason turns out to be that recent libxml2 has decided to throw\na \"const\" into the signature required for custom error handlers.\n(API compatibility? What's that?)\n\nI don't mind adopting the \"const\" --- it's a... |
[
{
"msg_contents": "Hi,\n\nI happened to investigate a query involving a partitioned table, which\nled me to a couple of bottlenecks severely affecting queries dealing\nwith multiple partitions (or relations in general). After a while I came\nup with three WIP patches that improve the behavior by an order of\nma... |
[
{
"msg_contents": "In [1] we've reached a conclusion that for a MATERIALIZED CTE it's okay\nto 'allow our statistics or guesses for the sub-query to subsequently\ninfluence what the upper planner does'. Commit f7816aec23 exposes\ncolumn statistics to the upper planner. In the light of that, here is a\npatch t... |
[
{
"msg_contents": "Hi,\n\nHere's a quick status report after the fourth week:\nStatus summary:\nstatus | w1 | w2 | w3 | w4\n-----------------------------------+-----------+--------+--------+----------\nNeeds review: | 238 | 213 | 181... |
[
{
"msg_contents": "Hi,\n\nI noticed one minor thing that the upgrade doc refers to the old 'conflicting'\ncolumn of pg_replication_slot. As the column has been changed to 'conflict_reason', \nI think the doc needs to be updated like the attachment.\n\nBest Regards,\nHou Zhijie",
"msg_date": "Mon, 29 Jan 202... |
[
{
"msg_contents": "Greetings, everyone!\n\nWhile analyzing output of Svace static analyzer [1] I've found a bug.\n\nIn function intoasc(interval * i, char *str) from file \nsrc/interfaces/ecpg/compatlib/informix.c\nwe return a non-terminated string since we use memcpy on tmp which is \nitself NULL-teminated but... |
[
{
"msg_contents": "If you call dsa_allocate_extended(DSA_ALLOC_NO_OOM), it will still \nereport an error if you run out of space (originally reported at [0]).\n\nAttached patch adds code to test_dsa.c to demonstrate that:\n\npostgres=# select test_dsa_basic();\nERROR: could not resize shared memory segment \"/... |
[
{
"msg_contents": "Hello hackers,\n\nWhile investigating some query plans, I noticed some code that seems\nto be wrong: when create_merge_append_path() estimates the cost of\nsorting an input, it calls cost_sort() passing subpath->parent->tuples\nas the number of tuples. Shouldn't it use subpath->parent->rows o... |
[
{
"msg_contents": "Hello\n\nIn Dilip's patch to improve SLRU concurrency, there's a requirement to\nprevent predicate.c's SLRU control lock from being used to control\naccess to another shared memory structure, SerialControlData. This\nstruct is used to keep track of the areas of the SLRU that are valid.\nDili... |
[
{
"msg_contents": "Hi hackers,\n\nI have tried to analyse Postgres code with Svace static analyzer [1] and\nfound something I think is a real bug.\n\nIn pgp-decrypt.c, in prefix_init function the following check:\nif (len > sizeof(tmpbuf))\n\nseem to be erroneous and should really look this way:\nif (len > PGP_... |
[
{
"msg_contents": "Hi,\n\nIMO I believe that bitmapset can obtain an optimization in the calculation\nof the WORDNUM and BITNUM macros.\n\nAs you know, in bitmapset, negative members are not allowed.\n\nif (x < 0)\nelog(ERROR, \"negative bitmapset member not allowed\");\n\nThen, allow the compiler to optimize a... |
[
{
"msg_contents": "Add EXPLAIN (MEMORY) to report planner memory consumption\n\nThis adds a new \"Memory:\" line under the \"Planning:\" group (which\ncurrently only has \"Buffers:\") when the MEMORY option is specified.\n\nIn order to make the reporting reasonably accurate, we create a separate\nmemory context... |
[
{
"msg_contents": "I just realized while looking at Jelte's patch for the new nonblocking\nquery cancel stuff that the Meson build doesn't run the libpq_pipeline\ntests :-(\n\nIs there any way to wire the tests to make it work?\n\n-- \nÁlvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com... |
[
{
"msg_contents": "Hi,\n\nLast year, David and I worked on a round of refactoring for\nheapgettup() and heapgettup_pagemode() [1]. Now that the streaming\nread API has been proposed [2], there is a bit more refactoring that\ncan be done on master to prepare sequential scan to support streaming\nreads.\n\nPatche... |
[
{
"msg_contents": "While taking care of a Pgpool-II trouble report from user [1], I found\nan interesting usage pattern of the extended query protocol. In my\nunderstanding a series of queries in the extended query protocol is\nended by a sync message. Then one ReadyForQuery response comes for one\nsync message... |
[
{
"msg_contents": "Hi,\n\nWhile working on radix tree patch[1], John Naylor found that dsa.c\ndoesn't already use shared locks even in dsa_dump(). dsa_dump() seems\na pure read-only function so I thought we could use a shared lock mode\nthere. Is there any reason to use exclusive mode even in dsa_dump()?\n\nUlt... |
[
{
"msg_contents": "Hi\n\nI have one question, what is a block of implementation of some variant of\nVACUUM FULL like REINDEX CONCURRENTLY? Why similar mechanism of REINDEX\nCONCURRENTLY cannot be used for VACUUM FULL?\n\nRegards\n\nPavel\n\nHiI have one question, what is a block of implementation of some varian... |
[
{
"msg_contents": "Hi,\n\nI was trying to install newer Perl versions to Windows CI images and\nfound that 003_extrafiles.pl test fails on Windows with:\n\n(0.183s) not ok 2 - file lists match\n(0.000s) # Failed test 'file lists match'\n# at C:/cirrus/src/bin/pg_rewind/t/003_extrafiles.pl line 81.\n(0.000s)... |
[
{
"msg_contents": "I noticed while answering a question that commit b577743000cd added the\nGUC scram_iterations and marked it GUC_REPORT, but failed to add it to\nthe PQparameterStatus documentation.\n\nHere's a proposed patch to add it there.\n\ndiff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml\n... |
[
{
"msg_contents": "Hello PostgreSQL Hackers, I'm thrilled to share with you a new PostgreSQL extension I've developed, called 'pg_stat_advisor'. The genesis of this extension traces back to a conversation in this: https://www.postgresql.org/message-id/e2512fd5-77a4-825b-e456-c0586e37f293%40enterprisedb.com The ... |
[
{
"msg_contents": "Hi hackers,\n\n776621a5e4 added a \"warning\" in the documentation to alter a subscription (to\nensure the slot's failover property matches the subscription's one).\n\nThe same remark could be done for the two_phase option. This patch is an attempt\nto do so.\n\nLooking forward to your feedba... |
[
{
"msg_contents": "Patch 1:\n\nPassing NULL as a second argument to memcpy breaks ubsan, and there \ndidn't seem to be anything preventing that in the LogLogicalMessage() \ncodepath. Here is a preventative measure in LogLogicalMessage() and an \nAssert() in CopyXLogRecordToWAL().\n\nPatch 2:\n\nSupport building... |
[
{
"msg_contents": "Hi, so libpq has this line in its Makefile\nhttps://github.com/postgres/postgres/blob/6ee26c6a4bafabbd22a85f575d2446fd5ec6ad0d/src/interfaces/libpq/Makefile#L116\nwhich checks that libpq does not use any \"exit\" functions. With\nThreadSanitizer it triggers on function `__tsan_func_exit` whic... |
[
{
"msg_contents": "Hi,\n\nPSA a small fix for a misleading comment found in the pg_upgrade test code.\n\n======\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Wed, 31 Jan 2024 15:56:50 +1100",
"msg_from": "Peter Smith <smithpb2250@gmail.com>",
"msg_from_op": true,
"msg_subject": ... |
[
{
"msg_contents": "Hello.\n\nI would like to share some information regarding a recent issue we\nencoutered.\n\nWhile compiling an extension against the RPM package\npostgresql16-devel-16.1-2PGDG.rhel9.x86_64.rpm we faced a problem that\nappears to be caused by the combination of LTO and constant\nfolding/propa... |
[
{
"msg_contents": "Clean pg_walsummary's tmp_check directory.\n\nOversight similar to ba08c10fc.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/9589b038d3203cd5ba708fb4f5c23182c88ad0b3\n\nModified Files\n--------------\nsrc/bin/pg_walsummary/Makefile | 1 +\n1 file change... |
[
{
"msg_contents": "Hi.\n\nPer Coverity.\nCID 1506240: (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)\n3. negative_returns: dup(fd) is passed to a parameter that cannot be\nnegative.\n\npg_dump function open_none, tries to associate a stream to a file\ndescriptor,\nusing function dup, which may fail a... |
[
{
"msg_contents": "Hello,\n\nRobert: I've taken the liberty of cc'ing you since you worked on most\nof this code. My apologies if that wasn't appropriate.\n\nWhile working on \"Parallelize correlated subqueries that execute\nwithin each worker\" [1] I noticed that while in the other call to\nset_cheapest (for p... |
[
{
"msg_contents": "Motivated by a recent complaint [1] I found the hostssl related material in\nour docs quite verbose and even repetitive. Some of that is normal since\nwe have both an overview/walk-through section as well as a reference\nsection. But the overview in particular was self-repetitive. Here is ... |
[
{
"msg_contents": "Hi hackers,\n\nduring reading the source code of new incremental backup functionality\nI noticed that the following condition can by unintentional:\n\n /*\n * For newer server versions, likewise create pg_wal/summaries\n */\n if (PQserverVersion(conn) < MINIMUM_VERSION_FOR_WAL_S... |
[
{
"msg_contents": "Hi,\n\nThanks a lot to all the members who participated in the commitfest.\n\nHere are the final numbers at the end of the commitfest:\nstatus | w1 | w2 | w3 | w4 | End\n----------------------------+--------+------+--------+---------+----------\nNeeds r... |
[
{
"msg_contents": "Hi,\n\nNew WAL space is created by renaming a file into place. Either a\nnewly created file with a temporary name or, ideally, a recyclable old\nfile with a name derived from an old LSN. I think there is a data\nloss window between rename() and fsync(parent_directory). A\nconcurrent backen... |
[
{
"msg_contents": "First-draft release notes for 16.2 are available at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=87dcc5e45fad3021514f01360d3a2abd4e6480ee\n\nPlease send comments/corrections before Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Fri, 02 Feb 2024 12:54:48 -... |
[
{
"msg_contents": "I couldn't find a reference to the 'langispl' attribute, so I removed it (see\nthe diff attached) and the master branch compiled cleanly. Is there yet a\nreason to keep it?\n\n-- \nAntonin Houska\nWeb: https://www.cybertec-postgresql.com",
"msg_date": "Fri, 02 Feb 2024 19:03:22 +0100",
... |
[
{
"msg_contents": "Looking through the logs of some server that were experiencing out of\nmemory errors, I noticed that errcode_for_file_access() reports\nERRCODE_INTERNAL_ERROR for ENOMEM, while the correct SQLSTATE for this\nshould probably be ERRCODE_OUT_OF_MEMORY. Attached is a small patch to\nfix this.\n\n... |
[
{
"msg_contents": "If you look at the buildfarm's failures page and filter down to\njust subscriptionCheck failures, what you find is that all of the\nlast 6 such failures are in 031_column_list.pl:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=tamandua&dt=2024-02-02%2019%3A33%3A16\nhttps://buildfa... |
[
{
"msg_contents": "Hi.\nI previously did some work in COPY FROM save error information to a table.\nstill based on this suggestion:\nhttps://www.postgresql.org/message-id/752672.1699474336%40sss.pgh.pa.us\nNow I refactored it.\n\nthe syntax:\nON_ERROR 'table', TABLE 'error_saving_tbl'\n\nif ON_ERROR is not spec... |
[
{
"msg_contents": "Hello,\r\n\r\n\r\n I found an issue while using the latest version of PG15 (8fa4a1ac61189efffb8b851ee77e1bc87360c445).\r\n\r\n This issue is related to Megre into and other concurrent statements being written. \r\n I obtained different results in Oracl... |
[
{
"msg_contents": "Hackers,\n\nAttached is a patch to add a new function, `parse_type()`. It parses a type string and returns a record with the typid and typmod for the type, or raises an error if the type is invalid. It’s effectively a thin layer over the parser’s parseTypeString() function.\n\nThe purpose of ... |
[
{
"msg_contents": "Hi all,\n\nI have a postgresql 15 instance with two databases in it, and I have a need to grant read-only access to one of those databases to a given user.\n\nTo do this I created a dedicated role for readonly access to the database db1:\n\nCREATE ROLE \"dv_read_db1\"\nGRANT CONNECT ON DATABA... |
[
{
"msg_contents": "Hi,\n\ncatalog/syscache_ids.h is referred by utils/syscache.h but\nit's not installed with Meson.\n\nFYI:\n* 9b1a6f50b91dca6610932650c8c81a3c924259f9\n It uses catalog/syscache_ids.h in utils/syscache.h but\n catalog/syscache_ids.h isn't installed.\n* 6eb6086faa3842c2a38a1ee2f97bf9a42ce2761... |
[
{
"msg_contents": "Hi hackers,\n\nCurrently, pgp_sym_decrypt_text and pgp_pub_decrypt_text doesn't\nenforce database encoding validation even when returning text. This\npatch adds validation and dedicated tests to verify its\neffectiveness. Additionally, some existing unit tests were moved to\nthe new tests as... |
[
{
"msg_contents": "... and the patches in CF #47 (currently open) are listed in 'Next\ncommitfest'. I guess we need to manually create a \"next\" commitfest?\n\nThanks\nRichard\n\n... and the patches in CF #47 (currently open) are listed in 'Nextcommitfest'. I guess we need to manually create a \"next\" commi... |
[
{
"msg_contents": "I always found the encoding of the pg_trigger.tgargs field quite weird \nand archaic. (It encodes the trigger argument list into a bytea \ncolumn.) So I tried replacing this with a list of nodes in a \npg_node_tree. This worked out quite nicely. It makes the internal code \nmuch simpler, ... |
[
{
"msg_contents": "Commit 344d62fb9a9 (2022) introduced unlogged sequences and made it so \nthat identity/serial sequences automatically get the persistence level \nof their owning table. But this works only for CREATE TABLE and not for \nALTER TABLE / ADD COLUMN. This patch fixes that. (should be \nbackpatc... |
[
{
"msg_contents": "Hi Hackers,\n\nI just noticed that a couple of places in the docs spell I/O as IO or\neven io when not referring to literal table/view/column names or values\ntherein. Here's a patch to fix them.\n\n- ilmari",
"msg_date": "Mon, 05 Feb 2024 15:59:27 +0000",
"msg_from": "=?utf-8?Q?Dagf... |
[
{
"msg_contents": "According to the discussion in [1], it's not as safe as we supposed\nto allow different threads to call bindtextdomain() concurrently.\nHere is a patchset to prevent that by acquiring a mutex around\nthe libpq and ecpglib calls that are at risk.\n\nIn libpq, this would've required yet a third... |
[
{
"msg_contents": "Hello PostgreSQL Hackers,\n\nThis proposal suggests implementing OCSP Stapling in PostgreSQL as an \nalternative and more efficient method for checking certificate \nrevocation, aligning with the trend shift from Certificate Revocation \nLists (CRL).\n\n\n1. benefits\nOCSP Stapling offers sev... |
[
{
"msg_contents": "Hi,\n\nLooking at the profiles in [1], and similar profiles locally, made me wonder\nwhy a basic COPY TO shows pg_server_to_any() and the strlen() to compute the\nlength of the to-be-converted string so heavily in profiles. Example\nprofile, for [2]:\n\n- 88.11% 12.02% postgres pos... |
[
{
"msg_contents": "Hi.\nthis commit [0] changes immutability of jsonb_path_query,\njsonb_path_query_first?\nIf so, it may change other functions also.\n\ndemo:\n\nbegin;\nSET LOCAL TIME ZONE 10.5;\nwith cte(s) as (select jsonb '\"2023-08-15 12:34:56 +05:30\"')\n\nselect jsonb_path_query(s,\n'$.timestamp_tz()'):... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is a draft of the 2024-02-08 release announcement. Please \r\nreview for accuracy and notable omissions.\r\n\r\nPlease provide any feedback no later than 2024-02-08 12:00 UTC (and \r\npreferably sooner).\r\n\r\nThanks,\r\n\r\nJonathan",
"msg_date": "Mon, 5 Feb 2024 23:... |
[
{
"msg_contents": "Hello hackers,\r\n\r\nJust like some of my colleagues I've been using Svace*\r\nand I think I've found a bug in src/common/rmtree.c .\r\n\r\nIn 64th line function returns false in case it couldn't open a directory,\r\nbut the memory, that have been allocated for char** dirnames is\r\nnot free... |
[
{
"msg_contents": "I'm proposing here a way to pass extra options to initdb when run \ninternally during test setup in pg_regress or \nPostgreSQL::Test::Cluster's init (which covers just about all test \nsuites other than initdb's own tests).\n\nFor example:\n\n make check PG_TEST_INITDB_EXTRA_OPTS='-k -c w... |
[
{
"msg_contents": "In a recent patch thread it was discussed[0] which fields should be \ncompared by equalTupleDescs() and whether it is ok to remove a field \nfrom tuple descriptors and how that should affect their equality \n(attstattarget in that case).\n\nAfter analyzing all the callers, I have noticed that... |
[
{
"msg_contents": "Hi hackers,\n\nThere is a bug in glibc's qsort() algorithm that runs the risk of creating\nan out-of-bounds error if the comparison function is not transitive, for\nexample, if subtraction is used so that it can create an overflow.\n\nSee\nhttps://packetstormsecurity.com/files/176931/glibc-qs... |
[
{
"msg_contents": "Hi hackers,\n\n\nI've encountered and addressed errors in the \n\"0001-pg_stat_advisor-extension.patch\" when applying it to the main \nbranch, specifically trailing whitespace issues at lines 117 and 118:\n\n```\n0001-pg_stat_advisor-extension.patch:117: trailing whitespace.\n ... |
[
{
"msg_contents": "Hi,\n\nAttached is a small patch implemented as I agree with Andres' comment\nbelow noted while reviewing the thread\nhttps://www.postgresql.org/message-id/flat/20240122210740.7vq5fd4woixpwx3f%40awork3.anarazel.de#6eb7595873392621d60e6b5a723941bc\n\nI agree that its easier to not have to refe... |
[
{
"msg_contents": "Hi,\n\n\nI'm seeking to improve the \\conninfo meta-command in psql. Currently, it provides limited information about the current connection. I believe that expanding it using the concept of \"plus\" [+] could ease the work of DBAs, SysAdmins, DevOps, etc., who manage a large volume of databa... |
[
{
"msg_contents": "The function pg_get_expr(), which is used in various system views and \ninformation schema views, does not appear to lock the table passed as \nthe second argument, and so appears to be liable to fail if there is a \nconcurrent drop of the table. There is a (probable) case of this being \ndi... |
[
{
"msg_contents": "Hi ,\n\npostgresql-42.7.1.jar\n\nTrying to use establish a connection using PKCS8 certificate created with\npassword.\n\n\n*openssl pkcs8 -topk8 -inform PEM -in client.key -outform DER -out\nclient.pk8 -passout pass:foobar*\n\nI set the properties as below:\n*...*\n\n*sslProperties.setProper... |
[
{
"msg_contents": "I came across the Perl autodie pragma \n(https://perldoc.perl.org/autodie). This seems pretty useful; is this \nsomething we can use? Any drawbacks? Any minimum Perl version?\n\nAttached is a sample patch of the kind of thing I'd be interested in. \nThe existing error handling of file oper... |
[
{
"msg_contents": "headerscheck started in 55ea1091884 (2019) essentially as an adjusted \ncopy of cpluspluscheck. Since then two scripts have not drifted far \napart. But there are occasionally mistakes keeping the two exclude \nlists updated together. I figure we can just combine the two scripts \ninto one... |
[
{
"msg_contents": "As part of the reserved page space/page features[1] work, there is a need\nto convert some of the existing constants into variables, since the size of\nthose will no longer be fixed at compile time. At FOSDEM, there was some\ninterest expressed about seeing what a cleanup patch like that wou... |
[
{
"msg_contents": "Hello,\n\nWe recently noticed some behavior that seems reasonable but also\nsurprised our engineers based on the docs.\n\nIf we have this setup:\ncreate table items(i int);\ninsert into items(i) values (1);\ncreate publication test_pub for all tables;\n\nThen when we:\ndelete from items where... |
[
{
"msg_contents": "Hello,\n\nPlease look at errors, which produced by the following script, starting\nfrom 6566133c5:\nfor i in `seq 100`; do (echo \"CREATE USER u; DROP USER u;\"); done | psql >psql-1.log 2>&1 &\nfor i in `seq 100`; do (echo \"CREATE USER u; DROP USER u;\"); done | psql >psql-2.log 2>&1 &\nwai... |
[
{
"msg_contents": "With the makefile rules, the output of genbki.pl was written to\nsrc/backend/catalog/, and then the header files were linked to\nsrc/include/catalog/.\n\nThis patch changes it so that the output files are written directly to\nsrc/include/catalog/. This makes the logic simpler, and it also ma... |
[
{
"msg_contents": "HI hackers\n When I read this text in this document there is a paragraph in it(\nhttps://www.interdb.jp/pg/pgsql08/03.html)\n/*\nThe BufMappingLock is split into partitions to reduce contention in the\nbuffer table (the default is 128 partitions). Each BufMappingLock partition\nguards a po... |
[
{
"msg_contents": "Hi,\n\nI found the comment on query_id_enabled looks inaccurate because this is\nnever set to true when compute_query_id is ON.\n\n /* True when compute_query_id is ON, or AUTO and a module requests them */\n bool query_id_enabled = false;\n\nShould we fix this as following (just fixing... |
[
{
"msg_contents": "Hi,\n\nWith a db setup with pgbench, we add an additional index:\nCREATE INDEX ON pgbench_accounts(abalance)\n\nAnd trigger several updates and vacuum to reach a stable amount of\ndirtied pages:\nUPDATE pgbench_accounts set abalance = abalance + 1 WHERE aid=1; CHECKPOINT;\nVACUUM (VERBOSE, IN... |
[
{
"msg_contents": "Hello,\n\nThe patch attached fixes an oversight/inconsistency of disallowing the\npg_monitor system role to execute pg_current_logfile([text]).\n\npgwatch3=# create user joe;\nCREATE ROLE\npgwatch3=# set role joe;\nSET\npgwatch3=> select pg_current_logfile();\nERROR: permission denied for fu... |
[
{
"msg_contents": "Hi,\n\nCurrently the documentation of upgrade for streaming replication\nsection says that logical replication slots will be copied\nirrespective of the version, but the logical replication slots are\ncopied only if the old primary is version 17.0 or later. The changes\nfor the same are in th... |
[
{
"msg_contents": "Hello Hackers,\n\nFolks, When tried to create a function with the same signature as procedure\nit fails.\n\npostgres=# create or replace procedure obj1(char) language plpgsql as $$\n begin select $1; end; $$;\nCREATE PROCEDURE\npostgres=# create or replace function obj1(char) returns void la... |
[
{
"msg_contents": "I played with include-what-you-use (IWYU), \"a tool for use with clang to \nanalyze #includes in C and C++ source files\".[0] I came across this via \nclangd (the language server), because clangd (via the editor) kept \nsuggesting a bunch of #includes to remove. And I suppose it was right.\... |
[
{
"msg_contents": "Hi all,\n\n \n\nDon't know if I got this to the right group.\n\n \n\nProposal Template For a New Feature\n\nOne-line Summary: Feature request Natively integration support Azure\nMicrosoft Entra ID for authentication from On-premises PostreSQL server.\n\n \n\nBusiness Use-case: Explain the pr... |
[
{
"msg_contents": "Hi all,\n\nI've attached a patch for the master branch to fix up the custom BIOs used\nby PostgreSQL, in light of the issues with the OpenSSL update recently.\nWhile c82207a548db47623a2bfa2447babdaa630302b9 (switching from BIO_get_data\nto BIO_get_app_data) resolved the immediate conflict, I ... |
[
{
"msg_contents": "Hi,\n\nThere are several places where publisher and subscriber terms are used\nacross the documentation. But the publisher and subscriber were\nmissing in the documentation. I felt this should be added in the\nglossary.\nI have created a patch for the same.\n\nThanks and Regards\nShlok Kyal",... |
[
{
"msg_contents": "Hi All,\nalter table t1 add column c serial;\nALTER TABLE\n\nthis works, but not\n#alter table t1 add column c int;\nALTER TABLE\n#alter table t1 alter column c type serial;\nERROR: type \"serial\" does not exist\n\nLooking at the documentation [1], the grammar for both mentions data_type\n\... |
[
{
"msg_contents": "Hi,\n\nI noticed that in the following code in BitmapPrefetch(), we use the\ncurrent block's TBMIterateResult->recheck when deciding whether or not\nto prefetch the block returned by tbm_iterate() (which is very likely\na different block). Why not use TBMIterateResult->recheck for the\nblock ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.