threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nThis is a cosmetic patch that removes some unused includes in\ntest_decoding. It seems to be like this since day 1 (9.4).\n\n\n-- \n Euler Taveira Timbira -\nhttp://www.timbira.com.br/\n PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Trei...
[ { "msg_contents": "Hello,\n\nOur customer hit another bug of pg_rewind with PG 9.5. The attached patch fixes this.\n\n\nPROBLEM\n========================================\n\nAfter a long run of successful pg_rewind, the synchronized standby could not catch up the primary forever, emitting the following message ...
[ { "msg_contents": "Hi hackers,\n\nI was pinged off-list by a fellow -hackers denizen interested in the\nsynchronous replay feature and wanting a rebased patch to test. Here\nit goes, just in time for a Commitfest. Please skip to the bottom of\nthis message for testing notes.\n\nIn previous threads[1][2][3] I ...
[ { "msg_contents": "I'm proposing a way to make test runs a bit faster.\n\nA fair amount of time is taken by creating the test installation. Not\nhuge compared to the whole test run, but still long enough to get\nboring. The idea (that I stole from somewhere else) is that we make the\ninstallation as symlinks ...
[ { "msg_contents": "This feature is meant to help manage transaction isolation in\nprocedures. I proposed elsewhere a patch that allows running SET\nTRANSACTION in PL/pgSQL. But if you have complex procedures that commit\nmany times in different branches perhaps, you'd have to do this in every\nnew transaction...
[ { "msg_contents": "In 6275f5d28a1577563f53f2171689d4f890a46881, we fixed warnings from the\noptions -Wformat-overflow and -Wformat-truncation, which are part of\n-Wall in gcc 7.\n\nHere, I propose to dial this up a bit by adding -Wformat-overflow=2\n-Wformat-truncation=2, which use some more worst-case approach...
[ { "msg_contents": "This seems to be a popular issue when porting from PL/SQL, so I'll throw\nit out here for discussion. Apparently, in PL/SQL you can call another\nprocedure without the CALL keyword. Here is a patch that attempts to\nimplement that in PL/pgSQL as well. It's not very pretty.\n\nI seem to rec...
[ { "msg_contents": "Hello,\n\nWhile prowling through snapbuild & reorderbuffer code, I wondered: why a queue\nof snapshots is used for replaying each transaction instead of just picking up\nsnapshot from snapbuilder once when COMMIT record is read? I am not aware of any\nDDL/DML mix which would make this invalid...
[ { "msg_contents": "Hello,\n\nIn LogicalConfirmReceivedLocation two fields (data.catalog_xmin and\neffective_catalog_xmin) of ReplicationSlot structure are used for\nadvancing xmin of the slot. This allows to avoid hole when tuples might\nalready have been vacuumed, but slot's state was not yet flushed to the\nd...
[ { "msg_contents": "Dear Sir,\nHi, my name is Hongyuan Ma. I am a junior student in software engineering in Shanghai.I am interested in the idea \"Develop Performance Farm Database and Website\".I started developing web applications since my sophomore year and have experience in developing web sites.\n\n\nI took...
[ { "msg_contents": "Commit a26116c6cbf4117e8efaa7cfc5bacc887f01517f changed the behaviour\nfor format_type.\n\nPrior to commit, format_type() used to set typemod_given to false for\ntypemode = NULL.\n\nformat_type()\n..\nif (PG_ARGISNULL(1))\nresult = format_type_internal(type_oid, -1, false, true, false);\nelse...
[ { "msg_contents": "Hi,\n\n\nGoing through all non bugfix CF entries. Here's the summary for the\nentries I could stomach tonight:\n\nRFC: ready for committer\nNR: needs review\nWOA: waiting on author.\n\n- pgbench - allow to store query results into variables\n\n RFC, has been worked on for a while. Patch doe...
[ { "msg_contents": "Hello !\nI am a sophomore pursuing Computer Engineering in NSIT affiliated with\nDelhi University. I came across your organisation through gsoc portal and\nam very interested to work on project PostgreSQL sorting algorithm\nbenchmark and implementation.\nMy skill set include android, python ...
[ { "msg_contents": "Sometime back Robert has proposed a solution to reduce the bloat in\nPostgreSQL [1] which has some other advantages of its own as well. To\nrecap, in the existing heap, we always create a new version of a tuple on\nan update which must eventually be removed by periodic vacuuming or by\nHOT-p...
[ { "msg_contents": "Hackers,\n\nBy happen-stance I recently came across an old bug report that I responded\nto, #13651 (circa 2015-09), and reading the commentary for CVE-2018-1058\nmade me think about it in a different light. While no one added to my\nresponses back then I'm thinking it would be worthwhile if ...
[ { "msg_contents": "I noticed that commit 25fff40798fc4ac11a241bfd9ab0c45c085e2212 forgot\nto teach SHOW ALL to show all GUCs when the user belongs to pg_read_all_settings.\n\nPatch attached; I think this should be backpatched.\n\nYours,\nLaurenz Albe", "msg_date": "Thu, 01 Mar 2018 16:22:38 +0100", "msg...
[ { "msg_contents": "On Wed, Feb 28, 2018 at 9:44 AM, Andres Freund <andres@anarazel.de> wrote:\n> Looks like we're not doing a pgstat_report_activity() in the workers?\n> Any argument for not doing so?\n\nNo. Just an oversight. Looks like _bt_parallel_build_main() should\ncall pgstat_report_activity(), just like...
[ { "msg_contents": "Quite simply:\n\nd1=# create table bp (b bool) partition by list(b);\nCREATE TABLE\nd1=# create table bp_f partition of bp for values in('f');\nCREATE TABLE\nd1=# \\q\n$ createdb d2\n$ pg_dump d1 | psql d2\n\n...\n\nERROR: syntax error at or near \"false\"\nLINE 2: FOR VALUES IN (false);\n ...
[ { "msg_contents": "Hi,\n\nI found that tab completion for ALTER INDEX SET [tab] doesn't support\nthe reloptions of brin and gist. Attached patch adds \"buffering\",\n\"pages_per_range\" and \"autosummarize\" options.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source...
[ { "msg_contents": "Hi pg-hackers,\n\nWe archive the WAL to a remote storage and will perform Point-in-Time\nRecovery by replaying the log from that remote storage. Under heavy load,\nour archiving pipeline is not able to archive WAL quick enough and we would\nlike to get more visibility on the lag.\n\npg_stat_a...
[ { "msg_contents": "Hi\n\nWhile working on a big table recently, I noticed that ALTER TABLE does not \ncheck for column existence in operations like SET NOT NULL before starting \nworking on the table, for instance adding a primary key.\nIt is thus possible, if a typo has been made, to generate a long lock and a...
[ { "msg_contents": "Our instructions in src/tools/pgindent/README says to make sure we use\nperltidy version v20090616. However, this version no longer appears to be\navailable for download on the link we provide -- the oldest one available\nis 20140328.\n\nIs it perhaps time to move up to a newer version? Or fa...
[ { "msg_contents": "Hi,\n\nI work at a ride sharing company and we found a simple scenario that\nPostgres has a lot to improve at.\nAfter my talk at pgconf.ru Alexander Korotkov encouraged me to share my\nstory and thoughts in -hackers.\n\nStory setting:\n\n - Amazon RDS (thus vanilla unpatchable postgres), sync...
[ { "msg_contents": "So buildfarm member piculet just fell over like this:\n\n================== pgsql.build/src/test/regress/regression.diffs ==================\n*** /home/andres/build/buildfarm-piculet/HEAD/pgsql.build/../pgsql/src/test/regress/expected/select_parallel.out\t2018-02-28 16:10:01.986941733 +0000\n...
[ { "msg_contents": "Hi Tomas, Everyone.\n\n\nThis seems like a good thing to discuss separately from the original\nthread.\n\nOn 2018-03-02 22:06:32 +0100, Tomas Vondra wrote:\n> Can you guys please point me to the CF rules that say this? Because my\n> understanding (and not just mine, AFAICS) was obviously diff...
[ { "msg_contents": "Commit 5770172 (\"Document security implications of search_path and the public\nschema.\") is largely a workaround for the fact that the boot_val of\nsearch_path contains \"public\" while template0 gets \"GRANT CREATE, USAGE ON\nSCHEMA public TO PUBLIC\". It's like having world-writable /usr...
[ { "msg_contents": "\nHello devs,\n\nThis is a discussion without actual patch intended for pg12, to be added \nto CF 2018-09. The expected end result is either \"returned with feedback\", \nmeaning proceed to send some big patch(es), or \"rejected\", meaning the \nproject does not want this, no point in submitt...
[ { "msg_contents": "Hi, Hackers, \n\nThe attached patch adds the following information to the document on Logical Replication.\nAbout the requirement of connection role of Logical Replication, written in 31.7 of the manual is as follows.\n--\nThe role used for the replication connection must have the REPLICATION...
[ { "msg_contents": "Hi\n\nI am looking on project https://github.com/NikolayS/postgres_dba\n\nNice idea, and perfect publicity of typical PostgreSQL maintenance task.\n\nWe can allow to call some external applications on some key press (not\ncommand) and evaluate their output. mc has F2 for User menu. It can wor...
[ { "msg_contents": "Hi,\n\nWhen trying to deduct their absolute, symlink-free path from argv0,\npg_ctl, postgres (and probably others) use:\n\n a) getcwd(3) in find_my_exec in order to complement a relative path\n containing at least one directory separator\n\n b) getcwd(3) and chdir(2) in resolve_symlinks in...
[ { "msg_contents": "Hi,\n\nI saw a one-off failure like this:\n\n QUERY PLAN\n --------------------------------------------------------------------------\n Aggregate (actual rows=1 loops=1)\n! -> Nested Loop (actual rows=98000 loops=1)\n -> Seq Scan on tenk2 (ac...
[ { "msg_contents": "Hi\n\nI have to return back to 8bit encoding, and in this old world, the unicode\nborders doesn't work. Sure. It can be simply disabled and forced to ascii.\n\nWhat do you think about it?\n\nRegards\n\nPavel\n\nHiI have to return back to 8bit encoding, and in this old world, the unicode borde...
[ { "msg_contents": "Hi\n\nJust curious\n\npostgres=# explain analyze select array_upper(array_agg(i),1) from\ngenerate_series(1,100000) g(i);\n QUERY\nPLAN\n--------------------------------------------------------------------------------------------------...
[ { "msg_contents": "Hi,\n\nNot sure what word was missed here, but I guess \"count\":\n\n our the number of buckets stored in our cached copy of the metapage. If\n-so, the bucket has certainly been split, because the must originally\n+so, the bucket has certainly been split, because the count must originally\n ...
[ { "msg_contents": "Hi all,\n\nWhile looking at something else, I have one one occurence of $subject.\nLooking more deeply at the code I have found 10 more of them, like:\n- sinval is a signal invalidation, so it seems to me that \"a\" is\ncorrect, not \"an\".\n- I bumped into \"an\" being used instead of \"and\...
[ { "msg_contents": "(Sorry for not continuing the thread in 54418D75.2000303@joh.to , but I\ndon't have the original email anymore.)\n\nSo I'm in the same pickle again. According to pg_stat_user_indexes an\nindex is being used all the time. However, it's only being used by\nmergejoinscansel() to compare these ...
[ { "msg_contents": "I suggest the following change to avoid excessive\nallocation. sizeof(ReorderBufferDiskChange) should already be contained in\nondisk->size.\n\ndiff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c\nnew file mode 100644\nindex c72a611.....
[ { "msg_contents": "While trying to track down a bug today, I found a different bug.\n\nAs of 6946280cded903b6f5269fcce105f8ab1d455d33:\n\nrhaas=# create table foo (a int);\nCREATE TABLE\nrhaas=# set min_parallel_table_scan_size = 0;\nSET\nrhaas=# set parallel_setup_cost = 0;\nSET\nrhaas=# set parallel_tuple_cos...
[ { "msg_contents": "Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL)\n\nThe LIKE INCLUDING ALL clause to CREATE TABLE intuitively indicates\ncloning of extended statistics on the source table, but it failed to do\nso. Patch it up so that it does. Also include an INCLUDING STATISTICS\noption to the LIK...
[ { "msg_contents": "Hi,\n\nhttps://www.postgresql.org/message-id/7327B413-1A57-477F-A6A0-6FD80CB5482D@amazon.com\nadds a SKIP LOCKED option to vacuum. To avoid blocking in\nexpand_vacuum_rel()'s call of RangeVarGetRelid(), it open codes a\nSKIP_LOCKED variant (i.e. RangeVarGetRelidExtended()'s nowait, but\ndoesn...
[ { "msg_contents": "Hi,\n\nI found that if server is running in single-user mode , there we can \ncreate replication slot but cannot drop it .\n\nbackend> SELECT * FROM pg_create_physical_replication_slot('p');\n2018-03-06 13:20:03.441 GMT [14869] LOG:  statement: SELECT * FROM \npg_create_physical_replication_s...
[ { "msg_contents": "Hi all,\n\nWhile reviewing the NOWAIT patch for VACUUM (well, SKIP_LOCKED per these\nday's trends), I bumped into $subject.\n\nAttached is a one-liner.\nThanks,\n--\nMichael", "msg_date": "Wed, 7 Mar 2018 12:52:16 +0900", "msg_from": "Michael Paquier <michael@paquier.xyz>", "msg_f...
[ { "msg_contents": "HI,\nCommit 76b6aa41f41db66004b1c430f17a546d4102fbe7 a new case for\nCallStmt in transformStmt but forgot to add a break statement at the\nend of the case. This doesn't create any problems since the default\ncase to which it continues without break doesn't change the result.\nBut this is goin...
[ { "msg_contents": "Hi, hackers!\n\nHere's new version of GiST VACUUM patch set aimed at CF 2018-09.\nOriginal thread can be found at [0]\n\n==Purpose==\nCurrently GiST never reuse pages even if they are completely empty. This can lead to a bloat, if a lot of index tuples are deleted from key space, which do not...
[ { "msg_contents": "Hello.\n\nWhile translating message catalogs, I found that some messages\nlisting object names are missing partitioned tables/indices.\nAnd GUC comment for autovacuum_work_mem has a typo.\n\n1. some messages are missing partitioned table/index\n\n The first attached. I'm not sure how the ore...
[ { "msg_contents": "Hello.\n\nParse error callback sets cursor position even if hide_stmt is\ntrue. So I see a strange message with meaningless 'at character\n%d' notation.\n\n2018-03-07 11:11:43.489 JST [10304] DEBUG: removed 223/2049, age(-2s:121, -3s:121, *-30s:1584, -60s:223, -90s:0) naccessed(0:223, 1:0, 2...
[ { "msg_contents": "s/ereport_on_volation/ereport_on_violation/ as per the attached patch.\n\ncheers ./daniel", "msg_date": "Wed, 7 Mar 2018 13:23:54 +0100", "msg_from": "Daniel Gustafsson <daniel@yesql.se>", "msg_from_op": true, "msg_subject": "Typo in objectaccess.h prototype" }, { "msg...
[ { "msg_contents": "Since we are discussing locking down our defaults is revoking the global\nfunction execution privilege granted to PUBLIC - instead limiting it to\njust the pg_catalog schema - on the table?\n\nI'm not sure how strongly I feel toward the proposal but it does come up on\nthese lists; and the fa...
[ { "msg_contents": "Hi Hongyuan,\n\nOn Tue, Mar 06, 2018 at 01:36:23AM +0800, Hongyuan Ma wrote:\n> Hi Mark,\n> In the past few days I have read some code in pgperffarm.git repository.I look forward to discussing the project in detail with you and gradually defining the datasheet structure and refining the requi...
[ { "msg_contents": "Hi all,\n\nThe attached patch just fix missing spaces in documentation of CREATE\nSERVER and CREATE USER MAPPING.\n\nRegards,\n\n-- \nFabrízio de Royes Mello\nConsultoria/Coaching PostgreSQL\n>> Timbira: http://www.timbira.com.br\n>> Blog: http://fabriziomello.github.io\n>> Linkedin: http://b...
[ { "msg_contents": "Hi, \n\nI’ve been encouraged to submit this code as there has been talk in the past about a simple pgcopy command to use with the archive_command. Currently there is really no good solution in most base systems without having to introduce a dedicated third party Postgres solution. The best ...
[ { "msg_contents": "In the thread about being able to prove constraint exclusion from\nan IN clause mentioning a NULL,\nhttps://www.postgresql.org/message-id/flat/3bad48fc-f257-c445-feeb-8a2b2fb622ba@lab.ntt.co.jp\nI expressed concern about whether there were existing bugs in predtest.c\ngiven the lack of clarit...
[ { "msg_contents": "(Mail subject changed; original thread : [1])\n\nOn 8 March 2018 at 11:57, Amit Khandekar <amitdkhan.pg@gmail.com> wrote:\n> On 8 March 2018 at 09:15, Pavan Deolasee <pavan.deolasee@gmail.com> wrote:\n>>\n>> CREATE TABLE pa_target (key integer, val text)\n>> PARTITION BY LIST (key);\n>> C...
[ { "msg_contents": "It appears that SSL compression is nowadays deprecated as insecure.\nYet, it is still enabled by libpq by default, and there is no way to\ndisable it in the server. Should we make some changes here? Does\nanyone know more about this?\n\n-- \nPeter Eisentraut http://www.2ndQuadr...
[ { "msg_contents": "Hello - I have compiled and installed the extension worker_spi. I also\nlaunched the process via SELECT worker_spi_launch(1);\n\nI see this in pg_stat_activity:\nWITH deleted AS (DELETE FROM schema1.counted WHERE type = 'delta' RETURNING\nvalue), total AS (SELECT coalesce(sum(value), 0) as s...
[ { "msg_contents": "Hi all,\n\nIn light of CVE-2018-1058, user's applications need to be careful about\nthe use of schema-unqualified queries. A lookup at the upstream code is\nshowing four areas which are missing such handling:\n- psql has one problem in get_create_object_cmd which misses twice to\nqualify arr...
[ { "msg_contents": "While setting the full_page_write with SIGHUP I hit an assert in checkpoint\nprocess. And, that is because inside a CRITICAL section we are calling\nRecoveryInProgress which intern allocates memory. So I have moved\nRecoveryInProgress call out of the CRITICAL section and the problem got\nsol...
[ { "msg_contents": "Whilst fooling about with predtest.c, I noticed a rather embarrassing\nerror. Consider the following, rather silly, CHECK constraint:\n\nregression=# create table pp (f1 int);\nCREATE TABLE\nregression=# create table cc (check (f1 = 1 or f1 = null)) inherits(pp);\nCREATE TABLE\n\nBecause \"f...
[ { "msg_contents": "Hey there,\n\nMy name is Christos (Chris for short) and I would love to work with you via\nthe GSoC program this summer.\n\nI am sending this mail because I am in a need for some instructions on how\nto find a mentor and a project to work on.\n\nCan anyone help me with that? Also is there any...
[ { "msg_contents": "While doing some testing I noticed this, which seems somewhat perverse:\n\ncreate table t();\ninsert into t select from generate_series(1,10000);\nselect 'alter table t ' || string_agg(' add column c'||x::text||' int\ndefault ' ||x::text,',')\nfrom generate_series(1,1000) x \\gexec\n\ncreate ...
[ { "msg_contents": "The buildfarm's Windows members occasionally show weird pg_ctl failures,\nfor instance this recent case:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=bowerbird&dt=2018-03-10%2020%3A30%3A20\n\n### Restarting node \"master\"\n# Running: pg_ctl -D G:/prog/bf/root/HEAD/pgsql.build/s...
[ { "msg_contents": "I propose the attached patch, aligning the help message with the docs. Any\nreason not to?\n\n(yes, I confused myself by trying --wal-segsize=1MB instead of just\n--wal-segsize=1. I blame just stepping off an intercontinental flight and a\nvery early morning :P)\n\n-- \n Magnus Hagander\n Me:...
[ { "msg_contents": "Hi,\n\nI've just stumbled on a bug in the parallel reindexing code.\n\nExample:\n\n-- force parallel index creation\nset parallel_tuple_cost = 0;\nset parallel_setup_cost = 0;\nset min_parallel_table_scan_size = '0MB';\nset min_parallel_index_scan_size = '0kB';\n\n-- example (from the regress...
[ { "msg_contents": "Hello hackers,\n\nWhile working on serializable transaction isolation, I've noticed some\nstrange behavior in the first permutation mentioned in\nisolation/specs/read-only-anomaly-2.spec file.\n\nsetup\n{\n CREATE TABLE bank_account (id TEXT PRIMARY KEY, balance DECIMAL NOT NULL);\n INS...
[ { "msg_contents": "Hello, mark\nI initialized a Django project and imported the Django REST Framework. Its github address is: https://github.com/PGPerfFarm/server-code\nI created some model classes and also wrote scripts in the dbtools folder to import simulation data for development. I am hesitant to use admin...
[ { "msg_contents": "Hi Aleksander,\n\n I am currently preparing a proposal for pg_thrift project. I noticed\nthat there are several protocols supported by thrift, which ones do we have\nhigher priority? I mean which ones I need to implement during this project?\n\n\n\n\n\nThanks, Charles.\n\nHi Aleksander,   I...
[ { "msg_contents": "Hi\n\nToday, these task can be CPU limited . Do you think, so JIT can be used\nthere too?\n\nRegards\n\nPavel\n\nHiToday, these task can be CPU limited . Do you think, so JIT can be used there too?RegardsPavel", "msg_date": "Sun, 11 Mar 2018 20:31:33 +0100", "msg_from": "Pavel Stehule...
[ { "msg_contents": "If i run:\n\npgbench -i -s30\n\nAnd then create the function:\n\nCREATE OR REPLACE FUNCTION foobar(text)\n RETURNS text\n LANGUAGE plperl\n IMMUTABLE PARALLEL SAFE STRICT COST 10000\nAS $function$\n return scalar reverse($_[0]);\n$function$;\n\nThen when I create in index, I get a warning:\n...
[ { "msg_contents": "Hi,\n\nI came across following error while working on ecpg client program.\n\n$ install/bin/ecpg ecpg_connection_ptr.pgc\necpg_connection_ptr.pgc:26: ERROR: AT option not allowed in WHENEVER\nstatement\n\nI have attached simple ecpg program 'ecpg_connection_ptr_issue.pgc' that\nreproduces the...
[ { "msg_contents": "Dear Hackers, CFM\n\nLast week, I posted a patch to Commitfest 2018-9 which title is \"[WIP] Document update for Logical Replication security\".\nI do not know the reason, but the same content duplicated. Since I can not delete posts, would you please delete either one?\n\nBest regards,\n\nNo...
[ { "msg_contents": "A description of what you are trying to achieve and what results you expect: we'd like to recover the more data possible from a damaged psql database\n\nPostgreSQL version number you are running: PostgreSQL 9.6.6 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18) 6.3.0 20170516, 64-bi...
[ { "msg_contents": "Hi ,\n\n \n\n Recently I came across a case where the planner choose larger table on hash side. I am not sure whether it is an intended behavior or we are missing something. \n\n \n\n I have two tables (a and b) each with single column in it. One table 'a' is large with around ...
[ { "msg_contents": "Hi All,\n\nI have a question about statistics hooks. I am trying to teach the planner\nthat when grouping by something like date_trunc('1 day', time) will produce\na lot less rows than the number of distinct time values. I want to do that\nin an extension. The problem is that I don't see a wa...
[ { "msg_contents": "Hi Tom, all,\n\nWhen forcing JITing to be enabled for all queries, obviously only useful\nfor testing, I noticed that two explain outputs changed after I added\nexplain support.\n\nThe only differences come from:\n\n-- Unspecified-type literals in output columns should resolve as text\n\nSELE...
[ { "msg_contents": "hello!\nI develop a tool for pgsql, I want to submit it on pgsql.\nhow can I submit it?\n\n\naddress: https://github.com/leapking/pgcheck\nhello!I develop a tool for pgsql, I want to submit it on pgsql.how can I submit it?address: https://github.com/leapking/pgcheck", "msg_date": "Tue, 13...
[ { "msg_contents": "Hello Postgres Team\n\nI am Ankit 3rd year B.tech student from India\n\nI am really interested to work along with your organisation as an intern to\nrectify the issues and bugs as I love challenges and stated in the docs\nthat some features might be not possible to implement so I would love t...
[ { "msg_contents": "The following commit has caused a devastating performance regression\nin concurrent refresh of MV:\n\ncommit 7ca25b7de6aefa5537e0dbe56541bc41c0464f97\nAuthor: Tom Lane <tgl@sss.pgh.pa.us>\nDate: Wed Nov 29 22:00:29 2017 -0500\n\n Fix neqjoinsel's behavior for semi/anti join cases.\n\n\nT...
[ { "msg_contents": "Hi,\n\nwhile adding EXPLAIN support for JITing (displaying time spent etc), I\ngot annoyed by the amount of duplication required. There's a fair amount\nof\n if (es->format == EXPLAIN_FORMAT_TEXT)\n appendStringInfo(es->str, \"Execution time: %.3f ms\\n\",\n ...
[ { "msg_contents": "Hi Hackers,\n\nI found a bug, maybe.\nIf it is able to get an explain command result from below query successfully,\nI think that it means the query is executable. However, I got an error by\nexecuting the query without an explain command. I guess that planner makes a wrong plan.\n\nI share a...
[ { "msg_contents": "Here is a small patch to fix $SUBJECT, which I think is my fault when\nworking on direct foreign-table modification. Sorry about that.\n\nBest regards,\nEtsuro Fujita", "msg_date": "Wed, 14 Mar 2018 17:45:18 +0900", "msg_from": "Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>", "msg_...
[ { "msg_contents": "Hi\nHere are two patches fixing comments.\n\n0001\nA comment in add_paths_to_append_rel() mentions the number of paths\ninstead of number of workers by mistake. Fixed it.\n\n0002\nCommit b5635948ab165b6070e7d05d111f966e07570d81 added a single\ngrouping_sets_data argument instead of two lists ...
[ { "msg_contents": "Hi,\n\nGiven\n\n-- test.sql --\nCREATE TABLE t1 ( \n\n a integer NOT NULL,\n b integer NOT NULL\n) PARTITION BY HASH (b);\nCREATE TABLE t1_p00 PARTITION OF t1 FOR VALUES WITH (MODULUS 4, \nREMAINDER 0);\nCREATE TABLE t1_p01 PARTITION OF t1 FOR VALUES WITH (MODULUS 4, \nREMAINDER 1);\n...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15112\nLogged by: Keiko Oda\nEmail address: keiko713@gmail.com\nPostgreSQL version: 10.3\nOperating system: Ubuntu\nDescription: \n\nThis is similar to the bug report from 2016\n(https://www.postgr...
[ { "msg_contents": "guaibasaurus just failed in a way I'd not seen before:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2018-03-14%2006%3A33%3A01\n\nInspection of the diffs makes it depressingly obvious what happened:\nthe concurrently-executing \"alter_table\" and \"with\" scripts ...
[ { "msg_contents": "Sir\n\nI am interested in your GSOC projectidea. So I want to know ,can I get more information regarding this project andfrom where to start and what to study. \n\nSo that I can submit the proposal as fastas possible .\n\nThank you \n\nPranav Negi\n\n\nSir\nI am interested in your GSOC projec...
[ { "msg_contents": "On checking PostgreSQL code, we see it opens all indexes of a relation for\nevery query planning time as in the attachment. If that is the case, it\nmight lead to Performance degradation for relations with many indexes. Is\nthere any other better way to handle this like Scanning/Opening only ...
[ { "msg_contents": "Hi All,\n\nI don't see any reason for passing estate variable to\nassign_simple_var() in the current postgreSQL code. I think, it was\nrequired earlier as we were updating param info in this function but,\nnow, we are not doing that here. So, shouldn't it be removed. Thoughts\n?\n\nI think, t...
[ { "msg_contents": "Hi, \n     I came across this comment in storage/file/fd.c while I was trying to write an FDW.\n\n\" AllocateFile, AllocateDir, OpenPipeStream and OpenTransientFile arewrappers around fopen(3), opendir(3), popen(3) and open(2), respectively.They behave like the corresponding native functions,...
[ { "msg_contents": "Hello!\n\nI am trying to create a background worker where I can pass in via SQL\ninterface the naptime. I'm not sure how to do this. In the worker_spi\nexample, _PG_init creates a configuration using the static variable\nworker_spi_naptime, but then it appears to call in worker_spi_main in ...
[ { "msg_contents": "We've long made fun of Oracle(TM) for the fact that if you just want\nto evaluate some expressions, you have to write \"select ... from dual\"\nrather than just \"select ...\". But I've realized recently that there's\na bit of method in that madness after all. Specifically, having to\ncope ...
[ { "msg_contents": "Hi hackers,\n\nRight now function WaitLatchOrSocket is implemented in very inefficient \nway: for each invocation it creates epoll instance, registers events and \nthen closes this instance.\nCertainly it is possible to create wait event set once with \nCreateWaitEventSet and then use WaitEve...
[ { "msg_contents": "Hi\n\ncreate or replace procedure proc2(in a int, in b int)\nas $$\nbegin\n a := a * 10;\n b := b * 10;\nend;\n$$ language plpgsql;\n\npostgres=# call proc2(a => 10,b => 20);\nERROR: XX000: unrecognized node type: 107\nLOCATION: ExecInitExprRec, execExpr.c:2114\n\nRegards\n\nPavel\n\nHicr...
[ { "msg_contents": "Hi\n\nI finished my work on pspg pager - a special pager designed for usage\ntogether with psql (but other databases, other TUI clients are supported\ntoo).\n\nI is available from source code https://github.com/okbob/pspg\n\nor from packages\n\nRegards\n\nPavel\n\nHiI finished my work on pspg...
[ { "msg_contents": "Hi,\n\nI found a segmentation fault on pg master Head with below steps and\nstacktrace.\n\npostgres=# CREATE OR REPLACE FUNCTION func1() RETURNS VOID\nLANGUAGE SQL\nAS $$\nselect 10;\n$$;\nCREATE FUNCTION\n\npostgres=# select func1();\nserver closed the connection unexpectedly\nThis probably...
[ { "msg_contents": "Hi,\n\nIf the SELECT target list expression is a join subquery, and if the\nsubquery does a hash join, then the query keeps on consuming more and\nmore memory. Below is such a query :\n\nSELECT\n (SELECT id FROM\n unnest((pg_catalog.acldefault('L',l.col1))) WITH ORDINALITY AS\nperm(acl...
[ { "msg_contents": "Hi hackes,\n\nI confused by the following code in WalSndWriteData:\n\n     /* output previously gathered data in a CopyData packet */\n     pq_putmessage_noblock('d', ctx->out->data, ctx->out->len);\n\n     /*\n      * Fill the send timestamp last, so that it is taken as late as \npossible.\n...
[ { "msg_contents": "Hi,\n\nWriting up docs for JITing I noticed that nearlyall wikipedia links on\nthe acronyms page are http:// rather than https://. Seems like we should\nupdate links in the docs when alternatives are available?\n\nAny counterarguments?\n\nGreetings,\n\nAndres Freund\n\n", "msg_date": "Fri...
[ { "msg_contents": "---\n .gitignore | 2 ++\n web/apps/__init__.py | 0\n web/apps/test_item/__init__.py | 0\n web/apps/test_item/admin.py | 3 ++\n web/apps/test_item/models.py | 35 +++++++++++++++++++\n web/apps/test_item/te...
[ { "msg_contents": "Hi,\nThis email is a description of 0001-add-apps-directory.patch.\nIn this patch, I created the apps directory and created two applications, test_item and user_operation.\nThe test_item application model classes are: TestBranch, TestItem\nThe model classes in the user_operation application a...
[ { "msg_contents": "Hi,\n\nI happened to be updating our machine running our buildfarm animals, and\nI noticed something quite strange - the machine was unexpectedly running\nout of disk space, which is rather suspicious as it's running just the\nregression tests :-/\n\nAfter a bit of investigation, I found this...