threads
listlengths
1
2.99k
[ { "msg_contents": "I noticed that the description of root_tuple_slot member is missing in the\ncomment above PartitionTupleRouting definition. See if the attached patch\nfixes it correctly.\n\nThanks,\nAmit", "msg_date": "Mon, 23 Apr 2018 14:50:10 +0900", "msg_from": "Amit Langote <Langote_Amit_f8@lab....
[ { "msg_contents": "Hi!\n\nI tried compiling with --with-llvm on my laptop, and got this:\n\n> $ make -s \n> All of PostgreSQL successfully made. Ready to install.\n> $ make -s install\n> Invalid Summary Block: version expected\n> error: can't create ModuleSummaryIndexObjectFile for buffer: Corrupted bitcode\n> ...
[ { "msg_contents": "Hi.\n\nI think we should apply the attached patch so that a CreateTriggerStmt\nthat CloneRowTriggersToPartition creates for a partition doesn't contain\npointers that point to the information in the parent table's relcache,\nwhich may go stale before the pointers in question are used.\n\nThan...
[ { "msg_contents": "Hi.\n\nacquire_inherited_sample_rows() currently uses equalTupleDescs() being\nfalse as the condition for going to tupconv.c to determine whether tuple\nconversion is needed. But equalTupleDescs() will always return false if\nit's passed TupleDesc's of two different tables, which is the most...
[ { "msg_contents": "I noticed one in the SPI docs and tried to look for more. The attached\npatch is an attempt at removing the remaining references. The original\nSPI example returned a uint64 as a signed int8 SQL type, so I'm not\nsure if I handled that correctly.\n\nHowever, I didn't touch the documentation o...
[ { "msg_contents": "So far, dory has failed three times with essentially identical symptoms:\n\n2018-04-23 19:57:10.624 GMT [2240] FATAL: could not reattach to shared memory (key=0000000000000190, addr=00000000018E0000): error code 487\n2018-04-23 15:57:10.657 EDT [8836] ERROR: lost connection to parallel work...
[ { "msg_contents": "It looks like local partitioned indexes are a problem for pageinspect:\n\npg@regression[28736]=# select bt_metap('at_partitioned_b_idx');\nERROR: relation \"at_partitioned_b_idx\" is not a btree index\n\nI gather that pageinspect simply didn't get the memo about the new\nRELKIND_PARTITIONED_...
[ { "msg_contents": "Hi PostgreSQL community and mentors:\n\nThanks for selecting my project as one of GSoC student projects! Pretty\nexciting and honor to join the development for PostgreSQL (the best\ndatabase in the world :)). So for the first phase of this project\n(community bonding), I am planning to go ahe...
[ { "msg_contents": "Currently the behavior of bit-string extensions is pretty insane.\n\nSELECT b'01'::bit(2)::bit(4),\n b'01'::bit(2)::int::bit(4);\n bit | bit\n------+------\n 0100 | 0001\n(1 row)\n\nI'd like propose we standardize this a bit. Previously, in version 8\ncompatibility was broke. From the Versi...
[ { "msg_contents": "Hi\n\nWhen running database migrations with .sql files on a live database, it's not \nuncommon to have to run a migration in a loop to prevent a big lock on a \ntable.\nFor instance if one want to delete some old datas from a big table one would \nwrite :\n\nDELETE FROM big_table WHERE id IN ...
[ { "msg_contents": "Hi,\n\nWhile building stable releases and v11 on Fedora 28, I am seeing some warnings.\nWhat is the project's policy about fixing those warnings in older branches? \n\nTo contribute to world peace, I did not attach the text to the email. Here is\nwhat I see in today's git snapshot:\n\nhttps:/...
[ { "msg_contents": "Forwarding to hackers. Hope that's OK after few days.\n\nPavel\n\n---------- Forwarded Message ----------\n\nSubject: obsoleting plpython2u and defaulting plpythonu to plpython3u\nDate: Thursday, April 19, 2018, 11:56:40 AM CEST\nFrom: Pavel Raiskup <praiskup@redhat.com>\nTo: pgsql-general...
[ { "msg_contents": "Hi,\n\nHere is a comment for ExecInitPartitionInfo:\n\n 296 * ExecInitPartitionInfo\n 297 * Initialize ResultRelInfo and other information for a\npartition if not\n 298 * already done\n\nI think we should remove the words \"if not already done\" from that\ncomment because 1) that...
[ { "msg_contents": "Hi,\n\nWhile thinking about the at the fsync mess, I started looking at the\nfsync request queue. I was primarily wondering whether we can keep FDs\nopen long enough (by forwarding them to the checkpointer) to guarantee\nthat we see the error. But that's mostly irrelevant for what I'm\nwonder...
[ { "msg_contents": "Hi all,\n\nI just found $subject:\n the server was compiled without <literal>--with-llvm</literal>),\n- <acronym>JIT</acronym> will not performed, even if considered to be\n+ <acronym>JIT</acronym> will not be performed, even if considered to be\n beneficial based on the above c...
[ { "msg_contents": "Hi,\nI have a stock table.\n \nOne of the users in the system ran this query:  update stock set quantity=quantity-5 where stockid=100  (from his client application).\nOn the same time I ran from pg-admin this query:\n \ndo $$beginalter table stock disable trigger stock_aftertrigger;update sto...
[ { "msg_contents": "Hello,\n\n\n\nI have developed a postgres extension in Linux. I want to compile it in MS Windows as well. \n\n\n\nThe extension extensively make use of POSIX threads and mutexes.\n\n\n\nI've done some research regarding compiling in Windows. I am not sure in what way I should compile the exte...
[ { "msg_contents": "Hi.\n\nBSD sed in macOS doesn't understand word boundary operator \"\\b\". So after\n372728b0d49 unused_oids doesn’t match all oids in new *.dat files marking\nall of them as unused.\n\nIt is possible to write more portable regexps, e.g. change \"\\b\" to\nsomething like \"^.*{*.*\", but it s...
[ { "msg_contents": "Hi,\n\napparently gettext can't properly identify strings when 64bit values\nformatted with macros like INT64_FORMAT and UINT64_FORMAT. I did\nsome research and found out that gettext can work with PRId64 and\nPRIu64. My suggestion is to use these macro for such strings.\n\nThe problem is her...
[ { "msg_contents": "Hello,\n\nDon't know if I should post it to hackers list, by I'll try here first.\n\nFor many reasons, we're currently deploying a mirror for postgresql rpm\npackages. And when we run reposync (yum mirroring tool) with --gpgcheck\nswitch some packages are removed due to failed signature check...
[ { "msg_contents": "Hello,\n\nMy name is Kefan Yang. I am so excited that my proposal ‘Sorting Algorithm and Benchmarking 2018’ has been accepted. I see on the Wiki page that you can mentor this proposal. This is what I’ve done in these few days:\n1. I’ve carefully read through Submit a Patch and have a basic un...
[ { "msg_contents": "The jitflags in the PlannedStmt structure of type \"int\", but in _out and\n_read functions it is treated as of \"bool\" type.\n\nWRITE_BOOL_FIELD(jitFlags);\nREAD_BOOL_FIELD(jitFlags);\n\nI am thinking of it is a copy paste mistake as the other members around the\ninitflags are of \"bool\" t...
[ { "msg_contents": "The attached small patch removes the mention that partitioned tables\ncannot have foreign keys defined on them.\n\nThis has been supported since 3de241db\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services", "msg_...
[ { "msg_contents": "Apparently the following patch[1] got committed to head only (9.6 at the\ntime) and never made it into back branches i.e. 9.5, 9.4 and 9.3. Is it an\noversight ?\n\n[1]\nhttp://git.postgresql.org/pg/commitdiff/868628e4fd44d75987d6c099ac63613cc5417629\n\n\nRegards,\nHaroon\n-- \nHaroon ...
[ { "msg_contents": "I prpose two tweaks for the perltidy configuration:\n\n- The new perltidy version can avoid writing backup files, so we don't\nneed to explicitly delete them after.\n\n- Use option --nooutdent-long-quotes. This is similar to a change we\nmade for pgindent in the C code a while ago. See patc...
[ { "msg_contents": "PostgreSQL hackers and community at large,\n\nIn the spirit of the season, the Release Management Team would like to\ngather your thoughts on Fear, Risk and Data Corruption for features in\nPostgreSQL 11. What patch or patches committed in this cycle do you\nthink have the highest probabilit...
[ { "msg_contents": "Hi all\n\nThis patch allows a user to configure auto_explain to log to NOTICE instead\nof the server log. This allows automated testing of application-generated\nqueries to ensure correct plans etc from code that can inspect returned\nnotices but not the server log.\n\nI don't see any tests f...
[ { "msg_contents": "Hi,\n\nHaving a strange situation, where adding extra parallel workers\n(max_parallel_workers_per_gather), the planner chooses a different plan,\nwith nested loops, which makes the query twice as slow. Strangely with the\nCOUNT_DISTINCT implementation from Tomas Vondra (\nhttps://github.com/t...
[ { "msg_contents": "Hello,\n\n\n\nI am trying to build PG from source, in MS Windows using MSYS2 and MinGW-w64. I've tried to build PG 10.0 as wells as 10.3.\n\n\n\nI've done configuring like this \n\n ./configure --prefix=\"/d/pg10/\"\n\nAnd when I do \"make\" or \"make world\", I'm getting compilation err...
[ { "msg_contents": "Hello hackers,\n\nNowadays, phrase operator in Postgres FTS supports only exact match of\nthe distance between two words. It is sufficient for a search of\nsimple/exact phrases, but in some cases exact distance is unknown and we\nwant to words be close enough. E.g. it may help to search phras...
[ { "msg_contents": "Over in the thread about python versions there was some mention of\ngetting rid of the pg_pltemplate system catalog in favor of putting\nall the info about a procedural language into its extension script.\nThis has been discussed before, and it'd be a very good thing to do\nbecause it would a...
[ { "msg_contents": "Hello.\n\nIt seems that during COMMIT PREPARED FinishPreparedTransaction() doesn't\nhold interrupts around writing to wal and cleaning up ProcArray and GXact\nentries. At least RemoveTwoPhaseFile (which is called in between) can print\na warning with ereport(), which, in turn will check for i...
[ { "msg_contents": "Hi,\n\nI thought I'd send this separately from [0] as the issue has become more\ngeneral than what was mentioned in that thread, and it went off into\nvarious weeds.\n\nI went to LSF/MM 2018 to discuss [0] and related issues. Overall I'd say\nit was a very productive discussion. I'll first t...
[ { "msg_contents": "I'm learning PGSQL and reading the source, and find few trivial issues in the docs:\n- doc of catalogs: table 'pg_replication_origin' is a shared relation  but is not mentioned in the doc.\n- README of mmgr: make variable names consistent.\n- trivial error fix in the comment of block.h: Inval...
[ { "msg_contents": "Hi all,\n\nJIT is introducing the installation of LLVM bitcode modules, and any\ninstallation done results in the following comment in output, which\nrepeats basically for all the extensions installed:\n# Then install files\n#\n# The many INSTALL_DATA invocations aren't particularly fast, it'...
[ { "msg_contents": "Taking a close look at the result of setup_conversion(), wrong or at\nleast confusing comments are applied to the functions. Consider this\nfamily of conversions:\n\nselect conproc, conname\nfrom pg_conversion\nwhere conproc = 'utf8_to_win'::regproc\norder by oid;\n conproc | connam...
[ { "msg_contents": "Hi Aleksander,\n\n Start to study the format of thrift encoding format (binary protocol)\nand found this document(\nhttps://erikvanoosten.github.io/thrift-missing-specification/#_struct_encoding).\nHaving one question. Can I assume the data in thrift is always send inside\na struct? Otherwi...
[ { "msg_contents": "Hi,\n\nIn EXPLAIN (BUFFERS), there are two kinds of cache misses that show up\nas \"reads\" when in fact they are not reads at all:\n\n1. Relation extension, which in fact writes a zero-filled block.\n2. The RBM_ZERO_* modes, which provoke neither read nor write.\n\nHere's a suggested fix.\...
[ { "msg_contents": "Observe the following buildfarm failures:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=whelk&dt=2018-03-29%2013%3A41%3A13\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=woodlouse&dt=2018-04-18%2016%3A42%3A03\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dory...
[ { "msg_contents": "Hi,\n\nI've been noodling around the tuplesort/logtape code, reviewing the \nchanges that were made in v11 to support parallel sorting, and also \nrebasing my older patch to replace the polyphase merge with a simple \nbalanced merge.\n\nLooking at TapeShare:\n\n> /*\n> * The approach tupleso...
[ { "msg_contents": "Here are a couple of patches, one for master and one for the back\nbranches from 9.5 to 10 to allow testing of plpython3 and associated\ncontrib modules when building with MSVC.\n\nI've tested this out on a Windows 2016 machine with Visual Studio 2017.\n\nI'd like to apply these - they only a...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15182\nLogged by: Lloyd Albin\nEmail address: lalbin@scharp.org\nPostgreSQL version: 10.3\nOperating system: OpenSUSE\nDescription: \n\nOver the last several weeks our developers caused a Denial of...
[ { "msg_contents": "I noticed that we're calling _bt_nonkey_truncate() needlessly when a\nminimum key is needed at the leftmost page on each level of the tree.\nThis was always a special case, and I think that it should remain as\none. Attached patch avoids unneeded truncations, while preserving the\ngeneric BTr...
[ { "msg_contents": "The SQL-level EXECUTE statement does not process parameters in its\narguments. So for example, the following does not work:\n\ncreate table t1 (a int);\n\nprepare p1 as insert into t1 (a) values ($1);\n\ncreate function f2(x int) returns int\nlanguage sql\nas $$\nexecute p1($1); -- HERE\nse...
[ { "msg_contents": "Hi,\n\nNot sure if it's a goal to be warning free on Windows, but I was\ntesting some patches on that fine operating system and spotted a\ncouple of warnings that seemed worth asking about:\n\n\nsrc/backend/replication/basebackup.c(1470): warning C4146: unary minus\noperator applied to unsign...
[ { "msg_contents": "Hi.\n\nWhile playing around with a -DCATCACHE_FORCE_RELEASE build, I noticed that\nstats_ext test failed with errors for multiple statements that looked like\nthis:\n\nERROR: invalid ndistinct magic 7f7f7f7f (expected a352bfa4)\n\nI figured it's because statext_dependencies_load() and\nstate...
[ { "msg_contents": "PostgreSQL 9.4\nCurrent setup is one standalone server with disk mount on NetApp.\nData should be protected from access by other sources.\nFor example - if for some reason one of the Netapp admins mount the\nPostgres LUN to another server.\n\nOne option is to stored data locally - but then it...
[ { "msg_contents": "Hi,\n\nI am confused with the Usage of pg_waldump (or pg_xlogdump).\n\nThe syntax is known as,\n\n pg_waldump [OPTION]... [STARTSEG [ENDSEG]]\n \nMean that, it could work with no arguments.\nBut the \"no arguments specified\" ERROR will be returned in that case.\n\n $ pg_waldump\n pg_wald...
[ { "msg_contents": "Global snapshots\n================\n\nHere proposed a set of patches that allow achieving proper snapshot isolation\nsemantics in the case of cross-node transactions. Provided infrastructure to\nsynchronize snapshots between different Postgres instances and a way to\natomically commit such tr...
[ { "msg_contents": "Clean up warnings from -Wimplicit-fallthrough.\n\nRecent gcc can warn about switch-case fall throughs that are not\nexplicitly labeled as intentional. This seems like a good thing,\nso clean up the warnings exposed thereby by labeling all such\ncases with comments that gcc will recognize.\n\...
[ { "msg_contents": "Introduced 857f9c36cda520030381bd8c2af20adf0ce0e1d4\n\nThe \"minimal version\" should probably be \"minimum version\", but I didn't\ninclude it here.\n\nAlso, the documentation doesn't indicate the default value of -1 (or its\nspecial meaning).\n\nAlso, my understanding of this feature change...
[ { "msg_contents": "Hi,\n\nRecently I've heard people complaining that Postgres doesn't expose any\nstatistics about how many full page writes happened during some time frame.\nIndeed, I couldn't find any easy way to do so, and judging from my\nunderstanding of xloginsert.c it actually can be done per database w...
[ { "msg_contents": "Hi,\n\nI spent some time performance testing sorting, and spotted a funny \nphenomenon with very small work_mem settings. This example demonstrates \nit well:\n\nI sorted about 1 GB worth of pre-sorted integers, with different \nsettings of work_mem, between 64 kB (the minimum), and 100 kB. I...
[ { "msg_contents": "-hackers,\n\nWho is coordinating GSOC this year?\n\n\nThanks,\n\n\nJD\n\n-- \nCommand Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc\n\nPostgreSQL centered full stack support, consulting and development.\nAdvocate: @amplifypostgres || Learn: https://postgresconf.org\n***** ...
[ { "msg_contents": "I've been going through compiler warnings from the buildfarm, and\nI notice jacana is unhappy about this:\n\n\t/* First line of the file is a record count. */\n\tif (fscanf(file, \"<<\" INT64_FORMAT \">>\\n\", &num_elements) != 1)\n\nIt's entirely correct to complain, because we only guarante...
[ { "msg_contents": "\"insaf.k\" <insaf(dot)k(at)zohocorp(dot)com> wrote:\n> I am trying to build PG from source, in MS Windows using MSYS2 and \n> MinGW-w64. I've tried to build PG 10.0 as wells as 10.3.\n> I've done configuring like this\n> ./configure --prefix=\"/d/pg10/\"\n> And when I do \"make\" or \"make w...
[ { "msg_contents": "Hi all\n\nI'm trying to assemble a mirror of old package versions from\napt.postgresql.org and yum.postgresql.org, as I'm encountering more\nand more cases where I really need debuginfo for a package but the\nuser hasn't installed it. The repos only keep the last couple of\nbuilds, so it quic...
[ { "msg_contents": "Hi guys,\nhttps://stackoverflow.com/questions/50153122/how-come-this-postgres-query-is-working\nAbove guys are surprised by \"ignore other punctuation but use as delimiter\"\npart.\nDo you think this should be mentioned in docs?\nE.g.\nhttps://www.postgresql.org/docs/current/static/functions-...
[ { "msg_contents": "Debian's PostgreSQL packages allow installation of several server\nversions in parallel, but only one libpq and libpq-dev package is\nprovided, i.e. libpq is always from the latest stable branch. There\nare separate postgresql-server-dev-NN packages for the\nversion-specific header files. So ...
[ { "msg_contents": "I've been getting an Msys2 environment working, and will soon document\nhow to build with this environment. There are several nice things\nabout it, including a modern version of perl and proper support for\nthe mingw-w64 compilers.\n\nSo far the only thing I have found that needs to be chang...
[ { "msg_contents": "Setting ignore_system_indexes=off in postgresql.conf has the effect of\nmaking almost all regression tests fail during a \"make installcheck\".\nThis is unsurprising, since warnings are emitted all over the place.\nHowever, some of the specific ways in which it fails *are* surprising.\n\nI se...
[ { "msg_contents": "All,\n\nI am writing a PostgreSQL extension and need to reload certain\nextension-managed files whenever the postmaster is reloaded/receives SIGHUP,\nbut cannot find anything that looks like a standard way to do that. Is there a\nhook or recommended method or something else I am missing?\n\nT...
[ { "msg_contents": "Hi hackers,\n\nThere is a strange behavior of the query planner in some cases if\nstable/immutable was used a relation. In some cases, it affects costs of\noperations and leads to a bad plan of the execution. Oleg Bartunov \nnoticed\nsuch behavior in queries with a to_tsvector as a relation:\...
[ { "msg_contents": "Currently pg_rewind copies all files including postgresql.conf. It\nwould be nice if pg_rewind has an option to not copy\npostgresql.conf. I sometimes create multiple PostgreSQL database\nclusters with different port number which postmaster is listening on\nfor a testing purpose. So existing ...
[ { "msg_contents": "Hello hackers,\n\nRecently I was working with sql arrays in postgres and it turned out\nthat postgres doesn't have such very convinient functional constructions\nas map, reduce and filter. Currently to map function over array user has\nto make a subquery like:\n\nselect u.* from\n\tmy_table,\...
[ { "msg_contents": "Fix precedence problem in new Perl code.\n\nI think this bit of commit 1f1cd9b5d didn't do quite what I meant :-(\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/59cb323053f4ed582d4e71acaeb5770603f074db\n\nModified Files\n--------------\nsrc/backend/cat...
[ { "msg_contents": "Hello all\nI want propose patch to make possible change primary_conninfo, primary_slot_name, restore_command and trigger_file in recovery.conf without restart postgresql.\nStartup process will reread recovery.conf on SIGHUP.\n\nMy primary usecase is postgresql cluster with streaming replicati...
[ { "msg_contents": "Earlier this week I pushed tzdata 2018d into our tree, expecting that\nthat would be the current IANA timezone data for next week's releases.\nWell, I was wrong; today they pushed out a new version:\n\nhttps://mm.icann.org/pipermail/tz-announce/2018-May/000050.html\n\non account of North Kore...
[ { "msg_contents": "Hi,\n\nNow that there's several tools used during compilation that can benefit\nfrom ccache I wonder if it's time to add an option to configure for\nsetting up ccache across the board.\n\nISTM --enable-ccache would simplify setup for a number of people? And it\nshouldn't be hard to implement....
[ { "msg_contents": "Hi,\n\nCurrently there's no convenient way to get a corrupted page (be it a\nchecksum failure, corrupted pd_upper/lower or whatnot) via pageinspect's\nget_raw_page(). Given that pageinspect is kind of our tool to do inspect\nissues on a data level that's not so great.\n\nI therefore propose t...
[ { "msg_contents": "Hackers,\n\nThere are not yet any examples in the postgres sources where this\noversight causes problems, but in genbki.pl, where it makes the\ndecision whether to quote a token:\n\n # Quote value if needed. We need not quote values that satisfy\n # the \"id\" pattern in bootsc...
[ { "msg_contents": "Hi,\n\nThe Release Management Team is pleased to announce that\nthe release date for PostgreSQL 11 Beta 1 is set to be 2018-05-24.\n\nWe’re excited to make the Beta available for testing and receive\nsome early feedback around the latest major release of PostgreSQL.\n\nPlease let us know if y...
[ { "msg_contents": "First cut at release notes for next week's minor releases is up at\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=488ccfe40a865e3f3c6343e2de026c37ba5a7d50\n\nIf you prefer not to read XML markup, they should appear in the devel docs\non the website after guaibasaurus's ...
[ { "msg_contents": "Hello,\n\nAttached is a trivial documentation fix for PG 11 partitioning, which includes:\n\n* pg_partition fails to mention hash for the strategy.\n* Partitioning key column values can now be modified, which results in row movement between partitions.\n\nRegards\nTakayuki Tsunakawa", "ms...
[ { "msg_contents": "Hi hackers,\n\n--enable-dtrace produces compiler warnings about const correctness,\nexcept on macOS. That's because Apple's dtrace produces function\ndeclarations in probes.h that take strings as const char * whereas\nAFAIK on all other operating systems they take char * (you can see\nthat p...
[ { "msg_contents": "Hi hackers.\n\nThe following works well of course:\n\ntest=# select strpos('Aa'::citext, 'a');\n strpos\n--------\n 1\n\nHowever, if I pass a typed text parameter for the substring, I get\ncase-sensitive behavior instead:\n\ntest=# select strpos('Aa'::citext, 'a'::text);\n strpos\n------...
[ { "msg_contents": "The attached patch allows a clean run from the following script adapted\nfrom pgperltidy:\n\n {\n     find . -type f -a \\( -name '*.pl' -o -name '*.pm' \\) -print\n     find . -type f -perm -100 -exec file {} \\; -print \\\n            | egrep -i ':.*perl[0-9]*\\>' \\\n       ...
[ { "msg_contents": "Hi all,\n\n2f52518 has removed a couple of extra newlines not needed as\nPQerrorMessage is used, but some places have been missed:\n- testlo64.c\n- testlo.c\n- findoidjoins.c\nThose are not really critical, still I think that it would be good\npractice to be consistent.\n\npgbench uses at one...
[ { "msg_contents": "Hi all,\n\nWouldn't it be time to update the list of catalog joins generated by\nfindoidjoins? Running it myself, I have spotted two new links:\n+Join pg_catalog.pg_constraint.conparentid => pg_catalog.pg_constraint.oid\n+Join pg_catalog.pg_partitioned_table.partdefid => pg_catalog.pg_class....
[ { "msg_contents": "I've been trying to trace down a slowdown in HEAD's regression tests\ncompared to the v10 branch, and one thing I discovered is that there was\na noticeable across-the-board slowdown in the TAP tests as a result of\ncommit 6271fceb8; as much as 10% for the \"scripts\" tests, though less in\no...
[ { "msg_contents": "Does anybody think having in-memory query result cache in core is a\ngood idea? From the experience of implementing the feature in\nPgpool-II, I would think this is not terribly hard job. But first of\nall I'm wondering if there's a demand for the feature.\n\nBest regards,\n--\nTatsuo Ishii\n...
[ { "msg_contents": "In the wake of commit e89a71fb449af2ef74f47be1175f99956cf21524,\nparallel.sgml is no longer correct about the effect of InitPlans:\n\n <para>\n The following operations are always parallel restricted.\n </para>\n\n...\n\n <para>\n Access to an <literal>InitPlan</literal> or c...
[ { "msg_contents": "Hello PGSQL Hackers,\n\nWe have come across the following issue on Postgres REL_10_STABLE. Below is\nthe repro:\n\nCREATE TABLE foo (a int, b text); INSERT INTO foo values(1, '3'); SELECT *\nFROM (SELECT * FROM foo WHERE length(b)=8)x WHERE to_date(x.b,'YYYYMMDD') >\n'2018-05-04';\nERROR: sou...
[ { "msg_contents": "Hi all,\n\nWhile hacking on an extension, I have finished by doing things similar\nto guc_malloc & friends for the allocation of a GUC parameter for malloc\nportability. While that's not really a big deal to copy/paste this\ncode, I am wondering if it would make sense to expose them for exte...
[ { "msg_contents": "Hi Hackers,\n\nI didn't find the original discussion which led to introduction of the\nclient-side set of keepalive parameters back in [1].\n\nThe issue I'm facing is that it doesn't seem to be possible to set these\nparameters from the environment variables. The block of option\ndefinitions...
[ { "msg_contents": "Hello All,\n\nI am sure this has been discussed somewhere but I have not found anything\nspecific in the archives.\n\nHas there been or is there any current effort to implement SQL:2011\nvalid-time support in Postgres? I understand that there has been some\nefforts to implement some valid-ti...
[ { "msg_contents": "Here's a small patch to add a script to call perlcritic, in the same way\nthat we have a script to call perltidy. Is also includes a perlcriticrc\nfile containing a policy to allow octal constants with leading zeros.\nThat's the only core severity 5 policy we are currently no in compliance\nw...
[ { "msg_contents": "Hi,\n\n8b08f7d4 added propagation of indexes on partitioned tables to\npartitions, which is very cool. However, index creation also recurses\ndown to foreign tables. I doubt this is intentional, as such indexes are\nforbidden as not making much sense; attempt to create index on\npartitioned t...
[ { "msg_contents": "Hi,\n\nScanning ExecInsert, it looks like there's a needless additional\npartition constraint check against the tuple. This should only be\nrequired if there's a before row INSERT trigger. The code block up\none from the additional check tries to disable the check, but it goes\nahead regardl...
[ { "msg_contents": "Hello,\n\nI recently investigated a problem where a standby is promoted to be the new\nmaster. The promoted standby crashes shortly thereafter for whatever\nreason. Upon running the crash recovery, the promoted standby (now master)\nPANICs with message such as:\n\nPANIC,XX000,\"WAL contains r...
[ { "msg_contents": "Hi all,\n\nI want to support canceling for a plpython query which may be a busy loop.\n\nI found some discussions on pgsql-hackers 2 years ago. Below is the link.\n\nhttps://www.postgresql.org/message-id/CAFYwGJ3+Xg7EcL2nU-MxX6p+O6c895Pm3mYZ-b+9n9DffEh5MQ@mail.gmail.com\n\nMario wrote a patch...
[ { "msg_contents": "Hi,\nI was investigating the cases when the system attributes are accessed\nbeyond the scans. After investigating set_plan_references(), I thought\nthat we never access system attributes beyond scans. This lead me to\nassume that EEOP_INNER/OUTER_SYSVAR are not needed since we do not\naccess ...
[ { "msg_contents": "While doing a bit more review of the partitionwise-join-fix patch, I\nnoticed $SUBJECT. Here is an example that causes an assertion failure\n\"TRAP: FailedAssertion(\"!(foreignrel)\", File: \"postgres_fdw.c\", Line:\n2213)\":\n\npostgres=# create table t1 (a int, b text);\nCREATE TABLE\npost...
[ { "msg_contents": "As I was double checking that the new function marking from 10.4 merged\ncorrectly to our fork, I noticed that one of the ts_rewrite entries looks\nwrong.\n\nThe release notes say:\nALTER FUNCTION pg_catalog.ts_rewrite(tsquery, tsquery, tsquery) PARALLEL\nUNSAFE;\n\nBut when I pull pg_proc.h ...
[ { "msg_contents": "Hi,\n\nI was building Postgres v10.3 sources on Windows x64-bit with Windows 10\nSDK and v141 toolset (VS 2017) and it gives me the following error:\n\nd:\\pginstaller.auto\\postgres.windows-x64\\src\\backend\\utils\\adt\\*pg_locale.c(932):\nerror C2037: left of 'locale_name' specifies undefi...
[ { "msg_contents": "After applying the perlcritic overrides Andrew used for the buildfarm, one\nof the most common remaining level 4 warnings in the PostgreSQL source,\nwith 186 occurrences, is 'Subroutine does not end with \"return\"'.\n\nThe point of this warning is that, in Perl, falling off the end of a\nsub...
[ { "msg_contents": "I have committed the first draft of the Postgres 11 release notes. I\nwill add more markup soon. You can view the most current version here:\n\n\thttp://momjian.us/pgsql_docs/release-11.html\n\nI expect a torrent of feedback. ;-)\n\nOn a personal note, I want to apologize for not adequatel...
[ { "msg_contents": "I thought that would be desirable, although I don't see any better way of\ngetting there than this.\n\nI don't see other commands for which which watch is wanted...but who am I to\nsay that watching creation extention isn't useful? So I imagine this should be\ngeneralized to save query buffe...
[ { "msg_contents": "Hello,\n\nas described in:\nhttp://www.postgresql-archive.org/Re-FEATURE-PATCH-pg-stat-statements-with-plans-v02-td6015488.html\n\nI'm wondering about the best way to build a query planid. \n\nIt seems natural (to me) to calculate a hash value based on the normalized\nplan text \ngenerated by...
[ { "msg_contents": "This patch adds the capability to use the HEADER feature with the \"text\"\nformat of the COPY command. The patch includes the related update to\ndocumentation and an additional regression test for this feature.\n\nCurrently you can only add a header line (which lists the column names)\nwhen ...