threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hello!\n\nI`ve noticed, that when running switchover replica to master and back to \nreplica, new history file is streamed to replica, but not archived,\nwhich is not great, because it breaks PITR if archiving is running on \nreplica. The fix looks trivial.\nBash script to reproduce the probl... |
[
{
"msg_contents": ">checking for libxml/parser.h... no\n>configure: error: header file <libxml/parser.h> is required for XML support\n\nsudo yum install libxml2-devel\n\nYou need to install the development package before ./configure.\n\nregards,\nRanier Vilela\n\n>checking for libxml/parser.h... no>configure: e... |
[
{
"msg_contents": "Hi all,\n\nthis minor patch is attempting to force the use of the tableam api in dbsize where ever it is required.\n\nApparently something similar was introduced for toast relations only. Intuitively it seems that the distinction between a table and a toast table is not needed. This patch tre... |
[
{
"msg_contents": "Hackers,\n\nOver in [1] we have been discussing the deprecation of postfix operators, with the general consensus that deprecation warnings should be included in this upcoming release and postfix operator support should be removed in PostgreSQL 14. Since not all people who follow -hackers wil... |
[
{
"msg_contents": "If I create a large table with \"CREATE TABLE ... AS SELECT ... from\ngenerate_series(1,3e7)\" with no explicit transactions, then once it is done\nI wait for autovac to kick in, then when I try to build an index on that\ntable (or drop the table) the autovac doesn't go away on its own.\n\nBi... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nWhen \"Prepare for toasting\", it is necessary to turn off the flag\nTOAST_NEEDS_DELETE_OLD,\nif there is no need to delete external values from the old tuple, otherwise,\nthere are dereference NULL at toast_helper.c (on toast_tuple_cleanup\nfunction).\n\n\nregards,\nR... |
[
{
"msg_contents": "We have a Postgres 13 open item for Disk-based hash aggregate, which\nis the only non-trivial open item. There is a general concern about\nhow often we get disk-based hash aggregation when work_mem is\nparticularly low, and recursion seems unavoidable. This is generally\nthought to be a probl... |
[
{
"msg_contents": "Greetings,\n\nThere's no shortage of requests and responses regarding how to have a\n'read all of the data' role in PG, with various hacks involving \"GRANT\nALL\" and \"ALTER DEFAULT PRIVILEGES\" to \"solve\" this, neither of which\nreally works long term (\"GRANT ALL\" is one-time, and \"AL... |
[
{
"msg_contents": "It strikes me that when we are vacuuming a temporary table (which\nnecessarily will be one of our own session), we don't really need\nto care what the global xmin horizon is. If we're not inside a\nuser transaction block, then there are no tuples in the table that\ncould be in-doubt anymore.... |
[
{
"msg_contents": "(Forking this thread from the SLRU fsync one[1] to allow for a\nseparate CF entry; it's unrelated, except for being another case of\nmoving work off the recovery process's plate.)\n\nHello hackers,\n\nCurrently we don't run the bgwriter process during crash recovery.\nI've CCed Simon and Heik... |
[
{
"msg_contents": "Hi,\n\nA couple of recent cases where an error \"libpq is incorrectly linked\nto backend functions\" broke the dblink test:\n\n https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lorikeet&dt=2020-08-22%2002:55:22\n | REL9_6_STABLE | Windows\n https://buildfarm.postgresql.org/cgi-bin/sho... |
[
{
"msg_contents": "Hi all,\n\nIn the current lazy vacuum implementation, some index AMs such as\nbtree indexes call lazy_tid_reaped() for each index tuples during\nambulkdelete to check if the index tuple points to the (collected)\ngarbage tuple. In that function, we simply call bsearch(3) but we\nshould be abl... |
[
{
"msg_contents": "Thanks.\n\nRegards.",
"msg_date": "Sun, 30 Aug 2020 14:03:32 +0100",
"msg_from": "David CARLIER <devnexen@gmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH v1] explicit_bzero.c: using explicit_memset on NetBSD"
},
{
"msg_contents": "On Sun, Aug 30, 2020 at 02:03... |
[
{
"msg_contents": "The stats target can be set since commit d06215d03, but wasn't shown by psql.\n ALTER STATISISTICS .. SET STATISTICS n.\n\nNormal (1-D) stats targets are shown in \\d+ table.\nStats objects are shown in \\d (no plus).\nArguably, this should be shown only in \"verbose\" mode (\\d+).",
"msg... |
[
{
"msg_contents": "Hi all,\n\nWe are going to be in September in a couple of hours, meaning that the\nsecond commit fest for Postgres 14 will begin soon. Do we have any\nvolunteers to take the role of CFM this time?\n\nThanks,\n--\nMichael",
"msg_date": "Mon, 31 Aug 2020 16:37:12 +0900",
"msg_from": "M... |
[
{
"msg_contents": "Hi,\n\nAfter commit 3e98c0bafb28de, we can display the usage of the\nmemory contexts using pg_backend_memory_contexts system\nview.\n\nHowever, its target is limited to the process attached to\nthe current session.\n\nAs discussed in the thread[1], it'll be useful to make it\npossible to get... |
[
{
"msg_contents": "Currently pg_list.h doesn't have a variant for uint32 list (like\nT_UIntList), is there a reason other than that that we don't need it\ntill now? I see that one can use T_OidList instead (as Oid is uint32)\nbut I am not sure if that is a good idea to say use it for maintaining\na list of Tran... |
[
{
"msg_contents": "Hi,\n\nIt seems like this patch is nearly finished. I fixed all the remaining\nissues. I'm also asking\na confirmation of the test scenarios you want to see in the next\nversion of the patch.\n\n> Hi,\n>\n> On 2020-07-10 19:01:49 -0400, Alvaro Herrera wrote:\n> > Totally unasked for, here's a... |
[
{
"msg_contents": "Hi!\n\nSometimes the output to stdout on Windows on multicore machines does not \ngo through after connecting and disconnecting to the server using the \nPQconnectdbParams and PQfinish functions. I tested on 6 cores.\n\nFirst we appeared this in some pgbench tests. Then we found that this \n... |
[
{
"msg_contents": "Jaime Casanova recently reported a situation where pglogical replicating\nfrom 64 POS sites to a single central (64-core) node, each with two\nreplication sets, causes XLog's info_lck to become highly contended\nbecause of frequently reading LogwrtResult. We tested the simple fix of\nadding ... |
[
{
"msg_contents": "Per the discussion at [1], we're now aware of actual use-cases for\npassword strings approaching a kilobyte in length. I think this puts\nthe final nail in the coffin of the idea that passwordFromFile() can\nuse a fixed-length line buffer. Therefore, commit 2eb3bc588 (which\nadded a warning... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nAs described in the doc https://www.postgresql.org/docs/current/sql-copy.html, the TEXT format recognizes\r\nbackslash-period (\\.) as end-of-data marker.\r\n\r\nThe example below will raise an error for the line contains `\\.`.\r\n\r\nCREATE TABLE test (\r\nid int,\r\nname... |
[
{
"msg_contents": "A custom table access method might want to add a new reloption to\ncontrol something specific to that table access method. Unfortunately,\nif you add a new option of type RELOPT_KIND_HEAP, it will immediately\nfail because of the validation that happens in fillRelOptions().\n\nRight now, heap... |
[
{
"msg_contents": "Hi,\n\nas a continuation of [1], I've split-off the zero page header case from\nthe last patch, as this one seems less contentious.\n\n\nMichael\n\n[1] https://commitfest.postgresql.org/28/2308/\n\n-- \nMichael Banck\nProjektleiter / Senior Berater\nTel.: +49 2166 9901-171\nFax: +49 2166 990... |
[
{
"msg_contents": "Hi, hackers\r\n\r\nWhen I setup a stream replication I found that the documentation says that promote_trigger_file\r\nparameter can only be set in the postgresql.conf file or on the server command line, however, it\r\ncan also be put into postgresql.auto.conf. If I use include to import a new... |
[
{
"msg_contents": "Hi,\n\nBetter late than never, to follow up on the original thread [1] I would like to\ncontinue the discussion with the another version of the patch for group by\nreordering optimization. To remind, it's about reordering of group by clauses\nto do sorting more efficiently. The patch is rebas... |
[
{
"msg_contents": "Hi,\n\nthe pg_checksums docs mention that \"When enabling checksums, every file\nin the cluster is rewritten\".\n\n From IRC discussions, \"rewritten\" seems ambiguous, it could mean that a\nsecond copy of the file is written and then switched over, implying\nincreased storage demand during t... |
[
{
"msg_contents": "I was experimenting with building with MIT Kerberos support on 64 bit\nWindows using MSVC and ran into a number of linker errors along the lines\nof:\n\n\"C:\\Users\\dpage\\Downloads\\postgresql-12.4\\pgsql.sln\" (default target) (1) ->\n\"C:\\Users\\dpage\\Downloads\\postgresql-12.4\\zic.vcx... |
[
{
"msg_contents": "Hi,\n\nPostgres's describe-config option prints reset_val for int & real\nconfiguration parameters which is not useful as it is not updated.\nPrinting boot_val is better in this case. reset_val is updated with\nboot_val while the server is getting started but in case of postgres\n--describe-c... |
[
{
"msg_contents": "Hello hackers,\n\nYou don't need to call stat() just to find out if a dirent is a file\nor directory, most of the time. Please see attached.",
"msg_date": "Wed, 2 Sep 2020 17:18:38 +1200",
"msg_from": "Thomas Munro <thomas.munro@gmail.com>",
"msg_from_op": true,
"msg_subject"... |
[
{
"msg_contents": "Hi,\n\non a regular basis I remember a builtin function's name, or can figure it out\nusing \\df etc, but can't remember the argument order. A typical example is\nregexp_*, where I never remember whether the pattern or the input string comes\nfirst.\n\nUnfortunatly \\df does not really help w... |
[
{
"msg_contents": "Hi all,\n\n$subject has been mentioned a couple of times, including today:\nhttps://www.postgresql.org/message-id/20200902010012.GE1489@paquier.xyz\n\nWe have a boolean argument in ReindexStmt to control a concurrent\nrun, and we also have in parallel of that a bitmask to control the\noptions... |
[
{
"msg_contents": "Hi,\n\nFirst, on behalf of the PostgreSQL 13 RMT, thank you everyone for your\nhard work not only building all of the features that are going into\nPostgreSQL 13, but for the diligence and work in stabilizing the\nrelease. We have now reached the point of the release cycle where we can\nstart... |
[
{
"msg_contents": "Hi,\n\nIs possible that BTreeTupleSetNAtts, leave everything tidy, so that\nBTreeTupleGetHeapTID doesn't fail.\nBTreeTupleGetHeapTID can return NULL.\n\nBut, as we can see:\n1. Line 2085 (nbtutils.c):\n if (BTreeTupleGetHeapTID(itup) != NULL && tupnatts != nkeyatts)\n2. Line 803 (nbtsearch... |
[
{
"msg_contents": "Hi all,\n\nFor a couple of things I looked at lately, it would be really useful\nto make index_state_set_flags() transactional and replace its use of\nheap_inplace_update() by CatalogTupleUpdate():\n- When dropping an index used in a replica identity, we could make the\nreset of relreplident ... |
[
{
"msg_contents": "Hi,\n\nStarting a new thread to discuss a bug related to $subject that Hao Wu\nreported on thread titled \"ALTER TABLE .. DETACH PARTITION\nCONCURRENTLY\" [1]. I have been able to reproduce the bug using steps\nthat Hao gave in that email:\n\ncreate table tpart (i int, j int) partition by ra... |
[
{
"msg_contents": "Hi folks\n\nThe attached patch series adds support for detecting coding errors where a\nstack-allocated ErrorContextCallback is not popped from the\nerror_context_stack before the variable leaves scope.\n\nWith the attached patches this code will emit a backtrace and abort() on\ncassert build... |
[
{
"msg_contents": "Hi hackers,\n\nRecently I have asked once again by one of our customers about login \ntrigger in postgres. People are migrating to Postgres from Oracle and \nlooking for Postgres analog of this Oracle feature.\nThis topic is not new:\n\nhttps://www.postgresql.org/message-id/flat/157030835672... |
[
{
"msg_contents": "A pretty minor issue: when reporting that WAL appears invalid because\ncontrecord length doesn't match, we may as well print to the server log\nthe value that we're expecting. Patch attached.\n\n-- \n�lvaro Herrera http://www.flickr.com/photos/alvherre/",
"msg_d... |
[
{
"msg_contents": "Hi all,\n\nconchuela has just reported the following error:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=conchuela&dt=2020-09-03%2023%3A00%3A36\n\n-- Drop access method cascade\n DROP ACCESS METHOD gist2 CASCADE;\n NOTICE: drop cascades to index grect2ind2\n+ERROR: deadlock dete... |
[
{
"msg_contents": "conchuela just showed an unusual failure:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=conchuela&dt=2020-09-03%2023%3A00%3A36\n\nThe core of it is a deadlock failure in create_am.sql; there's then\nsome follow-on noise from not having successfully dropped the test AM.\nThe deadl... |
[
{
"msg_contents": "\nGreetins hackers,\n\nI have mixed feelings if this welcome contribution as the potential gain is relatively small in my tests, but still I would like to point out that HASH_FFACTOR functionality from dynahash.c could be removed or optimized (default fill factor is always 1, there's not a si... |
[
{
"msg_contents": "hello, hackers.\n\nI found a comment error in buffer descriptors comment. The cache line size\nis 64 bytes, not 64 bits",
"msg_date": "Fri, 4 Sep 2020 23:31:55 +0800",
"msg_from": "Kelly Min <myzhmin@gmail.com>",
"msg_from_op": true,
"msg_subject": "\n =?UTF-8?Q?=5BPATCH=5D_Co... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nI was wondering if there's a good reason in pg_dump getPublicationTables() \r\nto iterate through all tables one by one and querying to see if it has a \r\ncorresponding publication other than memory concerns?\r\n\r\nAttached is a patch to construct the publications by quer... |
[
{
"msg_contents": "While playing around with clang's scan-build I noticed this warning:\n\nworker.c:2281:7: warning: Value stored to 'ping_sent' is never read\n ping_sent = true;\n ^ ~~~~\n\nAt first I though... |
[
{
"msg_contents": "I discovered a problem today while trying to do a VPATH build on\na machine I don't use that often:\n\n$ make\n...\nIn file included from /home/tgl/pgsql/src/include/postgres.h:47,\n from /home/tgl/pgsql/src/common/hashfn.c:24:\n/home/tgl/pgsql/src/include/utils/elog.h:71:10: ... |
[
{
"msg_contents": "I propose the attached little patch to set the name of the memory \ncontext of an unnamed portal to \"<unnamed>\" instead of just an empty \nstring. Otherwise the debug memory context dump looks a little \nconfusing. We use this convention elsewhere for making unnamed \nstatements etc. more... |
[
{
"msg_contents": "scan-build complains that \"exists = false\" is a dead store,\nwhich it is:\n\nprocess_target_file(const char *path, file_type_t type, size_t oldsize,\n const char *link_target)\n{\n bool exists;\n ...\n\n if (lstat(localpath, &statbuf) < 0)\n {\n ... |
[
{
"msg_contents": "Hi Juan,\n\nThis is only a suggestion, if you find it appropriate.\nWe could use a little cut tail in get_dirent_type function.\n\nTry to avoid add padding, when modifying or adding fields.\nstruct dirent\n {\n long d_ino;\n unsigned short d_reclen;\n unsigned short d_namlen;\n+ unsigned c... |
[
{
"msg_contents": "I was wondering if I could just add minvfunc, and have the rest of the m*\nfunctions be assumed to be the same as their non-moving counterparts.\nApparently the answer is 'no'. But in the process, I found a bad error\nmessage. When omitting mfinalfunc when there is a finalfunc, I get the\ne... |
[
{
"msg_contents": "Following a bulk load, a CLUSTER command run by a maintenance script crashed.\nThis is currently reproducible on that instance, so please suggest if I can\nprovide more info.\n\n< 2020-09-06 15:44:16.369 MDT >LOG: background worker \"parallel worker\" (PID 2576) was terminated by signal 6: ... |
[
{
"msg_contents": "Hi\n\nOn these pages:\n\n https://www.postgresql.org/docs/current/fdw-callbacks.html\n https://www.postgresql.org/docs/current/tablesample-method.html\n\nwe have the phrase:\n\n \"..., which see for additional details.\"\n\nwhich strikes me as a bit odd. Suggested phrasing:\n\n \"...;... |
[
{
"msg_contents": "Hi,\n\nI observed that, in logical replication when a subscriber is missing\nsome columns, it currently emits an error message that says \"some\"\ncolumns are missing(see logicalrep_rel_open()), but it doesn't specify\nwhat the missing column names are. The comment there also says that\nfindi... |
[
{
"msg_contents": "Hi Hackers,\n\nI observed that we have inaccurate comment in\nenforce_generic_type_consistency.\n\n if (!OidIsValid(elem_typeid))\n {\n if (allow_poly)\n {\n elem_typeid = ANYELEMENTOID;\n ... |
[
{
"msg_contents": "Hi,\n\nhaving just spoken with Harald Armin Massa of 2ndQuadrant, he encouraged me to ask my question here. This is about publisher/subscriber replication and was originally posted in german to pgsql-de-allgemein@lists.postgresql.org.\n\nAccording to documentation, the field pg_stats_subscrip... |
[
{
"msg_contents": "Hello hackers,\n\nCurrently, database recovery from archive is performed sequentially,\nby reading archived WAL files and applying their records to the database.\n\nOverall archive file processing is done one by one, and this might\ncreate a performance bottleneck if archived WAL files are de... |
[
{
"msg_contents": "We use the timestamp of the global statfile if we are not able to\ndetermine it for a particular database either because the entry for\nthat database doesn't exist or there is an error while reading the\nspecific database entry. This was not taken care of while reading\nother entries like Arc... |
[
{
"msg_contents": "While running a simple SELECT statement on a table where I expected\nindexonly scan to be preferred over sequential scan, the planner kept on\nselecting the sequential scan. Looking at the EXPLAIN output, it seemed\nobvious that the cost of indexonly was exceeding that of sequential scan.\nSo... |
[
{
"msg_contents": "Hi, I ran across a small (but annoying) bug in initializing parallel BTree scans, which causes the parallel-scan state machine to get confused. The fix is one line; the description is a bit longer—\r\n\r\nBefore, function _bt_first() would exit immediately if the specified scan keys could nev... |
[
{
"msg_contents": "Hi,\n\nJeff Janes in [1] found that I ([2]) broke autovacuum cancellations. It\nobviously would be good to add a test for this, but it seems hard to\nhave that be reliable given how long it can take for autovacuum actually\nget around to vacuum a specific table.\n\nThat made me wonder if it'd... |
[
{
"msg_contents": "This is to pull together a couple of recent threads that are seemingly\nunrelated to $SUBJECT.\n\nOver in the long thread at [1] we've agreed to try to make the backend\ncode actually do what assorted comments claim it does, namely allow\nSIGQUIT to be accepted at any point after a given proc... |
[
{
"msg_contents": "Hi,\n\nAttached is a patch to standardize Japanese names as given-name-first\nin the v13 contributors list as before.\n\nBest regards,\nEtsuro Fujita",
"msg_date": "Wed, 9 Sep 2020 14:15:04 +0900",
"msg_from": "Etsuro Fujita <etsuro.fujita@gmail.com>",
"msg_from_op": true,
"ms... |
[
{
"msg_contents": "Here is a patch for minor cleanup of the partbounds.c changes made by\ncommit c8434d64c: 1) removes a useless assignment (in normal builds)\nand 2) improves comments a little.\n\nBest regards,\nEtsuro Fujita",
"msg_date": "Wed, 9 Sep 2020 22:37:07 +0900",
"msg_from": "Etsuro Fujita <e... |
[
{
"msg_contents": "Hello hackers,\n\nPlease consider fixing minor defects in the source code and documentation.\n1. a missing dot in guc.c\n\"SELECT name, short_desc FROM pg_settings WHERE short_desc NOT LIKE\n'%.'\" finds only this one instance.\n2. inrange -> in_range\nthe former spelling is unique\n3. sigatu... |
[
{
"msg_contents": "Also, the behavior (=line of code) added by the bug fix is the same as existing code in the same function, _bt_first(), at lines 898, 1096, 1132, 1367. And the calls to _bt_parallel_readpage(), line 903, and _bt_steppage(), line 1416, will also ultimately call _bt_parallel_done(). So the bug ... |
[
{
"msg_contents": "Hi all\n\nAs I've gained experience working on background workers, it's become\nincreasingly clear that they're a bit too different to normal backends for\nmany nontrivial uses.\n\nI thought I'd take a moment to note some of it here, along with some\nproposals for things we could potentially ... |
[
{
"msg_contents": "I would like to propose new PostgreSQL Extension - PGSpiderExt.\n\n* What is PGSpiderExt\nThis extension makes it possible to treat multiple tables having the same schema as a single virtual table.\nWe call this table as a multi-tenant table.\nIf a foreign table has a key column identifying a... |
[
{
"msg_contents": "Hi,\n\nThere is a recent build farm failure [1] in one of the test_decoding\ntests as pointed by Tom Lane [2]. The failure report is shown below:\n\n@@ -71,6 +71,8 @@\n data\n ------------------------------------------\n opening a streamed block for transaction\n+ closing ... |
[
{
"msg_contents": "Answers inline below, sorry for the formatting-- am still trying to get corporate email to work nicely with this mailing list, thanks.\r\n\r\nOn 9/9/20, 9:22 PM, \"Justin Pryzby\" <pryzby@telsasoft.com> wrote:\r\n\r\n CAUTION: This email originated from outside of the organization. Do not... |
[
{
"msg_contents": "Answers inline below:\r\n\r\nOn 9/10/20, 4:58 AM, \"Amit Kapila\" <amit.kapila16@gmail.com> wrote:\r\n\r\n CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.\r\n\r\n\r\n\r\... |
[
{
"msg_contents": "Disclaimer: I'm not a native speaker, so not sure those are actually\nincorrect, and can't offer non-trivial suggestions.\n\nGeneral ones:\n. \"boolean\" vs \"Boolean\" --- usage seems to be inconsistent, even in the\nsame context.\n\n. Transaction isolation levels are sometimes called \"tran... |
[
{
"msg_contents": "Hi\n\nTake the following cluster with:\n - node1 (initial primary)\n - node2 (standby)\n - node3 (standby)\n\nFollowing activity takes place (greatly simplified from a real-world situation):\n\n1. node1 is shut down.\n2. node3 is promoted\n3. node2 is attached to node3.\n4. node1 is attach... |
[
{
"msg_contents": "Hello\n\nJust arrived in the PostgreSQL world, and I'm looking for a solution to encrypt the database by using a TDE feature. Apparently this feature does not exist. Is it expected in the roadmap?\n\nThere is a fork named PostgreSQL 12.x TDE from Cybertec. The issue is that there is no key ma... |
[
{
"msg_contents": "Hi hackers:\n\nIn file src/backend/catalog/pg_cast.c in branch REL_13_STABLE(also in branch master)\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/catalog/pg_cast.c;h=5ea2b82b083477777c2a82b8d1a4588e4530f92e;hb=refs/heads/REL_13_STABLE\n\nthe copyright is still\nPor... |
[
{
"msg_contents": "Looking at a pg_dump patch I realized that when we call buildIndexArray without\nhaving found objects to index, we still call pg_malloc with zero which in turn\nmallocs 1 byte. The byte in question is of course negligable, but it does seem\ncleaner to return early with NULL instead of return... |
[
{
"msg_contents": "On Fri, Sep 11, 2020 at 1:39 PM Daniel Gustafsson <daniel(at)yesql(dot)se>\nwrote:\n>\n> Looking at a pg_dump patch I realized that when we call buildIndexArray\nwithout\n> having found objects to index, we still call pg_malloc with zero which in\nturn\n> mallocs 1 byte. The byte in question ... |
[
{
"msg_contents": "Right now, pg_service.conf returns \"syntax error\" if it encounters a\nparameter it doesn't know about.\n\nThis seems user-unfriendly, both in the error message (because it really\nisn't a syntax error) and in the behaviour itself (because it doesn't work\nwhen sometimes it should).\n\nFor e... |
[
{
"msg_contents": "Hi,\n\nread_binary_file seems a bit complicated when we want to read the rest of\nthe file (-1 for bytes_to_read).\nThis version, it seems, has no opposite effects, someone can confirm?\n\nregards,\nRanier Vilela",
"msg_date": "Fri, 11 Sep 2020 11:50:37 -0300",
"msg_from": "Ranier Vil... |
[
{
"msg_contents": "Hi,\n\nI've not yet been involved in postgresql's development process, so here's a\nfirst. Please find attached a patch for improving the BT binary search\nspeeds, with accompanying performance data.\n\nv1-0001 adapts _bt_compare and _bt_binsrch* to make use of static\nproperties of L&Y-style... |
[
{
"msg_contents": "Today we have pg_read_file() and pg_read_binary_file(), which mostly\ncorrespond to COPY from a file, but reads a whole (or parts but based on\nbytes) into a single value rather than rows.\n\nWould it make sense to have a pg_execute_program() that corresponds to COPY\nFROM PROGRAM? This would... |
[
{
"msg_contents": "Hi\n\nI try to solve issue\nhttps://stackoverflow.com/questions/63864906/plpgsql-parse-json-in-parameter-and-compose-json-out-parameter\nwith JSONPath and I have a problem to get index of some value in array. Is\nit possible with JSONPath?\n\nRegards\n\nPavel\n\nHiI try to solve issue https:/... |
[
{
"msg_contents": "While trying to understand a recent buildfarm failure [1], I got annoyed\nby the fact that a walsender exposes its last SQL command in\npg_stat_activity even when that was a long time ago and what it's been\ndoing since then is replication commands. This leads to *totally*\nmisleading report... |
[
{
"msg_contents": "While implementing streaming replication client functionality for Npgsql\nI stumbled upon a minor documentation error at\nhttps://www.postgresql.org/docs/current/protocol-replication.html\n\nThe \"content\" return value for the TIMELINE_HISTORYcommand is advertised\nas bytea while it is in fa... |
[
{
"msg_contents": "Hi,\n\nAttached fixes $subject.\n\nThanks,\nNaoki Nakamichi",
"msg_date": "Mon, 14 Sep 2020 11:06:15 +0900",
"msg_from": "btnakamichin <btnakamichin@oss.nttdata.com>",
"msg_from_op": true,
"msg_subject": "typo in snapmgr.c and procarray.c"
},
{
"msg_contents": "\n\nOn ... |
[
{
"msg_contents": "pg_verifybackup and the associated backup manifest functionality uses \n\"path\", \"path name\", etc. throughout where other components might just \nsay \"file\", \"file name\". This isn't wrong, if you follow POSIX \nterminology, but it's a bit unusual, I think. Specifically, option \nnami... |
[
{
"msg_contents": "Hi all.\r\n\r\nI tried searching for the response to this but couldn’t find any. Tried also posting to general but got no love there.\r\n\r\nI have pg_restore running in parallel (3 or more) and processing large amount of data that is in partitioned tables. However it seems that sometime dead... |
[
{
"msg_contents": "Hi,\n\n1. wchar2char has a mistake when checking the return of WideCharToMultiByte\ncall.\nresult variable is unsigned, therefore, cannot be less than zero, returning\n-1 is not an option.\n\n2. strftime or strftime_win32, return cannot be less than zero.\n\n3. If strftime or strftime_win32, ... |
[
{
"msg_contents": "In connection with a nearby thread, I tried to run the subscription\ntest suite in a CLOBBER_CACHE_ALWAYS build. I soon found that I had\nto increase wal_receiver_timeout, but after doing this:\n\ndiff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm\nindex 1488bff..5fe6... |
[
{
"msg_contents": "Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:\n> ok done\nmsvc 2019 (64 bits), is worried about it:\nhttps://github.com/postgres/postgres/commit/0aa8f764088ea0f36620ae2955fa6c54ec736c46\n\n\"C:\\dll\\postgres\\pgsql.sln\" (default target) (1) ->\n\"C:\\dll\\postgres\\... |
[
{
"msg_contents": "pg_dump et al have some low-level debug log messages that commit\ncc8d41511 converted to pg_log_debug() calls, replacing the previous\none-off logging verbosity system that was there. However, these\ncalls are dead code as things stand, because there is no way to set\n__pg_log_level high eno... |
[
{
"msg_contents": "Hi, hackers\n\nFor now, postgres use single process to send, receive and replay the WAL when we use stream replication,\nis there any point to parallelize this process? If it does, how do we start?\n\nAny thoughts?\n\nBest regards\n\nJapin Li\n\n",
"msg_date": "Tue, 15 Sep 2020 03:56:53 +... |
[
{
"msg_contents": "Existing code uses various inconsistent ways to printf struct stat's \nst_size member. The type of that is off_t, which is in most cases a \nsigned 64-bit integer, so use the long long int format for it.\n\nI don't think anything is affected by this in practice, but it seems \nreasonable to ... |
[
{
"msg_contents": "Hi,\n\nBased on a couple of independent reports from users with no idea how\nto judge the progress of a system recovering from a crash, Christoph\nand I wondered if we should override update_process_title for the\n\"recovering ...\" message, at least until connections are allowed. We\nalread... |
[
{
"msg_contents": "Hi,\n\nAttached is a draft of the PostgreSQL 13 RC 1 release announcement.\n\nIf you have feedback, please be sure you've left it no later than\n2020-09-16 AoE.\n\nThanks!\n\nJonathan",
"msg_date": "Tue, 15 Sep 2020 12:10:08 -0400",
"msg_from": "\"Jonathan S. Katz\" <jkatz@postgresql.... |
[
{
"msg_contents": "Hi,\n\n> During fully-cached SELECT-only test using pgbench, Postgres v13Beta1\n> shows ~45% performance drop [2] at high DB connection counts (when\n> compared with v12.3)\n\nIt'd be great if we could also give credit to \"Sean Massey\" for this find.\n\nThis study on performance regression ... |
[
{
"msg_contents": "The current Bloom index implementation only supports = operator, but states\nin the documentation that it could be extended to handle array intersection\nor union queries in future. As the original authors are hanging out in this\nlist, I would like to discuss what such implementation might b... |
[
{
"msg_contents": "Hello,\n\nToday I bumped into an issue with pg_rewind which is not 100% clear\nwhere should be better fixed.\n\nThe first call of pg_rewind failed with the following message:\nservers diverged at WAL location A76/39E55338 on timeline 132\ncould not open file\n\"/home/postgres/pgdata/pgroot/da... |
[
{
"msg_contents": "I'm trying to develop a plpgsql function that would extract mapbox vector\ntiles from a postgresql/post gis database. The database has multiple\ngeospatial tables, so I want the function to be able to take a table name\nas a parameter.\n\nI've gotten the function to work using hard coded tabl... |
[
{
"msg_contents": "Hello.\n\nWhile running pgbench, I found tps excluding connection somewhat\nstrange. To emphasize the behavior, I inserted some sleep at the end\nof doConnect() and ran pgbench with several times.\n\n$ pgbench -T 5 -j 1 -c 4 (with 1s sleep in doConnect())\n> number of transactions actually... |
[
{
"msg_contents": "Hello,\n\nIn commits 9f095299 and f98b8476 we improved recovery performance on\nLinux and FreeBSD but we didn't help other operating systems. David\njust confirmed for me that commenting out the PostmasterIsAlive() call\nin the main recovery loop speeds up crash recovery considerably on his\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.