threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "The tablesync worker in logical replication performs the table data\nsync in a single transaction which means it will copy the initial data\nand then catch up with apply worker in the same transaction. There is\na comment in LogicalRepSyncTableStart (\"We want to do the table data\nsync in a ... |
[
{
"msg_contents": "Hello,\n\nNow that we have the infrastructure to track indexes that might be corrupted\ndue to changes in collation libraries, I think it would be a good idea to offer\nan easy way for users to reindex all indexes that might be corrupted.\n\nI'm attaching a POC patch as a discussion basis. I... |
[
{
"msg_contents": "While doing the proverbial other things, I noticed that the grammar \nsymbols publication_name_list and publication_name_item are pretty \nuseless. We already use name_list/name to refer to publications in most \nplaces, so getting rid of these makes things more consistent.\n\nThese appear t... |
[
{
"msg_contents": "We start recording changes in ReorderBufferTXN even before we reach\nSNAPBUILD_CONSISTENT state so that if the commit is encountered after\nreaching that we should be able to send the changes of the entire\ntransaction. Now, while recording changes if the reorder buffer memory\nhas exceeded l... |
[
{
"msg_contents": "https://www.postgresql.org/docs/current/sql-copy.html\n|. COPY FROM can be used with plain, foreign, or partitioned tables or with views that have INSTEAD OF INSERT triggers.\n|. COPY only deals with the specific table named; IT DOES NOT COPY DATA TO OR FROM CHILD TABLES. ...\n\nThat language... |
[
{
"msg_contents": "Hi all\n\nI was discussing problems of CDC with scientific community and they asked this simple question: \"So you have efficient WAL archive on a very cheap storage, why don't you have a logical archive too?\"\nThis seems like a wild idea. But really, we have a super expensive NVMe drives fo... |
[
{
"msg_contents": "Dear hackers,\n\nLet's say we want to strip the leading zero bytes from '\\x0000beefbabe00'::bytea.\n\nThis is currently not supported, since trim() for bytea values only support the BOTH mode:\n\nSELECT trim(LEADING '\\x00'::bytea FROM '\\x0000beefbabe00'::bytea);\nERROR: function pg_catalo... |
[
{
"msg_contents": "\nHi pgsql-hackers,\n\nI have a relatively trivial proposal - this affects pg_dumpall exclusively. Primary use case in ability to use pg_dumpall without SUPERUSER.\n\n* Add --no-alter-role flag to only use CREATE ROLE syntax instead of CREATE then ALTER.\n* Add --exclude-role flag similar to ... |
[
{
"msg_contents": "I think it's time for $SUBJECT. We added this GUC in 9.5, which\nwill be EOL by the time of our next major release, and it was never\nmeant as more than a transitional aid. Moreover, it's been buggy\nas heck (cf abb164655, 05104f693, 01e0cbc4f, 4cae471d1), and the\nfact that some of those e... |
[
{
"msg_contents": "Hi, David:\nFor nodeResultCache.c :\n\n+#define SH_EQUAL(tb, a, b) ResultCacheHash_equal(tb, a, b) == 0\n\nI think it would be safer if the comparison is enclosed in parentheses (in\ncase the macro appears in composite condition).\n\n+ResultCacheHash_equal(struct resultcache_hash *tb, const R... |
[
{
"msg_contents": "The attached patch changes definitions like\n\n #define FOO 0x01\n #define BAR 0x02\n\nto\n\n #define FOO (1 << 0)\n #define BAR (1 << 1)\n\netc.\n\nBoth styles are currently in use, but the latter style seems more \nreadable and easier to update.\n\nThis change only addresses... |
[
{
"msg_contents": "Hi hackers!\n\nDue to the error in PG-ProEE we have added the following test to \npg_visibility:\n\ncreate table vacuum_test as select 42 i;\nvacuum vacuum_test;\nselect count(*) > 0 from pg_check_visible('vacuum_test');\ndrop table vacuum_test;\n\nSometime (very rarely) this test failed: pg_... |
[
{
"msg_contents": "> Note that near the end of grouping planner we have a similar check:\n>\n> if (final_rel->consider_parallel && root->query_level > 1 &&\n> !limit_needed(parse))\n> \n> guarding copying the partial paths from the current rel to the final\n> rel. I haven't managed to come up with a tes... |
[
{
"msg_contents": "Hi folks\n\nTL;DR: Anyone object to a new bgworker flag that exempts background workers\n(such as logical apply workers) from the first round of fast shutdown\nsignals, and instead lets them to finish their currently in-progress txn\nand exit?\n\nThis is a change proposal raised for comment b... |
[
{
"msg_contents": "Hi folks\n\nNow that we're well on track for streaming logical decoding, it's becoming\nmore practical to look at parallel logical apply.\n\nThe support for this in pglogical3 benefits from a deadlock detector hook.\nIt was added in the optional patched postgres pglogical can use to enable\nv... |
[
{
"msg_contents": "Hi all\n\nRelated to my other post about deadlock detector hooks for victim\nselection, I'd like to gauge opinions here about whether it's feasible to\ninject edges into the deadlock detector's waits-for graph.\n\nDoing so would help with detecting deadlocks relating to shm_mq waits, help\nwi... |
[
{
"msg_contents": "Hi,\n\nAdded missing copy related data structures to typedefs.list, these\ndata structures were added while copy files were split during the\nrecent commit. I found this while running pgindent for parallel copy\npatches.\nThe Attached patch has the changes for the same.\nThoughts?\n\nRegards,... |
[
{
"msg_contents": "get_constraint_index() does its work by going through pg_depend. It was \nadded before pg_constraint.conindid was added, and some callers are \nstill not changed. Are there reasons for that? Probably not. The \nattached patch changes get_constraint_index() to an lsyscache-style \nlookup i... |
[
{
"msg_contents": "Hi:\n I see initscan calls RelationGetwNumberOfBlocks every time and rescan calls\n initscan as well. In my system, RelationGetNumberOfBlocks is expensive\n(the reason\n doesn't deserve a talk.. ), so in a nest loop + Bitmap heap scan case,\nthe\nimpact will be huge. The comments of initscan... |
[
{
"msg_contents": "Hello all!\n\nI suggest a refactoring of analyze AM API as it is too much heap specific at the moment. The problem was inspired by Greenplum’s analyze improvement for append-optimized row and column AM with variable size compressed blocks.\nCurrently we do analyze in two steps.\n\n1. Sample f... |
[
{
"msg_contents": "Greetings,\n\n* Michael Paquier (michael@paquier.xyz) wrote:\n> On Sun, Dec 06, 2020 at 10:03:08AM -0500, Stephen Frost wrote:\n> > * Alvaro Herrera (alvherre@alvh.no-ip.org) wrote:\n> >> You keep making this statement, and I don't necessarily disagree, but if\n> >> that is the case, please e... |
[
{
"msg_contents": "There's a race condition between the checkpoint at promotion and \npg_rewind. When a server is promoted, the startup process writes an \nend-of-recovery checkpoint that includes the new TLI, and the server is \nimmediate opened for business. The startup process requests the \ncheckpointer pro... |
[
{
"msg_contents": "We've had get_canonical_class() for a while as a backend-only function.\nThere is some ad-hoc code elsewhere that implements the same logic in a\ncouple places, so it makes sense for all sites to use this function\ninstead, as in the attached.\n\n-- \nJohn Naylor\nEnterpriseDB: http://www.ent... |
[
{
"msg_contents": "Hi, hackers!\n\nI want to share some stats and thoughts about CF.\n\n***\nThe first is a graph with the numbers of committed, moved, returned, and \nrejected CF patches over time - [cf_items_status.png]. Credits to Dmitry \nDolgov for sharing his scripts to gather this stat.\n\n***\nBesides, ... |
[
{
"msg_contents": "Hi all\n\nA new kernel API called io_uring has recently come to my attention. I\nassume some of you (Andres?) have been following it for a while.\n\nio_uring appears to offer a way to make system calls including reads,\nwrites, fsync()s, and more in a non-blocking, batched and pipelined manne... |
[
{
"msg_contents": "Hi,\n\nI propose to add wal write/fsync statistics to pg_stat_wal view.\nIt's useful not only for developing/improving source code related to WAL\nbut also for users to detect workload changes, HW failure, and so on.\n\nI introduce \"track_wal_io_timing\" parameter and provide the following \... |
[
{
"msg_contents": "Hello,\n\nA description of what you are trying to achieve and what results you expect.:\nI am a student and I am new in PSQL. I am working on a research\nproject and an initial step is\n\nto trace the page request of the buffer manager. I need to know which\npage was evicted from the buffer a... |
[
{
"msg_contents": "Hi,\n\nBased on a PoC reported in a previous thread [1] I'd like to propose new\nhooks around transaction commands. The objective of this patch is to\nallow PostgreSQL extension to act at start and end (including abort) of\na SQL statement in a transaction.\n\nThe idea for these hooks is born... |
[
{
"msg_contents": "Hi,\n\nCurrently, for any component (such as COPY, CTAS[1], CREATE/REFRESH\nMat View[1], INSERT INTO SELECTs[2]) multi insert logic such as buffer\nslots allocation, maintenance, decision to flush and clean up, need to\nbe implemented outside the table_multi_insert() API. The main problem\nis... |
[
{
"msg_contents": "Hi,\n\nFor fairly obvious reasons I like to run check-world in parallel [1]. In\nthe last few months I've occasionally seen failures during that that I\ncannot recall seeing before.\n\n--- /home/andres/build/postgres/13-assert/vpath/src/test/regress/expected/tablespace.out 2020-12-07 1... |
[
{
"msg_contents": "Hi\n\nSince ba3e76c,\nthe optimizer call generate_useful_gather_paths instead of generate_gather_paths() outside.\n\nBut I noticed that some comment still talking about generate_gather_paths not generate_useful_gather_paths.\nI think we should fix these comment, and I try to replace these \" ... |
[
{
"msg_contents": "Hi!\r\n\r\nI created a patch for improving CLOSE, FETCH, MOVE tab completion.\r\nSpecifically, I add CLOSE, FETCH, MOVE tab completion for completing a predefined cursors.\r\n\r\nRegards,\r\nShinya Kato",
"msg_date": "Wed, 9 Dec 2020 03:57:55 +0000",
"msg_from": "<Shinya11.Kato@nttdat... |
[
{
"msg_contents": "Hi hackers!\n\nA year ago Vladimir Leskov proposed patch to speed up pglz compression[0]. PFA the patch with some editorialisation by me.\nI saw some reports of bottlenecking in pglz WAL compression [1].\n\nHopefully soon we will have compression codecs developed by compression specialists. T... |
[
{
"msg_contents": "Hello.\n\nWe found a behavioral change (which seems to be a bug) in recovery at\nPG13.\n\nThe following steps might seem somewhat strange but the replication\ncode deliberately cope with the case. This is a sequense seen while\noperating a HA cluseter using Pacemaker.\n\n- Run initdb to crea... |
[
{
"msg_contents": "Hey,\n\nWould it be accurate to add the following sentence to the INSERT\ndocumentation under \"Outputs\"?\n\n\"...inserted or updated by the command.\" For a multiple-values insertion,\nthe order of output rows will match the order that rows are presented in\nthe values or query clause.\n\n... |
[
{
"msg_contents": "I thought this was a good idea, but didn't hear back when I raised it before.\n\nFailing to preserve access method is arguably a bug, reminiscent of CREATE\nSTATISTICS and 5564c1181. But maybe it's not important to backpatch a fix in\nthis case, since access methods are still evolving.\n\nht... |
[
{
"msg_contents": "Hi all,\n\nThe remnant work that I have on my agenda to replace the remaining\nlow-level cryptohash calls of OpenSSL (SHAXXInit and such) by EVP is\nthe stuff related to SHA1, that gets used in two places: pgcrypto and\nuuid-ossp.\n\nFirst, I got to wonder if it would be better to support SHA... |
[
{
"msg_contents": "Hi,\n\nWhile reading the documentation of pg_shmem_allocations, I noticed that the\noff column is described as such :\n\n\"The offset at which the allocation starts. NULL for anonymous allocations\nand unused memory.\"\n\nWhereas, the view returns a value for unused memory:\n\n[local]:5433 po... |
[
{
"msg_contents": "Hi,\n\nCurrently, for CTAS or CREATE MATERIALIZED VIEW(CMV) without\nif-not-exists clause, the existence of the relation gets checked\nduring the execution of the select part and an error is thrown there.\nAll the unnecessary rewrite and planning for the select part would\nhave happened just ... |
[
{
"msg_contents": "I went looking at the SSL connection state change information callback we\ninstall when setting up connections with OpenSSL, and I wasn't getting the\nstate changes I expected. Turns out we install it at the tail end of setting\nup the connection so we miss most of the calls. Moving it to t... |
[
{
"msg_contents": "Hi,\n\nIn hemdistsign() of tsgistidx.c, if we process the bits in 64-bit\nchunks rather than byte-by-byte, we get an overall speed up in Gist\nindex creation for tsvector types. With default siglen (124), the\nspeed up is 12-20%. With siglen=700, it is 30-50%. So with longer\nsignature length... |
[
{
"msg_contents": "Hi,\n\nI try to host multiple postgresql-servers on the same ip and the same\nport through SNI-based load-balancing.\nCurrently this is not possible because of two issues:\n1. The psql client won't set the tls-sni-extension correctly\n(https://www.postgresql.org/message-id/20181211145240.GL20... |
[
{
"msg_contents": "$SUBJECT is not great. The options to pg_basebackup that are not\ntested by any part of the regression test suite include the\nsingle-letter options rlzZdUwWvP as well as --no-estimate-size.\n\nIt would probably be good to fix as much of this as we can, but there\nare a couple of cases I thin... |
[
{
"msg_contents": "Hi,\r\n\r\nI noticed that when pg_waldump finds an invalid record, the\r\ncorresponding error message seems to point to the last valid record\r\nread.\r\n\r\n rmgr: ... lsn: 0/090E5AF8, prev 0/090E59D0, ...\r\n pg_waldump: fatal: error in WAL record at 0/90E5AF8: invalid record length a... |
[
{
"msg_contents": "Hi,\n\nover in the pgsql-general channel, Michael Lewis reported [1] a bit\nstrange behavior switching between good/bad estimates with extended\nstatistics.\n\nThe crux of the issue is that with statistics containing both MCV and\nfunctional dependencies, we prefer applying the MCV. And funct... |
[
{
"msg_contents": "Many older tests where written in a style like\n\n SELECT '' AS two, i.* FROM INT2_TBL ...\n\nwhere the first column indicated the number of expected result rows.\nThis has gotten increasingly out of date, as the test data fixtures\nhave expanded, so a lot of these don't match anymore and... |
[
{
"msg_contents": "We've had complaints in the past about how plpgsql can't handle\nassignments to fields in arrays of records [1], that is cases like\n\n\tarrayvar[n].field := something;\n\nand also complaints about how plpgsql can't handle assignments\nto array slices [2], ie\n\n\tarrayvar[m:n] := something;\... |
[
{
"msg_contents": "I would like to have an anonymous block, like DO, but having resuts, like an\nusual function does.\n\nI know any user can do ...\n\ncreate function pg_temp.run_time_bigger(numeric,numeric) returns numeric\nlanguage plpgsql as $$ \nbegin if $1 > $2 then return $1; else return $2; end if; end;$... |
[
{
"msg_contents": "Hi,\n\ncurrently a failed cast throws an error. It would be useful to have a \nway to get a default value instead.\n\nT-SQL has try_cast [1]\nOracle has CAST(... AS .. DEFAULT ... ON CONVERSION ERROR) [2]\n\nThe DEFAULT ... ON CONVERSION ERROR syntax seems like it could be \nimplemented in Po... |
[
{
"msg_contents": "Hi,\nI was experimenting with the following query.\n\ncreate table sint1(k int primary key, arr smallint[]);\ncreate index s1 on sint1(arr);\ninsert into sint1 select s, array[s*s, s] FROM generate_series(1, 10) AS s;\nselect * from sint1 where arr @> array[4];\nERROR: operator does not exis... |
[
{
"msg_contents": "Hello,\n\nWe have two logical replication slots in our postgresql database\n(version-11) instance and we are using pgJDBC to stream data from these two\nslots. We are ensuring that when we regularly send feedback and update the\nconfirmed_flush_lsn (every 10 minutes) for both the slots to the... |
[
{
"msg_contents": "At Mon, 14 Dec 2020 16:48:05 +0900, Michael Paquier <michael@paquier.xyz> wrote in \n> On Mon, Dec 14, 2020 at 11:34:51AM +0900, Kyotaro Horiguchi wrote:\n> > Apart from this issue, while checking that, I noticed that if server\n> > starts having WALs from a server of a different systemid, th... |
[
{
"msg_contents": "The name of the function suggests that the given message will be queued in\nReorderBuffer. The prologue of the function says so too\n 776 /*\n 777 * Queue message into a transaction so it can be processed upon commit.\n 778 */\nIt led me to think that a non-transactional message is processe... |
[
{
"msg_contents": "-hackers,\n\nThe community has spent a lot of time optimizing features over the years.\nExcellent examples include parallel query and partitioning which have been\nmulti-year efforts to increase the quality, performance, and extend\nfeatures of the original commit. We should consider the doc... |
[
{
"msg_contents": "Hi,\n\nAs discussed in [1], in postgres_fdw the cached connections to remote\nservers can stay until the lifetime of the local session without\ngetting a chance to disconnect (connection leak), if the underlying\nuser mapping or foreign server is dropped in another session. Here are\nfew scen... |
[
{
"msg_contents": "Hi,\n\nWhen examining the duration of locks, we often do join on pg_locks\nand pg_stat_activity and use columns such as query_start or\nstate_change.\n\nHowever, since these columns are the moment when queries have\nstarted or their state has changed, we cannot get the exact lock\nduration in... |
[
{
"msg_contents": "Hi all,\n\noutfuncs.c contains a switch statement responsible for choosing\nserialization function per node type here:\nhttps://github.com/postgres/postgres/blob/master/src/backend/nodes/outfuncs.c#L3711\nIt spans over >650LOC and is quite unreadable, requiring using search\nor code analysis ... |
[
{
"msg_contents": "Hi all,\n(Added Bruce and Daniel in CC:)\n\n$subject has been mentioned a couple of times lately, mainly by me for\nthe recent cryptohash refactoring that has been done. We use in the\ncore code HMAC with SHA256 for SCRAM, but this logic should go through\nSSL libraries able to support it (O... |
[
{
"msg_contents": "I've been looking at the COPY FROM parsing code, trying to refactor it \nso that the parallel COPY would be easier to implement. I haven't \ntouched parallelism itself, just looking for ways to smoothen the way. \nAnd for ways to speed up COPY in general.\n\nCurrently, COPY FROM parses the in... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing the patch proposed at [1], I found that there is the case\nwhere deadlock that recovery conflict on lock is involved in may not be\ndetected. This deadlock can happen between backends and the startup\nprocess, in the standby server. Please see the following procedure to... |
[
{
"msg_contents": "Hi,\n\nWe have \\gset to set some parameters, but not ones in the environment,\nso I fixed this with a new analogous command, \\gsetenv. I considered\nrefactoring SetVariable to include environment variables, but for a\nfirst cut, I just made a separate function and an extra if.\n\nBest,\nDav... |
[
{
"msg_contents": "Hi,\nw.r.t. patch v27.\n\n+ * The idea is to prepend underscores as needed until we make a name\nthat\n+ * doesn't collide with anything ...\n\nI wonder if other characters (e.g. [a-z0-9]) can be used so that name\nwithout collision can be found without calling truncate_identifier().\n\... |
[
{
"msg_contents": "Hi,\nFor EventTriggerOnConnect():\n\n+ PG_CATCH();\n+ {\n...\n+ AbortCurrentTransaction();\n+ return;\n\nShould runlist be freed in the catch block ?\n\n+ gettext_noop(\"In case of errors in the ON client_connection\nEVENT TRIGGER proc... |
[
{
"msg_contents": "Even though the message literally says whether the index \"can safely\" or\n\"cannot\" use deduplication, the function specifically avoids the debug message\nfor system columns, so I think it also makes sense to hide it when\ndeduplication is turned off. \n\ndiff --git a/src/backend/access/nb... |
[
{
"msg_contents": "Hi,\n\nWhen the startup process needs to wait for recovery conflict on lock,\nSTANDBY_LOCK_TIMEOUT is enabled to interrupt ProcWaitForSignal()\nif necessary. If this timeout happens, StandbyLockTimeoutHandler() is\ncalled and this function does nothing as follows.\n\n /*\n * StandbyL... |
[
{
"msg_contents": "Hello\n\nIn commit 898e5e3290a72d288923260143930fb32036c00c [1] we lowered the lock level on the parent relation. I found in discussion [2]:\n\n> David Rowley recently pointed out that we can modify\n> CREATE TABLE .. PARTITION OF to likewise not obtain AEL anymore.\n> Apparently it just req... |
[
{
"msg_contents": "Along with the discussed change of the return type of EXTRACT from \nfloat8 to numeric [0], I was looking around what other date/time APIs \nmight be using float arguments or return values. The only thing left \nappears to be the functions make_time, make_timestamp, make_timestamptz, \nand m... |
[
{
"msg_contents": "I've been giving some thought to $subject. The initial impetus is the\npromise I made to assist with testing of clients built with NSS against\nservers built with openssl, and vice versa.\n\nI've already generalized the process of saving binaries by the buildfarm\nclient. And we could proceed... |
[
{
"msg_contents": "Hi all,\n\nAs mentioned in [1], there are three places where there is the same\nroutine to check if a string is made only of ASCII characters.\n\nThis makes for a small-ish but nice cleanup, as per the attached.\n\nThanks,\n\n[1]: https://www.postgresql.org/message-id/X9lVLGRuG0hTHrVo@paquier... |
[
{
"msg_contents": "Hi, hackers\n\npgbench use -f filename[@weight] to receive a sql script file with a weight,\nbut if I create a file contains char'@', like a@2.sql, specify this file without weigth,\npgbench will failed with error:\n\tpgbench: fatal: invalid weight specification: @2.sql\n\nThis action may be ... |
[
{
"msg_contents": "Hi all,\n\nAs of the work done in 87ae9691, I have played with error injections\nin the code paths using this code, but forgot to count for cases where\ncascading resowner cleanups are involved. Like other resources (JIT,\nDSM, etc.), this requires an allocation in TopMemoryContext to make\n... |
[
{
"msg_contents": "Hello, hackers\n\n\nI have a question about how to execute valgrind with TAP tests\nin order to check some patches in the community.\nMy main interest is testing src/test/subscription now but\nis there any general way to do it ?\n\nThe documentation [1] says\n\"It's important to realize that ... |
[
{
"msg_contents": "Hi hackers,\n\nI am investigating incident with one of out customers: performance of \nthe system isdropped dramatically.\nStack traces of all backends can be found here: \nhttp://www.garret.ru/diag_20201217_102056.stacks_59644\n(this file is 6Mb so I have not attached it to this mail).\n\nWh... |
[
{
"msg_contents": "With valgrind 3.16.1, we fail to get through initdb:\n\n==00:00:00:41.608 11346== Source and destination overlap in memcpy(0xc190a8, 0xc190a8, 512)\n==00:00:00:41.609 11346== at 0x486C674: __GI_memcpy (vg_replace_strmem.c:1035)\n==00:00:00:41.609 11346== by 0x9017DB: write_relmap_file (... |
[
{
"msg_contents": "The discussion in [1] pointed out that the existing documentation\nfor the \"jsonb || jsonb\" concatenation operator is far short of\nreality: it fails to acknowledge that the operator will accept\nany cases other than two jsonb array inputs or two jsonb object\ninputs.\n\nI'd about concluded... |
[
{
"msg_contents": "HI\n\n address d2be8fe8 found in\n _DPH_HEAP_ROOT @ fe321000\n in busy allocation ( DPH_HEAP_BLOCK: UserAddr UserSize - VirtAddr VirtSize)\n d2dd3444: d2be8fe8 18 - d2be8000 2000... |
[
{
"msg_contents": "Hi here a little update proposal for ARM architecture.\n\nKind regards.",
"msg_date": "Fri, 18 Dec 2020 21:53:20 +0000",
"msg_from": "David CARLIER <devnexen@gmail.com>",
"msg_from_op": true,
"msg_subject": "[PATCH] Implements SPIN_LOCK on ARM"
},
{
"msg_contents": "Da... |
[
{
"msg_contents": "Hi all,\n\nThe next commit fest is going to begin in two weeks.\n\nI would like to volunteer as commit fest manager for 2021-01 if the\nrole is not filled and there are no objections.\n\nRegards,\n\n-- \nMasahiko Sawada\nEnterpriseDB: https://www.enterprisedb.com/\n\n\n",
"msg_date": "Sa... |
[
{
"msg_contents": "Hi all\n\nThe attached patch set follows on from the discussion in [1] \"Add LWLock\nblocker(s) information\" by adding the actual LWLock* and the numeric\ntranche ID to each LWLock related TRACE_POSTGRESQL_foo tracepoint.\n\nThis does not provide complete information on blockers, because it'... |
[
{
"msg_contents": "Hi,\nw.r.t. the code in BufferAlloc(), the pointers are compared.\n\nShould we instead compare the tranche Id of the two LWLock ?\n\nCheers\n\nHi,w.r.t. the code in BufferAlloc(), the pointers are compared.Should we instead compare the tranche Id of the two LWLock ?Cheers",
"msg_date": "F... |
[
{
"msg_contents": "Hi\nHere is my workaround (from unit_tests.dll DLL_PROCESS_DETACH):\n\n //3. Destroy LIBPQ!static pthread_mutex_t singlethread_lock\n- 327 HMODULE hLeakedLibPQ = ::GetModuleHandleA(\"libpq.dll\"); //libpq.dll v13.0.1.20323 (https://f... |
[
{
"msg_contents": "2017-03-24 [7b504eb28] Implement multivariate n-distinct coefficients\n2017-04-05 [2686ee1b7] Collect and use multi-column dependency stats\n2017-05-12 [bc085205c] Change CREATE STATISTICS syntax\n\nThe existing notes say:\n|Add multi-column optimizer statistics to compute the correlation rat... |
[
{
"msg_contents": "Hello hackers,\n\nI want to be able to do synchronous vectored file I/O, so I made\nwrapper macros for preadv() and pwritev() with fallbacks for systems\nthat don't have them. Following the precedent of the pg_pread() and\npg_pwrite() macros, the \"pg_\" prefix reflects a subtle contract\nch... |
[
{
"msg_contents": "Hi all\n\nsuppose I started the server with the following command\n\npg_ctl -D . . . start -l <logfilename>\n\nis there a way to get <logfilename> later by sending some query to the server or\n\nreading some configuration file\n\n(for example I can get data directory with the query “show data... |
[
{
"msg_contents": "Hi,\nI took a look at the rebased patch.\n\n+ <entry><structfield>varisnotnull</structfield></entry>\n+ <entry><type>boolean</type></entry>\n+ <entry></entry>\n+ <entry>\n+ True if the schema variable doesn't allow null value. The default\nvalue is false.\n\nI wonder... |
[
{
"msg_contents": "Hi,\n\nThe current wait events are already pretty useful. But I think we could\nmake them more informative without adding real runtime overhead.\n\n\n1) For lwlocks I think it'd be quite useful to show the mode of acquisition in\npg_stat_activity.wait_event_type, instead of just saying 'LWLoc... |
[
{
"msg_contents": "Hi,\nw.r.t. the patch,\n\n+select '[3]'::jsonb || '{}'::jsonb;\n+ ?column?\n+----------\n+ [3, {}]\n+(1 row)\n+\n+select '3'::jsonb || '[]'::jsonb;\n\nShould cases where the empty array precedes non-empty jsonb be added ?\n\nselect '[]'::jsonb || '3'::jsonb;\nselect '{}'::jsonb || '[3]'::json... |
[
{
"msg_contents": "Hi all,\n\nWhile analyzing the issue James reported to us, I realized that if the\nschema option in the control file is specified and the schema doesn’t\nexist we create the schema on CREATE EXTENSION but the created schema\ndoesn’t refer to the extension. Due to this behavior, the schema\nre... |
[
{
"msg_contents": "Hi\n\nsome Orafce's user reported problems with pg_upgrade. I checked this issue\nand it looks like pg_dump problem:\n\n\npg_restore: creating FUNCTION \"public.nvarchar2(\"public\".\"nvarchar2\",\ninteger, boolean)\"\npg_restore: while PROCESSING TOC:\npg_restore: from TOC entry 612; 1255 33... |
[
{
"msg_contents": "Backends reflect \"GRANT role_name\" changes rather quickly, due to a syscache\ninvalidation callback. Let's register an additional callback to reflect\n\"ALTER ROLE ... [NO]INHERIT\" with equal speed. I propose to back-patch this.\nWhile pg_authid changes may be more frequent than pg_auth_... |
[
{
"msg_contents": "ExecBuildAggTrans has this sequence:\n\n if (pertrans->deserialfn.fn_strict)\n scratch.opcode = EEOP_AGG_STRICT_DESERIALIZE;\n else\n scratch.opcode = EEOP_AGG_DESERIALIZE;\n\n scratch.d.agg_deserialize.fcinfo_... |
[
{
"msg_contents": "Hi hackers,\n\nThe following sequence of statements:\n\nCREATE SCHEMA testschema;\nCREATE TABLE testschema.part (a int) PARTITION BY LIST (a);\nSET default_tablespace TO pg_global;\nALTER TABLE testschema.part SET TABLESPACE pg_default;\nCREATE TABLE testschema.part_78 PARTITION OF testschema... |
[
{
"msg_contents": "I found that our largest tables are 40% smaller and 20% faster to pipe\npg_dump -Fc -Z0 |zstd relative to native zlib\n\nSo I wondered how much better when integrated in pg_dump, and found that\nthere's some additional improvement, but a big disadvantage of piping through\nzstd is that it's n... |
[
{
"msg_contents": "Up to now, if you shut down the database with \"pg_ctl stop -m immediate\"\nthen clients get a scary message claiming that something has crashed,\nbecause backends can't tell whether the SIGQUIT they got was sent for\na crash-and-restart situation or because of an immediate-stop command.\n\nT... |
[
{
"msg_contents": "As I did last 2 years, I reviewed docs for v14...\n\nThis year I've started early, since it takes more than a little effort and it's\nnot much fun to argue the change in each individual hunk.\n\n-- \nJustin Pryzby\nSystem Administrator\nTelsasoft\n+1-952-707-8581",
"msg_date": "Mon, 21 De... |
[
{
"msg_contents": "Dear All\n\n\nIn startup process we only launch bgwriter when ArchiveRecoveryRequested is true, which means we will not lauch bgwriter in master node.\nThe bgwriters can write the dirty buffers to disk which helps startup process to do less IO when we complete xlog replay and request to do EN... |
[
{
"msg_contents": "Hi, all\r\n\r\nIn Stream Replication Protocol [1], the documentation of `START_REPLICATION` message is\r\n\r\nXLogData (B)\r\n …\r\nPrimary keepalive message (B)\r\n …\r\nStandby status update (F)\r\n …\r\nHot Standby feedback message (F)\r\n ...\r\n\r\nI’m confused about the means of ‘B’... |
[
{
"msg_contents": "Hi,\n\nCurrently, $subject is not allowed. We do plan the mat view query\nbefore every refresh. I propose to show the explain/explain analyze of\nthe select part of the mat view in case of Refresh Mat View(RMV). It\nwill be useful for the user to know what exactly is being planned and\nexecut... |
[
{
"msg_contents": "ISTM that heap_compute_xid_horizon_for_tuples() calculates\nlatestRemovedXid for index deletion callers without sufficient care.\nThe function only follows line pointer redirects, which is necessary\nbut not sufficient to visit all relevant heap tuple headers -- it also\nneeds to traverse HOT... |
[
{
"msg_contents": "Here's an attempt at closing the race condition discussed in [1]\n(and in some earlier threads, though I'm too lazy to find them).\n\nThe core problem is that the bgworker management APIs were designed\nwithout any thought for exception conditions, notably \"we're not\ngonna launch any more w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.