threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI am getting \"ERROR: subplan \"SubPlan 1\" was not initialized\" error with\nbelow test case.\n\nCREATE TABLE tbl ( c1 int, c2 int, c3 int ) PARTITION BY LIST (c1);\ncreate table tbl_null PARTITION OF tbl FOR VALUES IN (null);\ncreate table tbl_def PARTITION OF tbl DEFAULT;\ninsert i...
[ { "msg_contents": "I've attached the patch for including this update in our sources. I'll\napply it on master after doing some sanity checks. The announcement can be\nfound here:\n\nhttp://blog.unicode.org/2021/09/announcing-unicode-standard-version-140.html\n\n--\nJohn Naylor\nEDB: http://www.enterprisedb.com"...
[ { "msg_contents": "Hi\n\nAttached a small fix to remove double check when field_name is not NULL in be-secure-openssl.c.\nThe double check is introduced in 13cfa02f7 for \"Improve error handling in backend OpenSSL implementation\".\n\nRegards,\nTang", "msg_date": "Wed, 15 Sep 2021 08:06:37 +0000", "msg_...
[ { "msg_contents": "Hi Hackers,\n\nAlphabetical order of triggers sometimes makes me write a_Recalc or z_Calc\nto be sure it´ll be the first or the last trigger with same event of that\ntable\n\nOracle and SQL Server have FOLLOWS and PRECEDES when defining trigger\nexecution order. Firebird has POSITION, which I...
[ { "msg_contents": "\nGreetings\n\n\nThe Release Management Team (Michael Paquier, Peter Geoghegan and\nmyself) in consultation with the release team proposes the following\nrelease schedule:\n\n* PostgreSQL 14 Release Candidate 1 (RC1) will be released on September 23, 2021.\n\n* In the absence of any critical ...
[ { "msg_contents": "So I've been looking at issues we used to have in production some time\nago which eventually lead us to migrating away from partial indexes in\nsome cases. In the end, I'm surprised how easy this (or at least a\nsimilar case) was to reproduce. The attached program does some\nUPDATEs where a...
[ { "msg_contents": "Memory allocation appeared be O(1) WRT the number of statistics objects, which\nwas not expected to me. This is true in v13 (and probably back to v10).\n\nIt seems to work fine to reset the memory context within the loop, so long as\nthe statslist is allocated in the parent context.\n\n|DROP...
[ { "msg_contents": "Hi everyone,\n\nHere's another crash caught by sqlsmith.\n\n\"\"\"\ndrop table if exists fkpart3_pk5 cascade;\ndrop table if exists inet_tbl;\n\ncreate table fkpart3_pk5 (\n a integer not null primary key\n)\npartition by range (a);\n\ncreate table fkpart3_pk51 partition of fkpart3_pk5\n\t...
[ { "msg_contents": "After the recent case where the SQL/JSON patches had an error that only\nexhibited when pg_stat_statement was preloaded, I decided to see if\nthere were any other such cases in our committed code. So I tested it\nout with a modified buildfarm client with this line added in the initdb\nstep wh...
[ { "msg_contents": "Hi,\n\nFound by llvm scan build.\nArgument with 'nonnull' attribute passed null pl/plpgsql/src/pl_comp.c\nresolve_column_ref\n\nProceed?\n\nregards,\nRanier Vilela", "msg_date": "Thu, 16 Sep 2021 16:11:53 -0300", "msg_from": "Ranier Vilela <ranier.vf@gmail.com>", "msg_from_op": tr...
[ { "msg_contents": "Hi,\n\nIn postgres_fdw, pgfdw_xact_callback() and pgfdw_subxact_callback() do\nalmost the same thing to rollback remote toplevel- and sub-transaction.\nBut their such rollback logics are implemented separately and\nin different way. Which would decrease the readability and maintainability,\nI...
[ { "msg_contents": "Hi,\n\nLogical replication is configured on one instance in version 10.18. Timeout\nerrors occur regularly and the worker process exit with an exit code 1\n\n2021-09-16 12:06:50 CEST [24881]: [1-1] user=postgres,db=foo,client=[local]\nLOG: duration: 1281408.171 ms statement: COPY schem.tab ...
[ { "msg_contents": "Hi,\n\nA colleague tried PG 14 internally and it failed during cluster creation, when\nusing the PGDG rpm packages. A bit of debugging shows that the problem is\nthat the packaging script specifies the password using --pwfile /dev/zero.\n\nIn 14+ this turns out to lead to an endless loop in p...
[ { "msg_contents": "Hi,\n\nI am the author of a PostgreSQL C++ client library, taoPQ (https://github.com/taocpp/taopq), wrapping the C-API of libpq.\n\nIn case of an error when I received a PGresult*, I can access the SQLSTATE by calling\n\n PGresult* pgresult = ...;\n const char* sqlstate = PQresultErrorFie...
[ { "msg_contents": "We had left it as an open issue whether or not to risk back-patching\n5c056b0c2 into stable branches [1]. While updating the v14 release notes,\nI realized that we can't put off that decision any longer, because we\nhave to decide now whether to document that as a new behavior in v14.\n\nI'm...
[ { "msg_contents": "In reviewing Paul's application period patch, I noticed some very curious\nsyntax in the test cases. I learned that Paul is equally confused by it,\nand has asked about it in his PgCon 2020 presentation\n\n> SELECT '2018-03-04' AT TIME ZONE INTERVAL '2' HOUR TO MINUTE;\n timezone\n------...
[ { "msg_contents": "I have been trying to get a reply or interest in either updating\nPostgreSQL to support the following, or for there to be a public,\nfree for any use Extension put out there, that will support the following:\n\n\n############################################################\n# High Precision N...
[ { "msg_contents": "The return value of _bt_bottomupdel_pass() is advisory; it reports\n\"failure\" for a deletion pass that was just suboptimal (it rarely\nreports failure because it couldn't delete anything at all). Bottom-up\ndeletion preemptively falls back on a version-orientated deduplication\npass when it...
[ { "msg_contents": "Hi,\nI have been working on a patch for Postgres. I'm curious about the\nsuggested style for braces around if statements - some places don't include\nbraces around an if statement body, if the if statement body is a single\nline.\n\nThe \"Coding Conventions\" don't contain any advice here (al...
[ { "msg_contents": "While testing a patch I fat-fingered a CREATE DATABASE statement by tab\ncompleting *after* the semicolon, with no space between the objname and\nsemicolon. The below options were presented, which at this point aren't really\napplicable:\n\ndb=# create database foo;\nALLOW_CONNECTIONS ENCODI...
[ { "msg_contents": "One thing is needed and is not solved yet is delayed replication on logical\nreplication. Would be interesting to document it on Restrictions page,\nright ?\n\nregards,\nMarcos\n\nOne thing is needed and is not solved yet is delayed replication on logical replication. Would be interesting to ...
[ { "msg_contents": "I have been trying to get a reply or interest in either updating PostgreSQL to support the following,\nor for there to be a public, free for any use Extension put out there, that will support the following.\nCan someone able and interested please respond to me about the following project spec...
[ { "msg_contents": "Hi,\n\nAttached is a copy of the first draft for the PG14 press release.\n\nThis brings together highlights of many of the features in the upcoming\nPostgreSQL 14 release while providing context on their significance.\nWith the plethora of new features coming in PostgreSQL 14, it is\nchalleng...
[ { "msg_contents": "Hi,\n\nCurrently when determining where CoerceToDomainValue can be read,\nit evaluates every step in a loop.\nBut, I think that the expression is immutable and should be solved only\nonce.\n\nOtherwise the logic is wrong since by the rules of C, even though the\nvariable is\nbeing initialized...
[ { "msg_contents": "Hi,\n\nFor the AIO stuff I needed to build postgres for windows. And I was a bit\nhorrified by the long compile times. At first I was ready to blame the MS\ncompiler for being slow, until I noticed that using mingw gcc from linux to\ncross compile to windows is also a *lot* slower than buildi...
[ { "msg_contents": "Document XLOG_INCLUDE_XID a little better\n\nI noticed that commit 0bead9af484c left this flag undocumented in\nXLogSetRecordFlags, which led me to discover that the flag doesn't\nactually do what the one comment on it said it does. Improve the\nsituation by adding some more comments.\n\nBac...
[ { "msg_contents": "Good day.\n\nI found BufferAlloc unnecessary goes through dynahash's freelist when it\nreuses valid buffer.\n\nIf it is avoided and dynahash's entry directly moved, 1-2% is gained in\nselect only pgbench (with scale factor 100 in 50 connections/50 threads\non 4 core 8ht notebook cpu 185krps=>...
[ { "msg_contents": "Hi,\n\nCurrently the following messages are shown in server log if bail_out\nerrors occur in guc_file.l. This leaves the (naive) users with no clue\nas to where to look for the exact errors:\nerrmsg(\"configuration file \\\"%s\\\" contains errors\",\nerrmsg(\"configuration file \\\"%s\\\" con...
[ { "msg_contents": "Dear Thomas,\n\nIs there anyone more specifically that you know,\ncertainly on pgsql-hackers@lists.postgresql.org,\nthat you might recommd me to?\n\nZ.M.\n________________________________\nFrom: Thomas Munro <thomas.munro@gmail.com>\nSent: Thursday, 23 September 2021 1:14 PM\nTo: A Z <powerus...
[ { "msg_contents": "Hi, guys, I encount a problem on compiling pssql, the environment is:\nos: macos big sur version 11.5.2 (20G95)\ncompiler: gcc-11 (Homebrew GCC 11.2.0) 11.2.0\nerror message:\n/usr/local/bin/gcc-11 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Werror=vla -Wendif-...
[ { "msg_contents": "Page explaining progress reporting views, for all versions, have \"The\ntables\" expression several times when it points to a single table. So,\nsingular expressions should be used, right ?\n\n\"The tables below describe the information that will be reported and\nprovide information about how...
[ { "msg_contents": "Hi,\n\n\nI did a bit of testing today and noticed that we don't set indexlist properly at the right time in some cases when using partitioned tables.\n\n\nI attached a simple case where the indexlist doesn't seems to be set at the right time. get_relation_info in plancat.c seems to process it...
[ { "msg_contents": "On HEAD, I see these headers failing to compile standalone:\n\n$ src/tools/pginclude/cpluspluscheck \nIn file included from /tmp/cpluspluscheck.XxTv1i/test.cpp:3:\n./src/include/common/unicode_east_asian_fw_table.h:3:32: error: elements of array 'const mbinterval east_asian_fw []' have incomp...
[ { "msg_contents": "extended stats objects are allowed on partitioned tables since v10.\nhttps://www.postgresql.org/message-id/flat/CAKJS1f-BmGo410bh5RSPZUvOO0LhmHL2NYmdrC_Jm8pk_FfyCA%40mail.gmail.com\n8c5cdb7f4f6e1d6a6104cb58ce4f23453891651b\n\nBut since 859b3003de they're not populated - pg_statistic_ext(_data...
[ { "msg_contents": "Hello,\n\nI've recently been working with a database containing bcrypt hashes generated by a 3rd-party which use the $2b$ prefix. This prefix was introduced in 2014 and has since been recognised by a number of bcrypt implementations. [1][2][3][4]\n\nAt the moment, pgcrypto’s `crypt` doesn’t r...
[ { "msg_contents": "Hi,\n\nI think there's a word missing in the following comment:\n\n /*\n * See if the partition bounds for inputs are exactly the same, in\n * which case we don't need to work hard: the join rel have the same\n * partition bounds as inputs, and the partitions wi...
[ { "msg_contents": "Hello Hackers,\n\nThis is my second proposal for a patch, so I hope not to make \"rookie\"\nmistakes.\n\nThis proposal patch is based on a simple use case :\n\nIf one creates a table this way\nCREATE TABLE tst_table AS (SELECT array_to_tsvector(ARRAY['','abc','def']));\n\nthe table content is...
[ { "msg_contents": "When PG11 added the ability for ALTER TABLE ADD COLUMN to set a constant\ndefault value without rewriting the table the doc changes did not note\nhow the new feature interplayed with ADD COLUMN DEFAULT NOT NULL.\nPreviously such a new column required a verification table scan to\nensure no va...
[ { "msg_contents": "Hi,\n\nI'm trying to set up a postgres server with version 11 in targeted\nrecovery mode (for the first time after my journey started with\npostgres) and I came across the explanation at [1] in PG 12 and newer\nversions that we have a clear differentiation as to what is the\n\"standby\" mode ...
[ { "msg_contents": "A compilation of fixes for master.\n\nThe first patch should be applied to v13 - the typo was already fixed in master\nbut not backpatched.", "msg_date": "Fri, 24 Sep 2021 16:58:27 -0500", "msg_from": "Justin Pryzby <pryzby@telsasoft.com>", "msg_from_op": true, "msg_subject": ...
[ { "msg_contents": "Hackers,\n\nA few TAP tests in the project appear to be sensitive to reductions of the PostgresNode's max_wal_size setting, resulting in tests failing due to wal files having been removed too soon. The failures in the logs typically are of the \"requested WAL segment %s has already been remo...
[ { "msg_contents": "Hi, \n\nWhen I work on patch[1] on windows(vs2019), I found there are some file(generated\nby vs2019) are not listed in gitignore.\n\n> $ git status\n> \n> Untracked files:\n> (use \"git add <file>...\" to include in what will be committed)\n> .vs/\n> postgres.vcxproj.user\n> ...
[ { "msg_contents": "While thinking about Isaac Morland's patch to add abs(interval),\nI happened to notice that interval_cmp_value() seems rather\ninefficently written: it's expending an int64 division -- or\neven two of them, if the compiler's not very smart -- to split\nup the \"time\" field into days and micr...
[ { "msg_contents": "Are there any plans to add a create and last updated time stamp field to any and all objects in postgres?\nPossibly even adding a updated_by documenting which role created and last updated the object.\nAll done natively and without the need for extra extensions.\nThanks in advance.\nAre there...
[ { "msg_contents": "Hell Hackers, long time no email!\n\nI got a bug report for the semver extension:\n\n https://github.com/theory/pg-semver/issues/58\n\nIt claims that a test unexpected passes. That is, Test #31 is expected to fail, because it intentionally tests a version in which its parts overflow the int3...
[ { "msg_contents": "Hi,\n\nI found other functions that we should add \"pg_catalog\" prefix in\ndescribe.c. This fix is similar to the following commit.\n\n=====\ncommit 359bcf775550aa577c86ea30a6d071487fcca1ed\nAuthor: Alvaro Herrera <alvherre@alvh.no-ip.org>\nDate: Sat Aug 28 12:04:15 2021 -0400\n\n psql...
[ { "msg_contents": "I have been trying to find active interest in a free for all use PostgreSQL extension, complete and available, on the public internet, that will support the following:\n\n####################################################\n# High Precision Numeric and Elementary Functions Support #\n# ...
[ { "msg_contents": "Hi,\n\nPlease refer to this scenario\nCASE 1- HEAD (publication)-> HEAD (Subscription)\nCASE 2 - PG 14 (Publication) ->HEAD (Subscription)\n\nTest-case -\nPublication = create table t(n int); create publication p for table t;\nSubscription = create table t(n int);\ncreate subscription s con...
[ { "msg_contents": "Hi hackers,\n\nI recently observed a failed assertion in EnsurePortalSnapshotExists().\n\nThe steps to reproduce the issue on the master branch are:\n\ncreate table bdt (a int primary key);\ninsert into bdt values (1),(2);\ncreate table bdt2 (a int);\ninsert into bdt2 values (1);\n\nThen laun...
[ { "msg_contents": "Hi,\n\nWe've encountered some unexpected behavior with statement_timeout not cancelling a query in DECLARE CURSOR, but only if the DECLARE CURSOR is outside of a transaction:\n\nxof=# select version();\n version ...
[ { "msg_contents": "Currently enum_in() is marked as stable, on the reasonable grounds\nthat it depends on system catalog contents. However, after the\ndiscussion at [1] I'm wondering why it wouldn't be perfectly safe,\nand useful, to mark it as immutable.\n\nHere's my reasoning: \"immutable\" promises that the...
[ { "msg_contents": "Hello,\n\nWhile developing I got this error and it was difficult to figure out what\nwas going on.\n\nThanks to Jacob, I was able to learn the context of the failure, so we\ncreated this small patch.\n\n\nThe text of the error message, of course, is up for debate, but hopefully\nthis will mak...
[ { "msg_contents": "Hi all,\n\nWhile reviewing a patch that refactors syslogger.c, we use the\nfollowing code to pass down a HANDLE to a forked syslogger as of\nsyslogger_forkexec():\n if (syslogFile != NULL)\n snprintf(filenobuf, sizeof(filenobuf), \"%ld\",\n (long) _get_osfhan...
[ { "msg_contents": "Hi,\n\n(LOCK TABLE options) “ONLY” and “NOWAIT” are not yet implemented in \ntab-complete. I made a patch for these options.\n\nregards,\nKoyu Tanigawa", "msg_date": "Tue, 28 Sep 2021 16:13:45 +0900", "msg_from": "bt21tanigaway <bt21tanigaway@oss.nttdata.com>", "msg_from_op": true...
[ { "msg_contents": "Reindexdb help has this for selection of what to reindex:\n\n -s, --system reindex system catalogs\n -S, --schema=SCHEMA reindex specific schema(s) only\n -t, --table=TABLE reindex specific table(s) only\n\nIs there a reason the \"only\" is missing from ...
[ { "msg_contents": "A coworker has a space in a Postgres password and noticed .pgpass\ndidn't work; escaping it fixed the issue. That requirement wasn't\ndocumented (despite other escaping requirements being documented), so\nI've attached a patch to add that comment.\n\nThanks,\nJames Coleman", "msg_date": "...
[ { "msg_contents": "I noticed that some test scripts, instead of using wait_for_catchup\nto wait for replication catchup, use ad-hoc code like\n\nmy $primary_lsn =\n $primary->safe_psql('postgres', 'select pg_current_wal_lsn()');\n$standby->poll_query_until('postgres',\n\tqq{SELECT '$primary_lsn'::pg_lsn <= pg_...
[ { "msg_contents": "Hi,\n\nI created a patch for COMMENT tab completion.\nIt was missing TRANSFORM FOR where it's supposed to be.\n\nBest wishes,\nKen Kato", "msg_date": "Wed, 29 Sep 2021 09:46:18 +0900", "msg_from": "katouknl <katouknl@oss.nttdata.com>", "msg_from_op": true, "msg_subject": "[PAT...
[ { "msg_contents": "Fix WAL replay in presence of an incomplete record\n\nPhysical replication always ships WAL segment files to replicas once\nthey are complete. This is a problem if one WAL record is split across\na segment boundary and the primary server crashes before writing down\nthe segment with the next...
[ { "msg_contents": "System catalog indexes do not support deduplication as a matter of\npolicy. I chose to do things that way during the Postgres 13\ndevelopment cycle due to the restriction on using storage parameters\nwith system catalog indexes. At the time I felt that *forcing* the use\nof deduplication with...
[ { "msg_contents": "Hi,\n\nI found a crash (segmentation fault) on jsonb.\nThis is the best I could do to reduce the query:\n\n\"\"\"\nselect \n 75 as c1\nfrom \n public.pagg_tab_ml as ref_0,\n lateral (select \n ref_0.a as c5 \n from generate_series(1, 300) as sample_0\n fetch first 78 row...
[ { "msg_contents": "Forking this thread in which Thomas implemented syncfs for the startup process\n(61752afb2).\nhttps://www.postgresql.org/message-id/flat/CA%2BhUKG%2BSG9jSW3ekwib0cSdC0yD-jReJ21X4bZAmqxoWTLTc2A%40mail.gmail.com\n\nIs there any reason that initdb/pg_basebackup/pg_checksums/pg_rewind shouldn't\n...
[ { "msg_contents": "Today, I noticed that we have mentioned pg_stat_replication_slots\nunder \"Dynamic Statistics Views\". I think it should be under\n\"Collected Statistics Views\"?\n\n-- \nWith Regards,\nAmit Kapila.", "msg_date": "Thu, 30 Sep 2021 12:17:44 +0530", "msg_from": "Amit Kapila <amit.kapila...
[ { "msg_contents": "Previously successfully opened TCP connections can still fail on reads\nwith ETIMEDOUT. This should be considered a connection failure, so that\nthe connection in libpq is marked as CONNECTION_BAD. The reason I got an\nETIMEDOUT was, because I had set a low tcp_user_timeout in the\nconnection...
[ { "msg_contents": "Hi All,\n\nWhile working on one of the internal projects I noticed that currently in\nPostgres, we do not allow normal users to alter attributes of the\nreplication user. However we do allow normal users to drop replication\nusers or to even rename it using the alter command. Is that behaviou...
[ { "msg_contents": "The new connection made by PQcancel does not use the tcp_user_timeout, connect_timeout or any of the keepalive settings that are provided in the connection string. This means that a call to PQcancel can block for a much longer time than intended if there are network issues. This can be especi...
[ { "msg_contents": "Hi,\n\nCI showed me a failure in 002_types.pl on windows. I only just now noticed\nthat because the subscription tests aren't run by any of the vcregress.pl\nsteps :(\n\nIt turns out to be dependant on the current timezone. I have just about zero\nunderstanding how timezones work on windows, ...
[ { "msg_contents": "Hi,\n\nFor me 001_libpq_pipeline.pl doesn't reliably work on windows, because it\ntries to add something to PATH, using unix syntax (vs ; used on windows).\n\n$ENV{PATH} = \"$ENV{TESTDIR}:$ENV{PATH}\";\n\nIf the first two elements in PATH are something needed, this can cause the\ntest to fail...
[ { "msg_contents": "Hello,\n\nIf we set a parameter in the postgresql.conf that the loaded library doesn't\nrecognize at startup, it throws a warning.\nFor example if one sets `plpgsql.no_such_setting` for plpgsql:\n\n```\nWARNING: unrecognized configuration parameter \"plpgsql.no_such_setting\"\n```\n\nWe could...
[ { "msg_contents": "Does this bother anyone else:\n\nCREATE INDEX uses an amoptions parser specific for the index type and, at least for btree, rejects relation options from the \"toast\" namespace:\n\n+-- Bad reloption for index draws an error\n+CREATE INDEX idx ON test_tbl USING btree (i) WITH (toast.nonsense=...
[ { "msg_contents": "Hi,\n\nHere is a patch fixing the subject.\n\nRegards,\n\n-- \nSergey Shinderuk\t\thttps://postgrespro.com/", "msg_date": "Fri, 1 Oct 2021 13:39:40 +0300", "msg_from": "Sergey Shinderuk <s.shinderuk@postgrespro.ru>", "msg_from_op": true, "msg_subject": "Memory leak in pg_hmac_...
[ { "msg_contents": "During testing of the new Visual Studio 2022 Preview Version 4.1 from Microsoft I also tried PG14.0 on it.\n\nThe x64 version built without error!.\n\nEven when this is only a preview version (the real thing is to expected soon) it seems appropriate to include the support to Postgres msvc too...
[ { "msg_contents": "Good day.\n\nI found some opportunity in Buffer Manager code in BufferAlloc\nfunction:\n- When valid buffer is evicted, BufferAlloc acquires two partition\nlwlocks: for partition for evicted block is in and partition for new\nblock placement.\n\nIt doesn't matter if there is small number of c...
[ { "msg_contents": "Hi,\n\nFor several development efforts I found it to be incredibly valuable to push\nchanges to a personal repository and see a while later whether tests succeed\non a number of different platforms. This is especially useful for platforms\nthat are quite different from ones own platform, lik...
[ { "msg_contents": "I got the error message in the subject and was unsure how to continue; I\ndidn't see any hits for the error message on the mailing list, and it was\nhard to determine from the context around the error in the\nMakefile.global.in about the best way to solve the problem.\n\nThis patch amends the...
[ { "msg_contents": "When I click the mail archive link\n(https://www.postgresql.org/message-id/flat/72a0d590d6ba06f242d75c2e641820ec@postgrespro.ru)\nin CF app web page of this entry:\nhttps://commitfest.postgresql.org/34/3194/\n\nI got:\n\nError 503 Backend fetch failed\n\nBackend fetch failed\nGuru Meditation:...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 17212\nLogged by: Alexander Lakhin\nEmail address: exclusion@gmail.com\nPostgreSQL version: 14.0\nOperating system: Ubuntu 20.04\nDescription: \n\nWhen pg_amcheck runs against a database containing...
[ { "msg_contents": "Hi,\n\nI am trying to improve (i.e. have any at all) test coverage of the\nExprContextCallback for a ValuePerCall SRF function handler.\n\nI'm having difficulty coming up with a query that actually doesn't\nrun the SRF to completion.\n\nThe form I've been trying looks like\n\nSELECT *\nFROM\n...
[ { "msg_contents": "As I threatened in another thread, I've looked through all of the\noldest commitfest entries to see which ones should maybe be tossed,\non the grounds that they're unlikely to ever get committed so we\nshould stop pushing them forward to the next CF.\n\nAn important note to make here is that ...
[ { "msg_contents": "Hi all,\n\nWhile reading the code I realized that the following comment of\nSnapBuildOnDick is obsolete:\n\n/*\n * We store current state of struct SnapBuild on disk in the following manner:\n *\n * struct SnapBuildOnDisk;\n * TransactionId * running.xcnt_space;\n * TransactionId * committed....
[ { "msg_contents": "Hi,\n\nIt seems like we have macro InvalidTransactionId but InvalidXid is\nused in some of the code comments.Here's a small patch that does\n$subject?\n\nRegards,\nBharath Rupireddy.", "msg_date": "Mon, 4 Oct 2021 13:49:23 +0530", "msg_from": "Bharath Rupireddy <bharath.rupireddyforpo...
[ { "msg_contents": "Hi hackers,\n\nI realized a subtle behavior with ALTER INDEX .. RENAME. It seems like a bug to me, please see the steps below.\n\nTest 1: Rename table via RENAME .. INDEX\n\nCREATE TABLE test_table (a int);\nSELECT 'test_table'::regclass::oid;\n oid\n-------\n34470\n(1 row)\n-- rename table ...
[ { "msg_contents": "Hi hackers,\n\nI noticed a duplicate-word typo in a comments recently, and cooked up\nthe following ripgrep command to find some more.\n\n rg --multiline --pcre2 --type=c '(?<!struct )(?<!union )\\b((?!long\\b|endif\\b|that\\b)\\w+)\\s+(^\\s*[*#]\\s*)?\\b\\1\\b'\n\nPFA a patch with the resul...
[ { "msg_contents": "\nAt\n<https://www.postgresql.org/message-id/543620.1629899413%40sss.pgh.pa.us>\nTom noted:\n\n> You have to be very careful these days when applying stale patches to\n> func.sgml --- there's enough duplicate boilerplate that \"patch' can easily\n> be fooled into dumping an addition into the ...
[ { "msg_contents": "Hi,\n\nMy colleague, Alex Kozhemyakin, stumbled upon a bug in DefineRange().\nThe problem is here:\n\n @@ -1707,7 +1707,6 @@ DefineRange(ParseState *pstate, \nCreateRangeStmt *stmt)\n /* Create cast from the range type to its multirange type */\n CastCreate(typoid, multira...
[ { "msg_contents": "Hi,\n\nHere's the list mentioned in ${SUBJECT}, please can the committers\nmention what they want to do with those?\n\nno committer assigned:\n\n- Bug fix for tab completion of ALTER TABLE\n This seems to have activity, last patch from is from two weeks ago.\n Any intention of committing th...
[ { "msg_contents": "Hi,\n\nFor https://postgr.es/m/20211001222752.wrz7erzh4cajvgp6@alap3.anarazel.de I\nwas trying to enable plperl on windows. And run into quite a few roadblocks -\nenough that I gave up.\n\n1) plperl doesn't build against a modern-ish perl. The fix for that seems easy\n enough: https://postg...
[ { "msg_contents": "Hi hackers,\n\nAndres' recent post¹ about PL/Perl on Windows and linked-to² patch\ncontaining an erroneous version check made me realise that we haven't\nupdated our copy of ppport.h since 2009. Attached is a patch that does\nthat, and applies code changes suggested by running it. I've test...
[ { "msg_contents": "Greetings,\n\nThere's been various discussions about CREATEROLE, EVENT TRIGGERs, and\nother things which hinge around the general idea that we can create a\n'tree' of roles where there's some root and then from that root there's\na set of created roles, or at least roles which have been GRANT...
[ { "msg_contents": "Hi,\n\nLog output takes time between several seconds to a few tens when using \n‘SELECT pg_log_backend_memory_contexts(1234)’ with PID of ‘autovacuum \nlauncher’.\nI made a patch for this problem.\n\nregards,\nKoyu Tanigawa", "msg_date": "Tue, 05 Oct 2021 18:20:11 +0900", "msg_from": ...
[ { "msg_contents": "This is an early patch to use as a discussion support, only tested on CentOS 8 on master with GDAL 3.2, to add the generation of gdal*-java RPMs.This is a follow-up to the accepted PR sent to fedora to re-enable gdal-java RPMs generation for EPEL 8 (https://src.fedoraproject.org/rpms/gdal/pul...
[ { "msg_contents": "Hi,\n\n From everything I've seen, the PostgreSQL style seems to be to include\nthe * in a typedef for a function type to which pointers will be held:\n\ntypedef void (*Furbinator)(char *furbee);\n\nstruct Methods\n{\n Furbinator furbinate;\n};\n\n\nAn alternative I've sometimes used elsew...
[ { "msg_contents": "Hi,\n\nWhile working one of the internal features, I figured out that we\ndon't have subscription TAP tests option for \"vcregress\" tool for msvc\nbuilds. Is there any specific reason that we didn't add \"vcregress\nsubscriptioncheck\" option similar to \"vcregress recoverycheck\"? It\nlooks...
[ { "msg_contents": "Hi,\n\nAs threatened in [1]... For CI, originally in the AIO project but now more\ngenerally, I wanted to get windows backtraces as part of CI. I also was\nconfused why visual studio's \"just in time debugging\" (i.e. a window popping\nup offering to debug a process when it crashes) didn't wo...
[ { "msg_contents": "Hi all,\n\nWhile reviewing the code of elog.c to plug in JSON as a file-based log\ndestination, I have found what looks like a bug in\nsend_message_to_server_log(). If LOG_DESTINATION_CSVLOG is enabled,\nwe would do the following to make sure that the log entry is not\nmissed:\n- If redirect...
[ { "msg_contents": "Hi everyone,\n\nAt this time I'm looking to close the CF.\n\nSo, I will write and mark as RwF the patches currently failing on the\ncfbot and move to the next CF all other patches.\n\nRwF:\n- ALTER SYSTEM READ { ONLY | WRITE }\n- GUC to disable cancellation of awaiting for synchronous replica...
[ { "msg_contents": "Hi\n\nIf you do tab completion in a situation like A, you will see [\"on\"] \ninstead of [on].\n\nA : \"ALTER SYSTEM SET wal_compression TO \"\n\nI made a patch for this problem.\n\nregards,\nKosei Masumura", "msg_date": "Wed, 06 Oct 2021 14:24:40 +0900", "msg_from": "bt21masumurak <b...
[ { "msg_contents": "Hi,\n\n\nAfter a recent migration of the skink and a few other animals (sorry for the\nfalse reports on BF, I forgot to adjust a path), I looked at the time it takes\nto complete a valgrind run:\n\n9.6: Consumed 4h 53min 18.518s CPU time\n10: Consumed 5h 32min 50.839s CPU time\n11: Consumed 7...
[ { "msg_contents": "Hi all,\n\nFollowing up with Peter E's recent commit 73aa5e0 to add some\nforgotten level incrementations, I got to look again at what I did\nwrong and why this stuff is useful.\n\nI have gone through all the TAP tests and any code paths using\nsubroutines, to note that we could improve the l...
[ { "msg_contents": "Hi all,\n\nA customer reported that during parallel index vacuum, the oldest xmin\ndoesn't advance. Normally, the calculation of oldest xmin\n(ComputeXidHorizons()) ignores xmin/xid of processes having\nPROC_IN_VACUUM flag in MyProc->statusFlags. But since parallel vacuum\nworkers don’t set t...