threads
listlengths
1
2.99k
[ { "msg_contents": "I noticed that hash functions appear twice in the list of pgbench \nfunctions, although once is enough. The code is functional nevertheless, \nbut it looks silly. This was added by \"e51a04840a1\" back in March, so \nshould be removed from 11 and 12dev.\n\n-- \nFabien.", "msg_date": "Sun,...
[ { "msg_contents": "I'm tinkering with the idea of creating a Procedural Language plugin for\nHaskell. As such I'm reading up on the SPI and prepared statements. The\nidea is that a statement will be prepared at compile time and executed at\nrun-time. Therefore, I want to be able to determine the columns (names ...
[ { "msg_contents": "Hi hackers,\n\nI'm interested in partition split and want to figure out how it works.\nCould someone tell me where the code is located? Thanks very much.\n\nBest Regards,\nChenxi li\n\nHi hackers,I'm interested in partition split and want to figure out how it works. Could someone tell me wher...
[ { "msg_contents": "I'll register this to the next commitfest.\n\nhttps://www.postgresql.org/message-id/20180719.125117.155470938.horiguchi.kyotaro@lab.ntt.co.jp\n\n> While considering this, I found a bug in 4b0d28de06, which\n> removed prior checkpoint from control file. It actually trims the\n> segments before...
[ { "msg_contents": "Hi hackers, I've encountered some odd behavior with the new stored\nprocedure feature, when using INOUT parameters, running PostgreSQL 11-beta2.\n\nWith the following procedure:\n\nCREATE OR REPLACE PROCEDURE my_proc(INOUT results text)\nLANGUAGE 'plpgsql'\nAS $BODY$\nBEGIN\n select 'test'...
[ { "msg_contents": "Hi Hackers,\n\nWhile testing with PG procedure, I found a memory leak on HEAD, with below\nsteps:\n\npostgres=# CREATE OR REPLACE PROCEDURE proc1(v1 INOUT INT)\nAS $$\nBEGIN\n commit;\nEND; $$ LANGUAGE plpgsql;\nCREATE PROCEDURE\n\npostgres=# call proc1(10);\nWARNING: Snapshot reference leak...
[ { "msg_contents": "", "msg_date": "Mon, 23 Jul 2018 16:04:42 +0900", "msg_from": "=?UTF-8?B?7J6E66qF6rec?= <myungkyu.lim@samsung.com>", "msg_from_op": true, "msg_subject": "[Proposal] Add accumulated statistics for wait event" }, { "msg_contents": "On Mon, Jul 23, 2018 at 04:04:42PM +090...
[ { "msg_contents": "Hi hackers,\n\nI'm trying to look how to trigger code paths under PGP_PUB_DSA_SIGN constant,\nand it seems like it is a dead code in the current implementation.\n\nCan anyone confirm this, or help me with creating a correct DSA sign-only key\nwith RSA encryption subkey that would trigger the ...
[ { "msg_contents": "It seems that because enable_partition_pruning's value is only checked\nduring planning, turning it off *after* a plan is created and cached does\nnot work as expected.\n\ncreate table p (a int) partition by list (a);\ncreate table p1 partition of p for values in (1);\ncreate table p1 partiti...
[ { "msg_contents": "Hey Hackers,\n\nIf a postmaster is running and the pg_control file is removed postgres\nwill PANIC.\n\nSteps to recreate:\n\n1.) start a new cluster\n2.) rm $DATADIR/pg_control\n3.) psql => CHECKPOINT;\n\nPANIC: could not open control file \"global/pg_control\": No such file\nor directory\n\...
[ { "msg_contents": "Hello,\n\nIn PG11beta2, my backend process gets terminated during COPY FROM of\nlarge text file (544GB) on partitioned table.\nThe kernel log says OOM Killer send SIGKILL due to memory pressure.\nIn fact, 63GB of system physical 64GB was consumed by the PostgreSQL\nbackend just before the ter...
[ { "msg_contents": "Hi,\n\nI was trying sqlsmith on REL_11_STABLE (commit\n1b957e59b92dc44c14708762f882d7910463a9ac) with a database i have at\nhand, and got an assertion failure.\nIt seems to happen during planning on prunning time but only when\ntables get bigger than certain size.\n\nI configured it with \"--...
[ { "msg_contents": "Hi;\n\nIn the process of building some tooling based on replication we discovered\nthat PostgreSQL 10 uses COPY to populate the initial table on logical\nreplication, see commit 7c4f52409a8c7d85ed169bbbc1f6092274d03920\n\nThis is not currently documented. Attached is a patch which adds that\...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15293\nLogged by: Michael Powers\nEmail address: michael.paul.powers@gmail.com\nPostgreSQL version: 10.4\nOperating system: Ubuntu 18.04 Desktop x64 - Linux 4.15.0-29-generic\nDescription: \n\nWhen...
[ { "msg_contents": "Back in 2016 a patch was proposed that seems to have died on the vine. See\nhttps://www.postgresql.org/message-id/flat/CAFgjRd3hdYOa33m69TbeOfNNer2BZbwa8FFjt2V5VFzTBvUU3w@mail.gmail.com\n\nfor the history and https://commitfest.postgresql.org/10/621/ for the\ncommitfest entry.\n\nI've rebased...
[ { "msg_contents": "Hi All,\n\nI'd like to throw here an enhancement proposal to discuss/consider.\nThe FIRST/LAST_value()\n<https://www.postgresql.org/docs/devel/static/functions-window.html#id-1.5.8.26.6.2.2.9.1.1>\nfunctions offer powerful lookup capabilities, eg.\nhere\n1)\nhttps://dbfiddle.uk/?rdbms=postgre...
[ { "msg_contents": "This crashes for me with an assert failure on latest 11-stable (and\n12devel):\n\ncreate or replace function foo(text)\n returns text language plpgsql\n as $$\n declare\n r record;\n t text;\n begin\n execute $1 into r;\n select pg_typeof(r.a) into t; -- d...
[ { "msg_contents": "About a year ago I was briefly in discussion/collaboration with Adam Sah\nregarding the topic of inlining CTEs into the query rather than treating\nthem as optimization barriers. We didn't take it very far (he sent me\nsome stuff, I wrote some stuff and sent it back, things kind of got\ndropp...
[ { "msg_contents": "Add strict_multi_assignment and too_many_rows plpgsql checks\n\nUntil now shadowed_variables was the only plpgsql check supported by\nplpgsql.extra_warnings and plpgsql.extra_errors. This patch introduces\ntwo new checks - strict_multi_assignment and too_many_rows. Unlike\nshadowed_variable...
[ { "msg_contents": "Понедельник, 23 июля 2018, 18:06 +03:00 от Peter Eisentraut < peter.eisentraut@2ndquadrant.com >:\n>\n>You appear to be saying that you think that renaming an index\n>concurrently is not safe\nNo, I didn't say it about renaming indexes.\nI tried to say that it does not make sense exactly to r...
[ { "msg_contents": "I am interested in using the exact functionality in test_ddl_deparse which\nprovides the sub command types for alter table statements. I would prefer\nto leverage this code which has already been vetted by the community, and\nalso not just duplicate this code myself, or package it up myself....
[ { "msg_contents": "Hi,\n\nBefore spamming the list with reproduction examples I want to make sure \nthe issue isn't already known.\n\nMoving to 10.4 from 9.2 (AWS RDS but repro on local laptop as well) \nwe've discovered that an optimizer prefers a seq scan to fully analyzed \nconsistent BRIN index, ending up w...
[ { "msg_contents": "I noticed today that in the PartitionDispatch structure, the partdesc\nfield is set but not used. So we could remove it. See attached\npd-partdesc-remove.patch. If we want to go this route, I suggest\ndoing a slightly more thorough removal and getting rid of the key\nfield as well. See at...
[ { "msg_contents": "Hi,\n\nAccording to Pgjdbc GitHub statistics, the most popular page is\nhttps://github.com/pgjdbc/pgjdbc/issues/1102 which is\n \"org.postgresql.jdbc.PgConnection.createClob() is not yet implemented\"\nissue (1600 visits from 1400 unique visitors per a fortnight).\n\nThere are workarounds to ...
[ { "msg_contents": "Hi,\n\nI am getting \"ERROR: negative bitmapset member not allowed\" when\nenable_partition_pruning set to true with below test case.\n\n[edb@localhost bin]$ ./psql postgres\npsql (12devel)\nType \"help\" for help.\n\npostgres=# SET enable_partition_pruning TO on;\nSET\npostgres=# CREATE TAB...
[ { "msg_contents": "Hi,\n\nv10 almost added online activation of checksums, but all we've got is\npg_verify_checksums, i.e. offline verification of checkums. \n\nHowever, we also got (online) checksum verification during base backups,\nand I have ported/adapted David Steele's recheck code to my personal\nfork of...
[ { "msg_contents": "Since nothing else can be done we should throw an error early.\n\n\nDave Cramer\n\nSince nothing else can be done we should throw an error early.Dave Cramer", "msg_date": "Thu, 26 Jul 2018 16:40:18 -0400", "msg_from": "Dave Cramer <davecramer@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "Hi,\n\nIs there any real reason to retain it? I realize it's not been a huge\nissue to maintain the format, but it has significantly fewer features\nthan the other formats, without corresponding upsides (sql is clearer to\nread, directory format has parallelism, custom is a single file while\...
[ { "msg_contents": "While doing something else, I noticed that pgbench's hash() does not fail \ngracefully:\n\n sh> cat hash.sql\n \\set i hash()\n\n sh> pgbench -f hash.sql -t 1\n ...\n cannot coerce (null) to int\n client 0 aborted in command 0 (set) of script 0; evaluation of meta-command failed\n\nThe ...
[ { "msg_contents": "Hi Postgres Hackers,\n\nWe have been using our own trigger-based audit system at my firm \nsuccessfully for some years, but the performance penalty is starting to \ngrate a bit and so I have been tasked with seeing if we can make use of \nthe new logical decoding functions to achieve the same...
[ { "msg_contents": "Hi!\n\nSome community members did communicate with me using my Skype account\n(korotkovae). Today this account was hacked. You should know that\nany requests to send money sent from my account are fraud.\nSorry for inconvenience. I've send request to restore my Skype\naccount, it will be u...
[ { "msg_contents": "Hi All,\n\nAll the pageinspect functions dealing with raw page has the error\nmessage as \"must be superuser to use raw page function\" however,\nthat's not true for bt_page_items_bytea() which has \"must be\nsuperuser to use pageinspect functions\". This seems to me like a copy\npaste error...
[ { "msg_contents": "On some recent testing, pg_basebackup -Fp was taking an annoying amount of\ntime to finish once the it was done copying the data. Using -v seemed to\nblame this on \"waiting for background process to finish streaming\", based\non that being the last message on display while the delay was hap...
[ { "msg_contents": "Hi.\n\nI want to build one master & multi slave environments to use physical replication.\nSlave nodes have low hardware spec, so I changed max_connection server parameters, and try start slave node.\nBut I could not start slave nodes, \nbecause CheckRequiredParameterValues function (in src/b...
[ { "msg_contents": "While populating pgbench_account table by using COPY FROM STDIN,\npgbench sends out \"\\.\" at the end of the copy data. However this is\nonly necessary in the version 2 of frontend/backend protocol (i.e. the\nversion 3 protocol does not need it). I think we can safely remove the\ncode to sav...
[ { "msg_contents": "I noticed that there's some strange coding in libpq's choice of\nwhat hostname to use for searching ~/.pgpass for a password.\nHistorically (pre-v10), it just used the pghost parameter:\n\n conn->pgpass = PasswordFromFile(conn->pghost, conn->pgport,\n ...
[ { "msg_contents": "Hello,\n\nThis patch adds a pseudo-random permutation function to pgbench. It allows \nto mix non uniform random keys to avoid trivial correlations between \nneighboring values, hence between pages.\n\nThe function is a simplistic form of encryption adapted to any size, using \na few iteratio...
[ { "msg_contents": "I noticed today that \\dp does not distinguish empty acl fields\n(meaning nobody has any privileges) from null acl fields\n(which mean default privileges, typically not empty).\nFor instance\n\nregression=# \\c joe joe\nYou are now connected to database \"joe\" as user \"joe\".\njoe=> create ...
[ { "msg_contents": "Refactor geometric functions and operators\n\nThe primary goal of this patch is to eliminate duplicate code and share\ncode between different geometric data types more often, to prepare the\nground for additional patches. Until now the code reuse was limited,\nprobably because the simpler ty...
[ { "msg_contents": "I would like to offer some help writing and improving the English\ndocumentation for some of the new features and changes in Postgres 11. If I\ncan get an email of where such help would be appreciated, so I can choose a\nfeature I am familiar with, I would be glad to help.\n\nThanks,\n\nMicha...
[ { "msg_contents": "In libpq.sgml following is stated:\n\n Before <productname>PostgreSQL</productname> protocol 3.0, it was necessary\n for the application to explicitly send the two characters\n <literal>\\.</literal> as a final line to indicate to the server that it had\n finished ...
[ { "msg_contents": "While looking at ACL prettyprinting, I noticed that \"pg_default_acl\" \ndocumentation does not say anything about type 'n' for schema (namespace), \nwhich seems to be supported according to \"\\ddp\" and the catalog code.\n\nHere is a small addition to add that 'n' is allowed for schema.\n\n...
[ { "msg_contents": "Hello hackers,\n \nI have worked on following todo list item.\n \n - Add entry creation timestamp column to pg_stat_replication\n http://archives.postgresql.org/pgsql-hackers/2011-08/msg00694.php\n \nThis item looks like simple because necessary data was already exist.\nSo, I wrote a prot...
[ { "msg_contents": "Hello.\n\nI found that an example output in the following page is not\ncorrect for the version.\n\nhttps://www.postgresql.org/docs/10/static/warm-standby.html\n\npostgres=# SELECT * FROM pg_replication_slots;\n> slot_name | slot_type | datoid | database | active | xmin | restart_lsn | conf...
[ { "msg_contents": "Hi,\n\nI've noticed that RECURSIVE as a term is not in the index,\nand thought it should be.\nPFA a patch to add it with references to WITH queries and CREATE VIEW.\n\nBest regards,\n-- \nDaniel Vérité\nPostgreSQL-powered mailer: http://www.manitou-mail.org\nTwitter: @DanielVerite", "msg_...
[ { "msg_contents": "Currently the startup process tries the \"restore_command\" before\nthe WAL files locally available under pg_wal/ [1]. I believe we should\nchange this behavior.\n\n== The Problem ==\n\nThis issue came to our attention after we migrated an application from\nan object storage backend, and not...
[ { "msg_contents": "Hi,\n\nThe Release Management Team is pleased to announce that\nthe release date for PostgreSQL 11 Beta 3 is set to be 2018-08-09,\nwhich coincides with the scheduled cumulative release.\n\nAs always, we appreciate everyone’s diligent effort fixing open items[1] and we\nhope to get even more ...
[ { "msg_contents": "This patch does 2 things\n\n1) Ensure that when the slot is created\nwith pg_create_physical_replication_slot if the output plugin does not\nexist it will error.\n\n2) Currently when the decoding context is created and the output plugin\ndoes not exist the protocol will respond with CopyDone....
[ { "msg_contents": "\nWell, here we are at the end of July.\n\n\nhere's the current state of Commitfest 2018-07:\n\n\n*Status summary: *Needs review \n<https://commitfest.postgresql.org/18/?status=1>: 83. Waiting on Author \n<https://commitfest.postgresql.org/18/?status=2>: 31. Ready for \nCommitter <https://com...
[ { "msg_contents": "I have not found a convenient presentation of the default privileges for \ndifferent objects, and how to display them (if possible, not always).\n\nThe information is partly provided within the GRANT description, and not \nvery explicit: eg it is said that owners have all possible perms, but ...
[ { "msg_contents": "Hello,\n\nRecently I encountered an issue during testing and rootcaused it as the\ntitle mentioned.\n\npostmaster children have done this (creating a new session) by calling\nInitPostmasterChild(),\nbut postmaster itself does not. This could lead to some issues (e..g signal\nhandling). The te...
[ { "msg_contents": "I couldn't find the documentation. Attached patch adds one.\n\nProbably this function should have been named pg_*. Too late.\n\n-- \nFabien.", "msg_date": "Wed, 1 Aug 2018 08:28:38 -0400 (EDT)", "msg_from": "Fabien COELHO <coelho@cri.ensmp.fr>", "msg_from_op": true, "msg_subje...
[ { "msg_contents": "Hello hackers,\n\nat the moment it is possible to reserve some amount of connection slots for\nsuperusers and this behavior is controlled by\nsuperuser_reserved_connections configuration parameter with the default\nvalue = 3.\n\nIn case if all non-reserved connection slots are busy, replica f...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15307\nLogged by: Erich Schubert\nEmail address: erich@debian.org\nPostgreSQL version: 9.6.6\nOperating system: Linux\nDescription: \n\nNumerical precision of variance computations in PostgreSQL is...
[ { "msg_contents": "Hi,\n\nPFA, latest patchset which incorporates the additional feedback.\n\n>>> There's an additional test case in\n>>> 0005-Additional-test-case-to-demonstrate-decoding-rollbac.patch which\n>>> uses a sleep in the \"change\" plugin API to allow a concurrent rollback\n>>> on the 2PC being curr...
[ { "msg_contents": "Hi,\n\nThe issue at [1] is caused by missing invalidations, and [2] seems like\na likely candidate too. I wonder if it'd be good to have a relcache test\nmode akin to CLOBBER_CACHE_ALWAYS and RELCACHE_FORCE_RELEASE, that tries\nto ensure that we've done sufficiently to ensure the right invali...
[ { "msg_contents": "Fix run-time partition pruning for appends with multiple source rels.\n\nThe previous coding here supposed that if run-time partitioning applied to\na particular Append/MergeAppend plan, then all child plans of that node\nmust be members of a single partitioning hierarchy. This is totally wr...
[ { "msg_contents": "This analysis comes from investigating a report from an IRC user. A\nsummary of the initial report is:\n\n Using PG 9.6.9 and postgres_fdw, a query of the form \"select * from\n foreign_table order by col limit 1\" is getting a local Sort plan, not\n pushing the ORDER BY to the remote. Tur...
[ { "msg_contents": "Hi.\n\nWhile working on updating the patch for the bug reported below:\n\nhttps://www.postgresql.org/message-id/flat/CAFYwGJ0xfzy8jaK80hVN2eUWr6huce0RU8AgU04MGD00igqkTg%40mail.gmail.com\n\nI noticed that the EXCLUDED pseudo-relation allows accessing columns that,\nISTM, should rather be inacc...
[ { "msg_contents": "Hi,\n\nThis is my first posting to the mailing list.\n\nCurrently our customer uses PostgreSQL 9.5 and hits problem during Windows service start.\nThe Windows service status of the instance is different from actual status.\n\nWe got the following situation.\n1. Register service with 'pg_ctl r...
[ { "msg_contents": "Hi,\n\nOne of the downsides of declarative partitioning vs old school\ninheritance partitioning is that a new partition cannot be added to\nthe partitioned table without taking an AccessExclusiveLock on the\npartitioned table. We've obviously got a bunch of features for\nvarious other things...
[ { "msg_contents": "Traditionally (prior to v10), PQhost() returned the \"host\" connection\nparameter if that was nonempty, otherwise the default host name\n(DEFAULT_PGSOCKET_DIR or \"localhost\" depending on platform).\n\nThat got whacked around to a state of brokenness in v10 (which I'll return\nto in a bit),...
[ { "msg_contents": "Hello,\n\nI have noticed that there is no regression tests for default monitoring\nroles such as pg_read_all_stats.\n\nIn this patch the test called defroles is added. It tests permissions of\npg_read_all_stats role to query database size without CONNECT permission on\nit, to query tablespace...
[ { "msg_contents": "We recently had a customer report a very strange problem, involving a\nvery large insert-only table: without explanation, insertions would\nstall for several seconds, causing application timeout and process\naccumulation and other nastiness.\n\nAfter some investigation, we narrowed this down ...
[ { "msg_contents": "PFA a patch to provide an --exclude-database option for pg_dumpall. The \ncauses pg_dumpall to skip any database whose name matches the argument \npattern. The option can be used multiple times.\n\n\nAmong other use cases, this is useful where a database name is visible \nbut the database is ...
[ { "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=c1455de2af2eb06ee493f9982f060ac7e571f656\n\nIf you prefer not to read XML markup, they should appear in the devel docs\non the website after guaibasaurus's ...
[ { "msg_contents": "Hellow hackers,\n\nA few commitfest ago there was same effort to add errors handling to COPY\nFROM[1] and i see there that we already have infrastructure for supporting\nhandling of unique violation or exclusion constraint violation error and I\nthink it is independently useful too. Attached ...
[ { "msg_contents": "Commit e09144e documented the rules for writing safe qualified names, but\nthose rules are tedious to apply in practice. Spotting the defects in this\nfunction definition (from an unpublished draft intended for\nhttps://postgr.es/m/20180710014308.GA805781@rfd.leadboat.com) is, I think, too\n...
[ { "msg_contents": "Hi mentors and hackers,\n\n The final review is coming. Here is the project summary for the thrift\nplugin work for Postgres database. Please let me know if there are anything\nmissing for the final review.\n1. Implement the thrift binary protocol for both simple data structures\n(e.g., int...
[ { "msg_contents": "Hi all,\n\nThis is a continuation of the thread \"Canceling authentication due to\ntimeout aka Denial of Service Attack\", which is here to focus on the\ncase of REINDEX:\nhttps://www.postgresql.org/message-id/20180730003422.GA2878%40paquier.xyz\n\nAs visibly the set of patches I proposed on ...
[ { "msg_contents": "Hi all\n\nCurrently postgres_fdw cannot be used with 'cert' authentication, i.e.\nclient-certificate validation and cert cn => postgres username mapping. You\nalso can't use things like Kerberos, SSPI, etc with a superuser-created FDW\nand username map.\n\nTo permit this, I'd like to allow po...
[ { "msg_contents": "*Hi The Percona Live Europe Open Source Database Conference is being held\nthis year in Frankfurt from November 5-7, 2018. In case you are not\nfamiliar with the conference, our brief is to offer a platform for the\npresentation of technical and business papers on any topic that’s relevant\nt...
[ { "msg_contents": "Hi all,\n\nThis is a second thread I am spawning for the previous thread \"Canceling\nauthentication due to timeout aka Denial of Service Attack\":\nhttps://www.postgresql.org/message-id/152512087100.19803.12733865831237526317%40wrigleys.postgresql.org\n\nAnd this time the discussion is about...
[ { "msg_contents": "When testing out CREATE PROCEDURE with 11 beta 2, I noticed, the hints\nin the errors reference DROP FUNCTION, which doesn't work for\nprocedures. DROP ROUTINE works for both functions and procedures, so\nthis patch should work for both.\n\nPlease CC me when responding as I don't currently s...
[ { "msg_contents": "Hi all,\n\nWe recently ran into an issue in pg_dump that caused the initial\nsort-by-name pass to return incorrect results. It doesn't seem to\naffect overall correctness, since the later toposort pass takes care\nof dependencies, but it does occasionally cause a spurious diff in\ndump output...
[ { "msg_contents": "I happened to notice that there is a variable 'garbage' in GNUmakefile.in,\nwhich was defined in 32163099d7c43a0244f463eb4e525c711e6e97a3 ~18 years ago,\nbut which seems to not be used? Is 'garbage' a special make variable or is a\nleftover which can be removed?\n\ncheers ./daniel", "msg...
[ { "msg_contents": "Hi,\n\nI noticed\n\t\t\t\tif (HeapTupleHeaderGetNatts(tuple.t_data) <\n\t\t\t\t\tRelationGetDescr(erm->relation)->natts)\n\t\t\t\t{\n\t\t\t\t\tcopyTuple = heap_expand_tuple(&tuple,\n\t\t\t\t\t\t\t\t\t\t\t\t RelationGetDescr(erm->relation));\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\t/* s...
[ { "msg_contents": "This is sort of a counter-proposal to Noah's discussion of search path\nsecurity checking in <20180805080441.GH1688868@rfd.leadboat.com>.\n(There's no technical reason we couldn't do both things, but I think\nthis'd be more useful to most people.)\n\nSome back story here is that the PG securi...
[ { "msg_contents": "I found some unused and some redundant code in ri_triggers.c that was\nleft around by some previous changes that aimed to optimize away certain\ntrigger invocations. See attached patches.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support,...
[ { "msg_contents": "Hi,\n\nAttached patch for fixing a typo in optimizer/README.\n\ns/Partition-wise/Partitionwise/\n\nIt is the only place the keyword \"Partition-wise\" exists, so I created the patch.\n\nRegards,\n\nTatsuro Yamada\nNTT Open Source Software Center", "msg_date": "Thu, 9 Aug 2018 16:22:38 +09...
[ { "msg_contents": "Hi,\n\nJust noticed this on Fedora 28 box (GCC 8.1.1)\n\n=====================================================================\npgbench.c: In function 'ParseScript':\npgbench.c:2640:20: warning: '__builtin___sprintf_chk' may write a terminating\nnul past the end of the destination [-Wformat-o...
[ { "msg_contents": "Hi,\n\nI have an user defined aggregate (Postgis' St_AsMVT) that receives rows as\ninput and I was wondering if all these tuples have the same TupleDesc.\n\nIn case it's important, here is how it's normally called:\n```\nSELECT St_AsMVT(q) FROM (\nSELECT * FROM tilertest.tract9double\n) q;\n`...
[ { "msg_contents": "Hi! Haven't found discussions on possible ways to encrypt indexes. Let's\nstart!\n\nThe problem\n==========\n\nI'd like to encrypt some columns (first name, last name, SSN, etc...) in a\nnondeterministic way. This can be done using `pg_crypto`, but then I loose\nfull-text-search (and any othe...
[ { "msg_contents": "The non-dlopen dynloader code for several operating systems is in some\ncases decades obsolete, and I have had some doubts that it would even\ncompile anymore. Attached are patches for each operating system\nremoving the obsolete code, with references to when it became obsolete.\n\n-- \nPete...
[ { "msg_contents": "In pgbench, when an error occurs during a benchmark run (SQL error,\nconnection error, etc.) it just prints an error message and then\nproceeds to print the run summary normally and exits with status 0. So\nthis is quite inconvenient, especially from a script.\n\nThe attached patch changes t...
[ { "msg_contents": "Whilst fooling with the patch for CVE-2018-10915, I got annoyed by\nthe fact that connectDBStart() does the DNS lookups for all supplied\nhostnames at once, and fails if any of them are bad. It was reasonable\nto do the lookup there when we only allowed one hostname, but now that\n\"host\" c...
[ { "msg_contents": "The patch that taught libpq about allowing multiple target hosts\nmodified connectDBComplete() with the intent of making the\nconnect_timeout (if specified) apply per-host, not to the complete\nconnection attempt. It did not do a very good job though, because\nthe timeout only gets reset whe...
[ { "msg_contents": "I noticed that, although most error reports during libpq's connection\nsetup code append to conn->errorMessage, the ones in fe-auth.c and \nfe-auth-scram.c don't: they're all printfPQExpBuffer() not\nappendPQExpBuffer(). This seems wrong to me. It makes no difference\nin simple cases with a...
[ { "msg_contents": "\nAs will be seen in the summary below, I think a good many of the RCF \nitems in the commitfest probably aren't. More than half of them need \nmore review, as I read the mailing list threads.\n\nI propose to move them all to the next CF, but in many cases after \nchanging the to \"needs revi...
[ { "msg_contents": "Hi,\n\nWhile investigating an issue with rewrite maps in logical decoding, I \nfound it's pretty darn trivial to hit this:\n\n ERROR: 53000: exceeded maxAllocatedDescs (492) while trying to open\n file \"pg_logical/mappings/map-4000-4eb-1_60DE1E08-5376b5-537c6b\"\n\nThis happens beca...
[ { "msg_contents": "Hi\nI just noticed that when I called a procedure that commits and rollbacks\n- the xact_start in pg_stat_activity is not updated. Is it intentional?\n\nI'm on newest 12devel, built today.\n\nBest regards,\n\ndepesz\n\n-- \nHubert Lubaczewski (depesz) | DBA\nhlubaczewski@instructure.com\nInst...
[ { "msg_contents": "Hi\nI just noticed that when I called a procedure that commits and rollbacks\n- the xact_start in pg_stat_activity is not updated. Is it intentional?\n\nI'm on newest 12devel, built today.\n\nBest regards,\n\ndepesz\n\n\n", "msg_date": "Thu, 9 Aug 2018 19:57:42 +0200", "msg_from": "hu...
[ { "msg_contents": "I am using worker_spi as a model to run a SQL statement inside a background\nworker. From my browsing of the Postgres library, I believe that if I want\nrepeatable read isolation level, the proper way for me to attain this is to\nadd this line after StartTransactionCommand() in worker_spi_ma...
[ { "msg_contents": "\nI don't propose to annotate every one of these. If they aren't mentioned \nbelow I intend to move them to the next CF without any change.\n\n\ncheers\n\n\nandrew\n\n\nhttps://commitfest.postgresql.org/18/1644/ Add \n--include-table-data-where option to pg_dump, to export only a subset of \n...
[ { "msg_contents": "\nThere has been some progress on quite a lot of these.\n\n\nI'm going to move them all to the next CF.\n\n\nBelow are some notes on a few that seem to have stalled a bit.\n\n\ncheers\n\n\nandrew\n\n\nhttps://commitfest.postgresql.org/18/1518/ lc_messages parameter doesn't \nwork on Windows\n...
[ { "msg_contents": "I ran across the followin gcode in spgutils.c.\n\n> if (OidIsValid(cache->config.leafType) &&\n> cache->config.leafType != atttype)\n> {\n> if (!OidIsValid(index_getprocid(index, 1, SPGIST_COMPRESS_PROC)))\n> ereport(ERROR,\n> (errcode(ERRCODE_INVALID_P...
[ { "msg_contents": "Hi,\n\nAttached patch for fixing documents of \"61.2. Index Access Method Functions\" and\n\"61.6. Index Cost Estimation Functions\".\n\nI added a variable \"double *indexPages\" introduced by commit 5262f7a4f to the documents and\nalso added its explanation. Please read and revise it because...
[ { "msg_contents": "Hello. I found that backend's .po file has lines for GUC\ndescriptions but we won't see them anywhere.\n\nThe cause is GetConfigOptionByNum is fogetting to retrieve\ntranslations for texts that have been marked with gettext_noop.\n\nRegarding GUCs, group names, short desc and long desc have\n...
[ { "msg_contents": "log_temp_files makes a log entry when a temporary file is deleted.\nTemporary file deletion is usually organized by the resource owner\nmechanism. So usually it happens at the end of a query. But when the\nquery is run through a cursor, it happens whenever the cursor is closed.\n So you mig...
[ { "msg_contents": "I'm developing a extension for pg. Now I have create a event trigger on\nddl_command_end, and this function will be called after I enter create\nfunction statement. In this function I can only get parseTree. In pg source\ncode, I found a function named \"pg_event_trigger_ddl_commands\" seems\...