threads
listlengths
1
2.99k
[ { "msg_contents": "Attached please find a minor spelling error fix, changing \"btis\" to \"bits\".\n\n\n\n\n-- \nJon\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "Thu, 23 Ma...
[ { "msg_contents": "Hi guys,\n This is Charles Cui from Tsinghua University, China. I am pretty\ninterested in\nthe ideas listed in GSOC 2017 page on Postgresql, especially the idea\n\"Eliminate O(N^2) scaling from rw-conflict tracking in serializable\ntransactions\". For my PhD program in\nTsinghua Universit...
[ { "msg_contents": "Hi,\n\nI am on a team developing an open-source extension for time-series data\nstorage in PostgreSQL (https://github.com/timescaledb/timescaledb).\n\nWe are trying to extend/hook into the planner so that it understands that\ndate_trunc('minute', time) has the same ordering as time (or rather...
[ { "msg_contents": "Commit 7aea8e4f2daa4b39ca9d1309a0c4aadb0f7ed81b allowed a parallel\nplan to be generated when for a RETURN QUERY or RETURN QUERY EXECUTE\nstatement in a PL/pgsql block. As it turns out, the analysis that led\nto this decision was totally wrong-headed, because the plan will\nalways be execute...
[ { "msg_contents": "There is a test in privileges.sql (currently lines 589-625 in\nprivileges.out) that seems to be dependent on the fact that the\nArrayCoerceExpr logic doesn't check for EXECUTE privilege on the\nper-element type coercion function if it's dealing with a NULL input\narray.\n\nWhile fooling with ...
[ { "msg_contents": "At the conclusion of\n<f6ed028e-ac25-e849-aec6-8d69416f0090@2ndquadrant.com>, pg_upgrade was\nchanged to upgrade sequences \"logically\". We initially did that by\nadding a pg_dump option --sequence-data that would dump sequence data\n(setval calls) in spite of --schema-only. Later, that op...
[ { "msg_contents": "Here is a patch to add COMMENT support for publications and subscriptions.\n\nOn a similar issue, do we need SECURITY LABEL support for those? Does\nthat make sense?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training ...
[ { "msg_contents": "Hello,\nIn Windows, if one needs to take a dump in plain text format (this is\nthe default option, or can be specified using -Fp) with some level of\ncompression (-Z[0-9]), an output file has to\nbe specified. Otherwise, if the output is redirected to stdout, it'll\ncreate a corrupted dump (c...
[ { "msg_contents": "On 2017-03-24 10:45, Mark Kirkwood wrote:\n> \n> However one minor observation - as Michael Banck noted - the elapsed\n> time for slave to catch up after running:\n> \n> $ pgbench -c8 -T600 bench\n> \n> on the master was (subjectively) much longer than for physical\n> streaming replication. I...
[ { "msg_contents": "Hi All,\n\nWhile looking at the code around tab-complete.c, I\nfound the ordering in words_after_create array is not\ncorrect for DEFAULT PRIVILEGES, which been added\nunder below commit:\n\ncommit d7d77f3825122bde55be9e06f6c4851028b99795\nAuthor: Peter Eisentraut <peter_e@gmx.net>\nDate: T...
[ { "msg_contents": "Avoid SnapshotResetXmin() during AtEOXact_Snapshot()\n\nFor normal commits and aborts we already reset PgXact->xmin\nAvoiding touching highly contented shmem improves concurrent\nperformance.\n\nSimon Riggs\n\nDiscussion: CANP8+jJdXE9b+b9F8CQT-LuxxO0PBCB-SZFfMVAdp+akqo4zfg@mail.gmail.com\n\nB...
[ { "msg_contents": "Hi,\n\nALTER SUBSCRIPTION ... WITH (SLOT NAME = foo) will make the worker dies\non error about unexpected subscription changed. It's my oversight in the\noriginal logical replication patch-set. Attached patch fixes it to\nbehave same way as other changes to subscription options.\n\n-- \n Pet...
[ { "msg_contents": "Hi,\n\nCommit 7c4f52409a8c7d85ed169bbbc1f6092274d03920 seems to have introduced an\nalternative spelling of \"initial\". Fixed in the attached.\n\n\n.m\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.o...
[ { "msg_contents": "Implement multivariate n-distinct coefficients\n\nAdd support for explicitly declared statistic objects (CREATE\nSTATISTICS), allowing collection of statistics on more complex\ncombinations that individual table columns. Companion commands DROP\nSTATISTICS and ALTER STATISTICS ... OWNER TO /...
[ { "msg_contents": "Improve access to parallel query from procedural languages.\n\nIn SQL, the ability to use parallel query was previous contingent on\nfcache->readonly_func, which is only set for non-volatile functions;\nbut the volatility of a function has no bearing on whether queries\ninside it can use para...
[ { "msg_contents": "Per \nhttps://postgr.es/m/CAEepm=11ma_Z1HoPxPcSCANnh5ykHORa=HcA1U1V1+5S_jwPuA@mail.gmail.com\nit seems that the dsm.c API is a bit inconvenient right now. I proposed\nin the first patch in that thread to change the API so that a segment is\nmarked as \"pinned\" if created with no ResourceOwn...
[ { "msg_contents": "Dear Hackers,\n\nShould this work?\n\n CREATE TABLE things (\n user_id INTEGER NOT NULL,\n document JSONB NOT NULL,\n UNIQUE (user_id, document->>'name')\n );\n ERROR: syntax error at or near \"->>\"\n LINE 4: UNIQUE (user_id, document->>’name')\n\nI t...
[ { "msg_contents": "Hi,\n\nSeems pg_get_statisticsextdef() has a couple of things wrong:\n\n1. HeapTupleIsValid() called on the wrong tuple.\n2. Did not schema qualify names.\n\nBoth of which were my mistakes.\n\nThe attached fixes.\n\nI've also added some tests to give the function a bit of coverage.\n\nI've pu...
[ { "msg_contents": "Hi,\n\nwhile working on a patch I ran into some crashes that seem to be caused \nby inconsistent handling of max_parallel_workers - queries still seem to \nbe planned with parallel plans enabled, but then crash at execution.\n\nThe attached script reproduces the issue on a simple query, causi...
[ { "msg_contents": "Add COMMENT and SECURITY LABEL support for publications and subscriptions\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/87dee41f3ed6d6c2a93e7ff359776cfe24f145e0\n\nModified Files\n--------------\ndoc/src/sgml/ref/comment.sgml | 2 ...
[ { "msg_contents": "Remove ICU tests from default run\n\nThese tests require the test database to be in UTF8 encoding. Until\nthere is a better solution, take them out of the default test set and\ntreat them like the existing collate.linux.utf8 test, meaning it has to\nbe selected manually.\n\nBranch\n------\nm...
[ { "msg_contents": "Hi,\n\nI can't build PDFs with latest snapshot tarball:\n\n====================================================================================\n$ make postgres-A4.pdf\n{ \\\n echo \"<!ENTITY version \\\"10devel\\\">\"; \\\n echo \"<!ENTITY majorversion \\\"10\\\">\"; \\\n} > version.sgml\n...
[ { "msg_contents": "Hi,\n\nSeems like it'd be good to standardize how we're declaring that a commit\ncontains backwards incompatible changes. I've seen\n- 'BACKWARDS INCOMPATIBLE CHANGE'\n- 'BACKWARD INCOMPATIBILITY'\n- a lot of free-flow text annotations like \"as a\n backward-incompatibility\", \"This makes ...
[ { "msg_contents": "Hi,\n\nI just tried to run valgrind before pushing my expression evaluation\nwork, but that triggers independent failures:\n\n==2486== Uninitialised byte(s) found during client check request\n==2486== at 0x5B56B9: PageAddItemExtended (bufpage.c:329)\n==2486== by 0x225E14: RelationPutHea...
[ { "msg_contents": "Faster expression evaluation and targetlist projection.\n\nThis replaces the old, recursive tree-walk based evaluation, with\nnon-recursive, opcode dispatch based, expression evaluation.\nProjection is now implemented as part of expression evaluation.\n\nThis both leads to significant perform...
[ { "msg_contents": "git rm execQual.c\n\nShould have been in commit b8d7f053c5c2bf2a7e8734fe3327f6a8bc711755,\nbut passing the patch back and forth as a patch seems to have dropped\nthat metadata.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/8acf08c68dd8b9fa1793f6ccf9e21...
[ { "msg_contents": "Hi,\n\nIn the devel docs for xmltable there should be a comma after XMLNAMESPACES()\n\nGroeten, Arjen\n\n\ndiff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml\nindex ba6f8dd..1180385 100644\n--- a/doc/src/sgml/func.sgml\n+++ b/doc/src/sgml/func.sgml\n@@ -10504,7 +10504,7 @@ SELECT xp...
[ { "msg_contents": "Hi,\n\nA nearby thread [1], does some work on buffile.c. Amongst others it\nrenames isTemp to something else (not sure yet why - the new name is\nabout as apt as before), but that's not really what I want to talk about\nhere.\n\nbuffile.c currently has a fair amount of code dependant on\nBuf...
[ { "msg_contents": "Hi,\n\ntesting with master as of cf366e97ff, sqlsmith occasionally triggers the\nfollowing assertion:\n\nTRAP: FailedAssertion(\"!(LWLockHeldByMe(((LWLock*) (&(bufHdr)->content_lock))))\", File: \"bufmgr.c\", Line: 3397)\n\nBacktraces always look like the one below. It is reproducible on a\n...
[ { "msg_contents": "Hi,\n\ntoday's testing with master as of d253b0f6e3 yielded two clusters that\nstopped processing queries. Symptoms:\n\nregression=> select application_name, state, wait_event, wait_event_type, count(1), min(pid)\n from pg_stat_activity group by 1,2,3,4;\n application_name | stat...
[ { "msg_contents": "I happened to notice a stale comment at the very beginning of vacuumlazy.c.\nISTM we forgot to fix that when we introduced FSM. With FSM, vacuum no\nlonger needed to track per-page free space info. I propose attached fix.\n\nThanks,\nPavan\n\n-- \n Pavan Deolasee http://www....
[ { "msg_contents": "When reporting an error from a query, pg_dump truncates the reported\nquery to 128 characters (pg_backup_db.c ExecuteSqlCommand()).\n\nIs this (still) sensible? The kind of queries that pg_dump is running\nnowadays, I find myself unable to debug them if they are truncated at\nthat length.\n\...
[ { "msg_contents": "Show more processes in pg_stat_activity.\n\nPreviously, auxiliary processes and background workers not connected\nto a database (such as the logical replication launcher) weren't\nshown. Include them, so that we can see the associated wait state\ninformation. Add a new column to identify th...
[ { "msg_contents": "Hi All,\n\n\nWe want to extend/widen the column without outage. But as column widening\ntakes ACCESS EXCLUSIVE LOCK, we have seen noticeable pause on\nSELECT/INSERTS. This behavior was more noticeable in tables which has\ncomposite Foreign keys. .We tried doing it like below which resulted in...
[ { "msg_contents": "It wasn't completely clear for me how to use namespaces in xmltable().\nMaybe add this to the documentation. It shows the default namespace\nand quoting the namespace name.\n\nWITH xmldata(data) AS (VALUES ('\n<example xmlns=\"http://example.com/myns\" xmlns:B=\"http://example.com/b\">\n <ite...
[ { "msg_contents": "Dear PG Hacker/Experts,\n\n\nI am newbie to PG Hacking.\nI have been reading the PG code base to find my space in it but without\nsuccess.\n\nThere are hundreds of Hands-on with PG Application development on the web.\nAlas, there is almost none in PG hacking.\n\nI have found PG source Code re...
[ { "msg_contents": "Dear PG Hackers/Experts,\n\nI am newbie to PG Hacking.\nI have been reading the PG code base to find my space in it but without\nsuccess.\n\nThere are hundreds of Hands-on with PG Application development on the web.\nAlas, there is almost none in PG hacking.\n\nI have found PG source Code rea...
[ { "msg_contents": "Clean up Perl code according to perlcritic\n\nFix all perlcritic warnings of severity level 5, except in\nsrc/backend/utils/Gen_dummy_probes.pl, which is automatically generated.\n\nReviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>\nReviewed-by: Daniel Gustafsson <daniel@yesql.se>\n\n...
[ { "msg_contents": "Thanks Michael for your informative reply.\n\nAnd thanks for be being patient with my some typos/duplication in the\nmessage I sent to pg-hackers mailing list.\n\nRegards,\nZeray\n\nThanks Michael for your informative reply.And thanks for be being patient with my some typos/duplication in the...
[ { "msg_contents": "Hi,\n\nLogical replication worker should call pgstat_report_stat()?\nCurrently it doesn't seem to do that and no statistics about\ntable accesses by logical replication workers are collected.\nFor example, this can prevent autovacuum from working on\nthose tables properly.\n\nRegards,\n\n-- \...
[ { "msg_contents": "Improve performance of find_all_inheritors()\n\nPrevious coding uses three nested loops which obviously were a pain for\nlarge number of table's children. Patch replaces inner loop with\na hashmap.\n\nAuthor: Aleksander Alekseev\nReviewed-by: me\n\nhttps://commitfest.postgresql.org/13/1058/\n...
[ { "msg_contents": "Hi hackers,\n\nThis is just a thought for discussion, no patch attached...\n\nDSM operations dsm_create(), dsm_attach(), dsm_unpin_segment() perform\nlinear searches of the dsm_control->item array for either a free slot\nor a slot matching a given handle. Maybe no one thinks this is a\nprobl...
[ { "msg_contents": "Hi,\n\nWe have trying to build PostgreSQL in Windows Environment.\n\nWhen build with options \"--with-perl\" (by setting config.pl file),\nBuilder not found \"perl\\d+.lib\" file in \"C:\\Perl\\lib\\CORE\\\" folder,\nso it ended with the messages bellow.\n\n \"could not identify perl library...
[ { "msg_contents": "Small fry gathered wile reading walsender.c ...\n\n(to be applied to master)\n\n\nThanks,\n\nErik Rijkers\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: RIPEMD160\n\n\nHi PostgreSQL Hackers,\n\n\nI'm developing software using PostgreSQL for several years and want to\npropose a feature to improve security of (badly written?) Web-Apps.\n\nI call it 'Database Security Modules', derived from\nLinux-Securi...
[ { "msg_contents": "Hi\n\nI am sending a patch with changes in XMLTABLE documentation proposed by\nArjen.\n\nRegards\n\nPavel\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "Tu...
[ { "msg_contents": "I'm just reviewing Tomas' code for the dependencies part of the stats\nwhen I saw something that looked a bit unusual.\n\nI tested with:\n\nCREATE TABLE ab1 (a INTEGER, b INTEGER);\nALTER TABLE ab1 ALTER a SET STATISTICS 0;\nINSERT INTO ab1 SELECT a, a%23 FROM generate_series(1, 1000) a;\nCRE...
[ { "msg_contents": "Hi,\n\nAfter runinng sqlsmith against latest sources of PG v10 , able to see a \ncrash -\n\nhere is the standalone testcase -\n\nMake sure 'logging_collector=on' in postgresql.conf file\nConnect to psql terminal ,run this query\npostgres=# select\n 80 as c0,\n pg_catalog....
[ { "msg_contents": "Last night I updated longfin's host to the latest macOS and XCode point\nreleases. That brought with it a new clang version which is slightly\npickier than the old: it's complaining about\n\nlog.c:5047:16: error: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Werror,...
[ { "msg_contents": "Hi All,\n\nI wrote a blog post about the Postgres permissions system, and I thought \nI'd share:\n\nhttp://illuminatedcomputing.com/posts/2017/03/postgres-permissions/\n\nThe main point I wanted to convey, which I somehow never grasped \nconfidently from reading the docs or other articles, is...
[ { "msg_contents": "Hi guys,\n\nMy name is Shubham Barai and I am a final year student at Maharashtra\nInstitute of Technology, Pune, India. I am very interested in contributing\nPostgresql this year through GSoC project.\n\nI am particularly interested in working on the project \"Explicitly support\npredicate l...
[ { "msg_contents": "CheckVarSlotCompatibility contains the comment\n\n\t * Note: we allow a reference to a dropped attribute. slot_getattr will\n\t * force a NULL result in such cases.\n\nWhile still true, that second sentence is now quite irrelevant, because we\ndon't go through slot_getattr anymore. So it se...
[ { "msg_contents": "lazy_vacuum_heap() does not count pages that it skips due to not \nobtaining the buffer cleanup lock. vacuum_pinskipped.patch fixes that. \nThat should be backpatched to 9.5.\n\nvacuum_comment.patch cleans up a comment in lazy_scan_heap().\n-- \nJim C. Nasby, Data Architect ...
[ { "msg_contents": "Hello, it would be too late but I'd like to propose this because\nthis cannot be back-patched.\n\n\nIn autovacuum logs, \"%u skipped frozen\" shows the number of pages\nskipped by ALL_FROZEN only in aggressive vacuum.\n\nSo users cannot tell whether '0 skipped-frozen' means a\nnon-agressive v...
[ { "msg_contents": "Hi all\n\nThere's an outdated reference to GetOldestXmin(true, true) in\nGetSnapshotData. It hasn't had that call signature for a long while\nnow. Update the comment to reflect the current signature.\n\ndiff --git a/src/backend/storage/ipc/procarray.c\nb/src/backend/storage/ipc/procarray.c\ni...
[ { "msg_contents": "The prologue of set_append_rel_size() mentions\n\n * .... Note that in the inheritance case,\n * the first member relation is actually the same table as is mentioned in\n * the parent RTE ... but it has a different RTE and RelOptInfo.\n\nThis isn't true about partitioned tables anymore. We d...
[ { "msg_contents": "Hello,\n\nPlease consider committing the attached patches to remove trailing \nspaces in strings in the source code.\nOne patch is for localizable messages, and the other is just for \nconsistency (less important).\n\n--\nAlexander Lakhin\nPostgres Professional: http://www.postgrespro.com\nTh...
[ { "msg_contents": "We use “unrecognize” rather than “unrecognise” in all other error messages in\nthe tree, the attached patch fixes the one place where the latter spelling was\nused.\n\ncheers ./daniel\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your sub...
[ { "msg_contents": "While reading I noticed that we allow multiple TO <version> in ALTER EXTENSION\nUPDATE, and defer throwing a syntax error until command processing. Is there a\nreason for deferring and not handling it in gram.y directly as in the attached\npatch since it is in fact a syntax error? It yields...
[ { "msg_contents": "Hi,\n\nwe have a good number of '(GISTENTRY *) PG_GETARG_POINTER(n)' in our\ncode - looks a bit better & shorter to have PG_GETARG_GISTENTRY(n).\n\nArugments against?\n\nGreetings,\n\nAndres Freund\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes t...
[ { "msg_contents": "I noticed this failure report:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dangomushi&dt=2017-03-29%2019%3A45%3A27\n\nin which we find\n\n*** /home/buildfarm/data/buildroot/HEAD/pgsql.build/src/test/regress/expected/updatable_views.out\tThu Mar 30 04:45:43 2017\n--- /home/buildfa...
[ { "msg_contents": "Hi All,\n\nWhen running make installcheck on a master with wal consistency check\nenabled, inconsistent page is detected on standby. I could see the\nfollowing FATAL message in the standby server logfile,\n\n2017-03-30 07:31:10.101 BST [27994] LOG: entering standby mode\n2017-03-30 07:31:10....
[ { "msg_contents": "There seems to be a typo in libpq as per attached, “..we will loose error\nmessages” should probably be “..we will lose error messages”.\n\ncheers ./daniel\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postg...
[ { "msg_contents": "Support \\if ... \\elif ... \\else ... \\endif in psql scripting.\n\nThis patch adds nestable conditional blocks to psql. The control\nstructure feature per se is complete, but the boolean expressions\nunderstood by \\if and \\elif are pretty primitive; basically, after\nvariable substitutio...
[ { "msg_contents": "Awhile back in the discussion about the \\if feature for psql,\nI'd pointed out that you shouldn't really need very much in\nthe way of boolean-expression evaluation smarts, because you\nought to be able to use a backtick shell escape:\n\n\t\\if `expr :foo \\> :bar`\n\t\t\\echo :foo is greate...
[ { "msg_contents": "Default monitoring roles\n\nThree nologin roles with non-overlapping privs are created by default\n* pg_read_all_settings - read all GUCs.\n* pg_read_all_stats - pg_stat_*, pg_database_size(), pg_tablespace_size()\n* pg_stat_scan_tables - may lock/scan tables\n\nTop level role - pg_monitor in...
[ { "msg_contents": "Hi,\n\nWhile doing some benchmarking, I've ran into a fairly strange issue with \nOOM breaking LaunchParallelWorkers() after the restart. What I see \nhappening is this:\n\n1) a query is executed, and at the end of LaunchParallelWorkers we get\n\n nworkers=8 nworkers_launched=8\n\n2) the ...
[ { "msg_contents": "Hi,\n\nWe had a brief stand-up meeting today at PGCONF.US to discuss the\nproposal to delay the end of the CommitFest and feature freeze. Those\npresent include 9 members of the pgsql-release team (including Peter\nEisentraut and myself as members of the RMT) and David Steele as the\ncurrent...
[ { "msg_contents": "Hi,\n\nOne of the things we'll need to do to get 10beta1 out the door is have\na set of release notes. I spoke with Bruce Momjian today at PGCONF.US\nand he told me that he has set aside time during April to write them\nand will begin working on it once we reach feature freeze. I think\nthi...
[ { "msg_contents": "create table t (a int, b int);\ninsert into t1 select x/100,x/100 from generate_series(1,100000) x;\ncreate extension if not exists postgres_fdw;\ncreate server test_server foreign data wrapper postgres_fdw options (host\n'localhost', port '5432', dbname 'postgres');\ncreate foreign table ft...
[ { "msg_contents": "Hi,\n\nLast message regarding this was by Robert on the original partitioning thread:\n\nhttps://www.postgresql.org/message-id/CA%2BTgmoZjGzSM5WwnyapFaw3GxnDLWh7pm8Xiz8_QWQnUQy%3DSCA%40mail.gmail.com\n\nSummary is: We decided in f1b4c771ea7 [1] that passing the original slot\n(one containing ...
[ { "msg_contents": "Hello,\n\nI found a trivial bug that terminates the connection. The attached patch fixes this.\n\n\nPROBLEM\n========================================\n\nSavepoint-related statements in a multi-command query terminates the connection unexpectedly, as follows.\n\n$ psql -d postgres -c \"SELECT...
[ { "msg_contents": "Hi hackers,\n\nIt is possible to execute query concurrently using SPI?\nIf so, how it can be enforced?\nI tried to open cursor with CURSOR_OPT_PARALLEL_OK flag but it doesn't \nhelp: query is executed by single backend while the same query been \nlaunched at top level uses parallel plan:\n\n ...
[ { "msg_contents": "We don't enforce the constraints defined on foreign tables in ExecInsert()\nand ExecUpdate(). (COPY FROM does not support foreign tables at all.)\nSince partition constraints are enforced using ExecConstraints() which is\nnot called for foreign tables, they will not be checked if one inserts...
[ { "msg_contents": "Hi,\n\nTurned out that there is an unused argument `isroot` in\n`btree_xlog_split` procedure. Suggested patch fixes it.\n\nThis issue was discovered by Anastasia Lubennikova, coding is done by me.\n\n-- \nBest regards,\nAleksander Alekseev", "msg_date": "Fri, 31 Mar 2017 17:10:56 +0300", ...
[ { "msg_contents": "I've gotten pg_partman working with native partitioning already so I can\nhopefully have things ready to work when 10 is released. I've got a branch\non github with this version for anyone to test and I'll hopefully have this\nreleased in the next few weeks after I finish some more testing my...
[ { "msg_contents": "Hi,\n\nThe covering indexes patch [1] really needs a version of\nheap_form_tuple/index_form_tuple that allows to specify the number of\ncolumns in the to-be generated tuple. Previously the faster expression\nevaluation stuff could also have benefited form the same for both\nforming and defor...
[ { "msg_contents": "Hi all,\n\nAfter launched the sync table worker it enters ApplyWorkerMain\nfunction. And then the table sync worker calls\nLogicalRepSyncTableStart to synchronize the target table. In\nLogicalRepSyncTableStart, finish_sync_worker is always called and then\nthe table sync worker process always...
[ { "msg_contents": "Hello,\n\nWhile reviewing Corey's \\if patch, I complained that there was some amount \nof copy-paste in \"psql/command.c\".\n\nHere is an attempt at merging some functions which removes 160 lines of \ncode.\n\n-- \nFabien.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgres...
[ { "msg_contents": "Starting a new thread about this to get more visibility.\n\nDespite the extensive work that has been done on hash indexes this\nrelease, we have thus far not made any change to the on-disk format\nthat is not nominally backward-compatible. Commit\n293e24e507838733aba4748b514536af2d39d7f2 did...
[ { "msg_contents": "Forwarding message from pgsql-bugs for review\n\n\nAttached a patch which copies the logic from commit\n93a6be63a55a8cd0d73b3fa81eb6a46013a3a974.\n\nIn the current implementation we only consider privileges of the foreign\nserver\nin determining whether or not to show the user mapping details...
[ { "msg_contents": "Hi,\n\nThe parallel code-path isn't actually exercised in the tests added in\n[1], as evidenced by [2] (they just explain). That imo needs to be\nfixed.\n\nGreetings,\n\nAndres Freund\n\n[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=f35742ccb7aa53ee3ed8416bbb378b0c3eeb6b...
[ { "msg_contents": "Hi,\n\nAs visible in [1], the explain analyze codepaths of parallel query isn't\nexercised in the tests. That used to be not entirely trivial if the\noutput was to be displayed (due to timing), but we should be able to do\nthat now that we have the SUMMARY option.\n\nE.g.\nSET max_parallel_w...
[ { "msg_contents": "As we've been merging our code with 9.6, a couple developers have had\none-off failures in the join.sql and aggregates.sql test because the tables\nT1, T2 and T3 have the wrong definitions.\n\nDigging into it, I found that both files create the tables T1, T2, and T3\nfor a short period of tim...
[ { "msg_contents": "Avoid GatherMerge crash when there are no workers.\n\nIt's unnecessary to return an actual slot when we have no tuple.\nWe can just return NULL, which avoids the risk of indexing into an\narray that might not contain any elements.\n\nRushabh Lathia, per a report from Tomas Vondra\n\nDiscussio...
[ { "msg_contents": "Hi guys,\n\nMy name is Anant Khandelwal currently i am pursuing masters from IIT -\nDelhi and previously i am a software engineer.\n\nI am particularly interested in working on the project \"Explicitly support\npredicate locks in index access methods besides b tree\".I have gone through\n\nht...
[ { "msg_contents": "Andres,\n\nThank you for your great work on the expression evaluator:\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b8d7f053c5c2bf2a7e8734fe3327f6a8bc711755\n\nI was looking at the dispatch code, and it goes to significant effort\n(using computed goto) to generate many i...
[ { "msg_contents": "Hi all,\n\nThe GiST index has a picksplit support procedure (in gistproc.c) with a constant set up using #define - LIMIT_RATIO, set to 0.3. The PostGIS extension which shares similar code for GiST has this set to 0.1 (gserialized_gist_picksplit_2d.c). Compiling new builds, I could see a diffe...
[ { "msg_contents": "Hi,\n\nI've noticed two issues with the query buffer post-commit e984ef5\n(Support \\if ... \\elif ... \\else ... \\endif in psql scripting):\n\n1. \\p ignores the \"previous buffer\". Example:\n\npostgres=# select 1;\n ?column? \n----------\n\t1\n(1 row)\n\npostgres=# \\p\nQuery buffer is em...
[ { "msg_contents": "Hi hackers and personally Robet (you are the best expert in both areas).\nI want to ask one more question concerning parallel execution and FDW.\nBelow are two plans for the same query (TPC-H Q5): one for normal tables, another for FDW to vertical representation of the same data.\nFDW support...
[ { "msg_contents": "Hi guys,\n\nI'm confused about the this function, CheckForSerializableConflictOut(...).\nCan anyone help me out?\n\nIt seems like this function is used to check the rw-antidependencies out\nedge. This should be done when reading a written tuple. But btree does not\ncall this function at all. ...
[ { "msg_contents": "Hi,\n\nAttached fixes a comment typo in logical/worker.c file.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\...
[ { "msg_contents": "Hi,\nRecently my doc build has started failing with errors\n\nruntime error: file stylesheet.xsl line 57 element call-template\nThe called template 'id.attribute' was not found.\nruntime error: file stylesheet.xsl line 57 element call-template\nThe called template 'id.attribute' was not found...
[ { "msg_contents": "Hi,\n\nI noticed that a deadlock can occur due to the way locking when dropping a\npartition proceeds. Steps to reproduce:\n\n1. Attach debugger to two sessions, one of which will do a select on the\npartitioned parent and the other will drop one of its partitions.\n\n2. In the first debuggi...
[ { "msg_contents": "Testing DefElem options is done with both strcmp() and pg_strcasecmp() a bit\nmixed. Since the option defnames are all lowercased, either via IDENT, keyword\nrules or “by hand” with makeString(), using strcmp() is safe (and assumed to be\nso in quite a lot of places).\n\nWhile it’s not incor...
[ { "msg_contents": "Hi all,\n\nThe $subject has been mentioned a couple of times already, the last\none being here:\nhttps://www.postgresql.org/message-id/20170401072814.GA2528448@tornado.leadboat.com\n\nThe code tree has to maintain now two set of scripts for the same\ntest: test.sh for all *nix platforms, and ...
[ { "msg_contents": "Right now, the information on wait events is organized into one giant\ntable inside https://www.postgresql.org/docs/devel/static/monitoring-stats.html#monitoring-stats-views\n-- the wait event type is inserted into the lefthand column of the\ntable using moreRows=\"...\", which is awkward to ...
[ { "msg_contents": "Dear PostgreSQL Developer Community,\n\nKindly find my proposal attached to this email.\n\nBest Regards, Mark Moheb\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "ms...
[ { "msg_contents": "make maintainer-clean > /dev/null ; ./configure --enable-profiling >\n/dev/null && make -j8 >/dev/null\n\nIn file included from ipc.c:29:\n../../../../src/include/postmaster/autovacuum.h:73: error: expected\ndeclaration specifiers or '...' before 'BlockNumber'\nmake[4]: *** [ipc.o] Error 1\...
[ { "msg_contents": "It seems pg_stat_progress_vacuum is not supposed to appear in the table\ntitled \"Collected Statistics Views\". It was added by c16dc1aca. Attached\npatch fixes that.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your sub...