threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nThe autovacuum reports the number of skipped frozen pages to the\nVACUUM output. But these information is not appeared by manual VACUUM.\nThis information is useful for the user to check efficiency of VACUUM.\n\nAttached patch add this information to VACUUM output.\n\n* Example\n=#...
[ { "msg_contents": "Currently bytea_output supports values of 'hex' (the default) and\n'escape' (octal). 'hex' uses two characters per byte, while escape uses\nthree (ignoring the prefix overhead of \\x or \\[0-9].)\n\nIt is my understanding that base64 uses 1.37 characters per byte:\n\n\thttps://en.wikipedia.o...
[ { "msg_contents": "When doing a hash join with large work_mem, you can have a large number of\nchunks. Then if ExecHashIncreaseNumBatches gets called, those chunks are\nwalked through, moving the tuples to new chunks (or to disk, if they no\nlonger match the batch's bitmask), and freeing the old chunks.\n\nThe...
[ { "msg_contents": "Hi all\n\nWhile writing some tests I noticed that in newer IPC::Run or Perl\nversions (haven't dug extensively to find out which), perl appends the\nlocation to the extension, so 'ne' doesn't match the passed exception\nstring.\n\nPattern-match the exception string to handle this.\n\nBugfix, ...
[ { "msg_contents": "Hi Hackers,\n\nHere I attached an implementation patch that allows\nutility statements that have queries underneath such as\nCREATE TABLE AS, CREATE MATERIALIZED VIEW\nand REFRESH commands to benefit from parallel plan.\n\nThese write operations not performed concurrently by the\nparallel wor...
[ { "msg_contents": "I've stumbled over an interesting query out in the wild where the\nquery was testing a nullable timestamptz column was earlier than some\npoint in time, and also checking the column IS NOT NULL.\n\nThe use pattern here was that records which required processing had\nthis timestamp set to some...
[ { "msg_contents": "Per the discussion at\nhttps://www.postgresql.org/message-id/CA%2BOCxoyYxO%2BJmzv2Micj4uAaQdAi6nq0w25BPQgLLxsrvTmREw%40mail.gmail.com,\nattached is a patch that implements the following:\n\n- Adds a default role called pg_monitor\n- Gives members of the pg_monitor role full access to:\n pg...
[ { "msg_contents": "Hi all\n\nIs the current implementation of nested loop join in postgres\n(memory-trace) oblivious? Why or why not?\n\nHi allIs the current implementation of nested loop join in postgres (memory-trace) oblivious? Why or why not?", "msg_date": "Sat, 25 Feb 2017 01:07:11 +0000", "msg_fro...
[ { "msg_contents": "Patch to reduce lock levels of various relation-level options,\nfollowing on from earlier work by Fabrizio, with additional work and\ndocumentation by me.\n\nSubmitted to Sept CF, requested to start new thread to discuss\nhttps://www.postgresql.org/message-id/CA%2BTgmoYe5eDhjRodo3uOtVFGiDWwO2...
[ { "msg_contents": "Over in\nhttps://www.postgresql.org/message-id/alpine.DEB.2.11.1702251701030.3920@Sandal.Woodpecker\nit's pointed out that pltcl_loadmod was never updated for the switch\nto standard_conforming_strings (and the patch proposed there doesn't\nbegin to cover all the places that would need fixed ...
[ { "msg_contents": "Something that has been bothering me in PL/Python for a long time is the\nnon-object-oriented way in which plans are prepared and executed:\n\n plan = plpy.prepare(...)\n res = plpy.execute(plan, ...)\n\nwhere plpy.execute() takes either a plan or a query string.\n\nI think a better sty...
[ { "msg_contents": "logtape.c stores block numbers on disk. These block numbers are\nrepresented in memory as being of type long. This is why BufFile\nclients that use the block-based interface (currently limited to\nlogtape.c and gistbuildbuffers.c) must live with a specific\nlimitation, as noted within buffile...
[ { "msg_contents": "Dear 7b4ac19 authors,\n\nField ps_snapshot_data usually receives four-byte alignment within\nParallelIndexScanDescData, but it contains the eight-byte whenTaken field.\nThe select_parallel test dies with SIGBUS on \"Oracle Solaris 10 1/13\ns10s_u11wos_24a SPARC\", building with gcc 4.9.2. So...
[ { "msg_contents": "Hi all,\n\nI bumped into a case where it would have been rather useful to specify\na service file path in a connection string with a service name. In my\ncase, I have finished by setting up PGSERVICEFILE, but now like\nPGPASSFILE I think that being able to define the service file\navailable a...
[ { "msg_contents": "Hi all,\n\nAs the next commit fest beginning soon, there will be no place where\nhackers can park future patches for PG11~. So I have created a Future\nCF named 2017-07 where you can do that.\nFeel free to use it to park your future patches. The next development\nschedule is undecided, so the...
[ { "msg_contents": "I see that if the table is a inheritance parent, and ONLY is not\nspecified, the child tables are also added to the publication.\n\ncreate table parent (a int);\ncreate table child () inherits (parent);\ncreate publication parent_pub for table parent;\n\\d parent\n Table \"publi...
[ { "msg_contents": "Hi All,\n\nBelow are findings for postgres_fdw related to timezone.\n\n-- Remote Sever\n\n\nServer A (timezone = 'US/Eastern')\n\nCreate table public.test_timestamp(\n col1 varchar,\n ins_ts timestamp without time zone not null default\ncurrent_timestamp\n) witho...
[ { "msg_contents": "Hi,\n\nI'd like to propose to support parameterized foreign joins. Attached is \na patch for that, which has been created on top of [1].\n\nIn [2], I said that postgres_fdw could create parameterized paths from \njoinable combinations of the cheapest-parameterized paths for the \ninner/ou...
[ { "msg_contents": "This assignment is on todo list and has a benefit of providing an\nadditional defense against SQL-injection attacks. Previous mailing list\ndiscussion is here\n<https://www.postgresql.org/message-id/9236.1167968298@sss.pgh.pa.us> and I\nattach a small patch that fix the issue by checking whet...
[ { "msg_contents": "How about changing the default for log_directory from 'pg_log' to, say,\n'log'?\n\nWe have been emphasizing that the prefix \"pg_\" is for things reserved to\nPostgreSQL, whereas the pg_log directory is entirely an arbitrary\nuser-space name. Also, with a different name, the directory would ...
[ { "msg_contents": "Hi hackers,\n\nWorking on vectorized extension for Postgres (VOPS) I faced with two \nthings in Postgres compiler which break my expectations and force me to \nabandon my original implementation plan. I wonder if it is really \nprinciple and correct that:\n\n1. Moving-aggregate implementation...
[ { "msg_contents": "Currently pg_stop_backup() will wait for all WAL to be archived before\nreturning. If there is a problem with the archive command or a large\nbacklog it may not return for a very long time (if ever). Backup\nsoftware is faced with the choice of cancelling the query and hoping the\nstop back...
[ { "msg_contents": "I found this issue while working on a pg_stop_backup() patch. If a\nnon-exclusive pg_stop_backup() is cancelled and then attempted again the\nbackend will crash on assertion:\n\n$ test/pg/bin/psql\npsql (10devel)\nType \"help\" for help.\n\npostgres=# select * from pg_start_backup('label', t...
[ { "msg_contents": "Hello, I found a variable definition with wrong type\nspecification in KeepLogSeg, which doesn't harm anything.\n\n> static void\n> KeepLogSeg(XLogRecPtr recptr, XLogSegNo *logSegNo)\n> {\n> ...\n> /* then check whether slots limit removal further */\n> if (max_replication_slots > 0 &...
[ { "msg_contents": "Submissions for patches to be included in PostgresSQL 10.0 will be\naccepted until 2017-03-01 00:00 AoE (UTC-12).\n\nGet 'em in while you can!\n\n-- \n-David\ndavid@pgmasters.net\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription...
[ { "msg_contents": "Hi\n\nA novice user asked me about the last example here, which kept producing errors:\n\nhttps://www.postgresql.org/docs/9.6/static/tutorial-agg.html?\n\nIt turned out that the 'callout' was causing confusion because it\nsticks \"(1)\" into the middle of the query in approximately the same\n...
[ { "msg_contents": "Hello.\n\nAlthough replication slot is helpful to avoid unwanted WAL\ndeletion, on the other hand it can cause a disastrous situation\nby keeping WAL segments without a limit. Removing the causal\nrepslot will save this situation but it is not doable if the\nstandby is active. We should do a ...
[ { "msg_contents": "I have written an extension to manage openstreetmap data. There is a C\nfunction to perform spatial top k query on several tables and return an\narray of int8 type as result. The code skeleton of this function is as\nfollows:\n\nDatum vquery(PG_FUNCTION_ARGS) {\n\nint array_len = PG_GETARG_I...
[ { "msg_contents": "Here's a small patch to make a BRIN page range unsummarized. This is\nuseful if data has been deleted, and the heap pages are now used for\ncompletely different data.\n\n-- \n�lvaro Herrera\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to y...
[ { "msg_contents": "Here's another small patch, this time from Simon Riggs. Maybe he already\nposted it for this commitfest, but I didn't find it in a quick look so\nhere it is.\n\nThis patch reduces the amount of bloat you get from running CREATE INDEX\nCONCURRENTLY by destroying the snapshot taken in the firs...
[ { "msg_contents": "Hello everyone,\n\nI've attached a patch which implements WAL consistency checking for\nhash indexes. This feature is going to be useful for developing and\ntesting of WAL logging for hash index.\n\nNote that, this patch should be applied on top of the following WAL\nlogging for hash index pa...
[ { "msg_contents": "Hello,\n\nAs I stated here and at the PGConf.ASIA developer meeting last year, I'd like to propose statement-level rollback feature. To repeat myself, this is requested for users to migrate from other DBMSs to PostgreSQL. They expect that a failure of one SQL statement should not abort the ...
[ { "msg_contents": "Hello Hackers,\n\nFollowing is a proposal for reporting the progress of ANALYZE command:\n\nIt seems that the following could be the phases of ANALYZE processing:\n1. Collecting sample rows\n2. Collecting inherited sample rows\n3. Computing heap stats\n4. Computing index stats\n5. Cleaning up...
[ { "msg_contents": "Hi all,\n\nI found a wrong explanation about tsquery_phrase. I was slightly confused when I tried to use it.\n\nThe current document explains tsquery_phrase as the followings[1].\n\n- Function: tsquery_phrase(query1 tsquery, query2 tsquery, distance integer)\n- Return Type: tsquery\n- Descrip...
[ { "msg_contents": "Hi all\n\nI would like to propose patch with a set of new small functions for fts in\ncase of\njsonb data type:\n\n* to_tsvector(config, jsonb) - make a tsvector from all string values and\n elements of jsonb object. To prevent the situation, when tsquery can find\na\n phrase consisting of ...
[ { "msg_contents": "Hi,\n\nHere is a patch for $subject. This is the same as what I proposed in \ncombination with a feature for full joins [1]; this would allow us to \npush down left/right/full joins with PHVs to the remote and improve how \nto deparse whole-row references. Since this is implemented on to...
[ { "msg_contents": "In CREATE INDEX CONCURRENTLY it seems possible to release the index\nbuild snapshot early, so we can reset our xmin before we complete the\nsort and write the main part of the index.\n\nPatch to implement this attached.\n\n-- \nSimon Riggs http://www.2ndQuadrant.com/\nPostgreSQ...
[ { "msg_contents": "Hello All,\n\nDuring the second heap scan of CREATE INDEX CONCURRENTLY, we're only\ninterested in the tuples which were inserted after the first scan was\nstarted. All such tuples can only exists in pages which have their VM bit\nunset. So I propose the attached patch which consults VM during...
[ { "msg_contents": "Hello.\n\nI decided to figure out whether current implementation of declarative\npartitioning has any bottlenecks when there is a lot of partitions. Here\nis what I did [1].\n\n```\n-- init schema\n\n\\timing on\n\nCREATE TABLE part_test (pk int not null, k int, v varchar(128)) PARTITION BY R...
[ { "msg_contents": "Hi all,\n\nNow we have a declarative partitioning, but hash partitioning is not\nimplemented yet. Attached is a POC patch to add the hash partitioning\nfeature. I know we will need more discussions about the syntax and other\nspecifications before going ahead the project, but I think this run...
[ { "msg_contents": "Hi,\n\ncommit 2f5c9d9c9ce removed CatalogUpdateIndexes and replaced it with \nCatalogTupleInsert/CatalogTupleUpdate, which do both the operation and \nindex update.\n\nBut there remained three places in comments still referencing the \nremoved CatalogUpdateIndexes. Attached is a patch fixing ...
[ { "msg_contents": "Hi all\n\nRegarding to the previous conversation [1], here is the patch for generic\ntype\nsubscripting with several improvements. It contains the following changes:\n\n* Subscripting node was separated into `SubscriptingRef` (only for data\n extraction) and `SubscriptingAssignRef` (only for...
[ { "msg_contents": "Greetings!\n\nThe PostgreSQL committers would like to welcome Andrew Gierth as a new\ncommitter for the PostgreSQL project.\n\nAndrew - welcome!\n\nThanks!\n\nStephen", "msg_date": "Tue, 28 Feb 2017 13:22:22 -0500", "msg_from": "Stephen Frost <sfrost@snowman.net>", "msg_from_op": ...
[ { "msg_contents": "Hi there,\n\n\nAttached patch is an implementation of SQL/JSON data model from SQL-2016\nstandard (ISO/IEC 9075-2:2016(E)), which was published 2016-12-15 and is\navailable only for purchase from ISO web site (\nhttps://www.iso.org/standard/63556.html). Unfortunately I didn't find any\npublic...
[ { "msg_contents": "There are a couple of open items for the parallel CREATE INDEX patch\nthat at this point represent blockers to commit, IMV. The first is\naround a deficiency in the shared refcount mechanism, which is well\nunderstood and doesn't need to be rehashed on this thread. The second\nis the cost mod...
[ { "msg_contents": "Hello,\n\nCurrently inserting the data into a partitioned table that does not fit into\nany of its partitions is not allowed.\n\nThe attached patch provides a capability to add a default partition to a\nlist\npartitioned table as follows.\n\npostgres=# CREATE TABLE list_partitioned (\n a i...
[ { "msg_contents": "Hi,\n\nCurrently pg_stat_statements replaces constant values with ? characters.\nI've seen this be a problem on multiple occasions, in particular since it\nconflicts with the use of ? as an operator.\n\nI'd like to propose changing the replacement character from ? to instead be\na parameter (...
[ { "msg_contents": "PostgreSQL currently requires the file mode mask (umask) to be 0077.\nHowever, this precludes the possibility of a user in the postgres group\nperforming a backup (or whatever). Now that\npg_start_backup()/pg_stop_backup() privileges can be delegated to an\nunprivileged user, it makes sense ...
[ { "msg_contents": "Subject changed for better context of the patch.\n(was - Re: Question about grant create on database and pg_dump/pg_dumpall)\n\nOn Fri, Sep 30, 2016 at 12:29 AM, Tom Lane\n<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:\n>\n>1. pg_dump without --create continues to do what it does today, ie it just...
[ { "msg_contents": "This is the \"grand finale\" that goes on top of the \"DROP FUNCTION of\nmultiple functions\" patch set. The purpose is to allow referring to\nfunctions without having to spell out the argument list, when the\nfunction name is unique. This is especially useful when having to\noperate on \"b...
[ { "msg_contents": "Here is a patch to refactor some macro hell in dblink.\n\nThis patch was discussed in the background sessions thread as a\nprerequisite for some work there, but I figure I'll make a separate\nthread for it to give everyone interested in dblink a chance to respond\nseparate from the other thre...
[ { "msg_contents": "The SQL standard defines a separate error code for nextval exhausting\nthe sequence space. I haven't found any discussion of this in the\narchives, so it seems this was just not considered or not yet in\nexistence when the error codes were introduced. Here is a patch to\ncorrect it.\n\n-- \...
[ { "msg_contents": "I think one of the most serious issues with BRIN indexes is how they\ndon't get updated automatically as the table is filled. This patch\nattempts to improve on that. During brininsert() time, we check whether\nwe're inserting the first item on the first page in a range. If we are,\nreques...
[ { "msg_contents": "Hi hackers!\n\nAs I've understood from thread [1] the main issue of creating local \nindexes for partitions is supporting REINDEX and DROP INDEX operations \non parent partitioned tables. Furthermore Robert Haas mentioned the \nproblem of creating index on key that is represented in partition...
[ { "msg_contents": "Hackers,\n\nI've attached a small patch which aims to improve the performance of\nAccessExclusiveLock when there are many AccessExclusiveLock stored.\n\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nS...
[ { "msg_contents": "The 2017-03 commitfest is now in progress. Here's the breakdown:\n\nNeeds review: 128\nWaiting on Author: 26\nReady for Committer: 26\nTotal: 180\n\nIf you are an author and have a patch in the \"Waiting for Author\" state\nplease update it as soon as you can. Otherwise, jump in and start\n...
[ { "msg_contents": "Hi,\n\nWhile reading through the cost_agg() I found that startup cost for the\ngroup aggregate is not correctly assigned. Due to this explain plan is\nnot printing the correct startup cost.\n\nWithout patch:\n\npostgres=# explain select aid, sum(abalance) from pgbench_accounts where\nfiller l...
[ { "msg_contents": "Hello,\n\nLooking into the MergeAppendPath generation, I'm a bit surprised by several \nthings:\n\n - When generating the mergeappendpath, we use a dummy path to take the sort \ncost into account for non-sorted subpaths. This is called with the base \nrelation tuples instead of the subpath e...
[ { "msg_contents": "Hi all,\n\nI found that ecpg has not been supporting COMMIT PREPARED and ROLLBACK\nPREPARED since version 9.0.2.\nFor example, if the test code does,\n EXEC SQL BEGIN;\n EXEC SQL INSERT INTO t1 VALUES(1);\n EXEC SQL PREPARE TRANSACTION 'gxid';\n EXEC SQL COMMIT PREPARED 'gxid';\nI got err...
[ { "msg_contents": "Dear community member(s),\n\nI am João Afonso, a Portuguese MSc student and I'm writing to ask some information about the GSoC projects.\n\nFor the reasons explained below, PostgreSQL was the organisation that I most identify with, so I am trying to introduce myself to the community. This way...
[ { "msg_contents": "Hello, some of my collegues found that orafce crashes with\npostgresql compliled with dtrace.\n\n=== The cause\n\nThe immediate cause was I think that it just did\nLWLockNewTrancheId and forget to do LWLockRegisterTranche. But\nthis is hardly detectable by a module developer.\n\n\nTypical tra...
[ { "msg_contents": "Allow vacuums to report oldestxmin\n\nAllow VACUUM and Autovacuum to report the oldestxmin value they\nused while cleaning tables, helping to make better sense out of\nthe other statistics we report in various cases.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/...
[ { "msg_contents": "Use asynchronous connect API in libpqwalreceiver\n\nThis makes the connection attempt from CREATE SUBSCRIPTION and from\nWalReceiver interruptable by the user in case the libpq connection is\nhanging. The previous coding required immediate shutdown (SIGQUIT) of\nPostgreSQL in that situation....
[ { "msg_contents": "\nI have been setting up a buildfarm member with -DRELCACHE_FORCE_RELEASE\n-DCLOBBER_FREED_MEMORY, settings which Alvaro suggested to me.I got core\ndumps with these stack traces. The platform is Amazon Linux.\n\n\n================== stack trace:\npgsql.build/src/test/regress/tmp_check/data/c...
[ { "msg_contents": "Hello everybody,\n\nfollowing up on this thread: \nhttps://www.postgresql.org/message-id/flat/d297e048-ac49-9bed-32e3-9dd4e65d0978%40mail.de\nspecifically on this mail: \nhttps://www.postgresql.org/message-id/baef819f-acf0-a64d-c1eb-d2c5da1e5030%40mail.de\nI hope this idea fulfills the requir...
[ { "msg_contents": "Hi All,\n\n From following git commit onwards, parallel seq scan is never getting\nselected for inheritance or partitioned tables.\n\n<git-commit>\ncommit 51ee6f3160d2e1515ed6197594bda67eb99dc2cc\nAuthor: Robert Haas <rhaas@postgresql.org>\nDate: Wed Feb 15 13:37:24 2017 -0500\n\n Replac...
[ { "msg_contents": "I've been asked to investigate a case of a foreign join not occurring\non the foreign server as would have been expected.\n\nI've narrowed this down and the problem seems to only occur with outer\ntype joins.\n\nThe problem can be reproduced by the attached test_case.sql\n\nUpon investigation...
[ { "msg_contents": "Hello all,\n\nThis is to bring to notice a peculiar instance I found recently while\nrunning TPC-H benchmark queries. Q20 of the benchmark took 19 hours to\ncomplete when run on a machine with 512 GB RAM and 32 cores with\nfollowing parameter settings on the commit id -\n0c2070cefa0e5d097b715...
[ { "msg_contents": "Hello!\n\nMy name is Kirill Borozdin. I am a student of Ural Federal University from\nYekaterinburg, Russia.\nI was trying to find some interesting algorithmic problem for GSoC and\nfinally ran into PostgreSQL and\n\"Sorting algorithms benchmark and implementation\" task.\nThis problem looks ...
[ { "msg_contents": "Hi,\n\npg_dump segfaults if there are more than one DO_PUBLICATION_REL objects to\ndump.\n\ncreate table foo (a int);\ncreate publication foo_pub;\nalter publication foo_pub add table foo;\n\n$ pg_dump\n<OK>\n\ncreate table bar (a int);\nalter publication foo_pub add table bar;\n\n$ pg_dump -...
[ { "msg_contents": "psql currently supports \\di+ to view indexes,\n\n List of relations\n Schema | Name | Type | Owner | Table | Size | Description\n--------+--------------------+-------+-------+---------+--------+-------------\n public | ii | inde...
[ { "msg_contents": "Hi hackers,\n\nI've seen that pg_dump execute the dump of an eventual comment of a\nTSDictionary without\nspecifying the namespace where it is defined:\n\nhttps://github.com/postgres/postgres/blob/master/src/bin/pg_dump/pg_dump.c#L13542\n\nThis is actually a problem if a new TSDictionary is c...
[ { "msg_contents": "Hello,\n\nI would like to work on push-based executor [1] during GSoC, so I'm\nwriting to introduce myself and start the discussion of the project. I\nthink I should mention beforehand that the subject is my master's\nthesis topic, and I have already started working on it. This letter is\nnot...
[ { "msg_contents": "Remove objname/objargs split for referring to objects\n\nIn simpler times, it might have worked to refer to all kinds of objects\nby a list of name components and an optional argument list. But this\ndoesn't work for all objects, which has resulted in a collection of\nhacks to place various ...
[ { "msg_contents": "With e434ad39ae7316bcf35fd578dd34ad7e1ff3c25f I did a `make world`,\n`make install-world`, a fresh default initdb, a start with default\nconfig, `make installcheck`, connected to the regression database\nwith psql as the initial superuser, and ran:\n\nregression=# vacuum freeze analyze;\nWARN...
[ { "msg_contents": "Hi,\n\nRight now check-world, a sensible thing to run before commits that\naren't very narrow, takes a long time. To the point it seems to impact\ndevelopment velocity enough that it's more sensible to just skip it, and\nrely on the buildfarm.\n\nThat's not a great solution.\n\nA large amoun...
[ { "msg_contents": "Recap\n=====\n\nA design goal of parallel tuplesort is that the parallel case be as\nclose to possible as the serial case is already. Very little new code\nis needed in tuplesort.c and logtape.c, most of which is about using a\nnew lower-level facility which is very well encapsulated. And, ev...
[ { "msg_contents": "While scanning over postgresql.conf I happened to notice something\nthat didn't ring quite true about max_parallel_workers. The comment\nconfuses worker_processes with parallel workers.\n\nThe attached aims to put this right.\n\n-- \n David Rowley http://www.2ndQuadrant.com/...
[ { "msg_contents": "Hi,\n\nI was going through the grammer rule for Character types in gram.y and\nfound an optional sub rule in is \"opt_charset\"\n\nCharacterWithLength: character '(' Iconst ')' opt_charset\n{\n if (($5 != NULL) && (strcmp($5, \"sql_text\") != 0))\n $1 = psprintf...
[ { "msg_contents": "Hi,\n\nthere has been discussion at the logical replication initial copy thread\n[1] about making apply work with sync commit off by default for\nperformance reasons and adding option to change that per subscription.\n\nHere I propose patch to implement this - it adds boolean column\nsubssync...
[ { "msg_contents": "Hi,\n\nWhen I logged in PostgreSQL as non-superuser and ran\nALTER PUBLICATION command, I got a segmentation fault.\nThe code checking the owner of publication might have a bug.\n\n=# CREATE ROLE foo NOSUPERUSER LOGIN\n=# \\c - foo\n=> \\dRp\n List of publications\n Name | Owne...
[ { "msg_contents": "Is there a good reason why RELKIND_PARTITIONED_TABLE is 'P' not 'p'?\nIt looks rather out of place considering that seven of the eight\npre-existing relkind codes are lower case. (And no, I don't especially\napprove of RELKIND_SEQUENCE being 'S' either, but it's far too late to\nchange that....
[ { "msg_contents": "Amit, Rafia,\n\nnodeIndexscan.c, unlike nodeSeqscan.c, thinks that a parallel-aware\nscan will always be executed in parallel mode. But that's not true:\nan Execute message with a non-zero row count could cause us to abandon\nplanned parallelism and execute the plan serially. I believe thi...
[ { "msg_contents": "Hi all!\n\nDoes anyone know of a simple, example Custom Scan Provider implementation\nfor 9.6+?\n\nI found pg_strom by searching GitHub. Its gpuscan.c looks like maybe it\nimplements a pattern similar to what I want to do, but there's a lot of\nextraneous (to me) stuff to parse through.\n\nI...
[ { "msg_contents": "Hi all,\n\nAs discussed on the thread dedicated to SCRAM\n(https://www.postgresql.org/message-id/243d8c11-6149-a4bb-0909-136992f74b23@iki.fi),\nhere is a separate thread dedicated to the following extension for\nCREATE/ALTER ROLE: PASSWORD ('value' USING 'method').\n\nNow that password_encryp...
[ { "msg_contents": "Hi all,\n\nHere is another thread for an issue related to SCRAM\n(https://www.postgresql.org/message-id/243d8c11-6149-a4bb-0909-136992f74b23@iki.fi),\nthat can be discussed independently: SASLprep.\n\nRFC5802 (https://tools.ietf.org/html/rfc5802) regarding the\nimplementation of SCRAM, needs ...
[ { "msg_contents": "Hello,\n\ndblink fails to close the unnamed connection as follows when a new unnamed connection is requested. The attached patch fixes this.\n\n\n\npostgres=# select count(*) from pg_stat_activity;\n count\n-------\n 1\n(1 row)\n\npostgres=# select dblink_connect('dbname=postgres');\n db...
[ { "msg_contents": "Hi,\n\nOver in another thread it was pointed out that a patch I submitted\nbroke a project rule by including \"postgres.h\" in a header. Here is a\npatch to remove it from dsa.h where I made the same mistake, and also\na case I found in bufmask.h by grepping.\n\nThere are also instances in r...
[ { "msg_contents": "On Wed, Mar 8, 2017 at 4:50 PM, Rushabh Lathia <rushabh.lathia@gmail.com>\nwrote:\n\n> I am attaching another version of the patch, as I found stupid mistake\n> in the earlier version of patch, where I missed to initialize initial\n> value to\n> WaitEventIO enum. Also earlier version was not...
[ { "msg_contents": "Fix parallel index and index-only scans to fall back to serial.\n\nParallel executor nodes can't assume that parallel execution will\nhappen in every case where the plan calls for it, because it might\nnot work out that way. However, parallel index scan and parallel\nindex-only scan failed t...
[ { "msg_contents": "Here's a patch which updates parallel.sgml for the new parallel scan\ntypes which have recently been committed, and also expands the\nexplanation of parallel joins slightly. I hope everyone will find\nthis useful in understanding what new capabilities we now have, and\nwhat remains to be don...
[ { "msg_contents": "Hi all\n\nI've found a minor off-by-one error in the resource retention logic\nfor logical slots, where we treat confirmed_flush as meaning \"flushed\nup to and including this LSN\". Seems reasonable, but the rest of the\ncode treats it as \"flushed up to but excluding this LSN\". In\nparticu...
[ { "msg_contents": "Hi!\n\nI'd like to offer a forward port from a change I'm contributing\nthe Greenplum code base over here:\n https://github.com/greenplum-db/gpdb/pull/1983\n\nWhile it is true that 64 bit atomics are mostly a no-op\nfor Postgres right now, perhaps this patch could still\nbe useful.\n\nTo m...
[ { "msg_contents": "Hi,\n\nWe are having some performance issues after we upgraded to newest\nversion of PostgreSQL, before it everything was fast and smooth.\n\nUpgrade was done by pg_upgrade from 9.4 directly do 9.6.1. Now we\nupgraded to 9.6.2 with no improvement.\n\nSome information about our setup: Freebsd,...
[ { "msg_contents": "Hi,\n\nWe are having some performance issues after we upgraded to newest\nversion of PostgreSQL, before it everything was fast and smooth.\n\nUpgrade was done by pg_upgrade from 9.4 directly do 9.6.1. Now we\nupgraded to 9.6.2 with no improvement.\n\nSome information about our setup: Freebsd,...
[ { "msg_contents": "Greetings,\n\nWhile reviewing Amit Langote's patch to handle partitioned tables\nproperly in various contrib modules (mostly by throwing an error since\nthings like pageinspect aren't going to work on the empty 'parent'\ntable), I went looking through contrib for other modules that do\nsometh...
[ { "msg_contents": "Greetings,\n\nWhile going over the contrib modules, I noticed that sepgsql was not\nupdated for partitioned tables. What that appears to mean is that it's\nnot possible to define labels on partitioned tables. As I recall,\naccessing the parent of a table will, similar to the GRANT system, n...
[ { "msg_contents": "I was just doing some testing on [1] when I noticed that there's a problem\nwith parallel bitmap index scans scans.\n\nTest case:\n\npatch with [1]\n\n=# create table r1(value int);\nCREATE TABLE\n=# insert into r1 select (random()*1000)::int from\ngenerate_Series(1,1000000);\nINSERT 0 100000...
[ { "msg_contents": "Greetings,\n\nConsider this:\n\ncreate table t10 (c1 int, c2 int);\ncreate index on t10 (c1) where c2 > 5;\n\n\\d t10\n Table \"sfrost.t10\"\n Column | Type | Modifiers \n--------+---------+-----------\n c1 | integer | \n c2 | integer | \nIndexes:\n \"t10_c1_idx\" btree (c1...
[ { "msg_contents": "I typically build with --with-system-tzdata, which means that any time\nRed Hat sees fit to push out a new copy of the tzdata package, that's\nwhat I'm testing against. This morning they updated to tzdata2017a,\nand I'm seeing the attached test failures.\n\nThe reason for this is that the IA...