threads
listlengths
1
2.99k
[ { "msg_contents": "As a follow-on to Conflation of member/privs for predefined roles,\nthis removes is_member_of_role from the header to dissuade it's use\nfor privilege checking. Since SET ROLE must use membership rather than\nprivileges a new, explicitly named can_set_role() function is\nexported.\n\nis_membe...
[ { "msg_contents": "Postgres weekly came today with this interesting article:\nhttps://hakibenita.com/sql-medium-text-performance\n\nThe problem it explains is when you have no one records being stored on\ntoast, even if they are toastable. That is because the size of that column\nfits on toast_tuple_target size...
[ { "msg_contents": "PSA a smalll patch to fix some typos (acccidental 3x repeated\nlettters) in code commments.\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia", "msg_date": "Thu, 28 Oct 2021 07:34:17 +1100", "msg_from": "Peter Smith <smithpb2250@gmail.com>", "msg_from_op": true, "msg_s...
[ { "msg_contents": "Attached is an updated version of the patch to replace\nis_member_of_role with has_privs_for_role for predefined roles. It\ndoes not remove is_member_of_role from acl.h but it does add a warning\nnot to use that function for privilege checking.\n\nPlease consider this for the upcoming commitf...
[ { "msg_contents": "Add TAP test for archive_cleanup_command and recovery_end_command\n\nThis adds tests checking for the execution of both commands. The\nrecovery test 002_archiving.pl is nicely adapted to that, as promotion\nis triggered already twice there, and even if any of those commands fail\nthey don't ...
[ { "msg_contents": "Hi hackers,\r\n\r\nI've seen a few cases now for v13 where the startup process on a\r\nstandby appears to be stuck on StandbyReleaseLockList(). It looks\r\nlike most of the time is spent on list_delete_first(). I believe this\r\nis related to the recent list rewrite (1cff1b9), which has the...
[ { "msg_contents": "Hi,\n\nIn xlog_redo, for end-of-recovery case error message describes the\nrecord as a checkpoint record which seems to be incorrect; the\nattached patch corrects that.\n\n--\nRegards,\nAmul Sul\nEDB: http://www.enterprisedb.com", "msg_date": "Thu, 28 Oct 2021 18:28:41 +0530", "msg_fr...
[ { "msg_contents": "Hi,\n\nAccording to a reported PL/Java issue [0], SubTransactionId in\nPostgres PRO EE 13 has become a typedef uint64 rather than uint32.\n\nWhat are the plans for this type upstream? I notice it is still uint32\nhere, even for 14. Are there plans for it to become uint64 at some point?\nOr to...
[ { "msg_contents": "I previously reported[1] that CreateReplicationSlot() was accessing\nthe global variable ThisTimeLineID when it might not be initialized.\nToday I realized that the code in basebackup.c has the same problem.\nperform_base_backup() blithely uses the variable six times without\ndoing anything a...
[ { "msg_contents": "Hi,\nI was looking at:\n\ncommit 475dbd0b718de8ac44da144f934651b959e3b705\nAuthor: David Rowley <drowley@postgresql.org>\nDate: Tue Aug 3 11:47:24 2021 +1200\n\n Track a Bitmapset of non-pruned partitions in RelOptInfo\n\nI noticed that the dummy relation is skipped in the loop\nover rel...
[ { "msg_contents": "The docs have said this for 8 years:\n| \"As of PostgreSQL 9.3, complete coverage exists only for errors in SQLSTATE class 23 (integrity constraint violation), but this is likely to be expanded in future.\"\n\nIs there any appetite for a patch like this one to improve that ?\n\nOne might argu...
[ { "msg_contents": "Hi all,\n\nSince 911e702 (13~), it is possible to define opclass parameters for\nindex attributes as of CREATE INDEX, but we lack an equivalent grammar\nfor ALTER INDEX. I was looking at that, and it seems natural to me to\ndo the same thing as what we do for SET STATISTICS, where we use a\n...
[ { "msg_contents": "Hi,\n\nThe scanning tool used by our organization has detected the presence of vulnerable libxml version in the latest Postgres 13.4 release for windows (Zip version).\n\nDetected by Automated Scanning tool:\nlibxml 2.9.10\n\nCan you confirm if this is the same version of libxml used in Pos...
[ { "msg_contents": "Hi,\n\nWhen recently debugging a vacuum-related issue, I noticed that there\nis some log-report processing/formatting code at the end of\nlazy_scan_heap() that, unless the vacuum VERBOSE option is specified,\ntypically results in no log output (as the log-level is then DEBUG2).\nI think it is...
[ { "msg_contents": "Hi,\n\nIn plpgsql, i'm trying to use a variable initialised in a DECLARE in\na later initialisation expression whithin the same DECLARE:\n\n DECLARE\n x int := 23;\n y int := x + 4\n BEGIN\n ...\n\nExperiments suggest that it works, but the docs are silent about that.\nIs this a goo...
[ { "msg_contents": "While preparing commit a2a731d6c, I chanced to notice what seemed\nlike an off-by-one error in the line number reported for an error\noccurring while we initialize a plpgsql variable. For instance\n\nregression=# do $$ declare x int := 1/0;\nregression$# begin end $$;\nERROR: division by ze...
[ { "msg_contents": "Hi,\n\nAt times, there can be many snapshot and mapping files under\npg_logical dir that the checkpoint might have to delete/fsync based on\nthe cutoff LSN which can increase the checkpoint time. The\nuser/admin/developer might want to get an answer for \"what's the total\ntime spent in delet...
[ { "msg_contents": "The attached patch responds to the discussion at [1]. That thread\npointed out that if you issue \"\\password\" with no argument, psql tries\nto set the password for the role identified by PQuser(conn), that is,\nthe originally requested login name. That's problematic because\nif you've don...
[ { "msg_contents": "Hi,\nI've been trying to run the SSL tests against my branch and that was\ntougher than expected because I didn't realize that additional output was\nbeing saved that I couldn't see - it wasn't even getting to the part where\nit could run the tests. This patch adds a note to the README explai...
[ { "msg_contents": "Dear Hackers,\n\nI want to propose the feature that checks the health of foreign servers. \nAs a first step I want to add an infrastructure for periodical checking to PostgreSQL core.\nCurrently this is the WIP, it does not contain docs.\n\n## Background \n\nCurrently there is no way to check...
[ { "msg_contents": "Hi all,\n\nWhile reviewing the code for opclass parameters with indexes, I have\nnoticed that opclass parameters are lost after a concurrent reindex.\nAs we use a IndexInfo to hold the information of the new index when\ncreating a copy of the old one, it is just a matter of making sure\nthat ...
[ { "msg_contents": "Hi,\n\nDue to bug #17245: [1] I spent a considerably amount of time looking at vacuum\nrelated code. And I found a few things that I think could stand improvement:\n\n- There's pretty much no tests. This is way way too complicated feature for\n that. If there had been tests for the obvious e...
[ { "msg_contents": "Hi,\n\nAs I said before [1], I’m working on $SUBJECT. Attached is a WIP\npatch for that. The patch is pretty simple: if a server option added\nby the patch “parallel_commit” is enabled, 1) asynchronously send\nCOMMIT TRANSACTION (RELEASE SAVEPOINT) to all remote servers involved\nin a local...
[ { "msg_contents": "I want to reactivate $subject. I took Petr Jelinek's patch from [0], \nrebased it, added a bit of testing. It basically works, but as \nmentioned in [0], there are various issues to work out.\n\nThe idea is that the standby runs a background worker to periodically \nfetch replication slot i...
[ { "msg_contents": "Hi,\n\nIt is sometimes super important to be able to answer customer\nquestions like: What was the total time taken by the last recovery of\nthe server? What was the time taken by each phase of recovery/redo\nprocessing of the startup process? Why did the recovery take so long?\nWe've encount...
[ { "msg_contents": "Hi,\n\nIt seems the checkpoint stats, that are emitted to server logs when\nthe GUC log_checkpoints is enabled, are so important that a postgres\ndatabase provider would ever want to disable the GUC. Right now, the\nGUC is disabled by default and a postgres database provider needs to\nenable ...
[ { "msg_contents": "Attached is a WIP patch to add new WAL records to represent a logical\ninsert, update, or delete. These records do not do anything at REDO\ntime, they are only processed during logical decoding/replication.\n\nThese are intended to be used by a custom table AM, like my columnar\ncompression e...
[ { "msg_contents": "Hi,\n\nThe last release of python2 was 2.7.18 released 2020-04-20, with support\nalready having ended before that 2020-01-01.\n\nTo me it seems time to drop plpython2 support. Supporting plpython2\nuntil ~7 years after python2 is EOL is already quite long... It'd be one\nthing if it were comp...
[ { "msg_contents": "Hi,\nI was going over:\n\ncommit 71f4c8c6f74ba021e55d35b1128d22fb8c6e1629\nAuthor: Alvaro Herrera <alvherre@alvh.no-ip.org>\nDate: Thu Mar 25 18:00:28 2021 -0300\n\n ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY\n\nIt seems there were some missing words in one of the comments.\n\nSee...
[ { "msg_contents": "hamerkop has been failing recently [1] with\n\n c:\\\\build-farm-local\\\\buildroot\\\\head\\\\pgsql.build\\\\src\\\\backend\\\\libpq\\\\be-secure-openssl.c(67): error C2143: \\215\\\\\\225\\266\\203G\\203\\211\\201[: ')' \\202\\252 '(' \\202\\314\\221O\\202\\311\\202\\240\\202\\350\\202\\33...
[ { "msg_contents": "Hi,\n\nCurrently postgres builds extension shared libraries (i.e. pretty much\neverything but libpq) with global visibilty. I.e. symbols that are not\nstatic will be visible from outside the shared library.\n\nOn the one platform where that behaviour is not available, namely\nwindows, we emul...
[ { "msg_contents": "Hi,\n\nI'm developing an extension, after modifying some source file(add some message \nlike gettext('xxxxx')) and execute\n> $ make USE_PGXS=1 update-po\n> make: Nothing to be done for 'update-po'.\n\nI feel strange because I think *.po.new files should be created.\n\nAfter some research, I ...
[ { "msg_contents": "Reading 1051867.1635720347@sss.pgh.pa.us I noticed that hamerkop raise a C4819\nwarning on brin_bloom.c, which is defined as:\n\n \"The file contains a character that cannot be represented in the current\n code page (number). Save the file in Unicode format to prevent data loss.\"\n\nTh...
[ { "msg_contents": "It is now November 1st AOE and thus the 2021-11 commitfest is now in progress.\nI've switched the status and opened 2022-01 for new patches, but noone has so\nfar raised their hand to run it AFAICT? Do we have a volunteer Commitfest\nManager keen to help the community make progress on closin...
[ { "msg_contents": "As I mentioned recently at\n<https://postgr.es/m/5d72f199-dc11-89a8-29d1-f20f9687c86f@dunslane.net>, \nI want to get USE_MODULE_DB working for vcregress.pl. I started out\nwriting code to strip this from the command line or get it from the\nenvironment, but then it struck me that if would be ...
[ { "msg_contents": "This thread is a continuation of the thread with the subject\r\n\"parallelizing the archiver\" [0]. That thread had morphed into an\r\neffort to allow creating archive modules, so I've created a new one to\r\nensure that this topic has the proper visibility.\r\n\r\nI've attached the latest p...
[ { "msg_contents": "Hi,\n\nThe global variable ThisTimeLineID is rather confusing. During\nrecovery, in the startup process, when we're reading a WAL record, it\nis the timeline of the WAL record we are trying to read or have just\nread, except when we're trying to read the initial checkpoint record,\nwhen it's ...
[ { "msg_contents": "Meson depends on ninja, so it behooves us to look into portability\nof ninja if we're considering migrating to meson as the build system.\nI tried it out quickly on some ancient platforms, and here's what\nI found.\n\n1. The documentation is kinda sucky, eg it fails to explain how\nto run nin...
[ { "msg_contents": "Hi,\n\nTrying to insert NULL value to the Identity column defined by \"GENERATED BY\nDEFAULT\" is disallowed, but there can be use cases where the user would\nlike to have an identity column where manual NULL insertion is required(and\nit should not error-out by Postgres).\n\nHow about having...
[ { "msg_contents": "Hi!\n\nI'm here to answer your questions about contrib/pg_query_state.\n>> I only took a quick look at pg_query_state, I have some questions.\n\n>> pg_query_state seems using shm_mq to expose the plan information, but\n>> there was a discussion that this kind of architecture would be tricky\n...
[ { "msg_contents": "Hi,\n\n\nSince we have the regexp_like operator I have found that there is two \nreferences in the documentation about PostgreSQL lacking of LIKE_REGEX \nimplementation. Here is a patch to fix the documentation. I simply \nremove the reference to non exist of LIKE_REGEX in PostgreSQL in chapt...
[ { "msg_contents": "Attached is a patch to create a helper function which creates a\ntuplestore to be used by FUNCAPI-callable functions.\n\nIt was suggested in [1] that I start a separate thread for this patch.\n\nA few notes:\n\nThere are a few places with very similar code to the new helper\n(MakeTuplestore()...
[ { "msg_contents": "Hi,\n\nAndres mentioned in passing that he'd defined\nPG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY only on Itanium, PPC and x86 but\nnot ARM.\n\nI took a look at https://developer.arm.com/documentation/ddi0487/gb/\nunder \"B2.2.1 Requirements for single-copy atomicity\" and it seemed\nlike we should t...
[ { "msg_contents": "Hi list,\n\njust compiled PostgreSQL head on RedHat 9 beta. Generally seems to be fine but when building contrib, a lot of these warnings pop up:\n\n/usr/lib64/perl5/CORE/inline.h:2635:5: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts...
[ { "msg_contents": "The code in gistvacuum.c is closely based on similar code in nbtree.c,\nexcept that it only acquires an exclusive lock -- not a\nsuper-exclusive lock. I suspect that that's because it seemed\nunnecessary; nbtree plain index scans have their own special reasons\nfor this, that don't apply to G...
[ { "msg_contents": "Hi,\n\nsqlsmith triggers the following assertion when testing REL_14_STABLE:\n\n TRAP: FailedAssertion(\"a1 <= a2\", File: \"brin_minmax_multi.c\", Line: 1879, PID: 631814)\n\nI can reproduce it with the following query on a fresh regression\ndatabase:\n\n insert into public.brintest_mu...
[ { "msg_contents": "Hey,\n\nI've noticed that the current documentation doesn't mention IF EXISTS clause for ALTER STATISTICS in the synopsis section, where PG supports it.\nhttps://www.postgresql.org/docs/14/sql-alterstatistics.html\n(Only for the last item, that is ALTER STATISTICS .. SET STATISTICS; for the o...
[ { "msg_contents": "Hi,\n\nI see that \"procsignal\" and \"ProcSignal\" are being used in the code\ncomments which look inconsistent. IMO, \"ProcSignal\" is the right word\nto use and let's be consistent across the code comments. Attaching a\ntiny patch for that.\n\nThoughts?\n\nRegards,\nBharath Rupireddy.", ...
[ { "msg_contents": "We have amassed quite a lot of patches in the CF app, and while Jaime did a\nvery good job closing patches in the last CF there is still a lot to go\nthrough. I've attempted a brief per-patch triage here to see where we are with\nthese. Reading every email in the threads for these patches i...
[ { "msg_contents": "First draft is up at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=39387228c8b7043d168bada0c64e9f59e83285f5\n\nAs usual, please send any comments/corrections by Sunday.\n\n\t\t\tregards, tom lane\n\n\n", "msg_date": "Fri, 05 Nov 2021 20:27:49 -0400", "msg_from"...
[ { "msg_contents": "I recently pushed a commit which formalized what we expect of HOT\nchains during pruning -- see assertions and comments added by commit\n5cd7eb1f, \"Add various assertions to heap pruning code\". I notice that\nverify_heapam() doesn't really do anything with HOT chains, and I'd\nsay that that...
[ { "msg_contents": "On Sun, Oct 24, 2021 at 04:35:02PM -0700, Noah Misch wrote:\n> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=kittiwake&dt=2021-10-24%2012%3A01%3A10\n> got an interesting v9.6 failure [...]:\n> \n> 2021-10-24 14:25:29.263 CEST [34569:175] pgbench ERROR: could not read two-phase stat...
[ { "msg_contents": "Ok, subject was a bit philosophical but this message I just found is\nquite confusing.\n\n\"\"\"\nregression=# select cast(null as anyrange) &> cast(null as anymultirange);\nERROR: argument declared anymultirange is not a multirange type but type anymultirange\n\"\"\"\n\n-- \nJaime Casanova\...
[ { "msg_contents": "Hi,\n\nI have a question that is a specification of permission check\n(visibilityrule) for psql meta-command with schema option.\n\nAccording to the source code [1], there is no check if a schema\noption is added. As a result, a role that is not granted can see\nother roles' object names.\nWe...
[ { "msg_contents": "Hi,\n\nConfiguration parameters for pg_stat_statements were not in the index,\nso I added them just like auto_explain configuration parameters.\n\nBest wishes,\n\n-- \nKen Kato\nAdvanced Computing Technology Center\nResearch and Development Headquarters\nNTT DATA CORPORATION", "msg_date":...
[ { "msg_contents": "Hi All,\n\nWhile I was searching for methods to send the result of a query to the other side of the world, because it might be nice to go there once in a while, I noticed\nmy best option, SSL compression, has been disabled as of version 14. Could someone please explain to me, why compression ...
[ { "msg_contents": "Hello,\n\nExpanded data types (types that have a different in-memory working\nrepresentation than on disk) are pretty essential to a couple of projects\nthat I work on, and while the prose documentation is great at explaining\nthe rationale and technical overview, there isn't a complete,\nsel...
[ { "msg_contents": "Motivation:\n\nI'm working on a columnar compression AM[0]. Currently, it uses generic\nxlog, which works for crash recovery and physical replication, but not\nlogical decoding/replication.\n\nExtensible rmgr would enable the table AM to support its own\nredo/decode hooks and WAL format, so t...
[ { "msg_contents": "Hi all,\n\nI have noticed $subject while looking at a patch in this area:\nhttps://www.postgresql.org/message-id/YYiqxtEqhgb5gIWL@paquier.xyz\n\nWhile we don't expect the four callers of XLogReadRecord() related to\nlogical decoding to fail in the code paths changed by the patch\nattached, I ...
[ { "msg_contents": "Below is the second pass over the patches in the current commitfest, this time\nthe patches which have been around for 5 or 6 commitfests. The usual\ndisclaimers that I very well might have missed something still apply.\n\n\n2773: libpq compression\n=======================\nThis patch intend...
[ { "msg_contents": "Hi,\n\nWhile trying to add some new tests, I found that\nPostgreSQL::Test::Utils is not required. I felt\nPostgreSQL::Test::Utils can be removed from a lot of tap tests which\ndo not require it. I removed it, ran the tests and found the tests to\nbe executing fine. I have made a patch includi...
[ { "msg_contents": "Hi,\r\n\r\nAttached please find a draft of the release announcement for 2021-11-11. \r\nPlease provide any feedback no later than Thu, Nov 11, 2021 0:00 AoE[1].\r\n\r\nThanks!\r\n\r\nJonathan\r\n\r\n[1] https://en.wikipedia.org/wiki/Anywhere_on_Earth", "msg_date": "Tue, 9 Nov 2021 11:25:3...
[ { "msg_contents": "Coverity complained about this code in bbstreamer_file.c,\nsaying that the get_gz_error() call could be accessing freed\nmemory:\n\n if (gzclose(mystreamer->gzfile) != 0)\n {\n pg_log_error(\"could not close compressed file \\\"%s\\\": %s\",\n mystreamer->path...
[ { "msg_contents": "Hi,\n\nI notice, belatedly, that 141fd1b tweaked the order of some members of\nstruct catctup, moving c_list and my_cache from earlier locations to the\nend of the struct. [0]\n\nThat resulted in this sequence at the end of the struct:\n\n...\n HeapTupleData tuple; /* tuple manageme...
[ { "msg_contents": "ISTM that the recently-introduced new frontend logging support\n(common/logging.h et al) could use a second pass now that we have\nsome experience with it. There are two points that are bugging me:\n\n1. The distinction between \"error\" and \"fatal\" levels seems squishy\nto the point of u...
[ { "msg_contents": "Hi all,\n\nThis is a follow-up of the discussion that happened here:\nhttps://www.postgresql.org/message-id/YYoJYO475dsqYhta@paquier.xyz\n\nRecently, we are getting warnings in the build of plperl when using at\nleast clang-12 because of their new flag -Wcompound-token-split-by-macro,\nall th...
[ { "msg_contents": "I'm currently working on a GiST extension for PostgreSQL and I ran into strange ORDER BY results during my queries.\n\nBecause I can't find the problem in my source code, I want to investigate the issue by looking at the PostgreSQL source,\nmaybe inserting extra log messages.\nWhile trying to...
[ { "msg_contents": "Do Aggregate functions/queries reuse the state value they generate for\nsubsequent queries? If not then an explanation would be greatly\nappreciated.\n\nDo Aggregate functions/queries reuse the state value they generate for subsequent queries? If not then an explanation would be greatly appre...
[ { "msg_contents": "Hi\n\nI think I found a bug related to logical replication(REPLICA IDENTITY in specific).\nIf I change REPLICA IDENTITY after creating publication, the DELETE/UPDATE operations won't be replicated as expected. \n\nFor example:\n-- publisher\nCREATE TABLE tbl(a int, b int);\nALTER TABLE tbl A...
[ { "msg_contents": "Greetings hackers.\n\nIt seems that PostgreSQL 14 allows using the AT TIME ZONE operator within\ngenerated column definitions; according to the docs, that means the\noperator is considered immutable. However, unless I'm mistaken, the result\nof AT TIME ZONE depends on the time zone database, ...
[ { "msg_contents": "Hello,\n\nafter plain ./configure without options (including noticeable absence of \n--with-openssl) and make,\nmake -C contrib COPT=-Werror gives error with gcc-11 on REL_9_6_STABLE, \nREL_10_STABLE or REL_11_STABLE.\n\nThe warning/error is about misleading indent in \ncontrib/pgcrypto/imath...
[ { "msg_contents": "Hi,\n\nAs discussed in [1], isn't it a better idea to add some of activity\nmessages [2] such as recovery, archive, backup, streaming etc. to\nserver logs at LOG level? They are currently being set into ps display\nwhich is good if the postgres is being run on a standalone box/VM\nwhere users...
[ { "msg_contents": "postgres=# SELECT log_time , database, user_name, error_severity sev, left(message,99) FROM postgres_log_2021_11_10_0800 WHERE log_time BETWEEN '2021-11-10 08:57' AND '2021-11-10 08:58' AND database IS NULL;\n log_time | database | user_name | sev | ...
[ { "msg_contents": "Hello I have such case: create table test (id int not null, status text);insert into test select i, 'foo' from generate_series(1,1000000) i;update test set status = 'bar' where id <= 10;create index test_id on test (id );create index test_status_partial on test (status) where status = 'bar';a...
[ { "msg_contents": "tadarida just reported this [1]:\n\n2021-11-11 14:40:40.040 CET [29620:388] 023_cic_2pc.pl ERROR: could not read two-phase state from WAL at 0/1716C68\n\nThat error message is remarkably unhelpful, and I think unnecessarily so.\nWhy the heck isn't XlogReadTwoPhaseData passing on the error st...
[ { "msg_contents": "Hi,\n\nI have noticed that $SUBJECT, and I think it's bad, and I'd like to\npropose some patches to fix it. 0001 is hopefully uncontroversial, but\n0002 might need some discussion as I'm not quite sure what approach to\ntake.\n\nThe reason why RecoveryInProgress() has critical side effects is...
[ { "msg_contents": "Hello\n\nRecently I noticed extremely suspicious behavior from queries under JIT.\nA query (details for which sadly I cannot disclose) had an EXPLAIN\nlooking like this:\n\n JIT:\n Functions: 743\n Options: Inlining true, Optimization true, Expressions true, Deforming true\n Timing: Gen...
[ { "msg_contents": "\nperldoc Test::More says:\n\n Key feature milestones include:\n\n subtests\n Subtests were released in Test::More 0.94, which came with Perl\n 5.12.0. Subtests did not implicitly call \"done_testing()\" until\n 0.96; the first Perl with that fix...
[ { "msg_contents": "Welcome to the third installment of the CF 2021-11 patch triage, looking at the\npatches which have been in four CF's and parts of the ones with three CF's. As\nper usual I might very well have misunderstood something (or many things), but\nthere seem to be a fair few ones which should be cl...
[ { "msg_contents": "Hi,\n\nCurrently, the server shuts down with a FATAL error (added by commit\n[1]) when the recovery target isn't reached. This can cause a server\navailability problem, especially in case of disaster recovery (geo\nrestores) where the primary was down and the user is doing a PITR on a\nserver...
[ { "msg_contents": "While reading through and working with the hundreds of patches in the CF app a\nsmall feature/process request struck me: it would be really helpful if the\npatch had a brief abstract outlining what it aims to add or fix (or summary,\ndescription or something else; not sure what to call it). ...
[ { "msg_contents": "The combination of these two statements in a transaction hits an\nAssert in heapam.c at line 4770 on REL_14_STABLE\n\nBEGIN;\nSELECT * FROM queue LIMIT 1 FOR UPDATE SKIP LOCKED;\n...\nUPDATE queue SET status = 'UPDATED' WHERE id = :id;\nCOMMIT;\n\npgbench reliably finds this, running from ins...
[ { "msg_contents": "The following code appears at the end of heap_page_prune():\n\n /*\n * If requested, report the number of tuples reclaimed to pgstats. This is\n * ndeleted minus ndead, because we don't want to count a now-DEAD root\n * item as a deletion for this purpose.\n */\n if (rep...
[ { "msg_contents": "I wasn't aware of $SUBJECT ... were you?\n\nHere's a demonstration:\n\ndrop table if exists pk, fk, pk1, pk2;\ncreate table pk (f1 int primary key) partition by list(f1);\ncreate table pk1 partition of pk for values in (1);\ncreate table pk2 partition of pk for values in (2);\ninsert into pk ...
[ { "msg_contents": "Re-reading the thread [1] (cannot answer there – don't have those emails in\nmy box anymore), I see that there was strong support for enabling BUFFERS\nin EXPLAIN ANALYZE by default. And there were patches. Commitfest entry [2]\nwas marked Rejected because there were questions to the implemen...
[ { "msg_contents": "\nHi, hackers\n\nWhen I try to create table that has a varchar(n) data type, I find an\ninconsistent error message for it.\n\npostgres=# CREATE TABLE tbl (s varchar(2147483647));\nERROR: length for type varchar cannot exceed 10485760\nLINE 1: CREATE TABLE tbl (s varchar(2147483647));\n ...
[ { "msg_contents": "\nHi, hackers\n\nWhen I try to insert an Unicode \"\\u0000\", there is an error $subject.\n\npostgres=# CREATE TABLE tbl (s varchar(10));\nCREATE TABLE\npostgres=# INSERT INTO tbl VALUES (E'\\u0000');\nERROR: invalid Unicode escape value at or near \"\\u0000\"\nLINE 1: INSERT INTO tbl VALUES...
[ { "msg_contents": "Hi,\n\nMy name is Deng Kaisheng, a graduate student in National University of Sinapore (NUS) now major in computer science. I've read the introduction of your organization and I'm quite interested in what you're doing.\n\nI want to do something and contribute to the community, and I wonder if...
[ { "msg_contents": "Hi hackers,\n\nIf wrong GUCs of auth_delay, pg_trgm, postgres_fdw and sepgsql are \ndescribed in postgresql.conf, a warning is not emitted unlike \npg_stat_statements, auto_explain and pg_prewarm.\nSo, I improved it by adding EmitWarningsOnPlaceholders.\nAn example output is shown below.\n---...
[ { "msg_contents": "Hi,\n\nI have been wondering why there is no meta-command for listing\nconstraints in psql. So, I created a POC patch by using my\nexperience developing \\dX command in PG14.\n\nThis feature is helpful for DBAs when they want to check or\nmodify the definition of constraints.\n\nThe current s...
[ { "msg_contents": "Hi hackers,\n\nIn another thread[1], we found the pg_get_publication_tables function will output\nduplicate partition relid when adding both child and parent table to the\npublication(pubviaroot = false).\n\nExample:\ncreate table tbl1 (a int) partition by range (a);\ncreate table tbl1_part1 ...
[ { "msg_contents": "Hi,\n\npg_waldump options, --follow or -f(to keep polling once per second for\nnew WAL to appear) and --stats or -z don't work well together i.e. the\ncommand stucks [1]. I think the pg_waldump should emit an error. Note\nthat the pg_basebakup does error out on incompatible options.\n\nHere's...
[ { "msg_contents": "Hi,\n\nRobert and I wondered whether we would like to rename the startup\n\nprocess. The reason for doing this is that the current name doesn't\n\nmake any sense, as in the stand-by mode replay loop as the main\n\nloop, the startup process stays around.\n\n\nI think a better name for the pro...
[ { "msg_contents": "Hackers,\n\nIn the ongoing effort [1] to reduce the number of tasks which require operating under superuser privileges, this patch extends the system to allow, per GUC variable, the ability to SET or ALTER SYSTEM for the variable. A previous patch set was submitted [2] which created hard-cod...
[ { "msg_contents": "Hi.\n\nI noticed recently that the CREATE PUBLICATION docs page [1] does not\nhave any \"See Also\" reference to the CREATE SUBSCRIPTION docs page\n[2].\n\nPerhaps it is deliberate (??) but IMO it just seemed like a\nstrange/annoying omission that there was no easy way to jump both ways\nbetw...
[ { "msg_contents": "Hackers,\n\nWhile working on a fix for dangling references to dropped roles in the pg_auth_members.grantor field, I happened to notice we entirely lack regression test coverage of the REVOKE ADMIN OPTION FOR form of the RevokeRoleStmt. I am unaware of any bugs in the current implementation, ...
[ { "msg_contents": "Hi,\n\nThe attached patch moves the \"LastRec\" variable declaration inside\nStartupXLOG() where it is supposed to be.\n\n-- \nRegards,\nAmul Sul\nEDB: http://www.enterprisedb.com", "msg_date": "Tue, 16 Nov 2021 11:17:27 +0530", "msg_from": "Amul Sul <sulamul@gmail.com>", "msg_fro...
[ { "msg_contents": "Fix headerscheck failure in replication/worker_internal.h\n\nBroken by 31c389d8de91\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/ad26ee28250c4cd357a7420161a2be321c3dd536\n\nModified Files\n--------------\nsrc/include/replication/worker_internal.h | 1...
[ { "msg_contents": "Hi:\n\nI'm using the isolation test to write some tests, and then I found the\noutput is unclear some time.\nfor example:\n\na b c\n1988-12-14 01:03:031988-12-13 22:03:03-011988-12-14\n\nActually what I want is there are some spaces among the fields. like:\n\na ...
[ { "msg_contents": "Hi hackers,\n\nI noticed that there are some tab completions missing for the following \ncommands:\n-CREATE CONVERSION : missing FOR, TO, FROM\n-CREATE DOMAIN : missing after AS\n-CREATE LANGUAGE : missing after HANDLER\n-CREATE SCHEMA : missing AUTHORIZATION, IF NOT EXISTS\n-CREATE SEQUENCE ...