threads
listlengths
1
2.99k
[ { "msg_contents": "I tested this patch and it is not patchable now. Please, can you fix patch?\n\nRegards\n\nPavel\n\nI tested this patch and it is not patchable now. Please, can you fix patch?RegardsPavel", "msg_date": "Tue, 10 Sep 2013 16:25:47 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.c...
[ { "msg_contents": "This is almost but not quite entirely unlike the NULL row issues\nBruce has been raising lately.  It is related to some\ninfrastructure work I've been doing to fix some edge conditions I\ndiscovered (based on reviewing issues raised by Noah) with REFRESH\nMATERIALIZED VIEW CONCURRENTLY and al...
[ { "msg_contents": "Hackers,\n\nThe next CommitFest starts this coming Sunday. If you plan to have\nyour patches reviewed during this CF, please make sure that they are\nmailed to -hackers and registered in the CF by Saturday 14 September.\nLots of patches are already pending!\n\nIf you are available to do revi...
[ { "msg_contents": "I've been getting some failures after an immediate shutdown or crash,\nduring severe IO stress, with the message:\n\nLOG: XX000: select() failed in postmaster: Invalid argument\nLOCATION: ServerLoop, postmaster.c:1560\n\nIt is trying to sleep for -1 seconds.\n\nI think the problem is here, ...
[ { "msg_contents": "I've been doing an excess of immediate shutdowns lately, and that has turned\nup bugs old and new. This one goes back to 8.4 or earlier. If a query cancel\nis pending when a backend receives SIGQUIT, the cancel takes precedence and\nthe backend survives:\n\n[local] test=# select nmtest_spin...
[ { "msg_contents": "If a starting postmaster's CreateLockFile() finds an existing postmaster.pid,\nit subjects the shared memory segment named therein to the careful scrutiny of\nPGSharedMemoryIsInUse(). If that segment matches the current data directory\nand has any attached processes, we bail with the \"pre-e...
[ { "msg_contents": "Hi All,\n\nI am trying to install postgresql-jdbc but facing java error. sun java is\nalready installed but postgresql-jdbc installing openjdj. please let me\nknow how to resolve this and if you require any other details.\n\n[root@172-24-1-54 ~]# java -version\njava version \"1.6.0_33\"\nJava...
[ { "msg_contents": "Hello\n\n* patched with minor warning\n* compilable cleanly\n* zero impact on PostgreSQL server functionality\n* it does what was in proposal\n ** change 5sec progress as default (instead no progress)\n** finalise a rate limit support - fixes a latency calculation\n* code is clean\n* document...
[ { "msg_contents": "In order to modernize our documentation tool chain, I have made a few\ntweaks to allow using FOP to build the PDF documentation. I'd like to\nget some testing on different operating systems and versions thereof in\norder to learn whether this solution is robust and easily accessible by\nuser...
[ { "msg_contents": "I added the CREATE INDEX statement in the below citext regression\ntests, since it seemed to have been omitted by accident:\n\n-- Test aggregate functions and sort ordering\n\nCREATE TEMP TABLE srt (\n   name CITEXT\n);\n\nINSERT INTO srt (name)\nVALUES ('aardvark'),\n       ('AAA'),\n       ...
[ { "msg_contents": "Hello list,\n\nIs the following known behaviour, or should I put some time in writing a \nself contained test case?\n\nWe have a function that takes a value and returns a ROW type. With the \nfunction implemented in language SQL, when executing this function in a \nlarge transaction, memory u...
[ { "msg_contents": "Attached is a patch for a bit of infrastructure I believe to be\nnecessary for correct behavior of REFRESH MATERIALIZED VIEW\nCONCURRENTLY as well as incremental maintenance of matviews.\n\nThe idea is that after RMVC or incremental maintenance, the matview\nshould not be visibly different th...
[ { "msg_contents": "Last week, I attempted to write some code to perform a trivial\noperation in parallel by launching background workers. Despite my\nearlier convictions that I'd built enough infrastructure to make this\npossible, the experiment turned out badly - so, patches!\n\nIt's been pretty obvious to me...
[ { "msg_contents": "The experiences with elog() and ereport() have shown that having one\nfunction that can return or not depending on some log level parameter\nisn't a good idea when you want to communicate well with the compiler.\nIn pg_upgrade, there is a similar case with the pg_log() function.\nSince that i...
[ { "msg_contents": "Hi,\n\nPlease find attached to this email three patches covering the missing PL\nsupport for Event Triggers: pltcl, plperl and plpython.\n\nDue to “platform” problems here tonight and the CF deadline, the\nplpython patch is known not to pass regression tests on my machine. The\ncode is fully ...
[ { "msg_contents": "Hi,\n\nAttached is a patch for optionally printing more information on STRICT \nfailures in PL/PgSQL:\n\n\nset plpgsql.print_strict_params to true;\n\ncreate or replace function footest() returns void as $$\ndeclare\nx record;\np1 int := 2;\np3 text := 'foo';\nbegin\n -- too many rows\n s...
[ { "msg_contents": "The attached patch adds the MAP_HUGETLB flag to mmap() for shared memory\non systems that support it. It's based on Christian Kruse's patch from\nlast year, incorporating suggestions from Andres Freund.\n\nOn a system with 4GB shared_buffers, doing pgbench runs long enough for\neach backend t...
[ { "msg_contents": "There is a lot of code around that does something like\n\n char *val = malloc(...obscure computation...);\n sprintf(val, \"...\", ...);\n\nThis can be had simpler, with asprintf(). It is not standard, but it's\nmore widely accepted in C libraries than strlcpy for example. The above\nc...
[ { "msg_contents": "Hi,\n\nAfter my previous suggestion for adding a STRICT keyword got shot \ndown[1], I've been thinking about an idea Andrew Gierth tossed out: \nadding a new \"strict mode\" into PL/PgSQL. In this mode, any query which \nprocesses more than one row will raise an exception. This is a bit \ns...
[ { "msg_contents": ">On Monday, July 08, 2013 5:16 PM Andres Freund wrote:\n>>On 2013-07-08 17:10:43 +0530, Amit Kapila wrote:\n>>> On Monday, July 08, 2013 4:26 PM Andres Freund wrote:\n>>> > On 2013-07-08 16:17:54 +0530, Hari Babu wrote:\n>>> > > + This utility can also be used to decide whether backup is\n...
[ { "msg_contents": "Attached is a small patch to add a new GUC to report wether data checksums \nfor a particular cluster are enabled. The only way to get this info afaik \nis to look into pg_control and the version number used, but i'd welcome a \nway to access this remotely, too. If there aren't any objections...
[ { "msg_contents": "Hi.\n\nThis is a cleaned-up and rebased version of the bitmap index patch from\nGavin Sherry, later revised by Gianni Ciolli and Gabriele Bartolini, and\nothers including Daniel Bausch.\n\nI've been working on this patch for a while, and have made some progress\ntowards (a) general fixing, an...
[ { "msg_contents": "Folks,\n\nLately I've been running into a lot of reports of false conflicts\nreported by \"git apply\". The most recent one was the \"points\" patch,\nwhich git apply rejected for completely ficticious reasons (it claimed\nthat the patch was trying to create a new file where a file already\n...
[ { "msg_contents": "Hi,\n\nAttached is a patch for supporting assertions in PL/PgSQL. These are \nsimilar to the Assert() backend macro: they can be disabled during \ncompile time, but when enabled, abort execution if the passed expression \nis not true.\n\nA simple example:\n\nCREATE FUNCTION delete_user(usern...
[ { "msg_contents": "\nWhile writing slides for pgopen next week, I noticed that the JSON docs \non json_populate_record and json_populate_recordset contain this sentence:\n\n A column may only be specified once.\n\n\nIIRC we removed that restriction during development, so unless there is \na squawk I am goin...
[ { "msg_contents": "Hi,\n\nIn my efforts to allow PostgreSQL users to be able to fully use the\nserver even when not granted file system level access to it, came the\nquestion of PL \"lib\" code management.\n\nWhere do you manage the \"library\" code you need, those parts of your\ncode that are not exposed at th...
[ { "msg_contents": "Hi,\n\nThis topic gets back at every release, more often now that we have\nproper Extensions with ability to dump&restore. Lately the guys from\nOpen Shift project (a Red Hat team) have asked for a way to load DSO\nmodule files from user-owned directory.\n\nThe way they make that safe is by u...
[ { "msg_contents": "Hi!\n\nAttached you can find the newest version of the logical changeset\ngeneration patchset. Reduced by a couple of patches because the have\nbeen committed last round. Hurray! and thanks.\n\nThe explanation of how to use the patch from last time:\nhttp://archives.postgresql.org/message-id/...
[ { "msg_contents": "Hi,\n\nHere's a reviewable version of what I've dubbed Minmax indexes. Some\npeople said they would like to use some other name for this feature, but\nI have yet to hear usable ideas, so for now I will keep calling them\nthis way. I'm open to proposals, but if you pick something that cannot...
[ { "msg_contents": "Hi all;\n\nCurrently json_populate_record and json_populate_recordset cannot work with\nnested json objects. This creates two fundamental problems when trying to use\nJSON as an interface format.\n\nThe first problem is you can't easily embed a json data type in an json object\nand have it p...
[ { "msg_contents": "I am getting a new server ready for production and saw the release note on the new checksum feature. I thought it sounded like something we might want, and then after reading realized we have to initdb with the feature on. I figured I'd better check into it a little more since changing later ...
[ { "msg_contents": "Bruce Momjian wrote:\nOn Sun, Jun 30, 2013 at 06:57:10AM +0000, Amit kapila wrote:\n>> >> I have done the initial analysis and prepared a patch, don't know if\n>> >> anything more I can do until\n>> >> someone can give any suggestions to further proceed on this bug.\n>\n> > >So, I guess we ne...
[ { "msg_contents": "has begun!\n\nNew hackers, this is your chance to contribute by doing the first few\nsteps of review. Seasoned hackers, this is a way to help the whole\nproject along. You know the drill.\n\nToo many patches have \"Nobody\" today. That's the first thing we'll\nneed to fix, one way or anoth...
[ { "msg_contents": "I noticed there is nothing available in built-in psql help about OPEN\ncommand. Does it intentional ?\n\npostgres=# \\h open\nNo help available for \"open\".\nTry \\h with no arguments to see available help.\n\nOleg\n\nI noticed there is nothing available in built-in psql help about OPEN comm...
[ { "msg_contents": "Hi hackers,\n\nI just wonder how hard would be to implement something like \"Not In FK\nConstraint\" or opposite to FK...\n\ni.e:\n\n FK ensures that value of FK column of inserted row exists in refferenced\nTable\n\n NotInFK should ensure that value of NotInFK column of inserted row does\nn...
[ { "msg_contents": "Add a GUC to report whether data page checksums are enabled.\n\nBernd Helmle\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/0892ecbc015930dde2cee9ad464b9b70fdb7667e\n\nModified Files\n--------------\ndoc/src/sgml/config.sgml | 13 ++++++++++++...
[ { "msg_contents": "While reading storage/lmgr/lock.c I noticed that the last (proc)\nargument of LockCheckConflicts() is not referenced inside the function.\nIs it just a remnant from older version?\n\n// Antonin Houska (Tony)\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make...
[ { "msg_contents": "relscan.h is a bit of an unfortunate header because it requires a lot of\nother headers to compile, and is also required by execnodes.h. This\nquick patch removes the struct definitions from that file, moving them\ninto a new relscan_details.h file; the reworked relscan.h does not need\nany ...
[ { "msg_contents": "I ran into a typo. Attached is a patch.\n\nThanks,\n\nBest regards,\nEtsuro Fujita\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": "Tue, 17 Sep 2013 18:16...
[ { "msg_contents": "I think the document in advanced.sgml should be corrected, though I might\nmisunderstand the rules of usage. Attached is a patch.\n\nThanks,\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\n...
[ { "msg_contents": "In make check, there are 4 shared libraries that are loaded for test cases\nfrom the src/test/regress folder. Whereas, output of other libraries\ncontain @libdir@ tag, the output file for security_label (dumm_seclabel)\ncontains a tag for @abs_builddir@ in the output/security_label.source fil...
[ { "msg_contents": "Attached.\n\nRegards\n\nIan Barwick\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": "Wed, 18 Sep 2013 13:42:16 +0900", "msg_from": "Ian Lawrence Barwic...
[ { "msg_contents": "Hi all,\n\nHow safe is it to use the technique described by the link below with\nsystem catalog tables to remove bloat?\n\n(in a couple of words it is about moving tuples to the beginning of\nthe table with a special way of updating)\n\nhttp://www.depesz.com/2010/10/17/reduce-bloat-of-table-w...
[ { "msg_contents": "hi\nI want that find where did a new tuple data construct in postgresql code\nwhen query is update.\nI find that ExecModiryTable is an upper function for do it. but I want to\nfind exact place that create the data of one row of table.\ncan you help me?\n\nhiI want that find where did a new tu...
[ { "msg_contents": "Hi,\n\nIf you do ALTER TABLE ... DISABLE TRIGGER ALL; and then individually\nre-enable the disabled triggers it's easy to miss internal triggers.\nA \\d+ tablename will not show anything out of the ordinary for that\nsituation since we don't show internal triggers. But foreign key checks\nwon...
[ { "msg_contents": "Hi,\n\nI have experimented with cursors a little and found that the part about FOR SHARE/FOR \nUPDATE in\n\nhttp://www.postgresql.org/docs/9.2/interactive/sql-declare.html\n\ni.e. the \"sensitive cursor\" is not what actually happens. BTW, 9.3 has the same contents \nfor the same page.\n\n\"\...
[ { "msg_contents": "This is a review for patch\r\nCAApHDvpAgtyPZB2kwa0MmTkSaYG9+vasHYjmjFaTNgXr1aDC4Q@mail.gmail.com\r\n\r\nThe patch is readable, applies fine and builds without warnings.\r\n\r\nIt contains sufficient documentation.\r\n\r\nIt works as it should, no crashes or errors.\r\n\r\nIt is well written, ...
[ { "msg_contents": "Hello\n\nwe found a strange slow hash join operations - and it looks so this behave\nis related to underestimation. I found a Simon's proposal\nhttp://www.postgresql.org/message-id/CA+U5nMJ21SXCHK6sG2Oq7t0ZTUaOebFhUPrczFBBmMfEZam2+A@mail.gmail.com\n\nIs there any progress?\n\nRegards\n\nPavel...
[ { "msg_contents": "If you've got something that's not already on the current commitfest,\nplease put it on the next one.\n\nThanks!\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> http://fetter.org/\nPhone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter\nSkype: davidfetter XMPP: david.fetter@gm...
[ { "msg_contents": "The following code is in the ProcSleep at proc.c:1138.\nGetBlockingAutoVacuumPgproc() should presumably always return a vacuum\npgproc entry since the deadlock state says it's blocked by autovacuum.\nBut I'm not really familiar enough with this codepath to know whether\nthere's not a race con...
[ { "msg_contents": "I'm not sure how many of you have been tracking this but courtesy of\nlwn.net I have learned that it seems that the OOM killer behavior in\nLinux 3.12 will be significantly different. And by description, it\nsounds like an improvement. I thought some people reading -hackers\nmight be intere...
[ { "msg_contents": "I don't know if this has been discussed before, a cursory search of the\narchives didn't turn up anything interesting. I perhaps didn't put in\nthe right keywords.\n\nUnfortunately, the easiest way that I've found to reproduce this bug is\nto apply the attached patch to the unaccent extensio...
[ { "msg_contents": "\ncreate table tstztest( trange tstzrange );\n\npostgres=# insert into tstztest select tstzrange(t, t + interval '1 month')\nfrom generate_series('2012-01-01'::timestamptz,'2018-01-01','1 month')\nas gs(t);\nINSERT 0 73\npostgres=# analyze tstztest;\nANALYZE\npostgres=# select * from pg_stats...
[ { "msg_contents": "Hi,\n\nI'm Looking for information on our elephant: especially how/why we\nchose elephant as our mascot.\n\nAccording to:\nhttp://wiki.postgresql.org/wiki/Logo\n\nThe discussion was back to 1997 on the hackers list. Unfortunately the\nofficial archive for 1997 was lost. Mine seems to be gone ...
[ { "msg_contents": "Hello,\n\nI create gaussinan distribution pgbench patch that can access records with\ngaussian frequency. And I submit this commit fest.\n\n* Purpose this patch\nIn the general transaction situation, clients access for all records equally is\nhard to happen. I think gaussian distribution acce...
[ { "msg_contents": "Hi,\n\nPrompted by Andres Freund's comments on my Freezing without Write I/O \npatch, I realized that there's there's an existing bug in the way \npredicate locking handles freezing (or rather, it doesn't handle it).\n\nWhen a tuple is predicate-locked, the key of the lock is ctid+xmin. \nHow...
[ { "msg_contents": "Hackers,\n\nI've been tinkering with a number of table bloat checks, and it occurred\nto me that the problm is that these are all approximations based on\noverall gross statistics, and as such highly inaccurate.\n\nIt seems like would could have ANALYZE, while sampling from the table,\nalso c...
[ { "msg_contents": "The file_fdw documentation for the OPTIONS clause references the COPY\ncommand's documentation. In the case of COPY, the value for some options\n(e.g. HEADER, OIDS, ...) is optional. While the file_fdw documentation\nmakes no mention of it, the values for all options are required.\n\nAttach...
[ { "msg_contents": "Folks,\n\nIn order to make sure that nobody is prevented from reviewing due to not\nhaving a suitable development environment available, the PostgreSQL\ncommunity is offering free virtual machines for reviewing and testing\npatches for this CommitFest.\n\nIf you want a VM for this purpose, pl...
[ { "msg_contents": "Hi\n\nfix a small memory leak in guc-file.l ParseConfigFile\n\nAbsoluteConfigLocation() return a strdup string but it's never free or\nreferenced outside ParseConfigFile\n\nCourtesy Valgrind and Noah Misch MEMPOOL work.\n\nRegards\nDidier\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-h...
[ { "msg_contents": "Hi,\n\nI've reviewed the v6 of the \"numeric optimize\" patch\n(http://www.postgresql.org/message-id/CAFj8pRDQhG7Pqmf8XqXY0PnHfakkPQLPHnoRLJ_=EKFSbOAWeA@mail.gmail.com),\nas Pavel did some hacking on the patch and asked me to do the review.\n\nThe patch seems fine to me, the following comment...
[ { "msg_contents": "Hello, hackers.\n\nHere is the patch that introduces kNN search for cubes with euclidean, taxicab and chebyshev distances.\n\nFollowing distance operators introduced:\n\n<#> taxicab distance\n<-> euclidean distance\n<=> chebyshev distance\n\nFor example:\nSELECT * FROM objects ORDER BY objec...
[ { "msg_contents": "I was wondering about the proper semantics of CHAR comparisons in some\ncorner cases that involve control characters with values that are less than\n0x20 (space).\n\nConsider the following testcase:\n\n===\ncreate table t (a int, b char(10));\n\ninsert into t values (1, 'foo');\ninsert into t...
[ { "msg_contents": "Vesa-Matti J Kari,\n\n I've now committed a fix for this issue. If you have opportunity to,\n it'd be great to pull down the latest git (for whichever supported\n branch you'd like) and give it a try. Otherwise, the fix should be\n out with our next round of point releases (which I expe...
[ { "msg_contents": "> You had accidentally added to the CF In Progress.\n\nOh, I had completely mistook this CF schedule :-)\n\nMaybe, Horiguchi-san is same situation...\n\n\nHowever, because of your moving, I become first submitter in next CF.\n\nThank you for moving :-)\n\n--\n\nMitsumasa KONDO\n\n\n> You had ...
[ { "msg_contents": "> However this pattern induces stronger cache effects which are maybe not\ntoo realistic,\n\n> because neighboring keys in the middle are more likely to be chosen.\n\nI think that your opinion is right. However, in effect, it is a\npaseudo-benchmark, so that I think that such a simple mechani...
[ { "msg_contents": "Hi,\n\nCurrently LWLOCK_PADDED_SIZE is defined as:\n\n/*\n * All the LWLock structs are allocated as an array in shared memory.\n * (LWLockIds are indexes into the array.) We force the array stride to\n * be a power of 2, which saves a few cycles in indexing, but more\n * importantly also ens...
[ { "msg_contents": "I am sure I am doing something wrong here, or this is an unsupported\nfeature, but I wanted to double check. I was hoping that if I did a\njson_agg(x) and then copied that output of that and passed it into a\njson_populate_recordset that I would get the record back. I know I can\nmake things...
[ { "msg_contents": "On Tue, Sep 24, 2013 at 5:16 AM, Robert Haas <robertmhaas@gmail.com> wrote:\n\n> On Fri, Sep 20, 2013 at 11:28 PM, David Rowley <dgrowleyml@gmail.com>\n> wrote:\\\n> > I put the above results into the attached spreadsheet. On my intel i5\n> laptop\n> > I'm seeing a slow down of about 1 second...
[ { "msg_contents": "Hello, hackers.\n\nIn this patch I've implemented support for different storage types for cubes. Now it supports float8, float4, int4, int2, int1. Type stored in the header of each cube, one for all coordinates. So for cubes with int1 coordinates it can save up to 8x disk space. Typed cubes c...
[ { "msg_contents": "Hi,\n\nThis regexp call freezes with almost 100% CPU usage, so I guess it creates an infinite loop.\n\nWith Postgres 9.1 on Linux, I can kill the backend cleanly and get following message:\n\ncic_db=# select regexp_matches ('aa bb aa ba baa x','(^((?!aa)))+','gx');\nERROR: invalid regular e...
[ { "msg_contents": "Hello, hackers.\n\nI've fixed split algorithm that was implemented in cube extension. I've changed it according to the original Guttman paper (old version was more simple algorithm) and also ported Alexander Korotkov's algorithm from box datatype indexing that work faster and better on low di...
[ { "msg_contents": "While looking at the compressibility of WAL files generated by pgbench,\nwhich is close to 90%, I first thought its because of the \"filler\" column\nin the accounts table. But a comment in pgbench.c says:\n\n /*\n * Note: TPC-B requires at least 100 bytes per row, and the \"filler\"\n...
[ { "msg_contents": "Hi,\n\nHow about providing more granularity to replication, by setting separate\nvalues of replication parameters to each standby\nfor example:\nstandby1.wal_sender_timeout= 50s\nstandby2.wal_sender_timeout= 40s\n\nThe idea is to allow configuration of standby servers such that they have\nth...
[ { "msg_contents": "Sitting on my todo list for a while has been to consider the idea of\nadding a bit of additional functionality to createuser.\n\nOne of the functions of CREATE ROLE is to associate the role with\nother roles, thus...\n\n create role my_new_user nosuperuser nocreatedb login\n IN ROLE app_...
[ { "msg_contents": "Hello,\n\nWe have had several customers running postgres on bigger machines report\nproblems on busy systems. Most recently one where a fully cached\nworkload completely stalled in s_lock()s due to the *shared* lwlock\nacquisition in BufferAlloc() around the buffer partition lock.\n\nIncreasi...
[ { "msg_contents": "When adding json support to hstore, I made a major blunder and added the \nnew functionality to the existing sql script instead of bumping the \nversion, renaming the script and adding an update script.\n\nThis was lazy and there's no real excuse, although I will note that it \nwas a mistake ...
[ { "msg_contents": "On Fri, Sep 27, 2013 at 7:56 AM, Merlin Moncure <mmoncure@gmail.com> wrote:\n> On Thu, Sep 26, 2013 at 10:14 PM, Merlin Moncure <mmoncure@gmail.com> wrote:\n>> On Thu, Sep 26, 2013 at 6:08 PM, Andres Freund <andres@2ndquadrant.com> wrote:\n>>> On 2013-08-27 12:17:55 -0500, Merlin Moncure wrot...
[ { "msg_contents": "I did some benchmarking earlier in the week for the new patch which was\njust commited to allow formatting in the log_line_prefix string. In version\n0.4 of the patch there was some performance regression as I was doing\nappendStringInfo(buf, \"%*s\", padding, variable); instead of\nappendStr...
[ { "msg_contents": "Hi,\n\nThis patch implements the following TODO item:\n\n Allow COPY in CSV mode to control whether a quoted zero-length\n string is treated as NULL\n\n Currently this is always treated as a zero-length string,\n which generates an error when loading into an integer column\n\n ...
[ { "msg_contents": "Just a quick heads-up: following discussion within the core team and\nthe packagers, we're planning to wrap tarballs for 8.4 - 9.3\nbackbranch releases on Monday 7th October for release\non Thursday 10th.\n\n-- \nDave Page\nBlog: http://pgsnake.blogspot.com\nTwitter: @pgsnake\n\nEnterpriseDB ...
[ { "msg_contents": "Hi,\n\nChangeset extraction only works in the context of a single database but\nhas to scan through xlog records from multiple databases. Most records\nare easy to skip because they contain the database in the relfilenode or\nare just not interesting for logical replication. The only exceptio...
[ { "msg_contents": "While reading documentation for SET command, I observed that FROM\nCURRENT syntax and its description is missing from SET command's\nsyntax page (http://www.postgresql.org/docs/devel/static/sql-set.html).\n\nDo you think that documentation should be updated for the same or is\nthere any reaso...
[ { "msg_contents": "Hello\n\nWhen I did a review of \\pset improvements, I found so not all possible\noptions are supported by autocomplete. Here is fix\n\nRegards\n\nPavel Stehule\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.post...
[ { "msg_contents": "\n[oops, resent because stalled, wrong From!]\n\nHello Noah,\n\n>> Thread create time seems to be expensive as well, maybe up 0.1\n>> seconds under some conditions (?). Under --rate, this create delay\n>> means that throttling is laging behind schedule by about that time,\n>> so all the first...
[ { "msg_contents": "Hi,\n\nisolation_main.c executes isolationtester with:\n\nsnprintf(psql_cmd + offset, sizeof(psql_cmd) - offset,\n SYSTEMQUOTE \"\\\"./isolationtester\\\" \\\"dbname=%s\\\" < \\\"%s\\\" > \\\"%s\\\"\n\nThat obviously fails if pg_isolation_tester is invoked when CWD is not\nits build d...
[ { "msg_contents": "I see a few cases of this code in src/backend/utils/adt/datetime.c:\n\n else if ((fmask & DTK_DATE_M) != DTK_DATE_M)\n\nWouldn't this be clearer as:\n\n else if (fmask & DTK_DATE_M)\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB ...
[ { "msg_contents": "Add file cloning as an alternative data transfer method to pg_upgrade.\nCurrently only btrfs is supported, but copy-on-write cloning is also\navailable on at least ZFS. Cloning must be requested explicitly and if\nit isn't supported by the operating system or filesystem a fatal error\nis thr...
[ { "msg_contents": "Hackers,\n\nI was trying to figure out why a query was not doing an index-only scan on a partial index, when Josh Berkus pointed to this issue, reported by Merlin Moncure:\n\n http://www.postgresql.org/message-id/CAHyXU0x1OGao48WajAfUsbXqkUDLf=_6ho6hLMB8DSfkWdaVVw@mail.gmail.com\n\nIn short,...
[ { "msg_contents": "Hi,\n\nI want to submit new project in pgFoundery project.\n\nI submitted new project which is WAL archive copy tool with directIO method in\npgFoundery homepage 2 weeks ago, but it does not have approved and responded at\nall:-(\n\nWho is pgFoundery administrator or board member now? I would...
[ { "msg_contents": "Right now, if you use\n\npg_basebackup -Ft -D -\n\nyou get a tarfile, written to stdout, for redirection.\n\nHowever, if you use:\n\npg_basebackup -Fp -D -\n\nyou get a plaintext (unpackaged) backup, in a directory called \"-\".\n\nI can't think of a single usecase where this is a good idea. ...
[ { "msg_contents": "Hello\n\nthis proposal is related to reported issue\nhttp://www.postgresql.org/message-id/E1VQuta-0007Y4-Ip@wrigleys.postgresql.org\n\n\nWe can directly modify any fields of int, float, double arrays (when result\nsize will be immutable). This trick is used now for acceleration of some\naggre...
[ { "msg_contents": "The Technology Innovation Center in Bolzano, Italy has invited\nPostgreSQL developers to attend their upcoming SFSCon on November 15th.\n Their main interest is to have a discussion session with students about\ncontributing to PostgreSQL.\n\nOne issue they particularly want to address is the ...
[ { "msg_contents": "Add DISCARD SEQUENCES command.\n\nDISCARD ALL will now discard cached sequence information, as well.\n\nFabrízio de Royes Mello, reviewed by Zoltán Böszörményi, with some\nfurther tweaks by me.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/d90ced8bb221...
[ { "msg_contents": "Hi,\n\nIn my practice I quite often face the problem of bloated tables. I\nusually use pgstattuple to perform investigations. I also create a\ntool that uses UPDATEs based way to smoothly remove bloat\n(https://github.com/grayhemp/pgtoolkit), and it partially depends on\npgstatuple too. To be...
[ { "msg_contents": "Hi,\n\nI noticed a couple of missing words (at least to my reading) in the\nbgworker doc. This changes \"...is started including the module name...\" to\n\"...is started by including the module name...\" and \"...to obtain\ninformation the status of the worker.\" to \"...to obtain information...
[ { "msg_contents": "In HEAD of 9.4 I'm getting the following:\n\nD:\\9.4\\bin>postgres.exe -D d:\\9.4\\data\nLOG: database system was shut down at 2013-10-05 00:43:33 NZDT\nLOG: database system is ready to accept connections\nLOG: autovacuum launcher started\nPANIC: space reserved for WAL record does not mat...
[ { "msg_contents": "Here's a small patch which greatly increases the speed of\npg_dump --column-inserts.\n\nPrevious to this patch a string was being build for the names of the\ncolumns for each row in the table... I've now changed this to only do this\nonce for the table.\n\nI also did some clean ups to remove ...
[ { "msg_contents": "Hi,\n\nI've been playing with a custom COUNT(DISTINCT) aggregate based on hash\ntables - it seems to be working as planned, except for memory\nconsumption which is much higher than I expected.\n\nThe code is available at https://github.com/tvondra/count_distinct and\nin short it works like th...
[ { "msg_contents": "Sorry missed to keep -hackers in previous mail.\n\nFrom: Amit Kapila <amit.kapila16@gmail.com>\nDate: Mon, Oct 7, 2013 at 11:37 AM\nSubject: Re: Patch for reserved connections for replication users\nTo: Robert Haas <robertmhaas@gmail.com>, gibheer@zero-knowledge.org\nCc: Andres Freund <andres...