threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\npg_stat_io has I/O statistics that are collected when track_io_timing is\nenabled, but it is not mentioned in the description of track_io_timing.\nI think it's better to add a description of pg_stat_io for easy reference.\nWhat do you think?\n\nRegards,\n--\nHajime Matsunaga\nNTT DATA ...
[ { "msg_contents": "Hello hackers,\n\nDuring work in the separate thread [1], I discovered more cases\nwhere the link in docs wasn't the canonical link [2].\n\n[1] https://postgr.es/m/CAKFQuwYEX9Pj9G0ZHJeWSmSbnqUyGH+FYcW-66eZjfVG4KOjiQ@mail.gmail.com\n[2] https://en.wikipedia.org/wiki/Canonical_link_element\n\nT...
[ { "msg_contents": "Hi,\n\nI’m defining a custom type “MyType” with additional functions and an custom aggregate in a C-coded extension. From a PostgreSQL perspective it is a base type that piggybacks on the bytea type, i.e. LIKE = BYTEA.\n \nBut now I need to (re)define MyType to support type modifiers (e.g. My...
[ { "msg_contents": "create event trigger ... on login is now available but it is not shown on\nDOCs or is it in another page ?\n\nhttps://www.postgresql.org/docs/devel/event-trigger-matrix.html\ndoesn't have it, should be there ?\n\nregards\nMarcos\n\ncreate event trigger ... on login is now available but it is ...
[ { "msg_contents": "Hi Hackers,\n\nHere is a proof-of-concept patch to inline set-returning functions (SRFs) besides those written in \nSQL. We already try to inline SQL-language functions,[1] but that means you must have a static SQL \nquery. There is no way to get an inline-able query by dynamically building t...
[ { "msg_contents": "fastgetattr and heap_getattr are converted to inline functions\nin e27f4ee0a701, while some comments still referring them as macros.\n\n-- \nRegards\nJunwang Zhao", "msg_date": "Fri, 28 Jun 2024 11:04:40 +0800", "msg_from": "Junwang Zhao <zhjwpku@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "Hi all,\n\nThe parallel vacuum we have today supports only for index vacuuming.\nTherefore, while multiple workers can work on different indexes in\nparallel, the heap table is always processed by the single process.\nI'd like to propose $subject, which enables us to have multiple\nworkers ru...
[ { "msg_contents": "Attachment protected by Amazon:\r\n\r\n[0001-Handle-Sleep-interrupts.patch]\r\nhttps://us-east-1.secure-attach.amazon.com/fcdc82ce-7887-4aa1-af9e-c1161a6b1d6f/bc81fa24-41de-48f9-a767-a6d15801754b\r\n\r\nAmazon has replaced attachment with download link. Downloads will be available until July ...
[ { "msg_contents": "A documentation comment came in [1] causing me to review some of our backup\ndocumentation and I left the current content and location of the standalone\nbackups was odd. I propose to move it to a better place, under file system\nbackups.\n\nAdding to commitfest.\n\nDavid J.\n\n[1]\nhttps://...
[ { "msg_contents": "I played around with incremental backup yesterday and tried $subject\n\nThe WAL summarizer is running on the standby server, but when I try \nto take an incremental backup, I get an error that I understand to mean \nthat WAL summarizing hasn't caught up yet.\n\nI am not sure if that is work...
[ { "msg_contents": "\nHi,\n\nmerge sorts requires all the tuples in each input are pre-sorted (1),\nand in tuplesort.c, when the workmem is full, we dumptuples into\ndestTape. (2). it looks to me that we need a unlimited number of Tapes\nif the number of input tuples is big enough. However we set a maxTapes\nin...
[ { "msg_contents": "Hi hackers,\n\nIs there any extension that uses meson as build systems?\nI'm starting a extension project that written in c++, cmake is my\ninitial choice as the build system, but since PostgreSQL has adopted\nMeson, so I'm wondering if there is any extension that also uses\nmeson that I can...
[ { "msg_contents": "Hi Hackers\n When I saw this document:https://en.wikipedia.org/wiki/Branch_predictor,\nI thought of Linux likely() vs unlikely() and thus thought that there are\nsome code segments in src/backend/executor/execMain.c that can be optimized.\nFor example :\nif (ExecutorStart_hook)\n(*ExecutorS...
[ { "msg_contents": "Hello,\n\nThis patches changes the HeapKeyTest macro to add handling for SK_SEARCHNULL\nand SK_SEARCHNOTNULL. While currently no core codes uses these ScanKey flags\nit would be useful for extensions if it was supported so extensions\ndont have to implement\nhandling for those by themself.\n\...
[ { "msg_contents": "Hi all,\n\nAs some of you may have noticed, a new stable branch named\nREL_17_STABLE has just been created, meaning that we are on time to\nbegin the development cycle for v18.\n\nCommit fest 2024-07 (https://commitfest.postgresql.org/48/) is still\nopen for patches, and will be switched as a...
[ { "msg_contents": "Hi,\n\nIn HEAD, I encountered the following assertion failure when I enabled summarize_wal\nand ran pg_createsubscriber.\n\n2024-07-01 14:42:15.697 JST [19195] LOG: database system is ready to accept connections\nTRAP: failed Assert(\"switchpoint >= state->EndRecPtr\"), File: \"walsummarizer...
[ { "msg_contents": "Hello hackers,\n\nAttached patch introduces an optimization of mul_var() in numeric.c, targeting cases where the multiplicands consist of only one or two base-NBASE digits. Such small multiplicands can fit into an int64 and thus be computed directly, resulting in a significant performance imp...
[ { "msg_contents": "Hi hackers,\n\nWhile working on a rebase for [1] due to 0cecc908e97, I noticed that\nCheckRelationLockedByMe() and CheckRelationOidLockedByMe() are used only in\nassertions.\n\nI think it would make sense to declare / define those functions only for\nassert enabled build: please find attached...
[ { "msg_contents": "Currently, TupleDescData contains the descriptor's attributes in a\nvariable length array of FormData_pg_attribute allocated within the\nsame allocation as the TupleDescData. According to my IDE,\nsizeof(FormData_pg_attribute) == 104 bytes. It's that large mainly due\nto attname being 64 byte...
[ { "msg_contents": "Hi All,\nWhile reviewing Richard's patch for grouping sets, I stumbled upon\nfollowing explain output\n\nexplain (costs off)\nselect distinct on (a, b) a, b\nfrom (values (1, 1), (2, 2)) as t (a, b) where a = b\ngroup by grouping sets((a, b), (a))\norder by a, b;\n Q...
[ { "msg_contents": "Attached is a patch adding support for the gamma and log-gamma\nfunctions. See, for example:\n\nhttps://en.wikipedia.org/wiki/Gamma_function\n\nI think these are very useful general-purpose mathematical functions.\nThey're part of C99, and they're commonly included in other\nmathematical libr...
[ { "msg_contents": "Hi,\n\nI would like to propose to add a new field to psql's \\dAo+ meta-command\nto show whether the underlying function of an operator is leak-proof.\n\nThis idea is inspired from [1] that claims some indexes uses non-LEAKPROOF\nfunctions under the associated operators, as a result, it can n...
[ { "msg_contents": "Hackers,\n\nThere’s an odd difference in the behavior of timestamp_tz() outputs. Running with America/New_York as my TZ, it looks fine for a full timestamptz, identical to how casting the types directly works:\n\ndavid=# set time zone 'America/New_York';\nSET\n\ndavid=# select '2024-08-15 12:...
[ { "msg_contents": "Our docs currently state this regarding the perl requirement for \nbuilding on Windows:\n\n\nActiveState Perl\n\n ActiveState Perl is required to run the build generation scripts.\n MinGW or Cygwin Perl will not work. It must also be present in the\n PATH. Binaries can be downloaded ...
[ { "msg_contents": "Hello everyone!\n\nAs Michael noted in e26810d01d4 [0] hacking for Postgres 17 has begun.\nI’ve skimmed through hackers@ list. And it seems that so far role of the commitfest manager is vacant.\n\nIs anyone up for doing this community work? Make things moving :)\n\n\nBest regards, Andrey Boro...
[ { "msg_contents": "I like to add CREATE OR REPLACE MATERIALIZED VIEW with the attached\npatches.\n\nPatch 0001 adds CREATE OR REPLACE MATERIALIZED VIEW similar to CREATE OR\nREPLACE VIEW. It also includes regression tests and changes to docs.\n\nPatch 0002 deprecates CREATE MATERIALIZED VIEW IF NOT EXISTS beca...
[ { "msg_contents": "Hi,\n\nCurrently, there are many has_*_privilege functions for table, column,\nfunction, type, role, database, schema, language, server, foreign data\nwrapper, parameter, and so on. However, large object is not supported yet.\n\nI can find a way to check the privilege on a large object in the...
[ { "msg_contents": "Hello there,\n\nThe test src/test/modules/test_extensions/sql/test_extensions.sql don't \npass during make installcheck on the builds with ICU support (configure \n--with-icu) and with database created with this one's locale provider \n(initdb --locale-provider=icu --icu-locale=en-US).\n\nA r...
[ { "msg_contents": "Hi,\n\nThis is a PoC that implements XMLCast (SQL/XML X025), which enables\nconversions between SQL and XML data type.\n\nIt basically does the following:\n\n* When casting an XML value to a SQL data type, XML values containing\nXSD literals will be converted to their equivalent SQL data type...
[ { "msg_contents": "Hackers,\n\nIn fuzing around trying to work out what’s going on with the formatting of timestamptz values cast by the timestamp_tz() jsonpath method[1], I noticed that the formatting of the string() method applied to date and time objects was not fully tested, or how the output is determined ...
[ { "msg_contents": "Hi.\n\nThis is a series of patches to change styles, in assorted sources.\nIMO, this improves a tiny bit and is worth trying.\n\n1. Avoid dereference iss_SortSupport if it has nulls.\n2. Avoid dereference plan_node_id if no dsm area.\n3. Avoid dereference spill partitions if zero ntuples.\n4....
[ { "msg_contents": "Hi,\nThe 'cur_skey' parameter in `IndexScanOK` funciton doesn't seem to be useful.\n\nThe function does not use cur_skey for any operation. Is there any other consideration\nfor retaining the cur_skey parameter here?\n\nBest wishes\nHugo zhang\n\n\n\n\n\n\n\n\n\nHi,\nThe 'cur_skey' parameter ...
[ { "msg_contents": "After some off-list discussion about the desirability of this feature, where\nseveral hackers opined that it's something that we should have, I've decided to\nrebase this patch and submit it one more time. There are several (long)\nthreads covering the history of this patch [0][1], related w...
[ { "msg_contents": "Hello hackers,\n\nI have discovered a peculiar behavior in mul_var() when it is called with\nrscale=0, but the input variables have many decimal digits, resulting in a\nproduct with a .5 decimal part. Given that no decimals are requested by the\ncaller, I would expect the result to be rounded...
[ { "msg_contents": "Re-reading Nathans recent 8213df9effaf I noticed a few more small things which\ncan be cleaned up. In two of the get<Object> functions we lack a fast-path for\nwhen no tuples are found which leads to pg_malloc(0) calls. Another thing is\nthat we in one place reset the PQExpBuffer immediatel...
[ { "msg_contents": "Hi,\n\nI found that pg_wal_summary_contents() may miss some results that pg_walsummary returns for the same WAL summary file. Here are the steps to reproduce the issue:\n\n-----------------------------\ninitdb -D data\necho \"summarize_wal = on\" >> data/postgresql.conf\npg_ctl -D data start\...
[ { "msg_contents": "Hello. BYTEA type has the ability to use comparison operations. But it\nis absent of min/max aggregate functions. They are nice to have to\nprovide consistency with the TEXT type.\n\n\n--\n\nWith best regards,\nMarat Bukharov", "msg_date": "Wed, 3 Jul 2024 16:03:38 +0300", "msg_from":...
[ { "msg_contents": "Hi,\n\nThe documentation states that \"WAL summarization cannot be enabled when wal_level is set to minimal.\" Therefore, at startup, the postmaster checks these settings and exits with an error if they are not configured properly.\n\nHowever, I found that summarize_wal can still be enabled w...
[ { "msg_contents": "Is there a guidebook, any guidelines for writing grammar in Postgres, or\nany suggestions to keep in mind?\nDo we have a set of guidelines to write production rules in gram.y (for the\nBison Parser Generator) to make the grammar conflict-free and extendible in\nthe future?\n\nIs there a guide...
[ { "msg_contents": "pgproc.h has this:\n\n> struct PGPROC\n> {\n> \t/* proc->links MUST BE FIRST IN STRUCT (see ProcSleep,ProcWakeup,etc) */\n> \tdlist_node\tlinks;\t\t\t/* list link if process is in a list */\n> \tdlist_head *procgloballist; /* procglobal list that owns this PGPROC */\n> ...\n\nI don't see any ...
[ { "msg_contents": "Hi, Postgres hackers!\r\n\r\nWhile reading the source code, I noticed comments like \"-cim 9/10/89\". I think this might be an annotation by a developer to indicate the commit time, but from the commit history (using git), they does not seem to match.\r\n\r\nSpecifically:\r\n\r\n 1. What do...
[ { "msg_contents": "Hi,\n\nAttached is a small patch to fix a comment on PQcancelErrorMessage.\n\nIt was accidentally \"Get the socket of the cancel connection.\"\nI rewrote it to \"Returns the error message most recently generated\nby an operation on the cancel connection.\"\n\nRegards,\nYugo Nagata\n\n-- \nYug...
[ { "msg_contents": "> Hi,\n> \n> Attached is a small patch to fix a comment on PQcancelErrorMessage.\n> \n> It was accidentally \"Get the socket of the cancel connection.\"\n> I rewrote it to \"Returns the error message most recently generated\n> by an operation on the cancel connection.\"\n\nGood catch. The pro...
[ { "msg_contents": "Hi hackers,\n\nWe got trusted extensions since version 13, and some of them are\nrelocatable:\npostgres=> select distinct name from pg_available_extension_versions\n where trusted and relocatable;\n name\n-----------------\n tsm_system_time\n pgcrypto\n dict_int\n tablefunc\n uuid-ossp\n...
[ { "msg_contents": "Add pg_get_acl() to get the ACL for a database object\n\nThis function returns the ACL for a database object, specified by\ncatalog OID and object OID. This is useful to be able to\nretrieve the ACL associated to an object specified with a\n(class_id,objid) couple, similarly to the other fun...
[ { "msg_contents": "While I was trying to install PostgreSQL from the git repository to start\ncontributing I faced this issue. When I try to type ./configure it gives me\nthis error\n\nchecking for a thread-safe mkdir -p... /usr/bin/mkdir -p\nchecking for bison... /c/GnuWin32/bin/bison\nconfigure: using bison (...
[ { "msg_contents": "Hi,\n\nWith the current file_fdw, if even one line of data conversion fails, \nthe contents of the file cannot be referenced at all:\n\n =# \\! cat data/test.data\n 1,a\n 2,b\n a,c\n =# create foreign table f_fdw_test_1 (i int, t text) server f_fdw \noptions (filename 'test.data', f...
[ { "msg_contents": "original CopyOneRowTo:\nhttps://git.postgresql.org/cgit/postgresql.git/tree/src/backend/commands/copyto.c#n922\nI change it to:\n-----------------------\nif (!cstate->opts.binary)\n{\nforeach_int(attnum, cstate->attnumlist)\n{\nDatum value = slot->tts_values[attnum - 1];\nbool isnull = slot->...
[ { "msg_contents": "Hi.\n\nWe encountered a problem with excessive logging when transaction is \nsampled.\nWhen it is getting sampled every statement is logged, event SELECT. This \ncan\nlead to performance degradation and log polluting.\nI have added new setting to filter statements when transaction is \nsample...
[ { "msg_contents": "Hi,\n\n\nI just built postgresql on macos sonoma (v14) and I had to install the \nfollowing packages:\n\n * * icu - https://ports.macports.org/port/icu/\n * * pkg - https://ports.macports.org/port/pkgconfig/\n\nI don't see anything related to this on \nhttps://www.postgresql.org/docs/devel/...
[ { "msg_contents": "Hello postgres hackers:\n\nI am recently working on speeding up pg_upgrade for database with over a\nmillion tables and would like to share some (maybe) optimizeable or\ninteresting findings.\n\n1: Skip Compatibility Check In \"pg_upgrade\"\n=============================================\nConc...
[ { "msg_contents": "Hello hackers,\n\ni compile postgresql just for fun.\nMy system is a Arch Linux.\nI get after upgrade the libxml2 package (from 2.12.7-1 to 2.13.1-1) test errors for xml:\n\n---\n...\nok 200 + largeobject 553 ms\nok 201 + with ...
[ { "msg_contents": "Hi hackers,\r\n&nbsp;&nbsp;\r\n# Background\r\n\r\n\r\nPostgreSQL maintains a list of temporary tables for 'on commit\r\ndrop/delete rows' via an on_commits list in the session. Once a\r\ntransaction accesses a temp table or namespace, the\r\nXACT_FLAGS_ACCESSEDTEMPNAMESPACE flag is set. Befo...
[ { "msg_contents": "Attached patch teaches nbtree backwards scans to avoid needlessly\nrelocking a previously read page/buffer at the point where we need to\nconsider reading the next page (the page to the left).\n\nCurrently, we do this regardless of whether or not we already decided\nto end the scan, back when...
[ { "msg_contents": "Hi Hackers,\n\nI noticed that this query wasn't using my GiST index:\n\npostgres=# create extension btree_gist;\nCREATE EXTENSION\npostgres=# create table t (id bigint, valid_at daterange, exclude using gist (id with =, valid_at \nwith &&));\nCREATE TABLE\npostgres=# explain select * from t w...
[ { "msg_contents": "Hi,\n\nREL_14_STABLE and REL_15_STABLE have commit de8feb1f3, which turned on\n-Wcast-function-type, but don't have commit 101c37cd, which disabled\n-Wcast-function-type-strict as we agreed to do[1]. I noticed this on\nmy local system that has clang 18 as compiler, but you can see it on\nany...
[ { "msg_contents": "I am seeking advice. For now I hope for a suggestion about changes from\n17beta1 to 17beta2 that might cause the problem -- assuming there is a\nproblem, and not a mistake in my testing.\n\nOne of the sysbench microbenchmarks that I run does a table scan with a\nWHERE clause that filters out ...
[ { "msg_contents": "Hi,\n\nI noticed that ALTER TABLE MERGE PARTITIONS and SPLIT PARTITION commands\nalways create new partitions in the default tablespace, regardless of\nthe parent's tablespace. However, the indexes of these new partitions inherit\nthe tablespaces of their parent indexes. This inconsistency se...
[ { "msg_contents": ">> My system is a Arch Linux.\n>> I get after upgrade the libxml2 package (from 2.12.7-1 to 2.13.1-1)\n>> test errors for xml:\n>> \n>> not ok 202 + xml 1464 ms\n>> [...snip...]\n>> # 1 of 222 tests failed.\n>> # The differences that caused some tests to...
[ { "msg_contents": "1eff8279d4 added memory/disk usage for materialize nodes in EXPLAIN\nANALYZE.\nIn the commit message:\n> There are a few other executor node types that use tuplestores, so we\n> could also consider adding these details to the EXPLAIN ANALYZE for\n> those nodes too.\n\nSo I wanted to Add memor...
[ { "msg_contents": "In the numeric width_bucket() code, we currently do the following:\n\n mul_var(&operand_var, count_var, &operand_var,\n operand_var.dscale + count_var->dscale);\n div_var(&operand_var, &bound2_var, result_var,\n select_div_scale(&operand_var, &bound2_var), true);\n...
[ { "msg_contents": "Reading through postmaster code, I spotted some refactoring \nopportunities to make it slightly more readable.\n\nCurrently, when a child process exits, the postmaster first scans \nthrough BackgroundWorkerList to see if it was a bgworker process. If not \nfound, it scans through the BackendL...
[ { "msg_contents": "Hi,\n\nGit on windows defaults to core.autocrlf being enabled. Which means\nthat a normal git clone will convert all lineendings in text files.\n\nUnfortunately that causes a few tests to fail, at least:\n test_json_parser/001_test_json_parser_incremental\n test_json_parser/003_test_semanti...
[ { "msg_contents": "Hi,\n\nWhile working to address some of Dave's concerns at [1], I encountered the odd\nissue of tests failing because postmaster not being allowed to open\npg_control. This did not happen for all tests, but for a lot of tests.\n\nFor example, the only output in\npg_upgrade/003_logical_slots/...
[ { "msg_contents": "Hi,\n\nWhile working on [1] I encountered the issue that, on github-actions,\n010_pg_basebackup.pl fails on windows.\n\nThe reason for that is that github actions uses two drives, with TMP/TEMP\nlocated on c:, the tested code on d:. This causes the following code to fail:\n\n # Create a tem...
[ { "msg_contents": "I think the period here should be a typo.\n\nindex 16b5803d388..af3b15e93df 100644\n--- a/src/backend/storage/ipc/procarray.c\n+++ b/src/backend/storage/ipc/procarray.c\n@@ -185,7 +185,7 @@ typedef struct ComputeXidHorizonsResult\n FullTransactionId latest_completed;\n\n /*\n- ...
[ { "msg_contents": "As part of making tuplestores faster [1], I noticed that in WindowAgg, when\nwe end one partition we call tuplestore_end() and then we do\ntuplestore_begin_heap() again for the next partition in begin_partition()\nand then go on to set up the tuplestore read pointers according to what's\nrequ...
[ { "msg_contents": "The numeric round() and trunc() functions clamp the scale argument to\nthe range between +/- NUMERIC_MAX_RESULT_SCALE, which is +/- 2000.\nThat's a long way short of the actual allowed range of type numeric,\nso they produce incorrect results when rounding/truncating more than\n2000 digits be...
[ { "msg_contents": "Hi,\n\nI've noticed an issue with non-superusers who have the pg_maintain role.\nWhen they run VACUUM on a specific table within a specific schema,\nlike \"VACUUM mynsp.mytbl\", it fails if they don't have the USAGE privilege\non the schema. For example, the error message logged is\n\"ERROR: ...
[ { "msg_contents": "Hello hackers,\n\nThis patch adds a mul_var_large() that is dispatched to from mul_var()\nfor var1ndigits >= 8, regardless of rscale.\n\nThe main idea with mul_var_large() is to reduce the \"n\" in O(n^2) by a factor\nof two.\n\nThis is achieved by first converting the (ndigits) number of int...
[ { "msg_contents": "Hello hackers,\n\nI'm not hopeful this idea will be fruitful, but maybe we can find solutions\nto the problems together.\n\nThe idea is to increase the numeric NBASE from 1e4 to 1e8, which could possibly\ngive a significant performance boost of all operations across the board,\non 64-bit arch...
[ { "msg_contents": "NextCopyFrom, currently, it is:\n--------------\nif (cstate->defaults[m])\n{\n......\n}\n\n/*\n* If ON_ERROR is specified with IGNORE, skip rows with soft\n* errors\n*/\nelse if (!InputFunctionCallSafe(&in_functions[m],\nstring,\ntypioparams[m],\natt->atttypmod,\n(Node *) cstate->escontext,\n...
[ { "msg_contents": "In [1], Andres reported a -Wuse-after-free bug in the\nATExecAttachPartition() function. I've created a patch to address it\nwith pointers from Amit offlist.\n\nThe issue was that the partBoundConstraint variable was utilized after\nthe list_concat() function. This could potentially lead to ...
[ { "msg_contents": "Not 100% sure, sorry if this doesn't make sense.\n\n--- a/src/common/jsonapi.c\n+++ b/src/common/jsonapi.c\n@@ -514,7 +514,7 @@ freeJsonLexContext(JsonLexContext *lex)\n *\n * If FORCE_JSON_PSTACK is defined then the routine will call the non-recursive\n * JSON parser. This is a useful way...
[ { "msg_contents": "while reviewing the json query doc,\nI found out the following error message was not quite right.\n\nselect '[1,2]'::int[];\nERROR: malformed array literal: \"[1,2]\"\nLINE 1: select '[1,2]'::int[];\n ^\nDETAIL: Missing \"]\" after array dimensions.\nshould it be:\n\"Missing d...
[ { "msg_contents": "Hi,\n\nWhile I'm researching about [1], I found there are inconsistent EXPLAIN outputs.\nHere is an example which shows \" OPERATOR(pg_catalog.\". Though it's not wrong,\nI feel like there is no consistency in the output format.\n\n-- A reproduce procedure\ncreate temp table btree_bpchar (f1 ...
[ { "msg_contents": "Hi,\n\nCompiling postgres on windows with tab-completion support fails either with\n\"fatal error C1026: parser stack overflow, program too complex”.\nor (in recent versions) with\n\"…/src/bin/psql/tab-complete.c(4023): fatal error C1001: Internal compiler error.\"\n\nI've reported this to th...
[ { "msg_contents": "Hi,\n\nSince\n\ncommit f7431bca8b0138bdbce7025871560d39119565a0\nAuthor: Stephen Frost <sfrost@snowman.net>\nDate: 2023-04-13 08:55:13 -0400\n\n Explicitly require MIT Kerberos for GSSAPI\n\n WHen building with GSSAPI support, explicitly require MIT Kerberos and\n check for gssapi_...
[ { "msg_contents": "So anyways I talked last week about lock-free vacuum. Since then I almost\nfinished creating a plugin that works on all Jetbrains products. It hooks\nto the internal database tool and displays the internals of the database\nand some stats. I would use this for my next phase: autovacuum with\n...
[ { "msg_contents": "Hi all,\n(cc-ing Tom as committer of 52585f8f072a)\n\nAs Ashutosh has mentioned here we are not installing AdjustUpgrade.pm:\nhttp://postgresql.org/message-id/CAExHW5sja9YqZhin+UOp4DuHJwmgZc86YGDkXeEEW+HVyCvRnA@mail.gmail.com\n\nThe same thing can be said for Kerberos.pm.\n\nCould there be an...
[ { "msg_contents": "Hi,\n\nCurrently, pg_verifybackup only works with plain (directory) format backups.\nThis proposal aims to support tar-format backups too. We will read the tar\nfiles from start to finish and verify each file inside against the\nbackup_manifest information, similar to how it verifies plain f...
[ { "msg_contents": "Greetings,\n\nThere are suggestions that you can use extended query to fetch from a\ncursor, however I don't see how you can bind values to the cursor ?\n\nPostgreSQL: Documentation: 16: FETCH\n<https://www.postgresql.org/docs/16/sql-fetch.html>\n\nIs this possible?\n\nDave Cramer\n\nGreeting...
[ { "msg_contents": "I don't quite understand why TransactionIdIsCurrentTransactionId() implements\nbinary search in ParallelCurrentXids \"from scratch\" instead of using\nbsearch().\n\nIf I read the code correctly, the contents of the ParallelCurrentXids is\ncomposed in SerializeTransactionState(), which uses xi...
[ { "msg_contents": "Please find attached a patch to allow for durations to optionally be sent\nto separate log files. In other words, rather than cluttering up our\npostgres202007.log file with tons of output from\nlog_min_duration_statement, duration lines are sent instead to the file\npostgres202007.duration.\...
[ { "msg_contents": "Hi,\r\nin func&nbsp;get_rel_sync_entry() we access the same tuple in pg_class three times:\r\n&nbsp; &nbsp; Oid\t&nbsp; &nbsp; &nbsp; &nbsp; schemaId = get_rel_namespace(relid);\r\n&nbsp; &nbsp; bool\t\tam_partition = get_rel_relispartition(relid);\r\n&nbsp; &nbsp; char\t\trelkind = get_rel_r...
[ { "msg_contents": "Hi All,\nUsing PG_TEST_EXTRA with make is simple, one just sets that environment variable\n$ make check\n... snip ...\n PG_REGRESS='/home/ashutosh/work/units/pghead_make/coderoot/pg/src/test/modules/xid_wraparound/../../../../src/test/regress/pg_regress'\n/usr/bin/prove -I ../../../../src/tes...
[ { "msg_contents": "Hi,\r\n\r\n\r\n-&nbsp; &nbsp; &nbsp; &nbsp;/* use Oid as relation identifier */\r\n+&nbsp; &nbsp; &nbsp; &nbsp;/* use Oid as type identifier */\r\n&nbsp; &nbsp; &nbsp; &nbsp; pq_sendint32(out, typoid);\r\n\r\n\r\n\r\nI think it must be \"type identifier\"&nbsp;rather than \"relation identifie...
[ { "msg_contents": "Hi,\n\nA cfbot test suddenly failed with regression test error.\n\nhttp://cfbot.cputube.org/highlights/all.html#4460\n\nFollowing the link \"regress\" shows:\nhttps://api.cirrus-ci.com/v1/artifact/task/5428792720621568/testrun/build/testrun/recovery/027_stream_regress/data/regression.diffs\n\...
[ { "msg_contents": "Per discussion elsewhere [1], I've been looking at $SUBJECT.\nI have a very crude Perl hack (too ugly to show yet ;-)) that\nproduces output along the lines of\n\n\nExisting code:\n\n/* CREATE STATISTICS <name> */\n else if (Matches(\"CREATE\", \"STATISTICS\", MatchAny))\n COMPLETE_...
[ { "msg_contents": "Hey there,\n\nI am new to contributing in PostgreSQL and I've just installed the source\ncode and built the system successfully from the source code and trying to\nfind a bug to start working on but I face some problems with the pgsql-bugs\nmailing list as I can't filter them by which are sol...
[ { "msg_contents": "Hi,\n\nWhile working on CIC for partitioned tables [1], I noticed that REINDEX \nfor partitioned tables is not tracking keeping progress of partitioned \ntables, so I'm creating a separate thread for this fix as suggested.\n\nThe way REINDEX for partitioned tables works now ReindexMultipleInt...
[ { "msg_contents": "Hi hackers,\n\nI ran into an issue today when I was trying to insert a complex types \nwhere one of its attributes is also an array of complex types,\n\nAs an example:\n\nCREATE TYPE inventory_item AS\n(\n     name        text,\n     supplier_id integer,\n     price       numeric\n);\nCREATE ...
[ { "msg_contents": "Hello, everyone!\n\nWhile reviewing [1], I noticed that check_exclusion_or_unique_constraint\noccasionally returns false negatives for btree unique indexes during UPSERT\noperations.\nAlthough this doesn't cause any real issues with INSERT ON CONFLICT, I\nwanted to bring it to your attention,...
[ { "msg_contents": "In [1], it is suggested that it might be a good idea to support\nspecifying the tablespace for each merged/split partition.\n\nWe can do the following after this feature is supported:\n\nCREATE TABLESPACE tblspc LOCATION '/tmp/tblspc';\nCREATE TABLE t (i int PRIMARY KEY) PARTITION BY RANGE (i...
[ { "msg_contents": "Hi\n\nI have a large database (multi TB) which had a vacuum full running but \nthe database ran out of space during the rebuild of one of the large \ndata tables.\n\nCleaning down the WAL files got the database restarted (an archiving \nproblem led to the initial disk full).\n\nHowever, the d...
[ { "msg_contents": "I came across a query that returned incorrect results and I traced it\ndown to being caused by duplicate unique key values in an inheritance\ntable. As a simple example, consider\n\ncreate table p (a int primary key, b int);\ncreate table c () inherits (p);\n\ninsert into p select 1, 1;\nins...
[ { "msg_contents": "Hello,\n\nI have been considering adding a user script that performs pre-checks\nbefore executing the start, stop, and restart operations in pg_ctl. I\nbelieve it is necessary for pg_ctl to support an extension that can prevent\nvarious issues that might occur when using start and stop. To th...
[ { "msg_contents": "Hi everyone,\nIn the postgrs_fdw deparser code, deparseFromExprForRel() appends an alias\nto the remote query based on the 'use_alias' boolean flag.\n\nFor a simple query, 'use_alias' is determined by\n`bms_membership(scanrel->relids) == BMS_MULTIPLE` condition. Example:\nhttps://github.com/p...
[ { "msg_contents": "Hi Hackers,\n\nRecently, I compiled PG17 on the windows. Till PG16 \"ActiveState Perl\", as\ninstructed in the documentation\n<https://www.postgresql.org/docs/16/install-windows-full.html#INSTALL-WINDOWS-FULL-REQUIREMENTS>,\nwas being used successfully on the Windows 10/11 to compile PG.\nHow...
[ { "msg_contents": "Hi hackers,\n\nI'm looking for some input on an issue I've observed. A common pattern\nI've seen is using temporary tables to put data in before updating the\nreal tables. Something roughly like:\n\nOn session start:\nCREATE TEMP TABLE temp_t1 (...) ON COMMIT DELETE ROWS;\n\nOn update:\nBEGIN...