threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "I noticed that buildfarm member batfish has been complaining like\nthis for awhile:\n\nhmac_openssl.c:90:1: warning: unused function 'ResourceOwnerRememberHMAC' [-Wunused-function]\nhmac_openssl.c:95:1: warning: unused function 'ResourceOwnerForgetHMAC' [-Wunused-function]\n\nLooking at the c... |
[
{
"msg_contents": "Hello all.\nRecently, when working with the hstore and json formats, I came across the\nfact that PostgreSQL has a cast of hstore to json, but there is no reverse\ncast. I thought it might make it more difficult to work with these formats.\nAnd I decided to make a cast json in the hstore. I u... |
[
{
"msg_contents": "meson.build has this code\n\n ldopts = run_command(perl, '-MExtUtils::Embed', '-e', 'ldopts',\n check: true).stdout().strip() undesired =\n run_command(perl_conf_cmd, 'ccdlflags', check:\n true).stdout().split() undesired += run_command(perl_conf_cmd,\n 'ldflags', ... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nCoverity reported a resource leak at the function\nrun_ssl_passphrase_command.\n7. alloc_fn: Storage is returned from allocation function\nwait_result_to_str.[\"show details\"]\n\n8. noescape: Assuming resource wait_result_to_str(pclose_rc) is not freed\nor pointed-to ... |
[
{
"msg_contents": "Hackers,\n\nIn the Security lessons from liblzma thread[1], walther broached the subject of an extension directory path[1]:\n\n> Also a configurable directoy to look up extensions, possibly even to be \n> changed at run-time like [2]. The patch says this:\n> \n>> This directory is prepended t... |
[
{
"msg_contents": "Greetings,\n\nThe command I am using is\nmeson setup --wipe build_dir -D\nextra_include_dirs=c:/Users/davec/projects/postgres/libxml2-vc140-static-32_64.2.9.4.1\\lib\\native\\include\\libxml\n-D\nextra_lib_dirs=c:/Users/davec/projects/postgres/libxml2-vc140-static-32_64.2.9.4.1\\lib\\native\\... |
[
{
"msg_contents": "Hello,\n\nWhen implementing a GiST consistent function I found the need to cache pre-processed query across invocations.\nI am not sure if it is safe to do (or I need to perform some steps to make sure cached info is not leaked between rescans).\n\nThe comment in gistrescan says:\n\n\t\t/*\n\... |
[
{
"msg_contents": "Dear PostgreSQL Hackers,\n\nI am submitting a patch to modify pg_ctl to detect the presence of a geek\nuser on the system and adapt its behavior accordingly. This patch\nintroduces the following changes:\n\n 1.\n\n *Detection of geek user*: The modified pg_ctl now checks user created on\n... |
[
{
"msg_contents": "Over at [1] we have a complaint of postgres_fdw failing with\na remote-server error\n\n> ERROR: invalid value for parameter \"TimeZone\": \"UTC\"\n\nI am not quite clear on how broken an installation needs to be to\nreject \"UTC\" as a time zone setting, except that the breakage cannot\nbe s... |
[
{
"msg_contents": "Hi,\n\nHere are some vectored writeback patches I worked on in the 17 cycle\nand posted as part of various patch sets, but didn't get into a good\nenough shape to take further. They \"push\" vectored writes out, but I\nthink what they need is to be turned inside out and converted into\nusers... |
[
{
"msg_contents": "Hi,\n\nI encounter a new behaviour in Postgres 16: DROP OWNED BY drops\nmemberships when dropping grantor of memberhsip. A call on REASSIGN\nOWNED BY does not reassign membership from grantor to target owner.\n\nAttached is a script my-reassign.sql which reproduce the behaviour.\nJust run it ... |
[
{
"msg_contents": "Hello hackers,\n\nCurrently, promotion related handling is missing in the slot sync SQL\nfunction pg_sync_replication_slots(). Here is the background on how\nit is done in slot sync worker:\nDuring promotion, the startup process in order to shut down the\nslot-sync worker, sets the 'stopSig... |
[
{
"msg_contents": "You cannot run queries on a Hot Standby server until the standby has \nseen a running-xacts record. Furthermore if the subxids cache had \noverflowed, you also need to wait for those transactions to finish. That \nis usually not a problem, because we write a running-xacts record after \neach ... |
[
{
"msg_contents": "Hi,\n\nIs there any way to add check constraints to a materialized view, or plans\nto add this feature in the future?\n\nAttempting to use \"ALTER TABLE tablename ADD CHECK(...)\" or \"ALTER\nMATERIALIZED VIEW\" result in error:\n\nERROR: \"tablename\" is not a table or foreign table\n\nChec... |
[
{
"msg_contents": "Hi,\n\nYesterday, Tomas Vondra reported to me off-list that he was seeing\nwhat appeared to be data corruption after taking and restoring an\nincremental backup. Overnight, Jakub Wartak further experimented with\nTomas's test case, did some initial analysis, and made it very easy to\nreproduc... |
[
{
"msg_contents": "TIL that IPC::Run::timer is not the same as IPC::Run::timeout.\nWith a timer object you have to check $timer->is_expired to see\nif the timeout has elapsed, but with a timeout object you don't\nbecause it will throw a Perl exception upon timing out, probably\nkilling your test program.\n\nIt ... |
[
{
"msg_contents": "Building the generated ecpg preproc file can take a long time. You can\ncheck how long using:\n\nninja -C build src/interfaces/ecpg/preproc/ecpg.p/meson-generated_.._preproc.c.o\n\nThis moves that file much closer to the top of our build order, so\nbuilding it can be pipelined much better wit... |
[
{
"msg_contents": "Looking for an index to support top-n searches, were n has a fixed maximum\n\nRecently, I've been looking at strategies to handle top-n queries in\nPostgres. In my current cases, we've got definition tables, and very large\nrelated tables. Here's a stripped-down example, the real tables are m... |
[
{
"msg_contents": "Hi hackers\n\nDiscussion[1] and the relevant commit[2] improved the selectivity\ncalculation for IN/NOT IN.\n\nThis is the current logic for NOT IN selectivity calculation and it loops\nover the array elements.\n\nelse\n{\n s1 = s1 * s2;\n if (isInequality)\n s1disjoint += s2 - ... |
[
{
"msg_contents": "Dear hackers,\n\nGenerating a \".partial\" WAL segment is pretty common nowadays (using pg_receivewal or during standby promotion).\nHowever, we currently don't do anything with it unless the user manually removes that \".partial\" extension.\n\nThe 028_pitr_timelines tests are highlighting t... |
[
{
"msg_contents": "CopyReadLineText quoth:\n\n * The objective of this loop is to transfer the entire next input line\n * into line_buf. Hence, we only care for detecting newlines (\\r and/or\n * \\n) and the end-of-copy marker (\\.).\n *\n * In CSV mode, \\r and \\n inside a quoted field a... |
[
{
"msg_contents": "\nIn hashfn_unstable.h, fasthash32() is declared as:\n\n /* like fasthash64, but returns a 32-bit hashcode */\n static inline uint64\n fasthash32(const char *k, size_t len, uint64 seed)\n\nIs the return type of uint64 a typo?\n\nRegards,\n\tJeff Davis\n\n\n\n",
"msg_date": "Fri, 05 Apr... |
[
{
"msg_contents": "I wondered why buildfarm member copperhead has started to fail\nxversion-upgrade-HEAD-HEAD tests. I soon reproduced the problem here:\n\npg_restore: creating ACL \"regress_pg_dump_schema.TYPE \"test_type\"\"\npg_restore: while PROCESSING TOC:\npg_restore: from TOC entry 4355; 0 0 ACL TYPE \"... |
[
{
"msg_contents": "Hello all\n\nThe issue described bellow exists in postgresql ver 16.2 (found in some\nprevious major versions)\n\nThe documentation defines a comment as:\n\n> A comment is a sequence of characters beginning with double dashes and\n> extending to the end of the line\n\n\nWhen using such a comm... |
[
{
"msg_contents": "Hi,\n\nOn Fri, 5 Apr 2024 at 03:28, Melih Mutlu\n<m(dot)melihmutlu(at)gmail(dot)com> wrote:\n>Right. It was a mistake, forgot to remove that. Fixed it in v5.\n\nIf you don't mind, I have some suggestions for patch v5.\n\n1. Shouldn't PqSendBufferSize be of type size_t?\nThere are several com... |
[
{
"msg_contents": "Hi,\n\nI recently started to be bothered by regress_* logs after some kinds of test\nfailures containing the whole log of a test failure. E.g. in\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2024-04-06%2016%3A28%3A38\n\n...\n### Restarting node \"standby\"\n# Running: p... |
[
{
"msg_contents": "While refactoring the Kerberos test module in preparation for adding \nlibpq encryption negotiation tests [1], I noticed that if the test \nscript die()s during setup, the whole test is marked as SKIPped rather \nthan failed. The cleanup END section is missing this trick:\n\n--- a/src/test/ke... |
[
{
"msg_contents": "Hello Hackers,\n\nA question about the behavior of the JSON Path parser. The docs[1] have this to say about numbers:\n\n> Numeric literals in SQL/JSON path expressions follow JavaScript rules, which are different from both SQL and JSON in some minor details. For example, SQL/JSON path allows... |
[
{
"msg_contents": "Hi,\n\nSorry, without any connection with the technical part of the thread.\nBut I couldn't help but record this, and congratulate Andres Freund, for\nthe excellent work.\nIt's not every day that a big press, in Brazil or around the world,\npublishes something related to technology people.\n\... |
[
{
"msg_contents": "Add tests for libpq gssencmode and sslmode options\n\nTest all combinations of gssencmode, sslmode, whether the server\nsupports SSL and/or GSSAPI encryption, and whether they are accepted\nby pg_hba.conf. This is in preparation for refactoring that code in\nlibpq, and for adding a new option... |
[
{
"msg_contents": "Today's Coverity run produced this:\n\n/srv/coverity/git/pgsql-git/postgresql/src/include/lib/simplehash.h: 1138 in bh_nodeidx_stat()\n1132 avg_collisions = 0;\n1133 }\n1134 \n1135 sh_log(\"size: \" UINT64_FORMAT \", members: %u, filled: %f, total chain: %u, ma... |
[
{
"msg_contents": "Hello,\n\nDuring the review of using extended statistics to improve join estimates\n[1], I found some code level optimization opportunities which apply to\nexisting code as well. To make the discussion easier, open this new\nthread.\n\nI don't know how to name the thread name, just use the pa... |
[
{
"msg_contents": "Hello.\n\nI noticed that NLS doesn't work for pg_combinebackup. The cause is\nthat the tool forgets to call set_pglocale_pgservice().\n\nThis issue is fixed by the following chage.\n\ndiff --git a/src/bin/pg_combinebackup/pg_combinebackup.c b/src/bin/pg_combinebackup/pg_combinebackup.c\nindex... |
[
{
"msg_contents": "Fix the intermittent buildfarm failures in 040_standby_failover_slots_sync.\n\nIt is possible that even if the primary waits for the subscriber to catch\nup and then disables the subscription, the XLOG_RUNNING_XACTS record gets\ninserted between the two steps by bgwriter and walsender process... |
[
{
"msg_contents": "Over in [0] I asked whether it would be worthwhile converting all our README\nfiles to Markdown, and since it wasn't met with pitchforks I figured it would\nbe an interesting excercise to see what it would take (my honest gut feeling\nwas that it would be way too intrusive). Markdown does br... |
[
{
"msg_contents": "On Mon, Apr 8, 2024 at 10:42 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:\n> Can you elaborate, which patches you think were not ready? Let's make\n> sure to capture any concrete concerns in the Open Items list.\n\nHi,\n\nI'm moving this topic to a new thread for better visibility and less\... |
[
{
"msg_contents": "Hi Postgres hackers,\n\nI'm reaching out to gather some comments on enhancing the efficiency of \nmigrating particularly large tables with significant data volumes in \nPostgreSQL.\n\nWhen migrating a particularly large table with a significant amount of \ndata, users sometimes tend to split ... |
[
{
"msg_contents": "Similar to f736e188c, I've attached a patch that fixes up a few\nmisusages of the StringInfo functions. These just swap one function\ncall for another function that is more suited to the use case.\n\nI've also attached the patch that I used to find these. That's not\nintended for commit.\n\n... |
[
{
"msg_contents": "Attached is a patch which adjusts the copyright years of 2023 that\nhave crept in this year from patches that were written last year and\ncommitted without adjusting this to 2024.\n\nThe patch isn't produced by src/tools/copyright.pl as that'll\ntransform files which are new and only contain ... |
[
{
"msg_contents": "Hi,\n\nHere is an experimental patch for read_stream.c. The basic idea is\nthat when read_stream_next_buffer() gives you a page P1, it should\nalso tell the CPU to prefetch the header of the next page P2, and so\non. However, I recognise that its lack of timing control may be a\nfundamenta... |
[
{
"msg_contents": "Hi\n\nThis idea is due to Robert Haas, who complained that he feared that\nthe streaming I/O API already worked like this. It doesn't, but it\ncould! Here is a concept patch to try it out.\n\nNormally, read_stream_next_buffer() spits out buffers in the order\nthat the user's callback genera... |
[
{
"msg_contents": "Typo. fix:\n\n- attempted first. If the server ejectes GSS encryption, SSL is\n+ attempted first. If the server rejects GSS encryption, SSL is\n\nErik",
"msg_date": "Tue, 9 Apr 2024 06:40:05 +0200",
"msg_from": "Erik Rijkers <er@xs4all.nl>",
"msg_from_op": true,
... |
[
{
"msg_contents": "hi all,\n We have an interesting problem, where PG went to PANIC due to stuck\nspinlock case.\nOn careful analysis and hours of trying to reproduce this(something that\nshowed up in production after almost 2 weeks of stress run), I did some\nstatistical analysis on the RNG generator that PG u... |
[
{
"msg_contents": "Hi, Hackers\nI have observed that there has been a paucity of discussion concerning the parallel replay of WAL logs. \nThe most recent discourse on this subject was during the PGCon event in 2023, where it was noted that PostgreSQL utilizes a single process for WAL replay. \nHowever, when con... |
[
{
"msg_contents": "hi.\n`\n | NESTED [ PATH ] json_path_specification [ AS json_path_name ]\nCOLUMNS ( json_table_column [, ...] )\nNESTED [ PATH ] json_path_specification [ AS json_path_name ] COLUMNS\n( json_table_column [, ...] )\n`\n \"json_path_specification\" should be \"path_expression\"?\n--------------... |
[
{
"msg_contents": "Hello,\n\nWhile doing some work/research on the new incremental backup feature\nsome limitations were not listed in the docs. Mainly the fact that\npg_combienbackup works with plain format and not tar.\n\nAround the same time, Tomas Vondra tested incremental backups with a\ncluster where he e... |
[
{
"msg_contents": "In b262ad440e we introduced an optimization that drops IS NOT NULL quals\non a NOT NULL column, and reduces IS NULL quals on a NOT NULL column to\nconstant-FALSE. I happened to notice that this is not working correctly\nfor traditional inheritance parents. Traditional inheritance parents\nm... |
[
{
"msg_contents": "At least not for me. According to various things I found on the\nInternet, it's now required that you codesign your binaries and give\nthem an entitlement in order to generate core dumps:\n\nhttps://nasa.github.io/trick/howto_guides/How-to-dump-core-file-on-MacOS.html\n\nBut according to prev... |
[
{
"msg_contents": "If using \"SH_SCOPE static\" with simplehash.h, it causes a bunch of\nwarnings about functions that are defined but not used. It's simple\nenough to fix by appending pg_attribute_unused() to the declarations\n(attached).\n\nThere are currently no callers that use \"SH_SCOPE static\", but I'm\... |
[
{
"msg_contents": "Hi all,\n\nI have been doing some checks with page masking and WAL consistency\nnow that we are in feature freeze, and there are no failures on HEAD:\ncd src/test/recovery/ && \\\n PG_TEST_EXTRA=wal_consistency_checking \\\n PROVE_TESTS=t/027_stream_regress.pl make check\n\nIt's been on... |
[
{
"msg_contents": "Hi\n\nPostgreSQL 18 will ship after these vacuum horizon systems reach EOL[1]:\n\nanimal | arch | llvm_version | os | os_release | end_of_support\n---------------+---------+--------------+--------+------------+----------------\nbranta | s390x | 10.0.0 | Ubuntu | 20.04 | 2025-04-01\nsplitfin |... |
[
{
"msg_contents": "Dears,\n\n\nthis is a developer of postgresql and currently engaged in research of parallel dml. I read lot of mail list about postgres parallel insert select or other related developing jobs, \nbut i could not understand why should we determine parallel-safety of partition relations in para... |
[
{
"msg_contents": "I noticed some error messages in the split partition code that are not\nup to par. Such as:\n\n\"new partitions not have value %s but split partition has\"\n\nhow about we revise it to:\n\n\"new partitions do not have value %s but split partition does\"\n\nAnother one is:\n\n\"any partition ... |
[
{
"msg_contents": "Hi,\n\nWe updated $SUBJECT in back branches to make it clear (see commit\nf6f61a4bd), so I would like to propose to do so in HEAD as well for\nconsistency. Attached is a patch for that.\n\nBest regards,\nEtsuro Fujita",
"msg_date": "Wed, 10 Apr 2024 20:51:34 +0900",
"msg_from": "Etsu... |
[
{
"msg_contents": "Running \"\\d tablename\" from psql could take multiple seconds when\nrunning on a system with 100k+ tables. The reason for this was that\na sequence scan on pg_class takes place, due to regex matching being\nused.\n\nRegex matching is obviously unnecessary when we're looking for an exact\nma... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nThe function ReorderBufferTXNByXid,\ncan return NULL when the parameter *create* is false.\n\nIn the functions ReorderBufferSetBaseSnapshot\nand ReorderBufferXidHasBaseSnapshot,\nthe second call to ReorderBufferTXNByXid,\npass false to *create* argument.\n\nIn the func... |
[
{
"msg_contents": "I frequently hear about scenarios where users with thousands upon thousands\nof tables realize that autovacuum is struggling to keep up. When they\ninevitably go to bump up autovacuum_max_workers, they discover that it\nrequires a server restart (i.e., downtime) to take effect, causing furth... |
[
{
"msg_contents": "Hackers,\n\nI've been playing around with the incremental backup feature trying to \nget a sense of how it can be practically used. One of the first things I \nalways try is to delete random files and see what happens.\n\nYou can delete pretty much anything you want from the most recent \ninc... |
[
{
"msg_contents": "Hi All,\nPer below code and comment in apply_scanjoin_target_to_paths(), the\nfunction zaps all the paths of a partitioned relation.\n/*\n* If the rel is partitioned, we want to drop its existing paths and\n* generate new ones. This function would still be correct if we kept the\n* existing ... |
[
{
"msg_contents": "Hi,\n\n/*\n * we expect the find the last lines of the manifest, including the checksum,\n * in the last MIN_CHUNK bytes of the manifest. We trigger an incremental\n * parse step if we are about to overflow MAX_CHUNK bytes.\n */\n\nShouldn't this be:\n/*\n * we expect to find the last lines o... |
[
{
"msg_contents": "Now that the tree has settled down a bit post-freeze I ran some tooling to\ncheck spelling. I was primarily interested in docs and README* which were\nmostly free from simply typos, while the code had some in various comments and\none in code. The attached fixes all that I came across (not ... |
[
{
"msg_contents": "Hi hackers!\n\nWhile working on [0] i have noticed this comment in\nTerminateOtherDBBackends function:\n\n/*\n* Check whether we have the necessary rights to terminate other\n* sessions. We don't terminate any session until we ensure that we\n* have rights on all the sessions to be terminated... |
[
{
"msg_contents": "I have been checking the pg_config.h generated by configure and meson to \nsee if there is anything materially different. I found that\n\nHAVE_DECL_LLVMCREATEGDBREGISTRATIONLISTENER and\nHAVE_DECL_LLVMCREATEPERFJITEVENTLISTENER\n\nare missing on the meson side.\n\nSomething like the below wo... |
[
{
"msg_contents": "Hi,\n\nd8f5acbdb9b made me wonder if we should add a compiler option to warn when\nstack frames are large. gcc compatible compilers have -Wstack-usage=limit, so\nthat's not hard.\n\nHuge stack frames are somewhat dangerous, as they can defeat our stack-depth\nchecking logic. There are also s... |
[
{
"msg_contents": "Hi Community\n\nI am trying to upgrade PostgreSQL (RHEL 7) from version 13.7 to 15.6 using\npglogical.\nMy Standby(destination) machine has following rpms,\n\n\n*postgresql13-pglogical-3.7.16-1.el7.x86_64pglogical_15-2.4.3-1.rhel7.x86_64*\n\nAnd Primary(Source) has ,\n\n\n*postgresql13-pglogi... |
[
{
"msg_contents": "(moved to a new thread)\n\nOn Thu, Mar 21, 2024 at 04:31:45PM -0400, Tom Lane wrote:\n> I wrote:\n>> ... I still see the problematic GRANT taking ~250ms, compared\n>> to 5ms in v15. roles_is_member_of is clearly on the hook for that.\n> \n> Ah: looks like that is mainly the fault of the list... |
[
{
"msg_contents": "Hello, hackers!\n\nWhen running cpluspluscheck/headerscheck on REL_16_STABLE [1] I found \nthat everything was ok only if it was preceded by a build and make \nmaintainer-clean was not used:\n\n$ ./configure --without-icu --with-perl --with-python > configure.txt &&\nmake -j16 > make.txt &&\n... |
[
{
"msg_contents": "I'm creating this new thread separate from the existing Statistics\nExport/Import thread to keep the original thread focused on that patch.\n\nAssuming that the function signature for pg_set_attribute_stats() remains\nthe same (regclass, attname, inherited, version, ...stats...), how would we... |
[
{
"msg_contents": "Hi,\n\nWe have CI support for mingw, but don't run the task by default, as it eats up\nprecious CI credits. However, for cfbot we are using custom compute resources\n(currently donated by google), so we can afford to run the mingw tests. Right\nnow that'd require cfbot to patch .cirrus.tasks... |
[
{
"msg_contents": "Hi.\n\nPreamble: this happens in MacOS only (in built-in Terminal and in iTerm2 at\nleast). In Linux, everything is as expected.\n\nI almost lost my mind today trying to figure out why sending a SIGINT\nprecisely to a psql interactive process delivers this SIGINT not only to\nthat psql, but a... |
[
{
"msg_contents": "Hi,\n\nIt looks like there's missing ConditionVariableCancelSleep() in\nInvalidatePossiblyObsoleteSlot() after waiting for the replication\nslot to be released by another process. Although prepare to sleep\ncancels the sleep if the previous one wasn't canceled, the calling\nprocess still rema... |
[
{
"msg_contents": "Hi,\n\nIt looks like there's an unnecessary segment number calculation after\nInvalidateObsoleteReplicationSlots in CreateCheckPoint and\nCreateRestartPoint. Since none of RedoRecPtr, _logSegNo and\nwal_segment_size are changed by the slot invalidation code [1], the\nrecalculation of\n_logSeg... |
[
{
"msg_contents": "Hi,\n\nI would like to propose a small patch to address an annoying issue with\nthe way how PostgreSQL does fallback in case if \"huge_pages = try\" is\nset. Here is how the problem looks like:\n\n* PostgreSQL is starting on a machine with some huge pages available\n\n* It tries to identify t... |
[
{
"msg_contents": "Dear pgsql hackers,\n\nI found a mixture of fileno(stderr) and STDERR_FILENO in PostgreSQL source\ncode which in most cases mean the same. But I have found recently that\nMicrosoft's fileno() _fileno() can return -2 sometimes. After some\nexperiments I found that applications running as windo... |
[
{
"msg_contents": "When looking at [1], I noticed that we don't have a prosupport\nfunction for the timestamp version of generate_series.\n\nWe have this for the integer versions of generate_series(), per:\n\npostgres=# explain analyze select * from generate_series(1, 256, 2);\n ... |
[
{
"msg_contents": "While working on the \"Combine Prune and Freeze records emitted by \nvacuum\" patch [1], I wished we would have an easier way to test pruning. \nThere's a lot of logic with following HOT chains etc., and it's very \nhard to construct all those scenarios just by INSERT/UPDATE/DELETE \ncommands... |
[
{
"msg_contents": "Hi,\n\nTo see how well we're doing testing newly introduced code, I computed the\ndifferential code coverage between REL_16_STABLE and HEAD.\n\nWhile arguably comparing HEAD to the the merge-base between REL_16_STABLE and\nHEAD would be more accurate, I chose REL_16_STABLE because we've backp... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nCoverity has reported some out-of-bounds bugs\nrelated to the GetCommandTagName function.\n\nCID 1542964: (#1 of 1): Out-of-bounds access (OVERRUN)\n7. overrun-call: Overrunning callee's array of size 193 by passing argument\ncommandtag (which evaluates to 193) in call... |
[
{
"msg_contents": "I was recently asked internally about the stability guarantees we\noffer for queryid. My answer consisted of:\n\n1. We cannot change Node enums in minor versions\n2. We're *unlikely* to add fields to Node types in minor versions, and\nif we did we'd likely be leaving them out of the jumble c... |
[
{
"msg_contents": "Hi all,\n\nWhile bumping on a problem with an extension that relied on pg_config\n--libs, I've been recalled about the fact that pg_config produces no\noutput for --libs/--ldflags_ex when building with meson,\nsrc/include/meson.build including the following on HEAD since meson\nhas been intro... |
[
{
"msg_contents": "hi.\none minor issue.\n\nwithin ATPostAlterTypeCleanup, we call ATPostAlterTypeParse:\nATPostAlterTypeParse(oldId, relid, InvalidOid,\n(char *) lfirst(def_item),\nwqueue, lockmode, tab->rewrite);\n\n\nfunction ATPostAlterTypeParse is:\nstatic void\nATPostAlterTypeParse(Oid oldId, Oid oldRelId... |
[
{
"msg_contents": "Hi,\n\nI was grepping for iovec users and noticed that the shm_mq stuff\ndefines its own iovec struct. Is there any reason not to use the\nstandard one, now that we can? Will add to next commitfest.",
"msg_date": "Mon, 15 Apr 2024 13:20:35 +1200",
"msg_from": "Thomas Munro <thomas.m... |
[
{
"msg_contents": "Hello, hackers.\n\nWhen the checkpointer process is busy, even if we reset synchronous_standby_names, the resumption of the backend processes waiting in SyncRep are made to wait until the checkpoint is completed.\nThis prevents the prompt resumption of application processing when a problem oc... |
[
{
"msg_contents": "Hackers,\n\nSince incremental backup is using INCREMENTAL as a keyword (rather than \nstoring incremental info in the manifest) it is vulnerable to any file \nin PGDATA with the pattern INCREMENTAL.*.\n\nFor example:\n\n$ pg_basebackup -c fast -D test/backup/full -F plain\n$ touch test/data/I... |
[
{
"msg_contents": "hi.\n\npg_log_backend_memory_contexts\nwe have\n`\nif (proc == NULL)\n{\n/*\n* This is just a warning so a loop-through-resultset will not abort\n* if one backend terminated on its own during the run.\n*/\nereport(WARNING,\n(errmsg(\"PID %d is not a PostgreSQL server process\", pid)));\nPG_RE... |
[
{
"msg_contents": "\nHi,\n\nI'm unable to build the latest snapshot on my Fedora 39 box. I think\nthis problem appeared before the weekend (not sure, though). This is\nlibxml 2.10.4:\n\n===============================================================\n'/usr/bin/perl' ../../../src/backend/utils/activity/generate-... |
[
{
"msg_contents": "Forking: <20230829172828.5qi2pfbladvfgvsg@alvherre.pgsql>\nSubject: Re: Strange presentaion related to inheritance in \\d+\n\nOn Tue, Aug 29, 2023 at 07:28:28PM +0200, Alvaro Herrera wrote:\n> On 2023-Aug-29, Kyotaro Horiguchi wrote:\n> \n> > Attached is the initial version of the patch. It p... |
[
{
"msg_contents": "Hi,\n\nGlobalVisTestNonRemovableHorizon()/GlobalVisTestNonRemovableFullHorizon() only\nexisted for snapshot_too_old - but that was removed in f691f5b80a8. I'm\ninclined to think we should remove those functions for 17. No new code should\nuse them.\n\nGreetings,\n\nAndres Freund\n\n\n",
... |
[
{
"msg_contents": "Hi,\n\nThis patch introduces the Karatsuba algorithm to speed up multiplication\noperations in numeric.c, where the operands have many digits.\n\nIt is implemented via a new conditional in mul_var() that determines whether\nthe sizes of the factors are sufficiently large to justify its use. T... |
[
{
"msg_contents": "I started looking into the ideas discussed at [1] about reimplementing\necpg's string handling. Before I could make any progress I needed\nto understand the existing input code, part of which is the macro\nexpansion mechanism ... and the more I looked at that the more bugs\nI found, not to m... |
[
{
"msg_contents": "I just noticed that my animal indri has been failing in the\nback branches since I updated its MacPorts packages a few\ndays ago:\n\nccache gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-form... |
[
{
"msg_contents": "I'm not sure I understand all of the history behind pg_wchar, but it\nseems to be some blend of:\n\n (a) Postgres's own internal representation of a decoded character\n (b) libc's wchar_t\n (c) Unicode code point\n\nFor example, Postgres has its own encoding/decoding routines, so (a) is\nt... |
[
{
"msg_contents": "installation.sgml says our minimum meson version is 0.54, but it's\nsilent on what the minimum ninja version is. What RHEL8 supplies\ndoesn't work for me:\n\n$ meson setup build\n...\nFound ninja-1.8.2 at /usr/bin/ninja\nninja: error: build.ninja:7140: multiple outputs aren't (yet?) supporte... |
[
{
"msg_contents": "In [1] Andres mentioned that there's no way to determine the memory\ncontext type in pg_backend_memory_contexts. This is a bit annoying as\nI'd like to add a test to exercise BumpStats().\n\nHaving the context type in the test's expected output helps ensure we\nare exercising BumpStats() and ... |
[
{
"msg_contents": "\nHi,\n\nUpon reviewing the login event trigger, I noticed a potential typo about\nthe SetDatabaseHasLoginEventTriggers function name.\n\ndiff --git a/src/backend/commands/event_trigger.c b/src/backend/commands/event_trigger.c\nindex 0d3214df9c..7a5ed6b985 100644\n--- a/src/backend/commands/e... |
[
{
"msg_contents": "Hi,\n\nKuroda-San reported an issue off-list that:\n\nIf user execute ALTER SUBSCRIPTION SET (failover) command inside a txn block\nand rollback, only the subscription option change can be rolled back, while the\nreplication slot's failover change is preserved.\n\nThis is because ALTER SUBSCR... |
[
{
"msg_contents": "Oversight of 0294df2f1f84 [1].\n\n[1]: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=0294df2f1f84\n\n-- \nBest regards,\nAleksander Alekseev",
"msg_date": "Tue, 16 Apr 2024 12:48:23 +0300",
"msg_from": "Aleksander Alekseev <aleksander@timescale.com>",
"msg_from_op... |
[
{
"msg_contents": "Hi,\n\nI am working on using read streams in the CREATE DATABASE command when the\nstrategy is wal_log. RelationCopyStorageUsingBuffer() function is used in\nthis context. This function reads source buffers then copies them to the\ndestination buffers. I used read streams only when reading so... |
[
{
"msg_contents": "Hi,\n\nAt 2024.pgconf.dev, Andres and I will be hosting a patch review\nworkshop.[1] Part of the workshop will be a presentation, and part of\nit will be a practicum. That is, we're going to actually ask attendees\nto review some patches during the workshop. We'll also comment on\nthose revie... |
[
{
"msg_contents": "Hi,\n\nI noticed that margay (Solaris) has started running more of the tests\nlately, but is failing in pg_basebaseup/010_pg_basebackup. It runs\nsuccessfully on wrasse (in older branches, Solaris 11.3 is desupported\nin 17/master), and also on pollock (illumos, forked from common\nancestor ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.