threads
listlengths
1
2.99k
[ { "msg_contents": "Hi:\n\nWhen I run make -C subscription check, then I see the following logs\nin ./tmp_check/log/013_partition_publisher.log\n\n2020-05-11 09:37:40.778 CST [69541] sub_viaroot WARNING: terminating\nconnection because of crash of another server process\n\n2020-05-11 09:37:40.778 CST [69541] s...
[ { "msg_contents": "Hi,\n\nAttached is a draft of the press release for the 2020-05-14 cumulative\nupdate. Please let me know your feedback by 2020-05-13 :)\n\nThanks,\n\nJonathan", "msg_date": "Sun, 10 May 2020 22:08:46 -0400", "msg_from": "\"Jonathan S. Katz\" <jkatz@postgresql.org>", "msg_from_op"...
[ { "msg_contents": "Hello hackers,\r\n\r\nI am researching about 'origin' in PostgreSQL, mainly it used in logical\r\ndecoding to filter transaction from non-local source. I notice that the\r\n'origin' is stored in commit_ts so that I think we are possible to get 'origin'\r\nof a transaction from commit_ts.\r\n\...
[ { "msg_contents": "Hello\n\nPer discussion in thread [1], I propose the following patch to give\nanother adjustment to the xlogreader API. This results in a small but\nnot insignificat net reduction of lines of code. What this patch does\nis adjust the signature of these new xlogreader callbacks, making the\n...
[ { "msg_contents": "There are a couple of things left to do yet:\n\n* Collapse temporary OID assignments down to the permanent range.\nAFAICS there's no reason to delay this step any longer, since there\naren't any open issues that seem likely to touch the catalog data.\n\n* In recent years we've usually done a ...
[ { "msg_contents": "Hello.\n\nThere is a recent commit about changes in way read-only commands are\nprevented to be executed [1].\n\nIt seems like hs_standby_disallowed test is broken now.\n\nSo, a simple patch to fix the test is attached.\n\nThanks,\nMichail.\n\n[1] https://www.postgresql.org/message-id/flat/15...
[ { "msg_contents": "Skimming through the code in event_trigger.c and noticed that while most of\nthe stanzas that reference IsUnderPostmaster refer back to the code comment\nbeginning on line 675 the block for table rewrite copied it in\nverbatim starting at line 842. The currentEventTriggerState comment at\nli...
[ { "msg_contents": "Hello hackers,\n\n1. StartupXLOG() does fsync on the whole data directory early in the crash\nrecovery. I'm wondering if we could skip some directories (at least the\npg_log/, table directories) since wal, etc could ensure consistency. Here\nis the related code.\n\n if (ControlFile->stat...
[ { "msg_contents": "Hi,\n\nWhen we run prepared statements, as far as I know, running\nEXPLAIN is the only way to know whether executed plans are\ngeneric or custom.\nThere seems no way to know how many times a prepared\nstatement was executed as generic and custom.\n\nI think it may be useful to record the numb...
[ { "msg_contents": "Rebased onto current master (fb544735f1).\n\n-- \nAndrey Lepikhov\nPostgres Professional\nhttps://postgrespro.com\nThe Russian Postgres Company", "msg_date": "Tue, 12 May 2020 15:24:18 +0500", "msg_from": "Andrey Lepikhov <a.lepikhov@postgrespro.ru>", "msg_from_op": true, "msg...
[ { "msg_contents": "I was doing some memory testing under fractional CPU allocations and it became\npainfully obvious that the repeat() function needs CHECK_FOR_INTERRUPTS().\n\nI exchanged a few emails offlist with Tom about it, and (at the risk of putting\nwords in his mouth) he agreed and felt it was a candid...
[ { "msg_contents": "I've been trying to reformat table 27.4 (wait events) to fit\ninto PDF output, which has caused me to study its contents\nmore than I ever had before. The lack of consistency, or\neven any weak attempt at consistency, is not just glaring;\nit's embarrassing.\n\nWe have a lot of wait event na...
[ { "msg_contents": "I happened to come across this code added by 28cac71bd:\n\nstatic PgStat_MsgSLRU *\nslru_entry(SlruCtl ctl)\n{\n int idx = pgstat_slru_index(ctl->shared->lwlock_tranche_name);\n\n Assert((idx >= 0) && (idx < SLRU_NUM_ELEMENTS));\n\n return &SLRUStats[idx];\n}\n\nwhich is invok...
[ { "msg_contents": "Hi,\n\npgstat_read_statsfiles() sets each stat_reset_timestamp to\nthe current timestamp, at the beginning of the function,\njust in case we fail to load the existing statsfile. This code is\noriginally introduced by commit 4c468b37a2.\n\nBut commit ad1b5c842b changed pgstat_read_statsfiles()...
[ { "msg_contents": "Hi,\n\nWhen track_io_timing is on, I/O timing information is\ndisplayed in pg_stat_database, in the output of EXPLAIN\nwhen the BUFFERS option is used, and in pg_stat_statements\nas documented in [1].\n\nThis is also described in the manual for pg_stat_statements\n[2], however, manuals for pg...
[ { "msg_contents": "I read about the utility – https://github.com/dataegret/pgcompacttable . It\nis more careful about resources, because it works on slightly different\nprinciples. The main point of pgcompacttable is that it moves all live rows\nto the beginning of the table with updates in the table. And then ...
[ { "msg_contents": "The comment which refers to the OpenSSL PEM password callback type has a small\ntypo, the type is called pem_password_cb and not pem_passwd_cb (which is an\neasy typo to make to make since confusingly enough the functions in OpenSSL are\ncalled SSL_*_passwd_cb). PFA patch to fix this.\n\nche...
[ { "msg_contents": "Reviewing TLS changes for v13 I came across one change which I think might be\nbetter off with a library qualified name. The libpq frontend sslpassword hook\nadded in 4dc63552109f65 is OpenSSL specific, but it has a very generic name:\n\n\tPQsetSSLKeyPassHook(PQsslKeyPassHook_type hook);\n\n...
[ { "msg_contents": "Hi,\nItemPointerData, on the contrary, from what the name says,\nit is not a pointer to a structure, but a structure in fact.\nWhen assigning the name of the structure variable to a pointer, it may even\nwork,\nbut, it is not the right thing to do and it becomes a nightmare,\nto discover that...
[ { "msg_contents": "Hi,\n\nI've attached the patch for $subject. The old comment seems to be\nborrowed from WalSndShmemInit().\n\nRegards,\n\n-- \nMasahiko Sawada http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "msg_date": "Fri, 15 May 2020 12:4...
[ { "msg_contents": "Hi,\n\nI have just noticed that pg_bsd_indent complains since\n-Wimplicit-fallthrough=3 has been added to the default set of switches\nif available.\n\nSomething like the attached is fine to take care of those warnings,\nbut what's our current patching policy for this tool?\n\nThanks,\n--\nMi...
[ { "msg_contents": "Hi,\n\nAs discussed in the thread that introduced d140f2f3 to rename\nreceivedUpto to flushedUpto and add writtenUpto to the WAL receiver's\nshared memory information, the equivalent columns in\npg_stat_wal_receiver have not been renamed:\nhttps://www.postgresql.org/message-id/CA+hUKGJ06d3h5J...
[ { "msg_contents": "Hi Postgres Hackers,\n\nI am wondering is there any elegant way for self-spawned background process\n(forked by us) to get notified when the regular client-connected process\nexit from the current database (switch db or even terminate)?\n\nThe background is that we are integrating a thread-mo...
[ { "msg_contents": "Hey,\n\nSo I'm new to poking around in the PostgreSQL code, so this is a bit of\na shot in the dark. I'm having some problems with pg_dump, and a\ndatabase with tablespaces. A couple of the tables are not in the default\ntablespace, and I want to ignore this for the dump.\n\nLooking at the pg...
[ { "msg_contents": "The attached patch implements NSS (Network Security Services) [0] with the\nrequired NSPR runtime [1] as a TLS backend for PostgreSQL.\n\nWhile all sslmodes are implemented and work for the most part, the patch is\n*not* ready yet but I wanted to show progress early so that anyone interested\...
[ { "msg_contents": "\nAs I was resuscitating my buildfarm animal lousyjack, which runs tests\nunder valgrind, I neglected to turn off force_parallel=regress in the\nconfiguration settings. The results were fairly disastrous. The runs\ntook about 4 times as long, and some steps failed. I'm not sure if this\nis a ...
[ { "msg_contents": "If pg_dump can't seek on its output stream when writing a dump in the\ncustom archive format (possibly because you piped its stdout to a file)\nit can't update that file with data offsets. These files will often\nbreak parallel restoration. Warn when the user is doing pg_restore on\nsuch a fi...
[ { "msg_contents": "I'm the creator of the PostgreSQL driver pgx (https://github.com/jackc/pgx)\nfor the Go language. I have found significant performance advantages to\nusing the extended protocol and binary format values -- in particular for\ntypes such as timestamptz.\n\nHowever, I was recently very surprised...
[ { "msg_contents": "Hi hackers,\n\nAttached is a small patch for adding \"edit-and-execute-command\" readline \nsupport to psql. Bash has this concept and I miss it when using psql. It \nallows you to amend the current line in an editor by pressing \"v\" (when \nin vi mode) or \"C-x C-e\" (when in emacs mode). T...
[ { "msg_contents": "Hello:\n\nBefore I want to pay attention to some optimizer features, I want to\nestimate how much benefits it can create for customers, at least for our\ncurrent\nrunning customer. So I want to have some basic idea what kind of the query\nis\nrunning now in respect of optimizer.\n\n\nMy basic...
[ { "msg_contents": "Attached diff fixes two small typos in the optimizer README.\n\ncheers ./daniel", "msg_date": "Mon, 18 May 2020 11:31:14 +0200", "msg_from": "Daniel Gustafsson <daniel@yesql.se>", "msg_from_op": true, "msg_subject": "Optimizer docs typos" }, { "msg_contents": "On Mon, ...
[ { "msg_contents": "The syntax for FETCH FIRST allows the <fetch first quantity> to be\nabsent (implying 1).\n\nWe implement this correctly for ONLY, but WITH TIES didn't get the memo.\n\nPatch attached.\n-- \nVik Fearing", "msg_date": "Mon, 18 May 2020 16:41:23 +0200", "msg_from": "Vik Fearing <vik@post...
[ { "msg_contents": "There have been occasional discussions about deprecating or phasing out \npostfix operators, to make various things easier in the parser.\n\nThe first step would in any case be to provide alternatives for the \nexisting postfix operators. There is currently one, namely the numeric \nfactoria...
[ { "msg_contents": "Unless I'm missing something, the g_comment_start and g_comment_end variables\nin pg_dump.c seems to have been unused since 30ab5bd43d8f2082659191 (in the 7.2\ncycle) and can probably be safely removed by now. The attached passes make\ncheck.\n\ncheers ./daniel", "msg_date": "Mon, 18 May...
[ { "msg_contents": "Hi\n\nLast week I played with dbms_sql extension and some patterns of usage\ncursor in PL/SQL and PL/pgSQL. I found fact, so iteration over cursor (FOR\nstatement) doesn't support unbound cursors. I think so this limit is not\nnecessary. This statement can open portal for bound cursor or can ...
[ { "msg_contents": "Hi\n\nI am a member of a small UK based team with extensive database experience. We are considering a project using PostgresSQL source code which only uses the insert data capabilities.\n\nIs there a contact who we could speak with and discuss our project aims in principal.\n\nThanks\n\nLuke\...
[ { "msg_contents": "Hi,\n\nAttached is a draft of the release announcement for the PostgreSQL 13\nBeta 1 release this week.\n\nThe goal of this release announcement is to make people aware of the new\nfeatures that are introduced in PostgreSQL 13 and, importantly, get them\nto start testing. I have tried to incl...
[ { "msg_contents": "Hi,\n\nI noticed that if a row level policy is defined on an extension\nobject, even in the extension creation script, pg_dump dumps a\nseparate CREATE POLICY statement for such policies. That makes the\ndump unrestorable because the CREATE EXTENSION and CREATE POLICY then\nconflicts.\n\nHere...
[ { "msg_contents": "Here is a series of patches to do some refactoring in the grammar around \nthe commands COMMENT, DROP, SECURITY LABEL, and ALTER EXTENSION ... \nADD/DROP. In the grammar, these commands (with some exceptions) \nbasically just take a reference to an object and later look it up in C \ncode. S...
[ { "msg_contents": "Hi all,\n\nWhile digging into my backlog, I have found this message from Peter E\nmentioning about $subject:\nhttps://www.postgresql.org/message-id/e6aac026-174c-9952-689f-6bee76f9ab68@2ndquadrant.com\n\nIt seems to me that it would be a good idea to make those checks more\nconsistent, and at...
[ { "msg_contents": "Since commit 74a308cf5221f we use explicit_bzero on pgpass and connhost\npassword in libpq, but not sslpassword which seems an oversight. The attached\nperforms an explicit_bzero before freeing like the pattern for other password\nvariables.\n\ncheers ./daniel", "msg_date": "Tue, 19 May ...
[ { "msg_contents": "Definition of pg_atomic_compare_exchange_u64 requires alignment of \nexpected pointer on 8-byte boundary.\n\npg_atomic_compare_exchange_u64(volatile pg_atomic_uint64 *ptr,\n                                uint64 *expected, uint64 newval)\n{\n#ifndef PG_HAVE_ATOMIC_U64_SIMULATION\n     AssertP...
[ { "msg_contents": "Hi,\n\nI've been running some TPC-H benchmarks on master, to check if there's\nsomething unexpected, and I ran into some annoying issues with Q17 and\nQ20. I'll use Q17 as it's a bit simpler.\n\nI think there are two related problem - with costing and with excessive\nI/O due to using logical ...
[ { "msg_contents": "Hello hackers,\n\nParallel sequential scan relies on the kernel detecting sequential\naccess, but we don't make the job easy. The resulting striding\npattern works terribly on strict next-block systems like FreeBSD UFS,\nand degrades rapidly when you add too many workers on sliding window\ns...
[ { "msg_contents": "Hello,\n\nI've discovered something today that I didn't really expect. When a user\ndumps a database with the --schema flag of pg_dump, extensions in this\nschema aren't dumped. As far as I can tell, the documentation isn't clear\nabout this (\"Dump only schemas matching pattern; this selects...
[ { "msg_contents": "If I run pgindent on a built tree on macos, I get this error\n\nFailure in ./src/backend/utils/probes.h: Error@375: Stuff missing from \nend of file\n\nThe file in question is built by the dtrace command. I have attached it \nhere.\n\nIs this something to fix in pgindent? Or should this fil...
[ { "msg_contents": "The following documentation comment has been logged on the website:\n\nPage: https://www.postgresql.org/docs/12/tutorial-join.html\nDescription:\n\nThe tutorial about joins makes the following statement about the explicit\nJOIN operator:\r\n\r\n> This syntax is not as commonly used as the one...
[ { "msg_contents": "Hackers,\n\nOver on [1], Heikki mentioned about the usefulness of caching results\nfrom parameterized subplans so that they could be used again for\nsubsequent scans which have the same parameters as a previous scan.\nOn [2], I mentioned that parameterized nested loop joins could see\nsimilar...
[ { "msg_contents": "I have implemented the SEARCH and CYCLE clauses.\n\nThis is standard SQL syntax attached to a recursive CTE to compute a \ndepth- or breadth-first ordering and cycle detection, respectively. \nThis is just convenience syntax for what you can already do manually. \nThe original discussion abou...
[ { "msg_contents": "Commit 911e7020770 added a variety of new support routines to index\nAMs. For example, it added a support function 5 to btree (see\nBTOPTIONS_PROC), but didn't document this alongside the other support\nfunctions in btree.sgml.\n\nIt looks like the new support functions are fundamentally diff...
[ { "msg_contents": "Hi Forum,\n If I have a cluster with Synchronous replication enabled with three nodes,\nfor eg:\n\n[primary] [hot stand by 1] [host stand by 2]\n\nAnd for some unforeseen reasons, if primary fails, the failover will kick\nin and hot stand by 1 will become new primary and cluster setup will l...
[ { "msg_contents": "Hi all,\n\nNormally $subject would have been discussed at the developer meeting\nin Ottawa, but that's not going to happen per the current situation.\n\nFor the last couple of years, we have been using the same timeline for\nfor commit fests in a development cycle, so why not going with the\n...
[ { "msg_contents": "Hello hackers!\n\nThis email is about the proposal to implement OLTP-oriented compression on PostgreSQL.\n\nAlthough there are currently some alternative ways to achieve compression, such as using a file system that supports compression.\nHowever, this depends on a specific file system and is...
[ { "msg_contents": "Hi,\n\nAttached is a patch to use perfect hashing to speed up Unicode\nnormalization quick check.\n\n0001 changes the set of multipliers attempted when generating the hash\nfunction. The set in HEAD works for the current set of NFC codepoints,\nbut not for the other types. Also, the updated m...
[ { "msg_contents": "Hi all,\n\nWhile working on some other logical decoding patch recently, I bumped\ninto the fact that we have special handling for the case of REPLICA\nIDENTITY USING INDEX when the dependent index is dropped, where the\ncode handles that case as an equivalent of NOTHING.\n\nAttached is a patc...
[ { "msg_contents": "Hi hackers,\n\nFor EXISTS SubLink, in some cases the subquery can be reduced to\nconstant TRUE or FALSE, based on the knowledge that it's being used in\nEXISTS(). One such case is when the subquery has aggregates without\nGROUP BY or HAVING, and we know its result is exactly one row, unless\n...
[ { "msg_contents": "Hi All,\n\nI am getting ERROR when using the \"FOR UPDATE\" clause for the partitioned\ntable. below is a reproducible test case for the same.\n\nCREATE TABLE tbl (c1 INT,c2 TEXT) PARTITION BY LIST (c1);\nCREATE TABLE tbl_null PARTITION OF tbl FOR VALUES IN (NULL);\nCREATE TABLE tbl_1 PARTITI...
[ { "msg_contents": "Snowball has made a release! With a tag!\n\nI have prepared a patch to update PostgreSQL's copy. (not attached \nhere, 566230 bytes, but see \nhttps://github.com/petere/postgresql/commit/52a6133b58c77ada4210a96e5155cbe4da5e5583)\n\nSince we last updated our copy from their commit date 2019-...
[ { "msg_contents": "We didn't get anywhere with making the default authentication method in \na source build anything other than trust. But perhaps we should change \nthe default for password_encryption to nudge people to adopt SCRAM? \nRight now, passwords are still hashed using MD5 by default, unless you \nsp...
[ { "msg_contents": "Here is a patch to provide default gucs for EXPLAIN options.\n\nI have two goals with this patch. The first is that I personally\n*always* want BUFFERS turned on, so this would allow me to do it without\ntyping it every time.\n\nThe second is it would make it easier to change the actual defa...
[ { "msg_contents": "There are a couple of function call overheads I observed in pl/pgsql\ncode : exec_stmt() and exec_cast_value(). Removing these overheads\nresulted in some performance gains.\n\nexec_stmt() :\n\nplpgsql_exec_function() and other toplevel block executors currently\ncall exec_stmt(). But actuall...
[ { "msg_contents": "Hi,\nThere was news in Phoronix about the Beta 1 Release of Postgres (1).\nUnfortunately for Postgres advocacy it does not bring good news,\nit is showing regressions in the benchmarks compared to version 12.\nWithout going into the technical merits of how the test was done,\nthey have no way...
[ { "msg_contents": "Greetings.\n\nI am getting random failures in `CREATE INDEX USING gist` over ltree column\nwhile performing pg_restore.\nI get either\n ERROR: stack depth limit exceeded\nor\n ERROR: failed to add item to index page\n\nThing is — if I retry index creation manually, I get it successful...
[ { "msg_contents": "Hi hackers,\n\nWhile browsing the system catalog docs earlier I noticed that a lot of\nthem mention other catalogs or views in the introductory paragrah\nwithout hyperlinking them. Now, most of these are linked in the\n\"references\" column in the table, but some, like pg_proc's mention of\n...
[ { "msg_contents": "Hi all,\n\nI have been playing with the new APIs of xlogreader.h, and while\nmerging some of my stuff with 13, I found the handling around\n->seg.ws_file overcomplicated and confusing as it is necessary for a\nplugin to manipulate directly the fd of an opened segment in the WAL\nsegment open/...
[ { "msg_contents": "Hi\n\nIn this list:\n\n https://www.postgresql.org/docs/devel/views-overview.html\n\n\"pg_shmem_allocations\" is not quite in alphabetical order and\nneeds to be swapped with the preceding entry, per attached patch.\n\n\nRegards\n\nIan Barwick\n\n--\nIan Barwick https://ww...
[ { "msg_contents": "Certificates I get at $work come four layers deep:\n\n\nSelf-signed CA cert from \"WE ISSUE TO EVERYBODY.COM\"\n\n Intermediate from \"WE ISSUE TO LOTS OF FOLKS.COM\"\n\n Intermediate from \"WE ISSUE TO ORGS LIKE YOURS.COM\"\n\n End-entity cert for my server.\n\n\nUntil today, we had...
[ { "msg_contents": "I recently noticed this in a customer log file:\n ERROR: could not read from hash-join temporary file: Success\n\nThe problem is we're reporting with %m when the problem is a partial\nread or write.\n\nI propose the attached patch to solve it: report \"wrote only X of X\nbytes\". This caus...
[ { "msg_contents": "I am reposting this from a few months back (see below). I am not trying to\nbe a pest, just very motivated. I really think this feature has merit, and\nif not generally worthwhile, I'd be willing to pay someone to code it for\nme as I don't have strong enough C skills to modify the PostgreSQL...
[ { "msg_contents": "Hello,\n\nI think it is more useful if the name list of the\npg_shmem_allocations view is listed in one page.\n\nFor example,\n* Wal Sender Ctl: walsender-related shared memory\n* AutoVacuum Data: autovacuum-related shared memory\n* PROCLOCK hash: shared memory for hash table for PROCLOCK str...
[ { "msg_contents": "Consider the below example:\n\ncreate table j1(i int, im5 int, im100 int, im1000 int);\ninsert into j1 select i, i%5, i%100, i%1000 from generate_series(1,\n10000000)i;\ncreate index j1_i_im5 on j1(i, im5);\ncreate index j1_i_im100 on j1(i, im100);\nanalyze j1;\nexplain select * from j1 wher...
[ { "msg_contents": "In postgresql.conf, it says:\n\n#max_slot_wal_keep_size = -1 # measured in bytes; -1 disables\n\nI don't know if that is describing the dimension of this parameter or the\nunits of it, but the default units for it are megabytes, not individual\nbytes, so I think it is pretty confusing.\n\nCh...
[ { "msg_contents": "Hi,\n\nIs there way to insert the cron job execution status to a table?\nOr any other method to identify the job status without checking the log\nfile?\n\n*Regards,*\n*Rajin *\n\nHi,Is there way to insert the cron job execution status to a table? Or any other method to identify the job status...
[ { "msg_contents": "Hackers,\n\nAttached is a patch for a `pg' command that consolidates various PostgreSQL functionality into a single command, along the lines of how `git' commands are run from a single 'git' executable. In other words,\n\n `pg upgrade` # instead of `pg_upgrade`\n `pg resetwal` # instea...
[ { "msg_contents": "The recent discussion about EXPLAIN and the possible inclusion of\ndefault-specifying GUCs raised a behavior that I did not fully appreciate\nnor find to be self-evident. Running EXPLAIN ANALYZE results in any\nside-effects of the explained and analyzed statement being permanently\nwritten t...
[ { "msg_contents": "Hello! My name is Grigory Kryachko, I decided to join the efforts with\nAndrey Borodin in his working on amcheck.\n\nHere is the patch which I (with Andrey as my advisor) built on the top of\nthe last patch from this thread: https://commitfest.postgresql.org/25/1800/\n.\nIt adds an ability to...
[ { "msg_contents": "\nHello devs,\n\n commit 2c24051bacd2d0eb7141fc4adb870281aec4e714\n Author: Craig Topper <craig.topper@gmail.com>\n Date: Fri Apr 24 22:12:21 2020 -0700\n\n [CallSite removal] Rename CallSite.h to AbstractCallSite.h. NFC\n\n The CallSite and ImmutableCallSite were removed in a pr...
[ { "msg_contents": "Hi,\n\nPgjdbc test suite identified a SIGSEGV in the recent HEAD builds of\nPostgreSQL, Ubuntu 14.04.5 LTS\n\nHere's a call stack:\nhttps://travis-ci.org/github/pgjdbc/pgjdbc/jobs/691794110#L7484\nThe crash is consistent, and it reproduces 100% of the cases so far.\n\nThe CI history shows tha...
[ { "msg_contents": "Hi all,\n\nWhile working on some monitoring tasks I realised that the pg_monitor\nrole doesn't have access to the pg_replication_origin_status.\n\nAre there any strong thoughts on not giving pg_monitor access to this\nview, or is it just something that nobody asked for yet? I can't find\nany ...
[ { "msg_contents": "The comment in be-secure-openssl.c didn't get the memo that the hardcoded DH\nparameters moved in 573bd08b99e277026e87bb55ae69c489fab321b8. The attached\nupdates the wording, keeping it generic enough that we wont need to update it\nshould the parameters move again.\n\ncheers ./daniel", ...
[ { "msg_contents": "Hi!\n\nI think I’ve found a bug related to the strength of collations. Attached is a\nWIP patch, that address some other issues too.\n\nIn this this example, the conflict of implicit collations propagates correctly:\n\n WITH data (c, posix) AS (\n values ('a' COLLATE \"C...
[ { "msg_contents": "Since OpenSSL is now releasing 3.0.0-alpha versions, I took a look at using it\nwith postgres to see what awaits us. As it is now shipping in releases (with\nGA planned for Q4), users will probably soon start to test against it so I\nwanted to be prepared.\n\nRegarding the deprecations, we c...
[ { "msg_contents": "There's the age-old problem of SET NOT NULL being impossible on large actively used tables, because it needs to lock the table and do a table scan to check if there are any existing NULL values. I currently have a table that's not particularly huge but a scan takes 70 seconds, which causes un...
[ { "msg_contents": "Hi,\n\nIn [1] I mentioned that I'd like to look into coding a data structure\nto allow Node types to be looked up more efficiently than what List\nallows. There are many places in the planner where we must determine\nif a given Node is in some List of Nodes. This is an O(n) operation.\nWe co...
[ { "msg_contents": "Hi,\n\nIs there any extension or option in PG to keep information of any (memory\ncontext/some memory address) of backend process after getting killed in\n(postgres server process/postmaster process)\n\nThanks\nBraj\n\nHi,Is there any extension or option in PG to keep information of any (mem...
[ { "msg_contents": "Hello,\n\nI noticed pg_dump failed to not dump creation or comment commands for public\nschema when we explicitly ask it to dump public schema.\n\nShorter example: pg_dump -n public dump will give:\n\n--\n-- Name: public; Type: SCHEMA; Schema: -; Owner: postgres\n--\n\nCREATE SCHEMA public;\n...
[ { "msg_contents": "Hi\n\none my customer has to specify dumped tables name by name. After years and\nincreasing database size and table numbers he has problem with too short\ncommand line. He need to read the list of tables from file (or from stdin).\n\nI wrote simple PoC patch\n\nComments, notes, ideas?\n\nReg...
[ { "msg_contents": "Hi All,\n\nPlease check the below scenario, with pseudotype \"anyelement\" for IN, OUT\nparameter and the RETURN record in a function.\n\npostgres=# create table tab1(c1 int, c2 int, c3 timestamp) ;\nCREATE TABLE\npostgres=# CREATE OR REPLACE FUNCTION func_any(IN anyelement, IN\nanyelement, O...
[ { "msg_contents": "Hello!\nWhen parameter cannot be changed without restarting the server postgresql\nwrite:\n\"LOG: configuration file \"/var/lib/postgresql/data/postgresql.auto.conf\"\ncontains errors; unaffected changes were applied\"\nMay be not write this string to LOG?\n\nThis string confuses people. If a...
[ { "msg_contents": "This thread is a follow-up of thread [1] where I don't have a good writing\nto\ndescribe the issue and solution in my mind. So I start this thread to fix\nthat\nand also enrich the topic by taking the advices from Ashutosh, Tomas and\nTom.\n\nInaccurate statistics is not avoidable and can cau...
[ { "msg_contents": "I noticed that the PostgreSQL entry in a pan-database feature matrix by\nModern SQL was not reflecting the reality of our features.[1]\n\nIt turns out that test case used by the author produced an error which\nthe tool took to mean the feature was not implemented. I don't have the\nactual te...
[ { "msg_contents": "Hi, hackers!\n\nCurrently i see, COPY FROM insertion into the partitioned table with \nforeign partitions is not optimal: even if table constraints allows can \ndo multi insert copy, we will flush the buffers and prepare new INSERT \nquery for each tuple, routed into the foreign partition.\nT...
[ { "msg_contents": "Hello hackers\n\nI think I found a bug about estimating width of table column when I\nperform SQL with UNION statement.\n\nI think table column width of UNION statement should be equal one of UNION ALL.\nBut they don't match.This can be reproduce it on HEAD.\n\nSee following example.\n\n--CR...
[ { "msg_contents": "One line change to remove a duplicate check.\n\n\n\n\n—\nMark Dilger\nEnterpriseDB: http://www.enterprisedb.com\nThe Enterprise PostgreSQL Company", "msg_date": "Mon, 1 Jun 2020 08:37:12 -0700", "msg_from": "Mark Dilger <mark.dilger@enterprisedb.com>", "msg_from_op": true, "ms...
[ { "msg_contents": "Hi all,\n\nWhen reading pg_stat_replication doc of PG13, I thought it's better to\nmention that tracking of spilled transactions works only for logical\nreplication like we already mentioned about replication lag tracking:\n\n <para>\n Lag times work automatically for physical replication....
[ { "msg_contents": "Hi all,\n\nTracking of spilled transactions has been introduced to PG13. These\nnew statistics values, spill_txns, spill_count, and spill_bytes, are\ncumulative total values unlike other statistics values in\npg_stat_replication. How can we reset these values? We can reset\nstatistics values ...
[ { "msg_contents": "Hello.\n\nI noticed that UpdateSpillStats calls \"elog(DEBUG2\" within\nSpinLockAcquire section on MyWalSnd. The lock doesn't protect rb and\nin the first place the rb cannot be modified during the function is\nrunning.\n\nIt should be out of the lock section.\n\nregards.\n\n-- \nKyotaro Hor...
[ { "msg_contents": "Hi hackers,\n\n\nI've attached a patch to add blocker(s) information for LW Locks.\nThe motive behind is to be able to get some blocker(s) information (if \nany) in the context of LW Locks.\n\n_Motivation:_\n\nWe have seen some cases with heavy contention on some LW Locks (large \nnumber of b...
[ { "msg_contents": "Hi all,\n\nI have been looking at the ODBC driver and the need for currtid() as\nwell as currtid2(), and as mentioned already in [1], matching with my\nlookup of things, these are actually not needed by the driver as long\nas we connect to a server newer than 8.2 able to support RETURNING. I...
[ { "msg_contents": "Hi all,\n\nI have bumped into $subject, causing a replica identity index to\nbe considered as dropped if running REINDEX CONCURRENTLY on it. This\nmeans that the old tuple information would get lost in this case, as\na REPLICA IDENTITY USING INDEX without a dropped index is the same as\nNOTH...