threads
listlengths
1
2.99k
[ { "msg_contents": "I have just released version 4.15 of the PostgreSQL Buildfarm Client \n<http://www.pgbuildfarm.org/downloads/releases/build-farm-4_15.tgz>. It \ncan be downloaded at \n<http://www.pgbuildfarm.org/downloads/releases/build-farm-4_15.tgz>\n\nHere's what's changed:\n\n * support the new locatio...
[ { "msg_contents": "Hi all.\n\nA long time ago in 04b31609b63ce77fb9273193f07cf21b2a7176af ONLY keyword was added to all queries in src/backend/utils/adt/ri_triggers.c. Since that time foreign keys do not work with inheritance trees and it is mentioned in the documentation for all versions since at least 7.3. \n...
[ { "msg_contents": "Hanada-san,\r\n\r\nThanks for your works. I have nothing to comment on any more (at this moment).\r\nI hope committer review / comment on the couple of features.\r\n\r\nBest regards,\r\n--\r\nNEC Business Creation Division / PG-Strom Project\r\nKaiGai Kohei <kaigai@ak.jp.nec.com>\r\n\r\n\r\n>...
[ { "msg_contents": "Hi all,\n\nI just noticed that --debug mode is missing for the remote mode of pg_rewind:\n # Do rewind using a remote connection as source\n my $result =\n run(['pg_rewind',\n+ \"--debug\",\n ...
[ { "msg_contents": "Hi,\n\n\nI would like allow specifying multiple host names for libpq to try to connecting to. This is currently only supported if the host name resolves to multiple addresses. Having the support for it without complex dns setup would be much easier.\n\n\nExample:\n\npsql -h dbslave,dbmaster -...
[ { "msg_contents": "Hi there,\n\nin the past we've repeatedly discussed the option of using a different \ncompression algorithm (e.g. lz4), but every time the discussion died off \nbecause of fear of possible patent issues [1] [2] and many other \nthreads. Have we decided it's not worth the risks, making patches...
[ { "msg_contents": "This happens on 9.4.1 and HEAD.\n\nThe variant extension is locked to a specific schema by it's control file:\ndecibel@decina:[23:53]~/git/variant (master %=)$cat variant.control\n# variant extension\ncomment = 'Variant data type for PostgreSQL'\ndefault_version = '1.0.0-beta3'\nrelocatable =...
[ { "msg_contents": "Is there a fundamental reason SQL/plpgsql functions won't accept record \nas an input type? If not, can someone point me at a patch that might \nshow how much work would be involved in adding support?\n\nMy particular use case is a generic function that will count how many \nfields in a recor...
[ { "msg_contents": "After a large bulk load aborted near the end, I decided to vacuum the main\ntable so as to not leave a huge chunk of free space in the middle of it,\nbefore re-running the bulk load. This vacuum took a frustratingly long\ntime, as the backwards scan over the table to truncate the space did n...
[ { "msg_contents": "Hi all,\n\nAs mentioned in $subject, the TAP tests of pg_rewind are currently not\nrun by buildfarm machines as the buildfarm client uses installcheck to\nrun the tests in src/bin. A patch is attached to correct the problem.\nRegards,\n-- \nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing l...
[ { "msg_contents": "Hi,\n\nSince we now allow CHECK constraints to be placed on foreign tables, not\nonly NOT NULL, I think it'd be better to update docs on considerations\nabout constraints on foreign tables in fdwhandler.sgml, so as to provide\nmore general considerations. Please find attached a patch.\n\nBes...
[ { "msg_contents": "Tom, all,\n\n Looks like preprocess_targetlist() should have been adjusted with the\n changes to ExecBuildAuxRowMark() to support foreign tables being part\n of inheritance trees (cb1ca4d800621dcae67ca6c799006de99fa4f0a5) to\n also include the tableoid regardless of the rowMark type, if t...
[ { "msg_contents": "Background:\nThe main sources of contention, buffer_strategy_lock, has been removed\nFWICT via 5d7962c6 and d72731a7. However, during the sweep each tick\nlocks the buffer header via spinlock in order to to adjust\nusage_count. I believe that removing this lock is possible\noptimization fru...
[ { "msg_contents": "There's been far more ideas and testing done around improving shared \nbuffer management than I can remember, and I suspect I'm not alone in \nthat regard. So I've created a wiki page as a place to pull this \ninformation together. I'll try and keep highlights/important links \nposted there, ...
[ { "msg_contents": "Hello,\n\nI'm looking into connection to postgres using authentication from client\ncertificates. [1]\n\nThe documentation states that the common name (aka CN) is read from the\ncertificate and used as the user's login (aka auth_user).\nThe problem is the common name is typically the user's f...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13126\nLogged by: Kirill Simonov\nEmail address: xi@resolvent.net\nPostgreSQL version: 9.4.1\nOperating system: Ubuntu 15.04\nDescription: \n\nIn some circumstances, the comment on a table constrai...
[ { "msg_contents": "RLS fixes, new hooks, and new test module\n\nIn prepend_row_security_policies(), defaultDeny was always true, so if\nthere were any hook policies, the RLS policies on the table would just\nget discarded. Fixed to start off with defaultDeny as false and then\nproperly set later if we detect t...
[ { "msg_contents": "Hi Robert,\r\n\r\nThanks for your comments.\r\n\r\n> A few random cosmetic problems:\r\n> \r\n> - The hunk in allpaths.c is useless.\r\n> - The first hunk in fdwapi.h contains an extra space before the\r\n> closing parenthesis.\r\n>\r\nOK, it's my oversight.\r\n\r\n> And then:\r\n> \r\n> + ...
[ { "msg_contents": "Hi all,\n\nAfter looking at bug #13128, I have been looking at the code around\nLWLockAcquire/Release to see if there are similar issues elsewhere.\nHere are my findings:\n\n1) SimpleLruReadPage() holds a control lock at entry that will be held\nat exit as well. However SlruReportIOError() ca...
[ { "msg_contents": "Hi,\n\nThe test case sha2 in contrib pgcrypto module is failing with a diff on\nanole because the results file contains the additional lines as:\n--\n\n+ WARNING: detected write past chunk end in ExprContext 600000000021cbb0\n\n--\n\nEx:\nThe log for REL9_2_STABLE can be seen at\nhttp://buil...
[ { "msg_contents": "Hi,\n\nWhile playing around with where exactly to put the replication\norigin/progress docs I once more noticed that the 'Server Programming'\nbook is a mix of different topics.\n\nIt currently contains:\n 35. Extending SQL\n 36. Triggers\n 37. Event Triggers\n 38. The Rule System...
[ { "msg_contents": "Split into a new thread, the other one is already growing fast\nenough. This discussion started at\nhttp://archives.postgresql.org/message-id/55391469.5010506%40iki.fi\n\nOn April 23, 2015 6:48:57 PM GMT+03:00, Heikki Linnakangas <hlinnaka@iki.fi> wrote:\n>Stop right there. You need to reserv...
[ { "msg_contents": "During current encounters with amazon web services - RDS, the DBA does not\nhave access to OS/linux shell of underlying instance. That render some\npostgresql monitoring technique of process CPU and memory usage, not\nuseful. Even if the AWS provide internal tools/programming interface for\nm...
[ { "msg_contents": "While looking at Peter's INSERT ... ON CONFLICT patch, I started to feel \nthat ExecInsertIndexTuples() and friends would deserve a file of their \nown, and not be buried in the middle of execUtils.c. I propose that we \nsplit execUtils.c into two, moving ExecOpenIndices(), ExecCloseIndices()...
[ { "msg_contents": "I mentioned this idea in the \"other\"[1] vacuum thread [2], but I think \nit got lost.\n\nKevin Grittner pointed out that there's a potentially huge number of \nwrites we incur over the life of a tuple [3]:\n\n(1) WAL log the insert.\n(2) Write the tuple.\n(3) Hint and rewrite the tuple.\n(4...
[ { "msg_contents": "\nHello,\n\nI have been working a problem with Andrew Gierth (sp?) in regards to \npg_dump. Here is the basic breakdown:\n\nFreeBSD 10.1\nPostgreSQL 9.3.6\n64GB ~ memory\n500GB database\n228G of largeobjects (106M objects)\n\nThe database dumps fine as long as we don't dump large objects. How...
[ { "msg_contents": "Hi!\n\nI faced with planner error:\nERROR: could not find RelOptInfo for given relids\n\nA test case is in attachment, all supported versions of pgsql and HEAD are \naffected.\n\nSuppose, there is something wrong in pull_up_sublinks_qual_recurse() near \nconverting NOT EXISTS into join, beca...
[ { "msg_contents": "> On Wed, Apr 22, 2015 at 10:48 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> >> + else if (scan->scanrelid == 0 &&\r\n> >> + (IsA(scan, ForeignScan) || IsA(scan, CustomScan)))\r\n> >> + varno = INDEX_VAR;\r\n> >>\r\n> >> Suppose scan->scanrel...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 13148\nLogged by: Evan Martin\nEmail address: postgresql2@realityexists.net\nPostgreSQL version: 9.3.6\nOperating system: Windows 7 x64 SP1\nDescription: \n\nI have a deferred EXCLUDE constraint on...
[ { "msg_contents": "The optional buildfarm module that runs this test was broken by commit \ndcae5faccab64776376d354decda0017c648bb53\n\nSince nobody has responded to my complaint about this, I have disabled it on crake, the only buildfarm machine that has actually been running the test, so we now have no buildf...
[ { "msg_contents": "I'm separating this discussion out of the thread because I think this\nneeds wider input.\n\nOn 2015-04-24 19:21:37 -0700, Peter Geoghegan wrote:\n> I've *provisionally* pushed code that goes back to the old way,\n> Andres: https://github.com/petergeoghegan/postgres/commit/2a5d80b27d2c5832ad...
[ { "msg_contents": "Hi all,\n\nMy apologies I couldn't directly respond to the earlier thread on this\nsubject\n(http://www.postgresql.org/message-id/50D99278.3030704@dc.baikal.ru) but\nI wasn't subscribed to the list at that point.\n\nI've been working on a conversion of several utilities I wrote for\nanother e...
[ { "msg_contents": "On 04/25/2015 12:01 PM, Andres Freund wrote:\n> INSERT ... ON CONFLICT (cola, colb [WHERE predicate_for_partial]) UPDATE|IGNORE\n>\n> My problem with the WHERE being inside the parens in the above is that\n> it's\n> a) different from CREATE INDEX\n> b) unclear whether the WHERE belongs to col...
[ { "msg_contents": "Add transforms feature\n\nThis provides a mechanism for specifying conversions between SQL data\ntypes and procedural languages. As examples, there are transforms\nfor hstore and ltree for PL/Perl and PL/Python.\n\nreviews by Pavel Stěhule and Andres Freund\n\nBranch\n------\nmaster\n\nDetai...
[ { "msg_contents": "Hello!\n\nPlease see this patch with several typos and \nmistakes in comments.\n\nThere are also typos in sgml files (duplicate \"to\"):\n1. doc/src/sgml/logicaldecoding.sgml, ln 619\n >> Logical decoding can be used to to build\n2. doc/src/sgml/ref/pg_dumpall.sgml, ln 457\n >> Specifies the ...
[ { "msg_contents": "I have pushed my patch, newly rebased, to a new branch on my personal\nGithub account (branch: insert_conflict_4):\n\nhttps://github.com/petergeoghegan/postgres/commits/insert_conflict_4\n\nI'm not going to attach a patch here at all. Andres and Heikki should\nnow push their changes to that b...
[ { "msg_contents": "The attached patch v13 is revised one according to the suggestion\r\nby Robert.\r\n\r\n- eliminated useless change in allpaths.c\r\n- eliminated an extra space in FdwRoutine definition\r\n- prohibited to have scanrelid==0 by other than ForeignScan\r\n or CustomScan, using Assert()\r\n- defin...
[ { "msg_contents": "Hi,\n\nI noticed that there is no postgres_fdw option to control whether check\nconstraints on remote tables are included in the definitions of foreign\ntables imported from a remote PG server when performing IMPORT FOREIGN\nSCHEMA, while we now allow check constraints on foreign tables.\n\nA...
[ { "msg_contents": "Here is a patch to add missing tab-completion for ALTER FOREIGN TABLE.\nI'll add this to the next CF.\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...
[ { "msg_contents": "Remove pgbench constraint that the number of clients must be a multiple of \nthe number of threads, by sharing clients among threads as evenly as \npossible.\n\nRational: allows to test the database load with any number of client \nwithout unrelated constraint. The current setting means for i...
[ { "msg_contents": "This patch removes the pgbench thread fork-emulation code and simplifies \nthings where possible, especially around pthread_create and pthread_join. \nThe stats collection for the report is done directly instead of using an \nintermediate structure.\n\nAs a result, if no thread implementation...
[ { "msg_contents": "\nHi,\n\nFollowing ALTER TABLE actions are applied recursively to inheritance\ndescendents via ATSimpleRecursion() -\n\nALTER COLUMN DEFAULT\nALTER COLUMN DROP NOT NULL\nALTER COLUMN SET NOT NULL\nALTER COLUMN SET STATISTICS\nALTER COLUMN SET STORAGE\n\nThe code at the beginning of ATSimpleRe...
[ { "msg_contents": "The following behavior surprised me, and a few other people at\nEnterpriseDB, and one of our customers:\n\nrhaas=# create table foo (a int);\nCREATE TABLE\nrhaas=# create or replace function test (x foo) returns int as $$begin\nreturn x.b; end$$ language plpgsql;\nCREATE FUNCTION\nrhaas=# alt...
[ { "msg_contents": "Hi there,\n\nthe attached trivial patch adds handling of RestrictInfo nodes into \nexpression_tree_walker(). This is needed for example when calling \npull_varnos or (or other functions using the expression walker) in \nclausesel.c, for example. An example of a query causing errors with \npul...
[ { "msg_contents": "Heikki,\n\n Not sure if anyone else is seeing this, but I'm getting regression\n test failures when running the pg_rewind tests pretty consistently\n with 'make check'. Specifically with \"basic remote\", I'm getting:\n\nsource and target cluster are on the same timeline\nFailure, exiting...
[ { "msg_contents": "I know COPY doesn't support importing files with fixed column widths,\ni.e. we can't say field1 is the first 30 characters, and field2 is the\nrest of the line. We need a unique delimiter at column 31. (Commercial\nIngres does support this ability.)\n\nI know we tell most people to use sed,...
[ { "msg_contents": "Hi all\n\nI am looking on this patch. I can confirm 10-15% speedup - and the idea\nbehind this patch looks well.\n\nThis patch\nhttp://www.postgresql.org/message-id/4146.1425872254@sss.pgh.pa.us contains\ntwo parts\n\na) relative large refactoring\n\nb) support for resettable fields in param_...
[ { "msg_contents": "Hackers,\n\ncurrently built-in &&, @>, <@ array operators have selectivity estimations\nwhile same operator in intarray contrib haven't them. Problem is that\noperators in intarray contrib still use contsel and contjoinsel functions\nfor selectivity estimation even when built-in operators rec...
[ { "msg_contents": "Enforce access control on security labels defined by admin\nand prohibit users to relabel the objects\n\nSigned-off-by: Denis Kirjanov <kda@itsirius.su>\n---\n contrib/sepgsql/label.c | 5 +++++\n 1 file changed, 5 insertions(+)\n\ndiff --git a/contrib/sepgsql/label.c b/contrib/sepgsql/labe...
[ { "msg_contents": "Two of the trigonometry functions have differing error condition behavior\nbetween Linux and OSX. The Linux behavior follows the standard set by the\nother trig functions.\n\nOn Linux:\n\nSELECT asin(2);\n> ERROR: input is out of range\n>\n\n\nSELECT acos(2);\n> ERROR: input is out of range...
[ { "msg_contents": "Has there been any movement on this in the last couple years?\n\nI could really use the ability to optimize across CTE boundaries, and it\nseems like a lot of other people could too.\n\nHas there been any movement on this in the last couple years?I could really use the ability to optimize acr...
[ { "msg_contents": "Hi,\n\nAttached does:\n\ns/pg_replication_origin_xact-setup/pg_replication_origin_xact_setup/g\n\nor, (s/-/_/g)\n\nThanks,\nAmit\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-hack...
[ { "msg_contents": "Hi\n\ncurrent implementation of errhidecontext is not complete:\n\n1. it sends context to client\n\n2. it collect context although it will not be displayed\n\nAttached patch fixing it\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscri...
[ { "msg_contents": "Hi,\n\nDear developers, I have a request to you.\n\nNow create a script in the application of its function parameters and\nreturn values can be declared using %TYPE.\nHowever, when you save the script is stored inside the server only what is\nconsidered his body. Thus, we obtain:\n1) loss of ...
[ { "msg_contents": "The schedule\n<https://wiki.postgresql.org/wiki/PgCon_2014_Developer_Meeting#9.5_Schedule>\ncalls for beta in June. In light of that, the core team has agreed to\ncall for\n\n feature freeze on May 15\n\nThat means that all patches that add or change features should be\ncommitted by then....
[ { "msg_contents": "> On Sun, Apr 26, 2015 at 10:00 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > The attached patch v13 is revised one according to the suggestion\r\n> > by Robert.\r\n> \r\n> Thanks.\r\n> \r\n> The last hunk in foreign.c is a useless whitespace change.\r\n>\r\nSorry, my oversight.\r\n\...
[ { "msg_contents": "\nAlright folks,\n\nSo I have this error:\n\npostgres[21118]: [8-1] ERROR: unexpected data beyond EOF\nin block 9 of relation base/430666195/430666206\n\nWhich produces this lovely hint:\n\npostgres[21118]: [8-2] HINT: This has been seen to occur with buggy \nkernels; consider updating your...
[ { "msg_contents": "While looking into a customer performance problem, i saw this in\ncostsize.c, cost_index() (9.3.6, but it looks the same in HEAD):\n\n\t/* Mark the path with the correct row estimate */\n\tif (path->path.param_info)\n\t{\n\t\tpath->path.rows = path->path.param_info->ppi_rows;\n\t\t/* also get...
[ { "msg_contents": "friarbird is a FreeBSD buildfarm animal running with \n-DCLOBBER_CACHE_ALWAYS. It usually completes a run in about 6.5 hours. \nHowever, it's been stuck since Monday running the plpython regression \ntests. The only relevant commit seems to be the transforms feature. \nHere's what it's been d...
[ { "msg_contents": "> On Thu, Apr 30, 2015 at 9:16 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > It seems to me the code block for T_ForeignScan and T_CustomScan in\r\n> > setrefs.c are a bit large. It may be better to have a separate\r\n> > function like T_IndexOnlyScan.\r\n> > How about your opinion?\...
[ { "msg_contents": "Hi all,\n\nI’m wondering if there are other people out there working on implementing SQL ASSERTION functionality?\n\nI’ve recently spent a bit of time looking to implement the execution models described in “Applied Mathematics for Database Professionals” by Toon Koppelaars and Lex de Haan. I...
[ { "msg_contents": "plpgsql's handling of NULLs in TG_ARGV turns actual nulls into text \n'null'. Hopefully we can all agree that's broken. I'd like to fix it, \nbut wonder how to handle existing user code.\n\nMy suspicion is that most users will never notice this and I can just \nfix it.\n\nI could also add a p...
[ { "msg_contents": "Within the core codebase, BuildTupleFromCStrings is often called within a temporary memory context cleared after the call. In dblink.c, this is justified as being needed to “[clean up] not only the data we have direct access to, but any cruft the I/O functions might leak”.\n\nI wrote a pretty...
[ { "msg_contents": "Hi all,\n\nWithin the last couple of days hamster has failed twice when running\nTAP tests because it was not able to start a test server with\nstart_test_server:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hamster&dt=2015-04-30%2019%3A07%3A31\nhttp://buildfarm.postgresql.org/cgi-...
[ { "msg_contents": "On Mon, Apr 27, 2015 at 5:07 AM, Shigeru Hanada\n<shigeru.hanada@gmail.com> wrote:\n> 2015-04-27 11:00 GMT+09:00 Kouhei Kaigai <kaigai@ak.jp.nec.com>:\n>> Hanada-san, could you adjust your postgres_fdw patch according to\n>> the above new (previous?) definition.\n>\n> The attached v14 patch i...
[ { "msg_contents": "Currently initdb outputs suggested text on starting the server:\n\n\tSuccess. You can now start the database server using:\n\t\n\t /u/pgsql/bin/postgres -D /u/pgsql/data\n\tor\n\t /u/pgsql/bin/pg_ctl -D /u/pgsql/data -l logfile start\n\nI am now thinking pg_ctl should be recommended fir...
[ { "msg_contents": "Hi all.\n\nThere are situations in which vacuuming big btree index causes stuck in WAL replaying on hot standby servers for quite a long time. I’ve described the problem in more details in this thread [0]. Below in that thread Kevin Grittner proposed a good way for improving btree scans so th...
[ { "msg_contents": "\n-hackers,\n\nIn the flurry of releases, I want to make sure I haven't missed \nsomething. Here is an example of how I will take a base backup:\n\nOrigin: select pg_start_backup('my_backup',TRUE);\nSubscriber: rsync -auvk db1:/var/lib/pgsql/data data\nOrigin: select pg_stop_backup();\nSubscr...
[ { "msg_contents": "Hello guru of postgres, it's possoble to tune query with join on random \nstring ?\ni know that it is not real life example, but i need it for tests.\n\nsoe=# explain\nsoe-# SELECT ADDRESS_ID,\nsoe-# CUSTOMER_ID,\nsoe-# DATE_CREATED,\nsoe-# HOUSE_NO_OR_NAME,\...
[ { "msg_contents": "Given this domain...\nCREATE DOMAIN loan.loan_amount numeric(7,2) --loan.loan_amount_raw\n\tCONSTRAINT loan_amount__greater_equal_0 CHECK( VALUE >= 0 )\n\tCONSTRAINT loan_amount__less_equal_20000 CHECK( VALUE <= 20000 )\n;\n\nI was rather surprised by\n\nselect -1::loan.loan_amount;\n ?colum...
[ { "msg_contents": "Hi all,\n\nAre there any plans to introduce in next versions of Postgres a schema\nvalidation for JSON field type? It would be very nice to have a support of\nsomething like json-schema spec, see\nhttp://json-schema.org/documentation.html. Right now there's the only way\nto do it via individu...
[ { "msg_contents": "Hi all,\n\nCoverity is complaining that getTransforms in pg_dump.c leaks a\nPQExpBuffer allocation.\nPlease find attached a patch to fix the leak.\nRegards,\n-- \nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhtt...
[ { "msg_contents": "Hi all,\n\nCoverity complained about a small indentation issue in ruleutils.c:\n+ appendStringInfoString(buf, \"\\n TRANSFORM \");\n+ for (i = 0; i < ntypes; i++)\n+ {\n+ if (i != 0)\n+ appendStringI...
[ { "msg_contents": "Hi all,\n\nCoverity is pointing out that as argtypes = NULL in\nplperl_call_perl_func@plperl.c, we will have a pointer dereference if\ndesc->arg_arraytype[i] is not a valid OID, see here:\n+ Oid *argtypes = NULL;\n[...]\n+ if (fcinfo->flinfo->fn_oid)\n+ ...
[ { "msg_contents": "Hackers!\n\nI'm proposing to add two new subcommands in psql:\n1. \\ev viewname - edit view definition with external editor (like \\ef for\nfunction)\n2. \\sv viewname - show view definition (like \\sf for function, for\nconsistency)\n\nWhat's inside:\n1. review-ready implementation of \\ev a...
[ { "msg_contents": "hi,\n I found the code in 'backend/access/transam/xloginsert.c' as that:\nXLogRecordAssemble:\n if (prev_regbuf && RelFileNodeEquals(regbuf->rnode, prev_regbuf->rnode))\n {\n samerel = true;\n bkpb.fork_flags |= BKPBLOCK_SAME_REL;\n prev_regbuf = regb...
[ { "msg_contents": "I'm comparing speed of some queries against tables having the same data\nbut different storage, and got an unexpected behavior.\n\nThe tables have 2 integer fields and a PcPatch field \n(\"p\", custom type from pgPointCloud).\n\nThere are no TOASTs involved (the toast table associated with th...
[ { "msg_contents": "In 6 weeks, people start arriving in Ottawa for PGCon 2015. Have you registered? There's still time. Get in today.\n\nWe have a great list of talks: http://www.pgcon.org/2015/schedule/events.en.html\n\nGiven by great speakers: http://www.pgcon.org/2015/schedule/speakers.en.html\n\nYou'll want...
[ { "msg_contents": "Folks,\n\nWe are now three tzdata changes behind. There are bugs in pg_dump\nwhich create real restore errors for people using PostGIS, one of our\nmost popular extensions.\n\nCan we please wrap and ship 9.4.2, etc., and do it soon?\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> ht...
[ { "msg_contents": "Hi,\n\nCan someone look at this patch. It should fix bug #12845.\n\nThe current tests for conversions are very minimal. I expanded them a\nbit for this bug.\n\nI think the binary search in the .map files should be removed but I\nleave that for another patch.\n\n\n\n-- \nSent via pgsql-hackers...
[ { "msg_contents": "In\nhttp://www.postgresql.org/message-id/BN1PR04MB37467AA1D412223B3D4A595DFD20@BN1PR04MB374.namprd04.prod.outlook.com\nit's revealed that the citext extension misdeclares its versions of\nregexp_matches(): they should return SETOF text[] but they're marked\nas returning just text[].\n\nWe kno...
[ { "msg_contents": "\nHey folks,\n\nJust had your standard... our pg_ tables are all bloated out, what is a \ngood way to take care of that. We have -s for reindexdb but not \nvacuumdb. Thoughts?\n\nJD\n\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564\nPostgreSQL Centered full stack supp...
[ { "msg_contents": "Hello,\n\nI am looking to better understand the thought behind a replication slot's restart_lsn initialization. Currently in 9.4 and master, a replication slot's restart_lsn is set to InvalidXLogRecPtr and will only start tracking restart_lsn once a walreceiver has confirmed receipt of an lsn...
[ { "msg_contents": "Hi\n\nI am working on preparation the migration from 9.2 to 9.4\n\npg_upgrade fails\n\n pg_upgrade -b /usr/lib64/pgsql/postgresql-9.2/bin -B /usr/bin/ -d\n/mnt/ebs/pgsql/data -D /mnt/ebs/pgsql/data94 -k'\nPerforming Consistency Checks\n-----------------------------\nChecking cluster versions ...
[ { "msg_contents": "Hello,\n\nI've been reading the PostgreSQL code for weeks to figure out how TOAST \nworks.\nI couldn't find where are the TOAST function called to detoast a tuple \ncomes from a select query, for example, select * from table_name.\nDoes anyone know this? Can you give me some help? And any hel...
[ { "msg_contents": "All,\n\nStarting a new thread, as suggested by Magnus.\n\n* Magnus Hagander (magnus@hagander.net) wrote:\n> On Tue, May 5, 2015 at 3:47 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n> \n> > On Fri, May 1, 2015 at 1:16 PM, Stephen Frost <sfrost@snowman.net> wrote:\n> > > We really need to se...
[ { "msg_contents": "Hello,\n\nI'm trying to figure out when the following functions are called,\n\ncharin()\nint2in()\nint4in()\ntextin()\n\n\nI used GDB for debuging. I set break points at each function and I did \nfollowing testing.\n\n create table abcin( id integer, name varchar(10), title text);\n inser...
[ { "msg_contents": "Hello devs,\n\nSince an expression syntax has been added to pgbench, I find that the \nreadability of expressions is not great. An extra '=' improves the \nsituation for me:\n\n \\set id = 1 + abs((:id * 1021) % (100000 * :scale))\n\nseems slightly better than:\n\n \\set id 1 + abs((:id...
[ { "msg_contents": "\nHello,\n\nSome comments/bug report about the commitfest web app which just bite \nme:-)\n\nWhen creating a patch with the commitfest app, if the thread does not \nexist the application seems to reject the creation, so you may resubmit \nbecause you know the thread is going to exist soon... ...
[ { "msg_contents": "All,\n\n* Robert Haas (robertmhaas@gmail.com) wrote (on the role attributes\n* thread):\n> I think this patch is too big and does too many things. It should be\n> broken up into small patches which can be discussed and validated\n> independently. The fact that your commit message is incredi...
[ { "msg_contents": "Hi all,\n\nCoverity is complaining about the following assertion introduced in\ncommit 924bcf4 (parallel stuff, SerializeSnapshot@snapmgr.c):\n+ Assert(snapshot->xcnt >= 0);\n\nNow the thing is that this assertion does not make much sense, because\nSnapshotData defines subxcnt as uint32...
[ { "msg_contents": "Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.\n\nThe newly added ON CONFLICT clause allows to specify an alternative to\nraising a unique or exclusion constraint violation error when inserting.\nON CONFLICT refers to constraints that can either be specified using a\ninference clau...
[ { "msg_contents": "All,\n\nStarting a new thread, as suggested by Robert, for consideration of\nadding default roles for sets of administrative functions, therefore\nremoving the need for superuser-level roles in many use-cases.\n\nThis reserves the prefix 'pg_' as being for default roles.\n\nHaving these defau...
[ { "msg_contents": "Hi,\n\nCommit 63f1ccd got rid of src/tool/backend and hence\nsrc/tool/backend/index.html. But lmgr README still directs reader to the\naforementioned file. Attached removes this obsolete reference.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)...
[ { "msg_contents": "Hi,\n\nCommit 63f1ccd got rid of src/tool/backend and hence\nsrc/tool/backend/index.html. But lmgr README still directs reader to the\naforementioned file. Attached removes this obsolete reference.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)...
[ { "msg_contents": "Hi all.\n\nSeems, that pg_rewind does not account --dry-run option properly. A simple fix for that is attached.\n\n\n\n--\nMay the force be with you…\nhttps://simply.name", "msg_date": "Fri, 8 May 2015 15:25:54 +0300", "msg_from": "Vladimir Borodin <root@simply.name>", "msg_from_o...
[ { "msg_contents": "Teach autovacuum about multixact member wraparound.\n\nThe logic introduced in commit b69bf30b9bfacafc733a9ba77c9587cf54d06c0c\nand repaired in commits 669c7d20e6374850593cb430d332e11a3992bbcf and\n7be47c56af3d3013955c91c2877c08f2a0e3e6a2 helps to ensure that we don't\noverwrite old multixact...
[ { "msg_contents": "Greetings,\n\n While working through the pg_file_settings patch, I came across this\n comment above ParseConfigFp() (which is called by ParseConfigFile()):\n\nsrc/backend/utils/misc/guc-file.l:603\n------------------------------------------------------\n * Output parameters:\n * head_p, ta...
[ { "msg_contents": "My colleague Thomas Munro and I have been working with Alvaro, and\nalso with Kevin and Amit, to fix bug #12990, a multixact-related data\ncorruption bug. I somehow did not realize until very recently that we\nactually use two SLRUs to keep track of multixacts: one for the\nmultixacts themse...
[ { "msg_contents": "At promotion, archive last segment from old timeline with .partial suffix.\n\nPreviously, we would archive the possible-incomplete WAL segment with its\nnormal filename, but that causes trouble if the server owning that timeline\nis still running, and tries to archive the same segment later. ...