threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\nI was looking at the following commit:\n\ncommit efc981627a723d91e86865fb363d793282e473d1\nAuthor: Michael Paquier <michael@paquier.xyz>\nDate: Thu Nov 24 08:21:55 2022 +0900\n\n Rework memory contexts in charge of HBA/ident tokenization\n\nI think when the file cannot be opened, th... |
[
{
"msg_contents": "Hi,\n\nWhile working on something else, I noticed that the proc array group\nXID clearing leader resets procArrayGroupNext of all the followers\natomically along with procArrayGroupMember. ISTM that it's enough for\nthe followers to exit the wait loop and continue if the leader resets\njust p... |
[
{
"msg_contents": "Looking at a recent pg_upgrade thread I happened to notice that the check for\nroles with a pg_ prefix only reports the error, not the roles it found. Other\nsimilar checks where the user is expected to alter the old cluster typically\nreports the found objects in a textfile. The attached a... |
[
{
"msg_contents": "Hi,\nI was looking at :\n\ncommit d09dbeb9bde6b9faabd30e887eff4493331d6424\nAuthor: David Rowley <drowley@postgresql.org>\nDate: Thu Nov 24 17:21:44 2022 +1300\n\n Speedup hash index builds by skipping needless binary searches\n\nIn _hash_pgaddtup(), it seems the indentation is off for t... |
[
{
"msg_contents": "Hi,\n\nWhile working on something else, I noticed that\nWaitXLogInsertionsToFinish() goes the LWLockWaitForVar() route even\nfor a process that's holding a WAL insertion lock. Typically, a\nprocess holding WAL insertion lock reaches\nWaitXLogInsertionsToFinish() when it's in need of WAL buffe... |
[
{
"msg_contents": "Hi,\n\nTo the developers working on pg_rman, are there any plans to support PG15\nand when might pg_rman source be released?\nThe latest version of pg_rman, V1.3.14, appears to be incompatible with\nPG15.\n(In PG15, pg_start_backup()/pg_stop_backup() have been renamed.)\n\nHi,To the developer... |
[
{
"msg_contents": "Hello,\n\nI found that qual_is_pushdown_safe() has an argument \"subquery\"\nthat is not used in the function. This argument has not been\nreferred to since the commit 964c0d0f80e485dd3a4073e073ddfd9bfdda90b2.\n\nI think we can remove this if there is no special reason. \n\nRegards,\nYugo Na... |
[
{
"msg_contents": "During DecodeCommit() for skipping a transaction we use ReadRecPtr to\ncheck whether to skip this transaction or not. Whereas in\nReorderBufferCanStartStreaming() we use EndRecPtr to check whether to\nstream or not. Generally it will not create a problem but if the\ncommit record itself is a... |
[
{
"msg_contents": "Hi,\n\nWhen doing some other related work, I noticed that when decoding the COMMIT\nrecord via SnapBuildCommitTxn()-> SnapBuildDistributeNewCatalogSnapshot() we\nwill add a new snapshot to all transactions including the one being decoded(just committed one).\n\nBut since we've already done re... |
[
{
"msg_contents": "Hi,\n(In light of commit 7b2ccc5e03bf16d1e1bbabca25298108c839ec52)\n\nIn RelationBuildDesc(), we have:\n\n if (relation->rd_rel->relhasrules)\n RelationBuildRuleLock(relation);\n\nI wonder if we should check relation->rd_rules after the call\nto RelationBuildRuleLock().\... |
[
{
"msg_contents": "After further contemplation of bug #17691 [1], I've concluded that\nwhat I did in commit c9b0c678d was largely misguided. For one\nthing, the new hlCover() algorithm no longer finds shortest-possible\ncover strings: if your query is \"x & y\" and the text is like\n\"... x ... x ... y ...\", ... |
[
{
"msg_contents": "Hi.\n\nThere another assorted fixes to the head branch.\n\n1. Avoid useless pointer increment\n(src/backend/utils/activity/pgstat_shmem.c)\nThe pointer *p, is used in creation dsa memory,\nnot p + MAXALIGN(pgstat_dsa_init_size()).\n\n2. Discard result unused (src/backend/access/transam/xlogre... |
[
{
"msg_contents": "For various reasons (see below) it's preferable to build on Windows with\nStrawberry Perl. This works OK if you're building with Msys2, I upgraded\nthe instance on the machine that runs fairywren and drongo today, and\nfairywren seems fine. Not so drongo, however. First it encountered a\nbuil... |
[
{
"msg_contents": "[ resending to -hackers because of list issues ]\n\nOn 2022-05-28 Sa 11:37, Justin Pryzby wrote:\n> I'm \"joining\" a bunch of unresolved threads hoping to present them better since\n> they're related and I'm maintaining them together anyway.\n>\n> https://www.postgresql.org/message-id/flat/2... |
[
{
"msg_contents": "In the thread about TAP format out in pg_regress, Andres pointed out [0] that\nwe allow a test to pass even if the test child process failed. While its\nprobably pretty rare to have a test pass if the process failed, this brings a\nrisk for false positives (and it seems questionable that any... |
[
{
"msg_contents": "Hi\n\nApologies for the intermission in activity, among other \"fun\" things had\na family visitation of the influenza virus, which is becoming fashionable\nin these parts again.\n\nIn an attempt to salvage something from the situation I am having a crack at the\nolder entries marked \"Ready ... |
[
{
"msg_contents": "I got confused about how we were managing EquivalenceClass pointers\nin the copy/equal infrastructure, and it took me awhile to remember\nthat the reason it works is that gen_node_support.pl has hard-wired\nknowledge about that. I think that's something we'd be best off\ndropping in favor of... |
[
{
"msg_contents": "Hi\n\nThis is an overview of the current patches marked \"Ready for Committer\"\nwhich have been actively worked on during the current CF.\n\nThey largely fall into two categories:\n- active participation from likely committers\n- have been reviewed and marked as \"RfC\", but need committer i... |
[
{
"msg_contents": "Hi,\n\nTab completion for ALTER EXTENSION ADD and DROP was missing, this\npatch adds the tab completion for the same.\n\nRegards,\nVignesh",
"msg_date": "Sun, 27 Nov 2022 18:54:27 +0530",
"msg_from": "vignesh C <vignesh21@gmail.com>",
"msg_from_op": true,
"msg_subject": "mprov... |
[
{
"msg_contents": "Hi,\n\nWe have the following comment in SnapBuildFindSnapshot():\n\n * c) transition from FULL_SNAPSHOT to CONSISTENT.\n *\n * In FULL_SNAPSHOT state (see d) ), and this xl_running_xacts'\n\nIt mentions \"(state d) )\", which seems like a typo of \"(state d)\", but\nthere is no \"sta... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing/testing one of the patches I found the following Assert:\n#0 0x000055c6312ba639 in pgstat_unlink_relation (rel=0x7fb73bcbac58)\nat pgstat_relation.c:161\n#1 0x000055c6312bbb5a in pgstat_relation_delete_pending_cb\n(entry_ref=0x55c6335563a8) at pgstat_relation.c:839\n#... |
[
{
"msg_contents": "Hi,\n\nWhile reviewing/testing one of the patches I found the following Assert:\n#0 __pthread_kill_implementation (no_tid=0, signo=6,\nthreadid=139624429171648) at ./nptl/pthread_kill.c:44\n#1 __pthread_kill_internal (signo=6, threadid=139624429171648) at\n./nptl/pthread_kill.c:78\n#2 __GI... |
[
{
"msg_contents": "Hi hackers,\n\nA colleague of mine (cc'ed) reported that he was able to pass a NULL\nsnapshot to index_beginscan() and it even worked to a certain degree.\n\nI took my toy extension [1] and replaced the argument with NULL as an\nexperiment:\n\n```\neax=# CREATE EXTENSION experiment;\nCREATE E... |
[
{
"msg_contents": "Issue in current XactLockTableWait, starting with 3c27944fb2141,\ndiscovered while reviewing https://commitfest.postgresql.org/40/3806/\n\nTest demonstrating the problem is 001-isotest-tuplelock-subxact.v1.patch\n\nA narrative description of the issue follows:\nsession1 - requests multiple ne... |
[
{
"msg_contents": "Hi hackers!\n\nWhile working on Pluggable TOAST we've detected a defective behavior\non tables with large amounts of TOASTed data - queries freeze and DB stalls.\nFurther investigation led us to the loop with GetNewOidWithIndex function\ncall - when all available Oid already exist in the rela... |
[
{
"msg_contents": "There's an old thread that interests me but which ended without any\nresolution/solution:\n\nhttps://www.postgresql.org/messageid/CA%2BHiwqGpoKmDg%2BTJdMfoeu3k4VQnxcfBon4fwBRp8ex_CTCsnA%40mail.gmail.com\n\nSome of our basic requirements are:\n1) All data must be labeled at a specific level (u... |
[
{
"msg_contents": "FYI, you might wonder why so many bugs reported on pg_upgrade eventually\nare bugs in pg_dump. Well, of course, partly is it because pg_upgrade\nrelies on pg_dump, but a bigger issue is that pg_upgrade will fail if\npg_dump or its restoration generate _any_ errors. My guess is that many\npe... |
[
{
"msg_contents": "For historical reasons, pg_dump refers to large objects as \"BLOBs\". \nThis term is not used anywhere else in PostgreSQL, and it also means \nsomething different in the SQL standard and other SQL systems.\n\nThis patch renames internal functinos, code comments, documentation, \netc. to use t... |
[
{
"msg_contents": "Hi hackers,\n\nWhile playing with pg_regress and pg_isolation_regress, I noticed that\nthere's a potential nullptr deference in both of them.\n\nHow to reproduce:\n\nSpecify the `--dbname=` option without providing any database name.\n\n<path>/<to>/pg_regress --dbname= foo\n<path>/<to>/pg_i... |
[
{
"msg_contents": "Hi, I'd like to propose a change and get advice if I should work on it.\n\nThe extension pg_stat_statements is very helpful, but the downside is that\nit will take up too much disk space when storing query stats if it's\nenabled for all statements like SELECT, INSERT, UPDATE, DELETE.\n\nFor e... |
[
{
"msg_contents": "Whenever rounding a number to a fixed number of decimal points in a\ncalculation, we need to cast the number into a numeric before using\nround((col1/100.0)::numeric, 2).\n\nIt would be convenient for everyone if round() also accepts float and\ndouble precision.\n\nIs this something I could w... |
[
{
"msg_contents": "Over on [1], Dean and I were discussing why both gcc and clang don't\nseem to want to optimize the multiplication that we're doing in\npg_strtoint16, pg_strtoint32 and pg_strtoint64 into something more\nefficient. It seems that this is down to the overflow checks.\nRemoving seems to allow th... |
[
{
"msg_contents": "Here are a couple of patches that clean up the internal File API and \nrelated things a bit:\n\n0001-Update-types-in-File-API.patch\n\n Make the argument types of the File API match stdio better:\n\n - Change the data buffer to void *, from char *.\n - Change FileWrite() data buff... |
[
{
"msg_contents": "Keeping the SQL commands that initdb runs in string arrays before\nfeeding them to PG_CMD_PUTS() seems unnecessarily verbose and\ninflexible. In some cases, the array only has one member. In other\ncases, one might want to use PG_CMD_PRINTF() instead, to parametrize a\ncommand, but that wou... |
[
{
"msg_contents": "Hi,\n\nI believe that has room for improving generation node files.\n\nThe patch attached reduced the size of generated files by 27 kbytes.\n From 891 kbytes to 864 kbytes.\n\nAbout the patch:\n1. Avoid useless attribution when from->field is NULL, once that\nthe new node is palloc0.\n\n2. Av... |
[
{
"msg_contents": "Hi Hackers,\n\nThere is no error or warning when creating FOR EACH STATEMENT trigger on Logical Replication subscriber side, but it is not doing anything. Shouldn't a warning be helpful?\n\nCREATE TRIGGER set_updated_time_trig\n AFTER INSERT OR UPDATE OR DELETE ON test\n FOR EACH STATE... |
[
{
"msg_contents": "I wanted to test the different pg_upgrade transfer modes (--link, \n--clone), but that was not that easy, because there is more than one \nplace in the test script you have to find and manually change. So I \nwrote a little patch to make that easier. It's still manual, but it's a \nstart. ... |
[
{
"msg_contents": "Hi,\n\nHere's a work-in-progress patch that uses WaitEventSet for the main\nevent loop in the postmaster, with a latch as the wakeup mechanism for\n\"PM signals\" (requests from backends to do things like start a\nbackground worker, etc). There are still raw signals that are part of\nthe ext... |
[
{
"msg_contents": "Hi,\n\nCommit f5580882 established that all supported computers have AF_UNIX.\nOne of the follow-up consequences that was left unfinished is that we\ncould simplify our test harness code to make it the same on all\nplatforms. Currently we have hundreds of lines of C and perl to use\nsecure T... |
[
{
"msg_contents": "Hi,\n\nHaving a query, I am trying to find out all the columns that need to be\naccessed (their varattno and vartype). I have access to a targetlist\nrepresenting a tree like this. So, I am looking for a function that\nrecursively traverses the tree and gives me the VARs. So, for SELECT\na,b,... |
[
{
"msg_contents": "Whilst fooling with my outer-join-aware-Vars patch, I tripped\nacross a multi-way join query that failed with\n ERROR: could not devise a query plan for the given query\nwhen enable_partitionwise_join is on.\n\nI traced that to the fact that reparameterize_path_by_child()\nomits support for... |
[
{
"msg_contents": "Continuing the ideas in [0], this patch refactors the ExecGrant_Foo() \nfunctions and replaces many of them by a common function that is driven \nby the ObjectProperty table.\n\nIt would be nice to do more here, for example ExecGrant_Language(), \nwhich has additional non-generalizable checks... |
[
{
"msg_contents": "Hi hackers.\n\nWhen a star(*) expands into multiple fields, our current\nimplementation is to generate multiple copies of the expression\nand do FieldSelects. This is very inefficient because the same\nexpression get evaluated multiple times but actually we only need\nto do it once. This is s... |
[
{
"msg_contents": "When reviewing other patch I noticed there might be an oversight for\nMemoizePath in reparameterize_path. In reparameterize_path we are\nsupposed to increase the path's parameterization to required_outer.\nHowever, AFAICS for MemoizePath we just re-create the same path thus its\nparameteriza... |
[
{
"msg_contents": "In the wake of b23cd185f (pushed just now), I tried adding Asserts\nto rewriteHandler.c that relkinds in RTEs don't change, as attached.\nThis blew up the regression tests immediately. On investigation,\nI find that\n\n(1) ON CONFLICT's EXCLUDED pseudo-relation is assigned\n rte->relkind ... |
[
{
"msg_contents": "Hi hackers,\n\nI've attached an attempt at porting a similar change to 05a7be9 [0] to\nlogical/worker.c. The bulk of the patch is lifted from the walreceiver\npatch, but I did need to add a hack for waking up after\nwal_retrieve_retry_interval to start sync workers. This hack involves a\nne... |
[
{
"msg_contents": "Hello,\n\nI noticed a few places in the new foreign key code where a comment says \n\"the ON DELETE SET NULL/DELETE clause\". I believe it should say \"ON \nDELETE SET NULL/DEFAULT\".\n\nThese comments were added in d6f96ed94e7, \"Allow specifying column list \nfor foreign key ON DELETE SET a... |
[
{
"msg_contents": "Hello,\n\nWe have statement_timeout, idle_in_transaction_timeout,\nidle_session_timeout and many more! But we have no\ntransaction_timeout. I've skimmed thread [0,1] about existing timeouts\nand found no contraindications to implement transaction_timeout.\n\nNikolay asked me if I can prototyp... |
[
{
"msg_contents": "Hi\n\nA few of the developer option GUCs were missing the \"id\" attribute\nin their markup, making it impossible to link to them directly.\n\nSpecifically the entries from \"trace_locks\" to \"log_btree_build_stats\" here:\n\n https://www.postgresql.org/docs/current/runtime-config-develop... |
[
{
"msg_contents": "From 6d10dafdd7c7789eddd7fd72ca22dfde74febe23 Mon Sep 17 00:00:00 2001\nFrom: Ali Sajjad <sasrizavi@gmail.com>\nDate: Sun, 4 Dec 2022 06:03:11 -0800\nSubject: [PATCH] Add .idea to gitignore for JetBrains CLion\n\n---\n .gitignore | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/.gitigno... |
[
{
"msg_contents": "Hi\n\nOn this page:\n\n https://www.postgresql.org/docs/current/extend-extensions.html\n\nthree of the <sect2> sections are missing an \"id\" attribute; patch adds\nthese. Noticed when trying to create a stable link to one of the affected\nsections.\n\nRegards\n\nIan Barwick",
"msg_date"... |
[
{
"msg_contents": "Hi,\n\nI see that in the archiver code, in the function pgarch_MainLoop,\nthe archiver sleeps for a certain time or until there's a signal. The time\nit sleeps for is represented by:\n\ntimeout = PGARCH_AUTOWAKE_INTERVAL - (curtime - last_copy_time);\nIt so happens that last_copy_time and cur... |
[
{
"msg_contents": "I had noticed that most getopt() or getopt_long() calls had their letter \nlists in pretty crazy orders. There might have been occasional attempts \nat grouping, but those then haven't been maintained as new options were \nadded. To restore some sanity to this, I went through and ordered th... |
[
{
"msg_contents": "In the pg_dump blob terminology thread it was briefly discussed [0] to mark\nparameters as deprecated in the --help output. The attached is a quick diff to\nshow that that would look like. Personally I think it makes sense, not\neveryone will read the docs.\n\n--\nDaniel Gustafsson\t\thttps... |
[
{
"msg_contents": "I happened to notice that currently MemoizePath cannot be generated for\npartitionwise join. I traced that and have found the problem. One\ncondition we need to meet to generate MemoizePath is that inner path's\nppi_clauses should have the form \"outer op inner\" or \"inner op outer\",\nas ... |
[
{
"msg_contents": "Over in [1], Masahiko and I found that using some bitmapset logic yields a\nuseful speedup in one part of the proposed radix tree patch. In addition to\nwhat's in bitmapset.h now, we'd need WORDNUM, BITNUM, RIGHTMOST_ONE and\nbmw_rightmost_one_pos() from bitmapset.c. The file tidbitmap.c has ... |
[
{
"msg_contents": "The SQL:2023 Standard defines a new aggregate named ANY_VALUE. It \nreturns an implementation-dependent (i.e. non-deterministic) value from \nthe rows in its group.\n\nPFA an implementation of this aggregate.\n\nIdeally, the transition function would stop being called after the first \nnon-n... |
[
{
"msg_contents": "Hello,\n\nI think this is the correct mail list for feature/modification requests.\nIf not please let me know which mail list I should use.\n\nWould it be possible to modify the information_schema.view_table_usage\n(VTU) to include materialized views? (\nhttps://www.postgresql.org/docs/curre... |
[
{
"msg_contents": "Hi hackers,\n\nIn logical decoding, when logical_decoding_work_mem is exceeded, the changes are\nsent to output plugin in streaming mode. But there is a restriction that the\nminimum value of logical_decoding_work_mem is 64kB. I tried to add a GUC to\nallow sending every change to output plug... |
[
{
"msg_contents": "While trying the codes of MemoizePath I noticed that MemoizePath cannot\nbe generated if inner path is a union-all AppendPath, even if it is\nparameterized. And I found the problem is that for a union-all\nAppendPath the ParamPathInfo is not created in the usual way. Instead\nit is created ... |
[
{
"msg_contents": "Hi hackers,\n\nAs discussed elsewhere [0], \\dp doesn't show privileges on system objects,\nand this behavior is not mentioned in the docs. I've attached a small\npatch that adds support for the S modifier (i.e., \\dpS) and the adjusts the\ndocs.\n\nThoughts?\n\n[0] https://postgr.es/m/a2382... |
[
{
"msg_contents": "Hi,\n\nOccasionally I see core dumps for sh, cp etc when running the tests. I think\nthis is mainly due to immediate shutdowns / crashes signalling the entire\nprocess group with SIGQUIT. If a sh/cp/... is running as part of an\narchive/restore command when the signal arrives, we'll trigger a... |
[
{
"msg_contents": "Hi hackers,\n\npg_dump adds an extra space in ALTER DEFAULT PRIVILEGES commands. AFAICT\nit's been this way since the command was first introduced (249724c). I've\nattached a patch to fix it.\n\nThis is admittedly just a pet peeve, but maybe it is bothering others, too.\n\n-- \nNathan Bossa... |
[
{
"msg_contents": "\nWhen I looked at the bug:\n\nhttps://postgr.es/m/CALDQics_oBEYfOnu_zH6yw9WR1waPCmcrqxQ8+39hK3Op=z2UQ@mail.gmail.com\n\nI noticed that the DDL around collations is inconsistent. For instance,\nCREATE COLLATION[1] uses LOCALE, LC_COLLATE, and LC_CTYPE parameters to\nspecify either libc locale... |
[
{
"msg_contents": "Hi All,\n\nI am trying to create HeapTuple data structure.\nFirst, I create a tuple descriptor:\n TupleDesc *td=CreateTemplateTupleDesc(colCount);\nThen, for each variable, I do:\n TupleDescInitEntry(*td,v->varattno,NULL,v->vartype,v->vartypmod,0);\nThen, I assign values:\n if i... |
[
{
"msg_contents": "Hi all,\n\nThis thread is a follow-up of the recent discussion about query\njumbling with DDL statements, where the conclusion was that we'd want\nto generate all this code automatically for all the nodes:\nhttps://www.postgresql.org/message-id/36e5bffe-e989-194f-85c8-06e7bc88e6f7@amazon.com\... |
[
{
"msg_contents": "Per Alvaro's advice, forking this from [1].\n\nIn light of my proposed changes to decouple permission checking from\nthe range table on that thread (now committed as a61b1f7482), I had\nalso been posting a patch there to rethink commands/view.c's\neditorializing of a view rule action query' r... |
[
{
"msg_contents": "Per Alvaro's advice, forking this from [1].\n\nIn that thread, Tom had asked if it wouldn't be better to find a new\nplace to put extraUpdatedCols [2] instead of RangeTblEntry, along with\nthe permission-checking fields are now no longer stored in\nRangeTblEntry.\n\nIn [3] of the same thread,... |
[
{
"msg_contents": "Hi all!\n\nPG by default always creates the primary key in the default tablespace \nunless you specify it to use an index that is defined in a user-defined \ntablespace.\n\nWe can create indexes in user-defined tablespaces, why can't we create \na primary key in a user-defined tablespace wit... |
[
{
"msg_contents": "Hi hackers,\n\nA colleague of mine reported a slight inconvenience with pg_dump.\n\nHe is dumping the data from a remote server. There are several\nthousands of tables in the database. Making a dump locally and/or\nusing pg_basebackup and/or logical replication is not an option. So\nwhat pg_d... |
[
{
"msg_contents": "Hi all!\n\nThis adds tab-complete for optional parameters (as can be specified \nusing WITH) for views, similarly to how it works for storage parameters \nof tables.\n\nThanks,\nChristoph Heiss",
"msg_date": "Wed, 7 Dec 2022 20:44:27 +0100",
"msg_from": "Christoph Heiss <christoph@c8h... |
[
{
"msg_contents": "Hi hackers,\n\nWhile looking into other opportunities for per-table permissions, I noticed\na weird discrepancy in CLUSTER. When evaluating whether the current user\nhas permission to CLUSTER a table, we ordinarily just check for ownership.\nHowever, the database owner is also allowed to CLU... |
[
{
"msg_contents": "Hi hackers,\n\nThe cost of an Aggregate node seems to be the same regardless of the \ninput being pre-sorted or not. If however the input is not sorted, the \nAggregate node must additionally perform a sort which can impact runtime \nsignificantly. Here is an example:\n\nCREATE TABLE foo(col0... |
[
{
"msg_contents": "I have been playing around with making updatable views support MERGE,\nand it looks to be fairly straightforward.\n\nI'm intending to support auto-updatable views, WITH CHECK OPTION, and\ntrigger-updatable views, but not views with rules, as I think that\nwould be more trouble than it's worth... |
[
{
"msg_contents": "Hello,\n\nI propose to add a new value \"no_data_found\" for the \nplpgsql.extra_errors and plpgsql.extra_warnings parameters [1].\n\nWith plpgsql.extra_errors=no_data_found SELECT INTO raises no_data_found \nexception when the result set is empty. With \nplpgsql.extra_errors=too_many_rows,no... |
[
{
"msg_contents": "While testing MERGE, I noticed that it supports inheritance\nhierarchies and the ONLY keyword, but that isn't documented. Attached\nis a patch to merge.sgml, borrowing text from update.sgml and\ndelete.sgml.\n\nI note that there are also a couple of places early in the manual\n(advanced.sgml ... |
[
{
"msg_contents": "Hi hackers,\n\nThis is meant as a continuation of the work to make VACUUM and ANALYZE\ngrantable privileges [0]. As noted there, the primary motivation for this\nis to continue chipping away at things that require special privileges or\neven superuser. I've attached two patches. 0001 makes... |
[
{
"msg_contents": "When checking something else in the base backup code, I've noticed that\nsendFileWithContent() does not advance the 'content' pointer. The sink buffer\nis large enough (32kB) so that the first iteration usually processes the whole\nfile (only special files are processed by this function), and... |
[
{
"msg_contents": "Just a utility function to generate random numbers from a normal\ndistribution. I find myself doing this several times a year, and I am\nsure I must not be the only one.\n\nrandom_normal(stddev float8 DEFAULT 1.0, mean float8 DEFAULT 0.0)",
"msg_date": "Thu, 8 Dec 2022 13:53:23 -0800",
... |
[
{
"msg_contents": "Hi,\n\nSince\n\ncommit 3f0e786ccbf\nAuthor: Andres Freund <andres@anarazel.de>\nDate: 2022-12-07 12:13:35 -0800\n\n meson: Add 'running' test setup, as a replacement for installcheck\n\nCI tests the pg_regress/isolationtester tests that support doing so against a\nrunning server.\n\n\nUn... |
[
{
"msg_contents": "A number of static assertions could be moved to better places.\n\nWe first added StaticAssertStmt() in 2012, which required all static \nassertions to be inside function bodies. We then added \nStaticAssertDecl() in 2020, which enabled static assertions on file \nlevel. We have a number of ... |
[
{
"msg_contents": "Hi,\n\nWALRead() currently reads WAL from the WAL file on the disk, which\nmeans, the walsenders serving streaming and logical replication\n(callers of WALRead()) will have to hit the disk/OS's page cache for\nreading the WAL. This may increase the amount of read IO required for\nall the wals... |
[
{
"msg_contents": "If we intend to generate a memoize node atop a path, we need some kind\nof cache key. Currently we search the path's parameterized clauses and\nits parent's lateral_vars for that. ISTM this is not sufficient because\ntheir might be lateral references derived from PlaceHolderVars, which\ncan... |
[
{
"msg_contents": "In the thread about user space SCRAM functions [0] I mentioned that it might be\nwise to consider raising our SCRAM iteration count. The iteration count is an\nimportant defence against brute-force attacks.\n\nOur current hardcoded value for iteration count is 4096, which is based on a\nreco... |
[
{
"msg_contents": "Hi Chris Travers\r\n Robertmhaas said that the project Zheap is dead(https://twitter.com/andy_pavlo/status/1590703943176589312), which means that we cannot use Zheap to deal with the issue of xid wraparound and dead tuples in tables. The dead tuple issue is not a big deal because I can st... |
[
{
"msg_contents": "Dear PostgreSQL Hackers,\n\nSome time ago we faced a small issue in libpq regarding connections \nconfigured in the pg_hba.conf as type *hostssl* and using *md5* as \nauthentication method.\n\nOne of our users placed the client certificates in ~/.postgresql/ \n(*postgresql.crt,**postgresql.ke... |
[
{
"msg_contents": "Hello hackers,\n\nIs there a way to use exported snapshots in autocommit mode ?\n\nEither something similar to defaults\nin default_transaction_deferrable, default_transaction_isolation,\ndefault_transaction_read_only\nOr something that could be set in the function's SET part.\n\nContext: I ... |
[
{
"msg_contents": "Hi,\n\nTImescale makes use of inheritance in its partitioning implementation,\nso we can't make use of the publish_via_partition_root publication\noption during logical replication. We don't guarantee that the exact\nsame partitions exist on both sides, so that's a major roadblock for\nour im... |
[
{
"msg_contents": "Recently, buildfarm member elver has started spewing literally\nthousands of $SUBJECT:\n\n elver | 2022-12-10 01:17:29 | ../../src/include/utils/float.h:223:33: warning: due to lvalue conversion of the controlling expression, association of type 'volatile float' will never be selected... |
[
{
"msg_contents": "One of the things I notice which comes up in a profile of a pgbench -S\ntest is the generation of the command completion tag.\n\nAt the moment, this is done by a snprintf() call, namely:\n\nsnprintf(completionTag, COMPLETION_TAG_BUFSIZE,\ntag == CMDTAG_INSERT ?\n\"%s 0 \" UINT64_FORMAT : \"%s... |
[
{
"msg_contents": "Hi,\n\nI have noticed that progress reporting for CREATE INDEX of partitioned\ntables seems to be working poorly for nested partitioned tables. In\nparticular, it overwrites total and done partitions count when it\nrecurses down to child partitioned tables and it only reports top-level\nparti... |
[
{
"msg_contents": "Hi all,\n\nThere have been multiple threads in the past discussing infinite\nintervals:\nhttps://www.postgresql.org/message-id/flat/4EB095C8.1050703%40agliodbs.com\nhttps://www.postgresql.org/message-id/flat/200101241913.f0OJDUu45423%40hub.org\nhttps://www.postgresql.org/message-id/flat/CANP8... |
[
{
"msg_contents": "While browsing through varsup.c, I noticed this comment on GetNewObjectId:\n\n* Hence, this routine should generally not be used directly. The only direct\n* callers should be GetNewOidWithIndex() and GetNewRelFileNumber() in\n* catalog/catalog.c.\n\nBut AddRoleMems in user.c appears to also... |
[
{
"msg_contents": "Hi all,\n\nAttached is a patch to fix a parsing error for date-time types that\nallow dangling units in the input. For example,\n`date '1995-08-06 m y d'` was considered a valid date and the dangling\nunits were ignored.\n\nIntervals also suffer from a similar issue, but the attached patch\nd... |
[
{
"msg_contents": "Hi all,\n\nAttached is a patch to fix another parsing error for date-time types\nthat allow extraneous fields with certain reserved keywords. For\nexample both `date '1995-08-06 epoch'` and `date 'today epoch'` were\nconsidered valid dates that both resolve to 1970-01-01.\n\n- Joe Koshakow",
... |
[
{
"msg_contents": "Hi,\n\nThe README in nbtree mentions that L&Y algorithm must couple\nlocks when moving right during ascent for insertion. However,\nit's hard to see why that's necessary. Since L&Y mostly\ndiscussed concurrent insertions and searches, what can go wrong\nif inserters only acquire one lock at... |
[
{
"msg_contents": "Hi all,\n\nWhile doing some hackery on SCRAM, I have noticed $subject giving the\nattached. I guess that this is not going to cause any objections, but\nfeel free to comment just in case.\n\nThanks,\n--\nMichael",
"msg_date": "Tue, 13 Dec 2022 13:57:22 +0900",
"msg_from": "Michael Pa... |
[
{
"msg_contents": "Hi,\n\nA review comment in another thread [1] by Michael Paquier about the\nusage of get_call_result_type() instead of explicit building of\nTupleDesc made me think about using it more widely. Actually, the\nget_call_result_type() looks at the function definitions to figure the\ncolumn names ... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 17717\nLogged by: Gunnar L\nEmail address: postgresql@taljaren.se\nPostgreSQL version: 15.0\nOperating system: Ubuntu Linux\nDescription: \n\nWe have observed a significant slowdown in vacuumdb per... |
[
{
"msg_contents": "The standard only defines an ORDER BY clause inside of an aggregate for \nARRAY_AGG(). As an extension to the standard, we allow it for all \naggregates, which is very convenient for non-standard things like \nstring_agg().\n\nHowever, it is completely useless for things like AVG() or SUM().... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.