threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nattached is v1 of one of the hashjoin improvements mentioned in \nSeptember in the lengthy thread [1].\n\nThe main objection against simply removing the MaxAllocSize check (and \nswitching to MemoryContextAllocHuge) is that if the number of rows is \noverestimated, we may consume signi...
[ { "msg_contents": "Hi all\n\nDoes anyone know why Form_pg_sequence has a field sequence_name that\nduplicates the sequence's name from pg_class ?\n\nIt's assigned when the sequence is created by copying it from pg_class. It\nisn't subsequently referenced anywhere as far as I can see. It isn't\nupdated by ALTER ...
[ { "msg_contents": "Hi All,\n\nIn dumpAttrDef() function we are skipping dump if table definition is not dumped(i.e. by checking \ntbinfo->dobj.dump), its absolutely alright to do this.\n\nBut, in dumpConstraint() we doing same by checking constraint dump flag(coninfo->dobj.dump) instead of table dump flag(tbinf...
[ { "msg_contents": "Hi,\n\nHere is a patch which makes it possible to cancel a query which runs the \ncrypt() function with the bf or xdes hashing algorithm, e.g. \ncrypt('foo', gen_salt('bf', 13)). The md5 algorithm does not run for \nmultiple rounds so there is no reason to patch it.\n\nI noticed this problem ...
[ { "msg_contents": "I run \"pg_upgrade -xx\" fromPostgreSQL8.3 to PostgreSQL9.4.5 on window server 2008. It will show some wrong information:\n\ncannot write to log file pg_upgrade_internal.log\nFailure, exiting.\n\nIt seems that the upgrade can be successful on window 7. It seems to be a permissions problem. I...
[ { "msg_contents": "A lot got done over the last couple of days to close out open issues for\n9.5, and we're now at a point where we could realistically produce an RC\npackage. However, we're also staring the holiday season in the face.\nIf we were to do a wrap per normal schedule next week, we'd be announcing\...
[ { "msg_contents": "Hi,\n\nwhile working on the Hash Join improvements, I've been repeatedly \nrunning into the idea of bloom filter - various papers on hash joins \nmention bloom filters as a way to optimize access to the hash table by \ndoing fewer lookups, etc.\n\nSadly, I've been unable to actually see any r...
[ { "msg_contents": "VACUUM VERBOSE spits out two different messages for the heap, one of \nwhich is rather confusing:\n\nINFO: \"trades\": removed 625664 row versions in 20967 pages\n...\nINFO: \"trades\": found 3282 removable, 56891627 nonremovable row \nversions in 1986034 out of 1986034 pages\n\nAfter discu...
[ { "msg_contents": "Hi All,\n\nTupleQueueReaderNext() always pass true for the nowait into\nshm_mq_receive() call. I think here it need to pass the nowait\nwhich is passed by the caller of TupleQueueReaderNext.\n\nThis is usefull if the caller want TupleQueueReaderNext() to wait\nuntil it gets the tuple from the...
[ { "msg_contents": "Hello, I think I found a typo in a comment of syncrep.c.\n\n> * acknowledge the commit nor raise ERROR or FATAL. The latter would\n> - * lead the client to believe that that the transaction aborted, which\n> * is not true: it's already committed locally. The former is no good\n\nThe 'tha...
[ { "msg_contents": "Hi,\n\nWe have recently performed an experimental evaluation of PostgreSQL's\nquery optimizer. For example, we measured the contributions of\ncardinality estimation and the cost model on the overall query\nperformance. You can download the resulting paper here:\nhttp://www.vldb.org/pvldb/vol9...
[ { "msg_contents": "Hi,\n\nThis is my first post to -hackers.\n\nI found typos in privileges.sql and privileges.out\nPlease find attached a patch.\n\nBest regards,\nTatsuro Yamada\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.p...
[ { "msg_contents": "I'm playing around with tablespace (postgresq 9.4) and I found out what I\nbelieve is a bug in pg_tables.\nBasically if you create a database in a table space X and then you create a\ntable on the database the table is created correctly on the tablespace X (\nI did a check on the filesystem) ...
[ { "msg_contents": "Hi there,\n\nIn function ProcSleep, after the process has been waken up, either with\nlock granted or deadlock detected, it would re-acquire the lock table's\npartition LWLock.\n\nThe code episode is here:\n\n/*\n * Re-acquire the lock table's partition lock. We have to do this to hold\n...
[ { "msg_contents": "On May 20, 2015 at 8:57 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>\n\nwrote:\n\n> +1 to proceed with this patch for 9.6, as I think this patch improves the\n\n> situation with compare to current.\n\n\n> Also I have seen crash once in below test scenario:\n\n> Crashed in test with sc...
[ { "msg_contents": "Hello hackers.\nI've stumbled upon a strange code.\nIn src/bin/pg_rewind/datapagemap.h we decalre:\nextern void datapagemap_destroy(datapagemap_t *map);\nBut nowhere is implemented. I think the declaration of this function must be \nremoved.\nI'm not sure that this trivial things needed patc...
[ { "msg_contents": "Hi\n\nwhen I read a blog\nhttp://www.depesz.com/2015/12/14/waiting-for-9-6-psql-support-multiple-c-and-f-options-and-allow-mixing-them/\nwhere is emulated dry-run mode, I though so we can implement it very\nsimply.\n\nNotices, comments?\n\nRegards\n\nPavel\n\nHiwhen I read a blog http://www.d...
[ { "msg_contents": "Hi\n\nit looks like backslash is ignored, and then autocomplete for backslash\ncommands is off.\n\nRegards\n\nPavel\n\nHiit looks like backslash is ignored, and then autocomplete for backslash commands is off.RegardsPavel", "msg_date": "Thu, 17 Dec 2015 21:47:55 +0100", "msg_from": "P...
[ { "msg_contents": "Trivial fix for a copy-and-paste error in a logical decoding error callback.\n\n-- \n Craig Ringer http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make ch...
[ { "msg_contents": "In prepare_new_cluster(), following looks like a typo:\n\n- * would cause us to lose the frozenids restored by the load. We use\n+ * would cause us to lose the frozenxids restored by the load. We use\n\nAttached find the patch.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers maili...
[ { "msg_contents": "I think the following may be a typo:\n\n * Caller is responsible for ensuring that no other backend can access the\n * storage underlying this tuple, either by holding an exclusive lock on the\n- * buffer containing it (which is what lazy VACUUM does), or by having it by\n+ * buffer contain...
[ { "msg_contents": "Hi All,\nCosts for foreign queries are either obtained from the foreign server using\nEXPLAIN (if use_remote_estimate is ON) otherwise they are cooked up locally\nbased on the statistics available. For joins as well, we have to do the\nsame. If use_remote_estimates [1] is ON, we can get the c...
[ { "msg_contents": "Just so everyone's on the same page: the release team is currently\nassuming that we'll release 9.5.0 the first week of January (ie\nwrap on Monday 4 Jan for public announcement Thursday 7 Jan).\nAnd we're thinking that we'll do a round of back-branch updates,\nincluding 9.5.1, the second wee...
[ { "msg_contents": "Hello.\n\nPostgreSQL has a contrib module named pg_trgm. It is used to the fuzzy \ntext search. It provides some functions and operators for determining \nthe similarity of the given texts using trigram matching.\n\nAt the moment, in pg_trgm both the similarity function and the % \noperator m...
[ { "msg_contents": "I do see two assertions in spgtextproc.c fail on occasion when testing\nwith sqlsmith:\n\nTRAP: FailedAssertion([...], File: \"spgtextproc.c\", Line: 424)\nTRAP: FailedAssertion([...], File: \"spgtextproc.c\", Line: 564)\n\nI can't reproduce it reliably but looking at the coredumps, the faili...
[ { "msg_contents": "Many of you might know of GCC's __builtin_expect() and that it allows us to\ntell the compiler which code branches are more likely to occur. The\ndocumentation on this does warn that normally it's a bad idea to use this\n\"as programmers are notoriously bad at predicting how their programs\na...
[ { "msg_contents": "Hackers,\n\nThere are feature which may be useful in conjunction with connection pools.\nIt is the ability to change the session user without creating the new\nconnection, like this:\n(pseudo REPL):\nnotsuperuser > SELECT current_user, session_user;\nnotsuperuser notsuperuser\nnotsuperuser > ...
[ { "msg_contents": "Hi,\n\n Is it possible to use threads in Postgresql ?? I am using threads in my\nforeign data wrapper and i get the following error when i use the threads .\n\n*ERROR: stack depth limit exceeded*\n*HINT: Increase the configuration parameter \"max_stack_depth\" (currently\n2048kB), after e...
[ { "msg_contents": "During VACUUM of btrees, we need to pin all pages, even those where tuples\nare not removed, which I am calling here the \"pin scan\". This is especially\na problem during redo, where removing one tuple from a 100GB btree can take\na minute or more. That causes replication lags. Bad Thing.\n\...
[ { "msg_contents": "I'm looking for best-practice advice.\n\nPL/Java is an extension that manages some objects (jar files, which\nusers can tell PL/Java to load, drop, or replace). The objects have\nowners (have had since PL/Java 1.1.0 anyway).\n\nWhen the owner tracking was added for 1.1.0 it recorded the owner...
[ { "msg_contents": "There's been some effort to replace uses of strncpy() and our homegrown\nStrNCpy() macro with strlcpy(). I had my nose rubbed today in the fact\nthat that isn't always a good transformation. The reason why not is that\nstrlcpy() is defined to return strlen(src), which means that even after\...
[ { "msg_contents": "Hi all,\n\nAs of today, at the moment I am writing this message, here is the\ncommit fest app status:\nNeeds review: 20.\nWaiting on Author: 24.\nReady for Committer: 4.\nCommitted: 29.\nMoved to next CF: 11.\nRejected: 8.\nReturned with Feedback: 7.\nTotal: 103.\n\nThis means in short that 4...
[ { "msg_contents": "I'm going to run some upgrade tasks on git.postgresql.org over the next\nhour or two. Thus it's likely to drop off the net a few times and come\nback, and things might work on and off.\n\nAnything pushed should be safe there normally, but it might be inaccessible\nfor some periods of time, gi...
[ { "msg_contents": "Hi all\n\nBack in 2010 I submitted a small feature to allow the creation of minidumps\nwhen backends crashed; see commit dcb09b595f88a3bca6097a6acc17bf2ec935d55f .\n\nAt the time Windows lacked useful support for postmortem debugging and\ncrash-dump management in the operating system its self...
[ { "msg_contents": "I'm reviewing Yury Zhuravlev's patch to allow array slice boundaries to be\nomitted, for example \"a[4:]\" means \"the slice extending from element 4 to\nthe last element of a\". It strikes me that there's an improvement we\ncould easily make for the case where a mixture of slice and non-sli...
[ { "msg_contents": "While playing with 9.5's pgbench, I faced with a strange behavior.\n\n$ pgbench -p 11002 --rate 2 --latency-limit 1 -c 10 -T 10 test\nstarting vacuum...end.\ntransaction type: TPC-B (sort of)\nscaling factor: 1\nquery mode: simple\nnumber of clients: 10\nnumber of threads: 1\nduration: 10 s\n...
[ { "msg_contents": "I was in process of testing the proposed patch for bug #13727,\nand I found that at least on my Linux box, this is the behavior\nin the failure case without the patch:\n\n$ pg_dump \"postgres://postgres:phonypassword@localhost/regression\" --jobs=9 -Fd -f testdump\n$ echo $?\n141\n$ ls testdu...
[ { "msg_contents": "There should be a way to do separate read/write security barriers for\nupdatable views. I'll start by addressing the problem, state some potential\nsolutions with the current software, and finally end with 2 proposals to\nsolve the problem in the best way possible.\n\n## Problem\nI want the u...
[ { "msg_contents": "Hi all,\n\nI just bumped into the following typo that has been introduced by e50cda7:\n--- a/doc/src/sgml/ref/pg_rewind.sgml\n+++ b/doc/src/sgml/ref/pg_rewind.sgml\n@@ -71,7 +71,7 @@ PostgreSQL documentation\n missing files from a WAL archive automatically is currently not supported.\n ...
[ { "msg_contents": "Attached fixes the following comment typo (copy-pasto):\n\n- Oid toast_oid; /* for restore toast frozen xid */\n+ Oid toast_oid; /* for restore toast table oid */\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nT...
[ { "msg_contents": "Hi,\n\nI think that we can improve the gin index scan performance for similarity\nsearch defined in the pg_trgm extension. The similarity function is (for\nthe default case where DIVUNION is defined in the code):\n\n count / (len1 + len2 - count) >= trgm_limit\n\nwhere\n len1 is the n...
[ { "msg_contents": "\nI probably just need to learn the right coding pattern for this.\nWhat is it?\n\nWhat I want this code to do:\n\na) If there is a table 'mytable', set theSavedStuff to a pstrdup'd in\n TopMemoryContext copy of column s from one row if present.\n\nb) In case of an error because there is no...
[ { "msg_contents": "Hi all,\n\nALTER ROLE SET/RESET can set/reset only one GUC parameter per one SQL today.\nSo when we need to set/reset multiple GUC parameter to user, it would\nbe burdensome work.\n\nI'd like propose feature makes ALTER ROLE SET/RESET can set/reset\nmultiple options like ALTER TABLE.\nALTER U...
[ { "msg_contents": "I wonder if the following error detail text could say more than it does\ncurrently for the following rather artificial example case:\n\nCREATE TABLE p1(a char(3));\nCREATE TABLE p2(a char(2));\n\nCREATE TABLE c(d int) INHERITS (p1, p2);\nNOTICE: merging multiple inherited definitions of colu...
[ { "msg_contents": "Hello hackers!\n\nI suddenly found commit ac1d794 gives up to 3 times performance degradation.\n\nI tried to run pgbench -s 1000 -j 48 -c 48 -S -M prepared on 70 CPU-core\nmachine:\ncommit ac1d794 gives me 363,474 tps\nand previous commit a05dc4d gives me 956,146\nand master( 3d0c50f ) with r...
[ { "msg_contents": "brin_summarize_new_values() does not check that it is called on the\ncorrect type of index, nor does it check permissions.\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\n", ...
[ { "msg_contents": "I'd like to present OR-clause support for indexes. Although OR-clauses could be \nsupported by bitmapOR index scan it isn't very effective and such scan lost any \norder existing in index. We (with Alexander Korotkov) presented results on \nVienna's conference this year. In short, it provides...
[ { "msg_contents": "In looking at the exposing pg_controldata as function patch again, it\nstruck me that the following output seems wrong:\n\n--------------\nLatest checkpoint's oldestCommitTs: 20257\nLatest checkpoint's newestCommitTs: 84159\n--------------\n\nThose numbers are XIDs, not timestamps. Should...
[ { "msg_contents": "If a partially-active table develops a slug of stable all-visible,\nnon-empty pages at the end of it, then every autovacuum of that table\nwill skip the end pages on the forward scan, think they might be\ntruncatable, and take the access exclusive lock to do the truncation.\nAnd then immediat...
[ { "msg_contents": "Attached is a patch that makes a few additional changes to the INSERT\ndocumentation. These changes are mostly around formatting. I also\npoint out that unique index inference is mandatory when using unique\nindexes and specifying a conflict target (because unique indexes are\nnot formally co...
[ { "msg_contents": "Hello,\n\nat PostgreSQL version 9.5rc1,\nat line 934 in pg_recvlogical.c \n\n set_pglocale_pgservice(argv[0],PG_TEXTDOMAIN(\"pg_recvlogical\"));\n\nthis references invalid catalog file, because pg_basebackup,\npg_recvlogical, pg_receivexlog commands use same catalog file\npg_basebackup...
[ { "msg_contents": "I noticed this while reading nodeGather.c. I checked to find other\nmisspellings of the word and found one more, so the attached fixes both.\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n-- \nSent via pgsql...
[ { "msg_contents": "Hi,\n\nMy compiler is complaining about cube_coord() and cube_coord_llur() not\nreturning a value on all code paths. On looking at this I noticed that\nthis is happening due the pattern used is not quite aligned with other\ncode, as normally we do:\n\nif (<error condition>)\n ereport(<some...
[ { "msg_contents": "Hi all,\n\nSince commit d5563d7d, -c does not imply any more --no-psqlrc hence\nthe tests of pg_upgrade may run with a custom psqlrc file loaded. I\nthink that we had better add -X to avoid that, like in the patch\nattached.\nThoughts?\n-- \nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing ...
[ { "msg_contents": "Document brin_summarize_new_pages\n\nPointer out by Jeff Janes\n\nBranch\n------\nREL9_5_STABLE\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/5bf939411ce7a4ae87cee65daca2e4add44b2b46\n\nModified Files\n--------------\ndoc/src/sgml/brin.sgml | 20 ++++++++++++++++++++\ndoc/src/...
[ { "msg_contents": "After setting up 9.5beta2 on the Npgsql build server and running the Npgsql\ntest suite against I've noticed some weird behavior.\n\nThe tests run for a couple minutes, open and close some connection. With my\npre-9.5 backends, the moment the test runner exits I can see that all\nbackend proc...
[ { "msg_contents": "Hi there,\n\nThe following wiki page:\nhttps://wiki.postgresql.org/wiki/HowToBetaTest#How_to_Test\nsuggests that I should send the following report to this mailing list.\n\nName: Boriss Mejías (Tchorix)\n\nRelease: Postgresql 9.5 RC1\n\nTest Type: Compatibility with Alfresco Community Edition...
[ { "msg_contents": "I wonder why \"Latest checkpoint's NextXID\" is formated like this:\n\n8<-------------------------\n\tprintf(_(\"Latest checkpoint's NextXID: %u/%u\\n\"),\n\t\t ControlFile.checkPointCopy.nextXidEpoch,\n\t\t ControlFile.checkPointCopy.nextXid);\n8<-------------------------\n\nSho...
[ { "msg_contents": "Hi,\n\n\nUninitialized variable 'dtype' warning in date_in() is fix[1] on branch 9.3 & above, but not for 9.2 & older branches. I guess this should be back-patch. \n[1] commit link=> http://git.postgresql.org/pg/commitdiff/5c45d2f87835ccd3ffac338845ec79cab1b31a11\n\n\nRegards,\nAmul Sul\n\n\n...
[ { "msg_contents": "We often tell people to look in the postmaster log for more information\nabout authentication problems; but an off-list question prompted me to\nnotice that many of the common authentication failure cases don't actually\nget any useful commentary in the log. The attached proposed patch\nreme...
[ { "msg_contents": "Hi,\n\nHere is a patch which adds tab completion for COPY with a query. \nCurrently there is only completion for COPY with a relation.\n\nAndreas\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/ma...
[ { "msg_contents": "Hi,\n\nOn [1] I suggested an idea to make improvements to the planner around the\nEquivalence Class code. Later in [2] Tom raised concerns with this adding\ntoo many planning cycles for a perhaps not common enough situation. I\ndon't want to discuss that particular patch here, I want to disc...
[ { "msg_contents": "Hi,\n\nHere is a patch which adds the below missing tab completions for the FDW \nDDL commands. I noticed these were missing while playing around with \nFDWs a while ago.\n\n\"ALTER SERVER <name>\" with \"RENAME TO\"\n\"CREATE SERVER <name> FOREIGN DATA WRAPPER\" with fdw name\n\"CREATE|ALTER...
[ { "msg_contents": "Hi,\n\nWhile experimenting with BRIN on PostgreSQL 9.5RC1 I came across the following plan (which is, btw a very good example of how BRIN rocks for the clustered data, the size of this table is around 90GB, the size of the index is around 3MB):\n\nexplain (analyze, buffers, verbose) select 1 ...
[ { "msg_contents": "The RLS patch added this to struct Query:\n\n List *withCheckOptions; /* a list of WithCheckOption's, which\n * are only added during rewrite and\n * therefore are not written out as\n ...
[ { "msg_contents": "Today I was reminded of an issue I have run across before, namely that\nin a given postgres session, once a custom parameter has been set, there\nis no way to remove it entirely. For example:\n\n8<-------------------\n# psql regression\npsql (9.5rc1)\nType \"help\" for help.\n\nregression=# S...
[ { "msg_contents": "I looked into the problem reported in\nhttp://www.postgresql.org/message-id/flat/56830EA5.7080907@squeakycode.net\nwhich briefly is that gincostestimate can produce ridicuously large index\nscan cost estimates for partial-match queries.\n\nIt appears that there are two basic problems contribu...
[ { "msg_contents": "Hello,\n\nAs discussed, I will be managing the commitfest process this time\naround. Please, everyone, make sure patches are registered in the app\ntoday. As of this instant, we have:\n\n Needs review: 73.\n Waiting on Author: 5.\n Ready for Committer: 6.\n Committed: 5.\nTotal: 89. \n\nTha...
[ { "msg_contents": "The attached patch implements audit logging for PostgreSQL as an\nextension. I believe I have addressed the concerns that were raised at\nthe end of the 9.5 development cycle.\n\nThere are some caveats:\n\n1) This patch depends on the ereport-v1 patch that has also been\nsubmitted to the 201...
[ { "msg_contents": "I noticed $subject while chasing a different issue.\n\nThe way to fix this is to export pg_operator.c's makeOperatorDependencies\nfunction so that AlterOperator can call it. But since that declaration\nuses HeapTuple, I doubt we want to put it into pg_operator.h (which'd\nrequire further gro...
[ { "msg_contents": "I did a bit of initial poking at the problem complained of in bug #13840,\nnamely that if you use \"none\" as the value of a reloption, you get a\nsyntax error when trying to reload a dump containing the table or index\ndeclaration. The submitter blames this on pg_dump but it is surely not\n...
[ { "msg_contents": "I've implemented IMPORT FOREIGN SCHEMA support for an fdw called ogr_fdw\nagainst the PostgreSQL 9.5RC1 code base.\n\nCode is here: https://github.com/robe2/pgsql-ogr-fdw\n\nIt works great except in the Case of LIMIT TO clause (and possible EXCEPT\nthough I have to retest EXCEPT to see if ...
[ { "msg_contents": "Hi,\n\nwhile working on the bloom filters for hashjoins, I've started using the \nHLL library committed as part of the sorting improvements for 9.5. I \npropose adding two more functions to the API, which I think are quite \nuseful:\n\n1) initHyperLogLogError(hyperLogLogState *cState, double ...
[ { "msg_contents": "Hi,\n\nI'd like to submit the replication solution which is based on the \npglogical_output [1] module (which is obviously needed for this to compile).\n\nThe pglogical contrib module provides extension which does the \nmaster-slave logical replication based on the logical decoding.\n\nThe ba...
[ { "msg_contents": "Hi,\n\nI noticed that the filter callback is documented as \nLogicalDecodeChangeCB in the logical decoding docs. Here is one-line \npatch to fix it.\n\n-- \n Petr Jelinek http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSen...
[ { "msg_contents": "Hello,\n\nI would like to introduce concept of generic WAL logical messages.\n\nThese messages just create WAL record with arbitrary data as specified \nby user. For standard WAL reply, these are basically noop, but in \nlogical decoding they are be decoded and the special callback of the \no...
[ { "msg_contents": "Hi all,\n\nHappy new year to all and best wishes!\n\nI guess that the following command followed by a commit is the common\nhappy-new-year thing to do:\nperl src/tools/copyright.pl\nThis would update the copyright headers to 2016 :)\n\nRegards,\n-- \nMichael\n\n\n-- \nSent via pgsql-hackers m...
[ { "msg_contents": "Recently,\n\nI noticed, that psql's \\e command doesn't worked for me complaining 'error\nopening file'. I did research and found that following setting in joe's (if\nI choose editor as joe) configuraton causes the problem:\n-exask ^KX always confirms file name\n\n\nThat worked for de...
[ { "msg_contents": "Failover Slots\n\nIf Logical Decoding is taking place from a master, then if we failover and\ncreate a new master we would like to continue the Logical Decoding from the\nnew master. To facilitate this, we introduce the concept of “Failover\nSlots”, which are slots that generate WAL, so that ...
[ { "msg_contents": "Hi all,\n\nWhile doing a git grep on recovery_min_apply_delay I noticed the following:\n$ git grep recovery_min_apply -- *release*.sgml\nsrc/sgml/release-9.0.sgml: that <varname>recovery_min_apply_delay</>\nfailed to delay application\nsrc/sgml/release-9.1.sgml: that <varname>recove...
[ { "msg_contents": "The current error message for an invalid format conversion type is \nextremely confusing except in the simplest of uses:\n\nselect format( '% moo');\nERROR: unrecognized conversion type specifier \" \"\n\nObviously in that example you can figure out what's going on, but \nfrequently format()...
[ { "msg_contents": "Hi,\n\nI noticed (trying to parse out the \"Latest patch\" urls) that\nin the html of the commitfest pages, for instance in:\n\n https://commitfest.postgresql.org/8/\n\nall rows of the html-table (I think it is the \"Committer\"-column) \ncontain an erroneous '</p>'. It should be '</td>'.\...
[ { "msg_contents": "Hi,\n\npsql's \"\\x auto\" is a nice feature, but it is made much less useful in \nmy opinion due to the expanded output format making query plans \nunreadable (and query plans often end up using expanded display due to \ntheir width). I think we should never use the expanded format for \nEXP...
[ { "msg_contents": "The usefulness of ->> operator is indisputable, but even with boolean or\nnumeric values, with good binary internal representation, it returns JSONB\nvalue as text data type.\n\nThe simple *(myJSONB->>'myField')::expectedType* is not enough because:\n\n1) there are no internal optimization,...
[ { "msg_contents": "In case you've overlooked it, you have about two weeks to submit your proposal.\n\nPGCon 2016 will be on 17-21 May 2016 at University of Ottawa.\n\n* 17-18 (Tue-Wed) tutorials\n* 19 & 20 (Thu-Fri) talks - the main part of the conference\n* 17 & 21 (Wed & Sat) The Developer Unconference & the ...
[ { "msg_contents": "The rule that gets executed if you do `make installcheck` with something \nusing PGXS is\n\npgxs.mk:\t$(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS)\n\nwhere $(pg_regress_installcheck) is set in Makefile.global.in to\n\n> pg_regress_installcheck = $(top_builddir)/src/test/regress/pg_re...
[ { "msg_contents": "CREATE POLICY takes AccessExclusiveLock on the table a policy is being\nadded to -- good -- and then releases it when done -- bad. Correct\nbehavior is to hold the lock till commit, because otherwise there is\nno guarantee that other backends will see the updated catalog rows in\ntime, or in...
[ { "msg_contents": "The fine manual says that when row_security is set to off, \"queries fail\nwhich would otherwise apply at least one policy\". However, a look at\ncheck_enable_rls() says that that is a true statement only when the user\nis not table owner. If the user *is* table owner, turning off\nrow_secu...
[ { "msg_contents": "I didn't see this discussed on the thread...\n\nregrole and regnamespace don't run their output through quote_ident(). \nThat's contrary to all the other reg* operators.\n\nWorse, they also don't *allow* quoted input. Not only is that different \nfrom reg*, it's the *opposite*:\n\nselect 'wit...
[ { "msg_contents": "Hi\n\nLike the docs say, vacuumdb is a \"wrapper around the SQL command VACUUM\"\nwhich I used to use in dim-and-distant pre-autovacuum days came for cronjobs,\nbut until messing around with pg_upgrade recently I hadn't really had much\nuse for it. Anyway, the docs also say \"There is no effe...
[ { "msg_contents": "Hi,\n\nIn inheritance, child column's pg_attribute.attislocal flag not getting updated, if it is inherited using ALTER TABLE <child> INHERIT <parent>.\n\nDue to this, if we try to drop column(s) from parent table, which are not getting drop from child.\nAttached herewith is quick patch fixing...
[ { "msg_contents": "Hi all,\n\nAttached patch fixes the comment typo in RewindTest.pm\nPlease find it.\n\nRegards,\n\n--\nMasahiko Sawada\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_contents": "The list of objects used to link pg_xlogdump is coming from\n$(wildcard *desc.c) which returns them in filesystem order. This makes\nthe build result depend on this ordering, yielding different\ncompilation results.\n\nThis patch fixes the reproducibility issue:\n\n--- a/src/bin/pg_xlogdump/M...
[ { "msg_contents": "Hi All,\n\nI wanted to check if it is possible to query a non catalog table in backend.\n\nI understand that cql interface is only for catalog querying hence it is\nnot usable for this purpose per se.\n\nPlease advice.\n\nRegards,\n\nAtri\n\nHi All,I wanted to check if it is possible to query...
[ { "msg_contents": "All the to_reg* functions in src/backend/utils/adt/regproc.c currently \naccept a cstring. Per [1], they should accept text. This should be a \nfairly simple change to make:\n\n- Modify the functions in regproc.c. Take a look at how other text input \nfunctions work to see what needs to happe...
[ { "msg_contents": "Hackers,\n\nIt looks like there's an inconsistency in error handling during\nSTART_REPLICATION command of replication protocol:\n\n$ psql postgres://localhost/psycopg2test?replication=database\npsql (9.6devel)\nType \"help\" for help.\n\npsycopg2test=# IDENTIFY_SYSTEM;\n systemid |...
[ { "msg_contents": "It seems there is a redundant word \"function\" in\ndoc/ref/create_tranform.sgml. Patch attached.\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJapanese:http://www.sraoss.co.jp\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hac...
[ { "msg_contents": "Hi hackers, \n\nI want to ask two questions about PostgreSQL optimizer.\nI have the following query:\n\nSELECT o.id as id,s.id as sid,o.owner,o.creator,o.parent_id as dir_id,s.mime_id,m.c_type,s.p_file,s.mtime,o.ctime,o.name,o.title,o.size,o.deleted,la.otime,la.etime,uo.login as owner_login,u...
[ { "msg_contents": "What is the point of pg_conversion.condefault (the flag that says whether\na conversion is \"default\")? AFAICS, there is absolutely no way to invoke\na conversion that is not default, which means we might as well eliminate\nthe concept.\n\nI do not see a lot of point in the namespacing of e...
[ { "msg_contents": "Hackers,\n\nAt the moment schemas used as single-level namespaces.\nIt's quite convenient in large databases.\n\nBut error messages doesn’t contain schema names.\n\nI have done a little patch with schema-qualified relation names in error\nmessages that produced by foreign key constraints and ...