threads
listlengths
1
2.99k
[ { "msg_contents": "pgbench doc (and some comments in pgbench.c) regarding \"-M prepared\"\noption is not quite correct.\n\n------------------------------------------------------------------------\n-M querymode\n--protocol=querymode\n\n Protocol to use for submitting queries to the server:\n\n simple: ...
[ { "msg_contents": "Hi,\n\nMagnus cornered me at pgconf.eu and asked me whether I could prototype\nthe \"barriers\" I'd been talking about in the online checksumming thread.\n\nThe problem there was to make sure that all processes, backends and\nauxiliary processes have seen the new state of checksums being enab...
[ { "msg_contents": "Dear Hackers,\n\nI've started working on something I've ended up calling \"Super\nPathKeys\". The idea here is to increase the likelihood of a Path with\nPathKeys being used for a purpose that requires a less strict sort\norder due to ordering being required from the return value of some\npr...
[ { "msg_contents": "Heikki mentioned the rr recorder/debugger during his recent pgConf.EU\ntalk. It was recommended as a general debugging tool. I can now second\nthat recommendation. See https://rr-project.org for general background\ninformation. It's a framework that extends gdb, so it's largely\ncompatible wi...
[ { "msg_contents": "Hi hackers,\n\nI am trying to improve my xdr_fdw (a foreign data wrapper that scan file\nsystems that keep big data compacted) to scan partitions in parallel.\nI have set \"IsForeignScanParallelSafe\" to true and added path with\n\"add_partial_path\". My \"GetForeignPaths\" looks like code be...
[ { "msg_contents": "[ splitting this off to a new thread ]\n\nAndres Freund <andres@anarazel.de> writes:\n> On 2018-10-30 09:30:54 -0400, Tom Lane wrote:\n>> This is all some more fuel for the idea that we need a less messy\n>> substitute for CaseTestExpr. As it happens, I was just fooling with\n>> that yesterd...
[ { "msg_contents": "Hi all,\n\nThere are some reason to don't have a similar function to return how many\nlevels deep into an event trigger like we have using \"pg_trigger_depth\"??\n\nMaybe one called \"pg_event_trigger_depth\"??\n\nRegards,\n\n-- \n Fabrízio de Royes Mello Timbira - http://www.timbir...
[ { "msg_contents": "This patch adds a new function that allows callers to receive binary jsonb.\nThis change was proposed in the discussion here:\nhttps://www.postgresql.org/message-id/CAOsiKEL7%2BKkV0C_hAJWxqwTg%2BPYVfiGPQ0yjFww7ECtqwBjb%2BQ%40mail.gmail.com\nand the primary motivation is to reduce database loa...
[ { "msg_contents": "Hi\n\nI have report of one customer. Some scripts stopped on 11 because VACUUM\nANALYZE VERBOSE doesn't work now.\n\npostgres=# vacuum analyze verbose;\nERROR: syntax error at or near \"verbose\"\nLINE 1: vacuum analyze verbose;\n ^\n\nvacuum verbose analyze is working....
[ { "msg_contents": "Hi all,\n\nIn PG READ UNCOMMITTED is treated as READ COMMITTED\nBut I have a requirement to read dirty table. Is there way to detect table\nwhich is created in other uncommitted transaction?\n\nT1:\nBEGIN;\ncreate table a(i int);\n\nT2:\nselect * from pg_class where relname='a';\ncould return...
[ { "msg_contents": "Am I right in interpreting the below comment in xlog.c as documenting a new\nmode of operation, so “Not” should actually be “Note”? Or am I just not able\nto English today?\n\ndiff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c\nindex 62fc418893..246869bba2 100...
[ { "msg_contents": "Hi Hackers,\n\nfirst time writing to the hackers list, so I hope this is the right place to ask. I recently joined Swarm64 and we are building a postgres extension with the fdw interface.\n\nI am trying to evaluate sql statements with ExecutorBeing, -Run, -End, -Finish calls during ExecForeig...
[ { "msg_contents": "Hi,\n\nI've tried porting some of PostGIS algorithms to utilize multiple cores via\nOpenMP to return faster.\n\nQuestion is, what's the best policy to allocate cores so we can play nice\nwith rest of postgres?\n\nWhat I'd like to see is some function that I can call and get a number of\nthrea...
[ { "msg_contents": "Hello hackers,\n\nThe following sequence creates an orphaned file:\n\nBEGIN;\nCREATE TABLE t ();\n<kill -9 this backend>\n\nOccasionally there are reports of systems that have managed to produce\na lot of them, perhaps through ENOSPC-induced panics, OOM signals or\nbuggy/crashing extensions e...
[ { "msg_contents": "Hi,\n\nCurrently, the code that creates a PartitionBoundInfo struct from the\nPartitionBoundSpec nodes of constituent partitions read from the catalog\nis in RelationBuildPartitionDesc that's in partcache.c. I think that\nda6f3e45dd that moved around the partitioning code [1] really missed t...
[ { "msg_contents": "Hi all,\n\nI would like to create a library with UDFs written in C that implements\ndifferent Query Planner tasks (e.g. scan, hash, join, etc...). I am looking\nfor a document that provides an overview of execution flow within postgres\nand the query planner. I am also looking for a descripti...
[ { "msg_contents": "Review of [1] made me think of this optimization, currently used only in\ncreate_merge_append_path():\n\n\t/*\n\t * Apply query-wide LIMIT if known and path is for sole base relation.\n\t * (Handling this at this low level is a bit klugy.)\n\t */\n\tif (bms_equal(rel->relids, root->all_basere...
[ { "msg_contents": "Hi\n\nThe processing of named parameters inside CALL statement is not correct.\n\nIt is my code :-/. I am sorry\n\nAttached patch fix it.\n\nThis still doesn't fix INOUT variables with default value - so is not fully\ncorrect, but in this moment, it can show, where is a core of this issue.\n\...
[ { "msg_contents": "We are now in November and the 2018-11 commitfest has started (or rather, will\none someone pushes the button) but AFAICT there hasn’t been anyone volunteering\nto do be CFM this time apart from Dmitry Dolgov who showed an interest (in\nCA+q6zcWPs5aFUQxZ5qi=wRhbesUSRGD3_r4HSgQKq+G6=uxp2A@mail...
[ { "msg_contents": "\nYesterday Fabien and I submitted the same item to the Commitfest (1859 \nand 1860). Unfortunately there doesn't seem to be any way for one of \nthese to be withdrawn. \"Rejected\" and \"Returned with Feedback\" seem \nwrong. Ideally, there would be a way for someone who submits an item in \...
[ { "msg_contents": "Dear list members !\n\nI am running this delete statement via psql\n\n\tDELETE FROM ref.auto_hint WHERE title = 'Kontraindikation: ACE/Sartan <-> Schwangerschaft';\n\nagainst a\n\n\tname | server_version\n\tsetting | 11.0 (Debian 11.0-1)\n\n\tpostgres@hermes:~$ psql -d gnum...
[ { "msg_contents": "Currently, PG_DETOAST_DATUM_SLICE when run on a compressed TOAST entry will\nfirst decompress the whole object, then extract the relevant slice.\n\nWhen the desired slice is at or near the front of the object, this is\nobviously non-optimal.\n\nThe attached patch adds in a code path to do a p...
[ { "msg_contents": "Hello\n\nA customer reported to us that partitioned indexes are not working\nconsistently with tablespaces:\n\n1. When a CREATE INDEX specifies a tablespace, existing partitions get\nthe index in the correct tablespace; however, the parent index itself\ndoes not record the tablespace. So whe...
[ { "msg_contents": "Hi hackers,\n\nWe meet a corner case that related to the behavior of Vacuum Full.\n\nThere are two SQL scripts\n\nSQL1:\n-------------------------------------------------------------\n-- Test vacuum full\n\ncreate schema s2;\n\nset search_path to s2;\n\ncreate table a (i int);\n\ncreate table...
[ { "msg_contents": "Hello\nWe have some functions for directory listing, e.g. pg_ls_dir, pg_ls_logdir, pg_ls_waldir. All of them call pg_ls_dir_files function (src/backend/utils/adt/genfile.c) and i have question about per file error in this function.\n\n>\t\t/* Get the file info */\n>\t\tsnprintf(path, sizeof(p...
[ { "msg_contents": "Hi hackers!\nIn postgresql 10 and 11 only superuser can create/alter subscriptions.\nIf there was a special role (like pg_monitor), it would be more easy to grant control on subscriptions.\nI can make a patch if there are no objections against it.\n\n", "msg_date": "Fri, 02 Nov 2018 12:34...
[ { "msg_contents": "Attached patch fixes a set of typos found here and there around the tree. Some\nare in the documentation which may be of interest for backporting, but I’ve\nincluded all in the same patch.\n\ncheers ./daniel", "msg_date": "Fri, 2 Nov 2018 13:37:00 +0100", "msg_from": "Daniel Gustafss...
[ { "msg_contents": "Hello!\n\nOn stackoverflow I got a hint to ask on this mailing list...\n\nI read this question on stackoverflow: Logical decoding on a standby node\n<https://stackoverflow.com/questions/30351628/logical-decoding-on-a-standby-node>\nand checked PostgreSQL documentation and PG mail lists but I ...
[ { "msg_contents": "Hi,\r\n\r\n\r\n\r\nI’m a student taking part in Google Code-in 2018. The<http://Code-in 2018. The> task I am currently working on, https://codein.withgoogle.com/dashboard/task-instances/6406170207059968/, requires that I review and improve the “Getting Started” tutorial in the PostgreSQL docs...
[ { "msg_contents": "Here's a patch to allow partitioned tables to be referenced by foreign\nkeys. Current state is WIP, but everything should work; see below for\nthe expected exception.\n\nThe design is very simple: have one pg_constraint row for each partition\non each side, each row pointing to the topmost t...
[ { "msg_contents": "I've made a pass over the commit log up to now, and prepared draft\nrelease note entries for everything that seemed worth documenting;\nsee\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=65a82a7649860f8010db581a0d1f12aa92f5969b\n\nAs I usually do, I dropped all of these...
[ { "msg_contents": "While playing with pgbench, I found multiple \"-M query_mode\" can be\nset more than once. For example,\n\n$ pgbench -p 11002 -M extended -S -M prepared test\nstarting vacuum...end.\ntransaction type: <builtin: select only>\nscaling factor: 1\nquery mode: prepared\nnumber of clients: 1\nnumbe...
[ { "msg_contents": "Hi,\n\n\nI believe this should raise an error or at least a warning?\n\n\npostgres=# alter system set storage_engine = 'zheap';\nALTER SYSTEM\npostgres=# alter system set storage_engine = 'zheap2';\nALTER SYSTEM\npostgres=# alter system set storage_engine = 'zheap3';\nALTER SYSTEM\npostgres=#...
[ { "msg_contents": "Hi, I'm curious how it worked before (seems like the function is defined\nin both PostgreSQL and Ruby projects for quite some time) - but I recently\ncame across this situation:\n\n - /bin/postgres is build-time linked with 'ld -E'\n - /bin/postgres dlopen()s plruby.so\n - plruby.so ...
[ { "msg_contents": "Hi,\n\nWe have a few alterntive expected output files that are essentially full\nof errors, because a certain feature isn't supported. Those are somewhat\npainful to maintain. I wonder if it'd be a good idea to reduce the\nmaintenance overhead for some of them by putting something like\n\nSE...
[ { "msg_contents": "I wouldn't mind if this page:\n https://www.postgresql.org/community/contributors/\n\ncontained a link to (contributors v11):\n \nhttps://www.postgresql.org/docs/11/static/release-11.html#id-1.11.6.5.6\n\nand to (contributors v10)\n \nhttps://www.postgresql.org/docs/current/static/relea...
[ { "msg_contents": "I happened to notice that the pg_opfamily entry with OID 4035\n(jsonb_ops for GIST) is not referenced anywhere; apparently it\nwas put in in anticipation of support that never materialized.\nWe still pass make check-world if it's removed.\n\nGetting rid of it seems like a no-brainer, but it s...
[ { "msg_contents": "Hi,\n\nMichael pointed out a problem with specifying different ON COMMIT actions\non a temporary inheritance parent and its children:\n\nhttps://www.postgresql.org/message-id/20181102051804.GV1727%40paquier.xyz\n\nThe problem is that when PreCommit_on_commit_actions() executes an ON\nCOMMIT D...
[ { "msg_contents": "During make --silent, I occasionally see these lines:\n\n\tWriting postgres.bki\n\tWriting schemapg.h\n\tWriting postgres.description\n\tWriting postgres.shdescription\n\nI can't seem to find where these lines are being output, perhaps from a\nPerl library. I would like to suppress them but ...
[ { "msg_contents": "Hi folks,\n\nI failed to post a patch on the thread “Delta Materialized View Refreshes?” (Message-ID 1541368916681-0.post@n3.nabble.com), so I figured I’d try again and post directly this time. Hopefully this time, it’ll make it through. Thanks for your patience.\n\n(Original message follows…...
[ { "msg_contents": "Hi,\n\nThe test I'm most commonly waiting for when doing a parallel make check\nis pg_upgrade. And to a significant degree that's because it uses the\nserial installcheck rather than installcheck-parallel.\n\nIs there a reason to not use installcheck-parallel?\n\nserial:\n19.42user 7.77system...
[ { "msg_contents": "I've realized that my patch to make nbtree keys unique by treating\nheap TID as a tie-breaker attribute must use ASC ordering, for reasons\nthat I won't go into here. Now that I'm not using DESC ordering, there\nare changes to a small number of DROP...CASCADE messages that leave\nusers with s...
[ { "msg_contents": "Hi,\n\nI want to discuss performance improvements of INSERTs to a partitioned table.\n\nWhen an application inserts records into a table partitioned into thousands, find_all_inheritors() locks all of the partitions.\nUpdating partition key locks in the same way.\n\nSo, Execution time becomes ...
[ { "msg_contents": "Hi,\n\npsql's documentation has this mention about output formats:\n \"Unique abbreviations are allowed. (That would mean one letter is enough.)\"\n\nbut \"one letter is enough\" is not true since 9.3 that added\n\"latex-longtable\" sharing the same start as \"latex\", and then \n9.5 added \"...
[ { "msg_contents": "There's a thread on the ODBC list[1] complaining about the fact that\nit's possible to set client_min_messages to FATAL or PANIC, because\nthat makes ODBC misbehave. This is not terribly surprising, because\ndoing so arguably breaks the frontend protocol. The simple-query\nsection says this...
[ { "msg_contents": "Hi,\n\n\nI'm building PostgreSQL v11.0 on AIX (6.1, 7.1, & 7.2).\n\n\nThe 2 new tests jsonb_plperl fail in 32bit, not in 64bit.\n\nAll other tests are OK.\n\n\n - Same issue for all 3 versions of AIX\n\n - Version of Perl : 5.24.0\n\n - Version of Python: 2.7.12\n\n\n\nI have traced detai...
[ { "msg_contents": "Hi,\n\nI've recently updated to Fedora 28, and in that environment I get quite \na few new valgrind issues (see the attached log).\n\nEssentially, all the reports start with either\n\n==5971== Invalid read of size 32\n==5971== at 0x5957EB1: __wcsnlen_avx2 (in /usr/lib64/libc-2.27.so)\n==59...
[ { "msg_contents": "Two options presented:\n\n- Hard patch removes FATAL/PANIC from client_message_level_options in\nguc.c, which also seems to make sense in regard to it's double-usage\nwith trace_recovery_messages.\n\n- Soft patch keeps FATAL/PANIC in client_message_level_options but coerces\nclient_min_messag...
[ { "msg_contents": "Hello,\n\nPostgreSQL likes to probe the size of relations with lseek(SEEK_END) a\nlot. For example, a fully prewarmed pgbench -S transaction consists\nof recvfrom(), lseek(SEEK_END), lseek(SEEK_END), sendto(). I think\nlseek() is probably about as cheap as a syscall can be so I doubt it\nre...
[ { "msg_contents": "Hi,\n\nRelated to my development (putting relcache and catcache onto shared memory)[1],\nI have some questions about how to copy variables into shared memory, especially DSA area, and its implementation way.\n\nUnder the current architecture when initializing some data, we sometimes copy cert...
[ { "msg_contents": "Connection limit doesn't work for superuser\nHi hackers!\nIt would be nice if ALTER USER ... WITH CONNECTION LIMIT will work for superuser. It would protect against connection leaks. e.g. we have two superusers, one of them reached connection limit but not max_connections, the other is still ...
[ { "msg_contents": "Hi,\n\nWhile looking at [1] (included in 23315.log) there are other warnings as \nwell.\n\nI ran with\n\nvalgrind --leak-check=full --show-leak-kinds=all --gen-suppressions=all \n--suppressions=/path/to/postgresql/src/tools/valgrind.supp \n--time-stamp=yes --log-file=/tmp/valgrind/%p.log --tr...
[ { "msg_contents": "\nYesterday I did a long overdue upgrade to the machine that runs \nbuildfarm animal crake. After some hiccups it's all working, except for \nthe linux utf8 collation tests. See \n<https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2018-11-07%2002%3A33%3A22>\n\nwhere you can see...
[ { "msg_contents": "Hi,\n\nCurrently functions like slot_getattr() first check if the attribute is\nalready deformed:\n\nDatum\nslot_getattr(TupleTableSlot *slot, int attnum, bool *isnull)\n{\n...\n\t/*\n\t * fast path if desired attribute already cached\n\t */\n\tif (attnum <= slot->tts_nvalid)\n\t{\n\t\t*isnul...
[ { "msg_contents": "Dear Hackers,\n\nI've just read the thread in [1] where there was a discussion on a bug\nfix regarding index partitions not being created in the same\ntablespace as the partitioned index was created.\n\nOne paragraph that stood out when reading the thread was:\n\nOn 8 November 2018 at 09:00, ...
[ { "msg_contents": "I discovered that it's possible to trigger relation_open's new assertion\nabout having a lock on the relation by the simple expedient of running\nthe core regression tests with plan_cache_mode = force_generic_plan.\n(This doesn't give me a terribly warm feeling about how thoroughly we've\nexe...
[ { "msg_contents": "Hi all,\n\nWhile working on a fix for c186ba13 which fixes the way minRecoveryPoint\nis updated for other processes than the startup process, I was\nstruggling about being able to get that into a reproducible test case.\n\nI have been thinking what Andrew Gierth has mentioned yesterday, and\n...
[ { "msg_contents": "Hi,\n\nI found a typo in the comment of get_matching_range_bounds.\n/*\n- * get_matching_range_datums\n+ * get_matching_range_bounds\n *\t\tDetermine the offsets of range bounds matching the specified values,\n *\t\taccording to the semantics of the given operator strategy\n\nHere is the pa...
[ { "msg_contents": "In extension_config_remove() we first ensure that pg_extension.extconfig cannot\ncontain any NULL values in the array, ERRORing out if so. Later we however ask\nfor NULL values back when deconstructing the array, throwing away the results\nknowing there wont be any, which seems superfluous (...
[ { "msg_contents": "Hi\n\nWe can pass variadic arguments as a array to any variadic function. But\nsome our old variadic functions doesn't supports this feature.\n\nWe cannot to write\n\nSELECT least(VARIADIC ARRAY[1,2,3]);\n\nAttached patch add this possibility to least, greatest functions.\n\nRegards\n\nPavel"...
[ { "msg_contents": "Ahoj\n\ndnes byly zverejneny opravne verze viz\nhttps://www.postgresql.org/about/news/1905/\n\nPokud si hrajete s PostgreSQL 11, pripadne ji pouzivate produkcne, tak\nneodkladejte upgrade.\n\nPavel\n\nAhojdnes byly zverejneny opravne verze viz https://www.postgresql.org/about/news/1905/Pokud ...
[ { "msg_contents": "Buildfarm members crake and xenodermus recently fell over with\nvery similar symptoms in the pg_upgrade test:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2018-11-07%2021%3A47%3A29\n\npg_restore: [archiver (db)] Error while PROCESSING TOC:\npg_restore: [archiver (db)] E...
[ { "msg_contents": "Hi,\n\nThe last two runs show strange but identical (?) corruption in psql\noutput on mereswine (Debian on ARMv7):\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mereswine&dt=2018-11-08%2009%3A10%3A14\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mereswine&dt=2018-11-07...
[ { "msg_contents": "Hi all,\n\nWhen doing a set of ON COMMIT DELETE ROWS actions for relations, there\nis a CCI happening after each truncation:\n@@ -13334,10 +13334,8 @@ PreCommit_on_commit_actions(void)\n * exists at truncation time.\n */\n if (oids_to_truncate != NIL)\n- {\n heap_truncate(oi...
[ { "msg_contents": "Hi,\n\nCurrently \\copy cannot span multiple lines (like any meta-command)\nand cannot use psql variables whereas \\g can do both.\n\nThe POC patch attached implements two meta-commands \\copyfrom\nand \\copyto that are to COPY what \\g is to any other query:\n\n- they take the COPY query alr...
[ { "msg_contents": "Hi hackers,\n\nRecently one of our customers encountered a situation when the planning \nof a particular query takes too long (several minutes) and can't be \ninterrupted by pg_terminate_backend(). The query and schema are attached \n(this is generated by Zabbix). The reason for the slowness ...
[ { "msg_contents": "As I promised at PgConf.eu, here's a follow-up email about PostGIS\nparallelism and function inlining (an odd combination, it is true).\n\nSo, context:\n\n- We want PostGIS to parallelize more. In order to achieve that we need to\nmark our functions with more realistic COSTs. Much much higher...
[ { "msg_contents": "Hi\n\nThere are some broken. I tried to fix plpgsql_check regression tests and I\nfound new error.\n\nLooks it is fresh regression.\n\nCREATE OR REPLACE PROCEDURE public.proc(a integer, INOUT b integer, c\ninteger)\n LANGUAGE plpgsql\nAS $procedure$\nbegin\n b := a + c + c;\nend;\n$procedure...
[ { "msg_contents": "Summary:\nCreate new guc array_optimization_size_limit and use it to replace\nMAX_SAOP_ARRAY_SIZE in predtest.c.\n\nAmong other things this allows tuning when `col IN (1,2,3)` style\nexpressions can be matched against partial indexes.\n\nIt also fixes the comment:\n\"XXX is it worth exposing ...
[ { "msg_contents": "I've recently been investigating improving our plans for queries like:\n SELECT * FROM t WHERE t.foo IN (1, 2..1000);\nwhere the table \"t\" has a partial index on \"foo\" where \"foo IS NOT NULL\".\n\nCurrently the planner generates an index [only] scan so long as the number\nof\nitems in...
[ { "msg_contents": "Hi all,\n\nCommit fc70a4b0df3 added backend_type to pg_stat_activity, but the\ndocumentation omitted \"logical replication launcher\". Patch attached.\n\n-John Naylor", "msg_date": "Mon, 12 Nov 2018 14:50:30 +0700", "msg_from": "John Naylor <jcnaylor@gmail.com>", "msg_from_op": tr...
[ { "msg_contents": "I believe I found a race condition in WaitForBackgroundWorkerStartup in the\ncase where it encounters an ERROR during startup. I found that depending\non the speed of the system, it will unreliably return either status\nBGWH_STOPPED or BGWH_STARTED. But I can reliably reproduce getting\nBGW...
[ { "msg_contents": "\nAnnouncing Release 9 of the PostgreSQL Buildfarm client.\n\n\nAlong with numerous fixes of minor bugs and a couple of not so minor \nbugs, this release has the following features:\n\n\n * new command line parameter --run-parallel for run_branches.pl runs\n all branches in parallel, poss...
[ { "msg_contents": "Hi,\n\nDuring a routine Coverity scan of our internal PostgreSQL fork, it\nissued a buffer overrun warning for src/backend/libpq/hba.c,\ngethba_options()[0]:\n\nMAIN_ISSUE EventDescription: Overrunning array \"options\" of 12 8-byte\nelements at element index 12 (byte offset 96) using index \...
[ { "msg_contents": "Hi all,\n\nWe implement disk quota feature on Postgresql as an extension(link:\nhttps://github.com/greenplum-db/diskquota),\nIf you are interested, try and use it to limit the amount of disk space that\na schema or a role can use in Postgresql.\nAny feedback or question are appreciated.\n\nOv...
[ { "msg_contents": "Hi\n\nWe have good API and tools for monitoring slow queries. What is very good.\n\nBut I miss a monitoring fast queries what is usually major number and where\nrelatively small slowdown can to produce unhappy latencies on user\ninterface. More, the slowdowns here can shows some issues of dat...
[ { "msg_contents": "While working on making extension modules built reproducibly, I\nnoticed that extra flags passed via COPT (notably -ffile-prefix-map)\ndo not get added to CXXFLAGS.\n\nThis causes postgresql-hll to still store the full build path in the\n.so file built: https://tests.reproducible-builds.org/d...
[ { "msg_contents": "Hi, I'm also experiencing the problem: dsa_allocate could not find 7 free\npages CONTEXT: parallel worker\n\nI'm running: PostgreSQL 10.5 (Ubuntu 10.5-1.pgdg16.04+1) on\nx86_64-pc-linux-gnu, compiled by gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0\n20160609, 64-bit\n\nquery plan: (select statem...
[ { "msg_contents": "Hi\n\nI am try to enhance plpgsql_check about profiler functionality and I have\nto solve how to identify every plpgsql statement across different sessions.\nThere is lineno, but surely it should not be unique. I propose introduce\nstmtid to every statement structure. This number will be uniq...
[ { "msg_contents": "So while investigating a case of this warning (in\nUpdateMinRecoveryPoint):\n\n\"xlog min recovery request %X/%X is past current point %X/%X\"\n\nI noticed that it is issued even in cases where we know that\nminRecoveryPoint is not yet valid, for example because we're waiting to\nsee XLOG_BAC...
[ { "msg_contents": "While fooling with John Naylor's ecpg lexer sync patch, my attention\nwas drawn to the \"realfail1\" flex rule, which triggers when we see\ndigits immediately followed by \"e\", but no exponent after that:\n\n{realfail1} {\n /*\n * throw back the ...
[ { "msg_contents": "Hi Hackers -\n\nThe command \n\n$ postgres --config-file=\"/etc/postgresql/10/main/postgresql.conf\"\n\ncan fail with the following error:\n\npostgres: superuser_reserved_connections must be less than max_connections\n\neven if max_connections > superuser_reserved_connections in that config f...
[ { "msg_contents": "Add flag values in WAL description to all heap records\n\nHexadecimal is consistently used as format to not bloat too much the\noutput but keep it readable. This information is useful mainly for\ndebugging purposes with for example pg_waldump.\n\nAuthor: Michael Paquier\nReviewed-by: Nathan ...
[ { "msg_contents": "Hi All,\n\nFirst, kudos to the creators of  Ltree, a very useful tool.\n\nMy labels have dots, blanks, apostrophes, commas and other special \ncharacters.\n\nI was wondering if there is a way to modify ltree to allow labels with \nspecial characters - including blanks and dots! -\n\nAlso, I w...
[ { "msg_contents": "Hello hackers,\n\nCurrently, we're working on the serializable implementations for\nzheap. As mentioned in README-SSI documentation[1], there is one\ndifference in SSI implementation of PostgreSQL that can differentiate\nthe conflict detection behaviour with other storage engines that\nsuppor...
[ { "msg_contents": "Hi,\n\nI've been trying to run Postgis regress tests under Clang sanitizers and one of\nthe issues I'm facing is the constant stream of errors during the `configure`\nstep coming from calls to `pg_config`.\n\nExample:\n```\n$ pg_config --cc\nclang\n\n==========================================...
[ { "msg_contents": "Hello,\n\nWe've encountered a query which took forever on our database, and after\ninvestigating why I managed to reduce the test case to something simple.\n\nThe problem is that the optimizer seems to fail to consider pushing a\npredicate down a \"unionized\" view:\n\nCREATE TABLE t1 AS SELE...
[ { "msg_contents": "Hello,\n\nI noticed buildint2vector / buildoidvector assigns lbound1=0 as default\nvalue, but array type shall have lbound1=1 in the default.\nIs there some reasons for the difference?\n\nWhen I made a simple C-function that returns result of int2vector which\ncarries attribute numbers of the...
[ { "msg_contents": "Hi.\n\n>> I changed field name from 'reply_time' to 'last_msg_send_time'.\n>> Because 'last_msg_send_time' is used in pg_stat_wal_receiver/pg_stat_subsctiption view.\n>> I think that field has the same meaning.\n>\n>I got confused by the field name. If we have 'last_msg_send_time'\n>field in ...
[ { "msg_contents": "Hello,\n\nIt seems like ALTER INDEX ... ALTER COLUMN statements (for setting specific\nstatistics targets on functional indexes, for example) are not part of a\npg_dump.\n\nIt is not easily noticed, since everything seems to work normally until a\nsub-par plan is chosen because of an error in...
[ { "msg_contents": "Crash is reproducible but only when JIT=on.\n\npostgresql11-llvmjit-11.1-1PGDG.rhel7.x86_64\n\n[2769871.453033] postmaster[8582]: segfault at 7f083bddb780 ip 00007f08127e814e sp 00007ffe463506e0 error 4\n[2770774.470600] postmaster[29410]: segfault at 7f0812eeb6c8 ip 00007f08127eb4f0 sp 00007...
[ { "msg_contents": "Folks,\n\nAt least two external logical replication systems have simple ways to\nchange the node which is accepting rights for a replication set.\nPlease find attached a doc patch naming the lack of this feature as a\ncurrent limitation.\n\nBest,\nDavid.\n-- \nDavid Fetter <david(at)fetter(do...
[ { "msg_contents": "Hi %,\n\nis this something the configure script needs to take care of?\n\nchecking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switc...
[ { "msg_contents": "Should now/current_date be marked leakproof?\n\nI'm trying to push a `WHERE field >= current_date - interval '1 day'` type\nof clause into a security_barrier defined view.\n\n-- \nRod Taylor\n\nShould now/current_date be marked leakproof?I'm trying to push a `WHERE field >= current_date - int...
[ { "msg_contents": "We've seen repeated complaints about bogus build warnings when using\n\"clang\": it complains that strlcpy and some related library functions\nhaven't been declared. Several of the buildfarm animals exhibit such\nwarnings, for instance. That's because Autoconf's AC_CHECK_DECLS macro\nfails ...
[ { "msg_contents": "Hi all,\n\nHere is a tiny patch removing PreventCommandDuringRecovery() for UNLISTEN.\nSee previous discussion in\nhttps://www.postgresql.org/message-id/CADT4RqBweu7QKRYAYzeRW77b%2BMhJdUikNe45m%2BfL4GJSq_u2Fg%40mail.gmail.com\n.\n\nIn a nutshell, this prevents an error being raised when UNLIS...
[ { "msg_contents": "Hi,\n\nwhile investigating something on a cluster with a non-default WAL\nsegment (say 256MB), I've noticed a somewhat surprising behavior of\nmax_wal_size default. While the docs claim the default is 1GB, the\nactual default depends on the WAL segment size.\n\nFor example with the 256MB WAL ...
[ { "msg_contents": "Hi,\n\nIt seems we have pretty annoying problem with logical decoding when\nperforming VACUUM FULL / CLUSTER on a table with toast-ed data.\n\nThe trouble is that the rewritten heap is WAL-logged using XLOG/FPI\nrecords, the TOAST data is logged as regular INSERT records. XLOG/FPI is\nignored...
[ { "msg_contents": "Hello,\nCan I skip function ResolveRecoveryConflictWithSnapshot if setting hot_standby_feedback=on all the time?\nAs I know, function ResolveRecoveryConflictWithSnapshot is used for resolving conflicts once master cleans dead tuples. But if I set hot_standby_feedback to on, it will not appea...
[ { "msg_contents": "Hi,\n\nIn [1], there was a plan to do the trigger tuple slotification\nchanges as a separate patch, and not include them in the pluggable\nstorage changes. I have come up with such a patch by extracting the\ntrigger-specific changes from the pluggable storage changes proposed\nin [1]. I used...