threads
listlengths
1
2.99k
[ { "msg_contents": "Here's a patch implementing traceback support for PL/Python mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/tree/t...
[ { "msg_contents": "Here's a patch implementing table functions mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/tree/table-functions.\...
[ { "msg_contents": "Here's a patch implementing custom parsers for data types mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the plpython-refactor patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/tree/cus...
[ { "msg_contents": "Here's a patch implementing explicitly starting subtransactions mentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the spi-in-subxacts patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgres/tree...
[ { "msg_contents": "Here's a patch implementing custom Python exceptions for SPI errors\nmentioned in\nhttp://archives.postgresql.org/pgsql-hackers/2010-12/msg01991.php. It's\nan incremental patch on top of the explicit-subxacts patch sent eariler.\n\nGit branch for this patch:\nhttps://github.com/wulczer/postgr...
[ { "msg_contents": "Hello\n\nattached patch contains a implementation of iteration over a array:\n\nRegards\n\nPavel Stehule", "msg_date": "Thu, 23 Dec 2010 21:30:49 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "WIP: plpgsql - foreach in" },...
[ { "msg_contents": "Somehow I fantasized that log_hostname would also turn\npg_stat_activity.client_addr into names instead of IP addresses. It\ndoesn't, but perhaps it should? It would be nice to be able to\nconfigure an IP-address free setup. Or would it be worth having a\nseparate configuration parameter f...
[ { "msg_contents": "The attached patch is the modular version of SE-PostgreSQL.\n\nSince I reduced the caching mechanism for access control decision,\nits code scale became about 2.6KL.\n\n[kaigai@saba sepgsql]$ wc -l *.[ch]\n 353 dml.c\n 366 hooks.c\n 477 label.c\n 158 proc.c\n 267 relation.c\n 98 schema...
[ { "msg_contents": "Back in 2006, we have this commit:\n\ncommit 2b25e1169f44368c120931787628d51731b5cc8c\nAuthor: Peter Eisentraut <peter_e@gmx.net>\nDate: Sat Oct 7 20:59:05 2006 +0000\n\n The -X option in pg_dump was supposed to be a workaround for the lack of\n portable long options. But we have had...
[ { "msg_contents": "Move the documentation of --no-security-label to a more sensible place\n\nThe order on the pg_dump/pg_dumpall man pages is not very strict, but\nsurely putting it under connection options was wrong.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/gitweb?p=postgresql.g...
[ { "msg_contents": "Robert Haas wrote:\n \n> The existing comment says that -X is deprecated, but that doesn't\n> make it entirely 100% clear that the code isn't intended to be\n> further updated\n \nYeah, Dan recently implemented the DEFERRABLE transaction behavior\nwhich was discussed on the list, so I added ...
[ { "msg_contents": "While I am working on pg_ctl, I saw this TODO item:\n\n\tHave the postmaster write a random number to a file on startup that\n\tpg_ctl checks against the contents of a pg_ping response on its initial\n\tconnection (without login)\n\t\n\t This will protect against connecting to an old insta...
[ { "msg_contents": "Here's an updated patch for unlogged tables, incorporating the\nfollowing changes since v4:\n\n1. pg_dump and pg_dumpall now take an argument\n--no-unlogged-table-data, which does just about what it sounds like.\nIn a previous email, I suggested that what we wanted here was\n--no-unlogged-tab...
[ { "msg_contents": "Hi there,\n\nWhile I trying create reproducible test case for BUG #5798 I\nencountered very strange effect on two of my servers (both servers\nhave same hardware platform/OS (freebsd 7.2) and PostgreSQL 8.4.4).\n\nVery simple test table created as:\nCREATE TABLE test (id integer);\nINSERT INT...
[ { "msg_contents": "Hi, guys.\n\nI try to build postgresql on archlinux server.\n\nI use \"--prefix=user --with-ossp-uuid\" flags\nBuild process succeed, but when I try to execute following query\n\n=======\ncreate or replace function uuid_generate_v1() returns uuid as\n'$libdir/uuid-ossp', 'uuid_generate_v1' vo...
[ { "msg_contents": "Add foreign data wrapper error code values for SQL/MED.\n\nExtracted from a much larger patch by Shigeru Hanada.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=85cff3ce7f360d139d87aee836d75a6202fee066\n\nModified Files\n--------...
[ { "msg_contents": "Hi everyone,\n\nFrom what i've read in the documentation you need funcapi.h to return SETOF from a C function, the problem is when I include the header file the compile throws heaps of errors; offending code\n\n1. extern \"C\" {\n2. \t#include <postgres.h>\n3.\t#include <fmgr.h>\n4.\t#include...
[ { "msg_contents": "Hello,\n\nI have a free time and I can do a review of your patch. Please, can\nsend a last version and can send a links on documentation that you\nused?\n\nRegards\n\nPavel Stehule\n", "msg_date": "Sun, 26 Dec 2010 18:09:53 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>"...
[ { "msg_contents": "To recap, I've had an open question on the Serializable Wiki page[1]\nsince January about how we should handle long-running transactions.\nThe algorithm published by Cahill et al requires keeping some\ntransaction information in memory for all committed transactions\nwhich overlapped a still-...
[ { "msg_contents": "In reviewing the work Shigeru Hanada has done on SQL/MED, it's come to\nmy attention that we have a lot of error messages that use the error\ncode ERRCODE_WRONG_OBJECT_TYPE and have text like this:\n\n\"%s\" is not a table\n\"%s\" is not an index\n\nor even better:\n\n\"%s\" is not a table, ...
[ { "msg_contents": "Hi,\n\nWhile inspecting a report from pgpool-II user, I found an interesting\nbehavior change in 8.2 series.\n\nWhen connecting to 8.2.13 using 9.0's psql, I got following error\nmessage:\n\n11034 2010-12-27 14:50:57 JST FATAL: unrecognized configuration parameter \"application_name\"\n\nHow...
[ { "msg_contents": "Idea is to reduce lock level of ADD/DROP COLUMN from AccessExclusiveLock\ndown to ShareRowExclusiveLock.\n\nTo make it work, we need to recognise that we are adding a column\nwithout rewriting the table. That's a simple test at post parse analysis\nstage, but what I can't do is work out wheth...
[ { "msg_contents": "Hi everyone,\n\nabout two weeks ago I've started a thread about cross-column stats. One\nof the proposed solutions is based on number of distinct values, and the\ntruth is the current distinct estimator has some problems.\n\nI've done some small research - I have read about 20 papers on this,...
[ { "msg_contents": "I'm working on a tool to simplify updating the source code of database\nfunctions.\nTo do a \"revert\" my plan is to store the values of pg_proc.* before\nupdating, and then to restore pg_proc for the given oid if a revert is\nnecessary.\nThis raises the question,\n\nIs it \"safe\" to do,\nUP...
[ { "msg_contents": "I'm unable to produce any really \"exciting\" release notes for alpha3. I\nhave produced a draft here:\nhttp://wiki.postgresql.org/wiki/Alpha_release_notes_draft Please edit\nthe bullet points if you have some idea.\n\n", "msg_date": "Mon, 27 Dec 2010 23:45:13 +0200", "msg_from": "P...
[ { "msg_contents": "Hi all!\nYesterday-today I try to install postgresql, and I have noticed bug in\nconfigure script\n\nIf path which you try to install postgresql from, contains \"&\" symbol, then\nconfigure doesn`t work correctly (it doesn`t make make file)\n\nIt writes some thing like this:\nconfig.status: c...
[ { "msg_contents": "Peter Geoghegan wrote:\n \n> It's worth noting that officially (i.e. in the docs), we don't even\n> call CTEs CTEs at any point. We call them WITH queries. I think\n> that that's a mistake because we call them CTEs everywhere else.\n> \n> Is there interest in correcting this, by putting \"CT...
[ { "msg_contents": "Hi,\n\nPlease see the following plan:\n\npostgres=# explain select * from small_table left outer join big_table using\n(id);\n QUERY PLAN\n----------------------------------------------------------------------------\n Hash Left Join (cost=126408.00..142436.98 ...
[ { "msg_contents": "Part of this may be my C skills not being good enough - if so, please\nenlighten me :-)\n\n\nMy pg_streamrecv no longer works with 9.1, because it returns\nPGRES_COPY_BOTH instead of PGRES_COPY_OUT when initating a copy.\nThat's fine.\n\nSo I'd like to make it work on both. Specifically, I wo...
[ { "msg_contents": "Currently, a number of functions return data in a really\ncalculation-unfriendly format, e.g:\n\npostgres=# select * from pg_current_xlog_location();\n pg_current_xlog_location\n--------------------------\n 0/3013158\n(1 row)\n\nIt would be very useful to have a way to convert this to a bigin...
[ { "msg_contents": "Attached patch implements a function called pg_primary_conninfo() that\nreturns, well, the primary_conninfo used on the standby when in\nstreaming replication mode (otherwise NULL).\n\nObjections?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www.redpill-linpro.com/",...
[ { "msg_contents": "I know its been discussed before, and one big problem is license and \npatent problems.\n\nWould this project be a problem:\n\nhttp://oldhome.schmorp.de/marc/liblzf.html\n\n\n-Andy\n", "msg_date": "Tue, 28 Dec 2010 09:10:13 -0600", "msg_from": "Andy Colson <andy@squeakycode.net>", ...
[ { "msg_contents": "Project name: Add table function support to PL/Tcl (Todo item)\n\nWhat the patch does:\n\nThis patch adds table function support (returning record and SETOF record)\nto PL/Tcl. This patch also updates PL/Tcl to use the Tcl object-style \ninterface instead of the older string-style one, incre...
[ { "msg_contents": "Dear fellow hackers,\n\nProblem: A normal diff of two slightly different schema dump files (pg_dump\n-s), will not produce a user-friendly diff, as you get all changes in the\nsame file.\n\nSolution: I propose a new option to pg_dump, --split, which dumps each\nobject to a separate file in a ...
[ { "msg_contents": "Is there an overview of SLRU anywhere? I've looked over the code\nenough to know that it'll save me a day or two if I can get an\noverview of correct usage, rather than to reverse engineer it from\nsource code. There is no README with useful information, and\nsearches of the Wiki and the do...
[ { "msg_contents": "Alpha3 has been bundled and is available at\n\nhttp://developer.postgresql.org/~petere/alpha/\n\nPlease check that it is sane.\n\nIf there are no concerns, I will move them to the FTP site tomorrow\n(Wednesday) and send out announcements on Thursday.\n\n", "msg_date": "Tue, 28 Dec 2010 23...
[ { "msg_contents": "I'm now deep enough into the SLRU techniques to see what my options\nare for storing the data appropriate for SLRU. This consists of\nuint64 commitSeqNo (which is overkill enough that I'd be comfortable\nstealing a bit or two from the high end in SLRU usage) which needs\nto be associated wit...
[ { "msg_contents": "I've been fooling around with creating upgrade-in-place support for the\nFedora/RHEL RPMs. What I want to have is a separate postgresql-upgrade\nRPM containing just the minimum possible set of previous-release files,\ntogether with pg_upgrade itself. Experimenting with this convinced me\nth...
[ { "msg_contents": "Would people be interested in putting pg_streamrecv\n(http://github.com/mhagander/pg_streamrecv) in bin/ or contrib/ for\n9.1? I think it would make sense to do so.\n\nIt could/should then also become the default tool for doing\nbase-backup-over-libpq, assuming me or Heikki (or somebody else)...
[ { "msg_contents": "ALTER TABLE ALTER TYPE always rewrites the table heap and its indexes. In some\ncases, we can determine that doing so is unhelpful, and that the conversion\nshall always succeed:\n\nCREATE DOMAIN loosedom AS text;\nCREATE TABLE t (c varchar(2));\nALTER TABLE t ALTER c TYPE varchar(4);\nALTER...
[ { "msg_contents": "Howdy,\n\nI am hoping someone can help me better understand what the \"minimum recovery\nending location\" of pg_controldata represents with regards to 9.0 hot\nstandbys. When I look at any of our 8.4 (or lower) installs this number is\nalmost always somewhere in the past of the xlog timeline...
[ { "msg_contents": "Attached is a small patch to avoid putting an opaque structure into\nthe slru.h file and using it in an external function call where\nexternal callers must always specify NULL.\n \n-Kevin", "msg_date": "Wed, 29 Dec 2010 17:46:55 -0600", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@...
[ { "msg_contents": "We have been seeing these warnings recently whenever a standby is \nbrought up (typically to check it is ok). Sometimes they are coupled \nwith corrupted indexes which require a REINDEX to fix. Initially I \nthought these uninitialized pages were due to primary crashes or \nhardware issues, h...
[ { "msg_contents": "We haven't seen any updated patches in a long, long time...\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterprisedb.com\nThe Enterprise PostgreSQL Company\n", "msg_date": "Wed, 29 Dec 2010 23:22:14 -0500", "msg_from": "Robert Haas <robertmhaas@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "Here's another attempt to reduce the number of places in the code that\nneed to be updated when adding a new relkind. It adds a few macros --\nRELKIND_HAS_STORAGE(), RELKIND_HAS_SYSTEM_ATTS(), and\nRELKIND_HAS_SYSTEM_GENERATED_ATTNAMES() and uses them in place of more\nad-hoc tests for the s...
[ { "msg_contents": "The snapshot synchronization discussion from the parallel pg_dump\npatch somehow ended without a clear way to go forward.\n\nLet me sum up what has been brought up and propose a short- and\nlongterm solution.\n\nSummary:\n\nPassing snapshot sync information can be done either:\n\na) by return...
[ { "msg_contents": "Hi!\n\nAre we ready to drop the old git mirror? The one that's still around\n(as postgresql-old.git) from before we migrated the main repository to\ngit, and thus has the old hashes around.\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www.redpill-linpro.com/\n", ...
[ { "msg_contents": "(continuing the flurry of patches)\n\nHere's a patch that stops PL/Python from removing the function's\narguments from its globals dict after calling it. It's\nan incremental patch on top of the plpython-refactor patch sent in\nhttp://archives.postgresql.org/message-id/4D135170.3080705@wulcze...
[ { "msg_contents": "I've mulled over the design for sync rep for awhile now, and have come\nup with a feature set that includes the final detailed feedback from\nFujii Masao, Aidan Van Dyk, Josh Berkus and others.\n\nThe design also draws from MySQL concepts to make the two interfaces as\nsimilar and as simple a...
[ { "msg_contents": "Hello,\n\nLast week I had a serious problem with my PostgreSQL database. My autovacuum\nis OFF, but in September it started to prevent the transaction wraparoud;\nhowever last week the following message appeared continuously in my log:\n\nWARNING: database \"production\" must be vacuumed with...
[ { "msg_contents": "Happy new year fellow pgsql-hackers!\n\nThis is the first alpha release of a new hopefully quite interesting little\ntool, named \"snapshot\".\n\nFeedback welcomed.\n\n-- \nBest regards,\n\nJoel Jacobson\nGlue Finance\n\n\n\nURL\n\nhttps://github.com/gluefinance/snapshot\n\n\n\nDESCRIPTION\n\...
[ { "msg_contents": "Hi. Will be useful to add a column with timestamp of the revision and\na comment can you do it? not today in order that your friends dont\nkill you ..\n\n-- \nSent from my mobile device\n\n------------\npasman\n", "msg_date": "Fri, 31 Dec 2010 21:42:20 +0100", "msg_from": "=?ISO-8859-...
[ { "msg_contents": "While reviewing the SQL/MED patch, I happened to notice that\nExecAlterObjectSchemaStmt calls AlterTableNamespace with a lock mode\nargument of AccessExclusiveLock. Does anyone see a reason why\nShareUpdateExclusiveLock would be insufficient?\n\n-- \nRobert Haas\nEnterpriseDB: http://www.ente...
[ { "msg_contents": "I've got low-level routines coded for interfacing predicate.c to SLRU\nto handle old committed transactions, so that SSI can deal with\nsituations where a large number of transactions are run during the\nlifetime of a single serializable transaction. I'm not actually\n*using* these new funct...
[ { "msg_contents": "Hi,\n\nI've been working on finishing the extension's coding work for 9.1 with\nadding support for extensions UPGRADE. That means both running the\nupgrade script of an already installed extension and supporting the case\nwhen a bunch of objects were not recognized as an extension before.\n\...
[ { "msg_contents": "Basic foreign table support.\n\nForeign tables are a core component of SQL/MED. This commit does\nnot provide a working SQL/MED infrastructure, because foreign tables\ncannot yet be queried. Support for foreign table scans will need to\nbe added in a future patch. However, this patch creat...
[ { "msg_contents": "We're coming the end of the 9.1 development cycle, and I think that\nthere is a serious danger of insufficient bandwidth to handle the\nlarge patches we have outstanding. For my part, I am hoping to find\nthe bandwidth to two, MAYBE three major commits between now and the\nend of 9.1CF4, but...
[ { "msg_contents": "Hi,\n\nI ran into the problem of getting the last n elements out of an array \nand while some workarounds do exist:\n(http://stackoverflow.com/questions/2949881/getting-the-last-element-of-a-postgres-array-declaratively) \nI was still annoyed that I couldn't just ask for the last n values in ...
[ { "msg_contents": "Implement remaining fields of information_schema.sequences view\n\nAdd new function pg_sequence_parameters that returns a sequence's start,\nminimum, maximum, increment, and cycle values, and use that in the view.\n(bug #5662; design suggestion by Tom Lane)\n\nAlso slightly adjust the view's ...
[ { "msg_contents": "Heikki Linnakangas wrote:\n \n> Nothing checking for the hi-bit flag AFAICS. I guess the code that\n> uses that would do check it.\n \nRight. After getting this layer done, I went off to watch the\nBadgers in the Rose Bowl, leaving that coding for today. ;-)\n \n> But wouldn't it be simple...
[ { "msg_contents": "Simon Riggs wrote:\n> On Sat, 2011-01-01 at 23:36 -0500, Robert Haas wrote:\n>> On Sat, Jan 1, 2011 at 6:54 AM, Simon Riggs\n wrote:\n>>> Yes, working out the math is a good idea. Things are much clearer\n>>> if we do that.\n>>>\n>>> Let's assume we have 98% availability on any single server...
[ { "msg_contents": "Simon Riggs wrote:\n \n> Do you agree that requiring response from 2 sync standbys, or\n> locking up, gives us 94% server availability, but 99.9992% data\n> durability?\n \nI'm not sure how to answer that. The calculations so far have been\nbased around up-time and the probabilities that yo...
[ { "msg_contents": "Robert Haas wrote:\n \n> - true serializability - not entirely sure of the status of this\n \nI try to keep the status section of the Wiki page up-to-date. I have\njust reviewed it and tweaked it for the latest events:\n \nhttp://wiki.postgresql.org/wiki/Serializable#Current_Status\n \nTher...
[ { "msg_contents": "Hello. Maybe are any often bugs? they may be found by more asserts to\ntrack internal state of structures. Or tools like lastly developed\nscript for c++ keywords.\n\n-- \nSent from my mobile device\n\n------------\npasman\n", "msg_date": "Sun, 2 Jan 2011 21:37:00 +0100", "msg_from": ...
[ { "msg_contents": "Hi,\n\ni'v created a patch enables support for building PostgreSQL with Visual \nStudio 2010 or Microsoft Windows SDK for Windows 7 and .NET Framework 4 \n(Windows SDK 7.1).\nYou can grab it from http://www.piening.info/VS2010.patch\nIt only touches the .pl, .pm and .bat files in src/tools/ms...
[ { "msg_contents": "Hello all,\n\nthis patch adds support for connecting to servers running on Windows\nand requesting SSPI authentication. It does this by treating\nAUTH_REQ_SSPI the same as AUTH_REQ_GSS if no native SSPI support is\navailable.\n\nIn addition to being generally useful, this is a workaround to a...
[ { "msg_contents": "I'm working on completing Heikki's patch for streaming base backups,\nand have run into a problem:\n\nIn order to dump all tablespaces properly, I have to know where they\nare (d'uh). In order to do that, I need to scan pg_tablespace.\nHowever, scanning that from walsender gives me:\n\nFATAL:...
[ { "msg_contents": "\nThe following patch allows me to build the 8.3 and 8.4 branches using \nVisual Studio 2008, once the build system is patched. But I don't really \nknow why. HEAD and 9.0 build fine without it. But those branches \nbranches fail with a complaint about IPPROTO_IPV6 being undefined.\n\nThe pat...
[ { "msg_contents": "I have been updating my work in progress here:\n\nhttp://git.postgresql.org/gitweb?p=users/jdavis/postgres.git;a=log;h=refs/heads/rangetypes\n\nRight now, it's not in a reviewable state, but those interested can\nglance through the code.\n\nQuick synopsis (for illustration purposes only; don'...
[ { "msg_contents": "Hi hackers,\n\nThe project I'm currently working with fsnapshot[1], is written in\nplain plpgsql and I need to sort all the oids in their\ncreatable/droppable order.\nThis has already been properly implemented in pg_dump_sort.c using\nKnuth's algorithm for topological sorting, with some speci...
[ { "msg_contents": "Hi,\n\nPlease find attached patch v23, which includes some more cleanup and a\nfresh merge against master (recent work on SQL/MED caused merge issues).\n\nSome code cleanup is also there for the next patch in the series to be\neasier to review, namely the upgrade support. Following good prac...
[ { "msg_contents": "Hi,\n\nPlease find attached the patch to support ALTER EXTENSION UPGRADE,\nfollowing exchanges made on this list — we can't really speak about\ndecisions here, apparently, until commit is done :)\n\nThe documentation is available online for easy browsing here:\n\n http://pgsql.tapoueh.org/ex...
[ { "msg_contents": "Greg Smith wrote:\n \n> I could see shipping this with the automatic heavy LOCK TABLE in\n> there.\n \nHow would you handle or document behavior in REPEATABLE READ\nisolation? The lock doesn't do much good unless you acquire it\nbefore you get your snapshot, right?\n \n-Kevin\n", "msg_d...
[ { "msg_contents": "I've been thinking about how to fix GIN's assorted corner-case problems,\nas has been discussed several times, most recently here:\nhttp://archives.postgresql.org/pgsql-hackers/2010-10/msg00521.php\nSee also\nhttp://wiki.postgresql.org/wiki/Todo#GIN\n\nThere are basically three related issues...
[ { "msg_contents": "Hello, Hackers!\nWe have a project developed at Interbase and Firebird.\nNow we try use PostgreSQL and have some problem\n\nWhy doesn`t work this query?\nselect table1.field1, func1.field2 from table1 left outer join \nfunc1(table1.field1) on true where func1.field3 in (20, 100);\n\nIf i have...
[ { "msg_contents": "Somebody asked about this on Depesz's blog today, and I think it's\ncome up here before too, so I thought it might be worth my writing up\na few comments on this. I don't think I'm going to have time to work\non this any time soon, but if someone else wants to work up a patch,\nI'm game to r...
[ { "msg_contents": "Attached is an updated streaming base backup patch, based off the work\nthat Heikki\nstarted. It includes support for tablespaces, permissions, progress\nreporting and\nsome actual documentation of the protocol changes (user interface\ndocumentation is\ngoing to be depending on exactly what t...
[ { "msg_contents": "I have applied the attached four patches which simplify pg_upgrade\nprocessing --- less code means fewer bugs. The commit message is at the\ntop of each patch.\n\nThe last patch fixes a problem where I was not migrating\npg_largeobject_metadata and its index for 9.0+ migrations, which of\nco...
[ { "msg_contents": "The attached, applied patch clarifies pg_upgrade's creation of the map\nfile structure. It also cleans up pg_dump's calling of\npg_upgrade_support functions.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.c...
[ { "msg_contents": "The psql manual page mentions lo_insert:\n\n LASTOID\n The value of the last affected OID, as returned\n--> from an INSERT or lo_insert command. This variable\n is only guaranteed to be valid until after the\n result of the next S...
[ { "msg_contents": "Have a look at\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=raven&dt=2011-01-05%2001%3A30%3A12\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=currawong&dt=2011-01-06%2002%3A30%3A01\nI recall seeing a couple of similar failures in the past few weeks but\ncan't dredge them u...
[ { "msg_contents": "Whilst fooling around with GIN, I have repeatedly observed that doing\n\"make\" in src/backend/access/gin, followed by \"make install-bin\" in\nsrc/backend, fails to rebuild the postgres executable --- it just\ninstalls the existing one. A second execution of \"make install-bin\"\ndoes notic...
[ { "msg_contents": "Greetings,\n\n Looking at discard all, I was a bit suprised that 'DISCARD PLANS;'\n doesn't clear out cached stored procedures. To be honest, that's one\n of the main reasons I'd see to use it. I thought there had been some\n discussion in the archives related to invalidating stored pro...
[ { "msg_contents": "Greetings hackers!\n\nI've renamed the project fsnapshot to pov, PostgreSQL Object Version\ncontrol system. :)\n\nI've also created a quite nifty SQL command line based utility to\nperform graph/tree sorting algorithms on data in the database, without\nthe need to export the data to some exte...
[ { "msg_contents": "bruce wrote:\n> Robert Haas wrote:\n> > On Thu, Jan 6, 2011 at 1:59 PM, Bruce Momjian <bruce@momjian.us> wrote:\n> > > Well, if everyone who logs in gets the same username, you can easily\n> > > conclude that trying to dump/restore the database will cause problems if\n> > > you have objects i...
[ { "msg_contents": "[TEST REPORT]\n\n[Release]: 9.1Alpha3. Binaries compiled with mingw-32 (gcc 4.4.0) on\ni686 without zlib support.\n\n[Test Type]: Feature\n\n[Test]: a) Check feature E.1.4.7.2 in 9.1Alpha3 release notes\n(Monetary data type). b) Documentation mistake(?)\n\n[Platform]: Windows 7 Professional 6...
[ { "msg_contents": "New system view pg_stat_replication displays activity of wal sender processes.\n\nItagaki Takahiro and Simon Riggs.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=a755ea33ae3d772977fa083a8614bb9d4cc36e5a\n\nModified Files\n-----...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHello Hackers,\n\nI believe comments in the recovery.conf.sample are somehow confusing\nabout standby and SR:\n\n # Edit this file to provide the parameters that PostgreSQL needs to\n # perform an archive recovery of a database, or to act as...
[ { "msg_contents": "One of the things that I ripped out of the SQL/MED syntax patch before\ncommitting it was the hack that made LOCK TABLE also work on FOREIGN\nTABLEs. Since we're treating a foreign table as a different kind of\nobject than a TABLE in some places, we shouldn't confuse the two\nthings elsewher...
[ { "msg_contents": "Hi all!\n\nI was a bit frustrated there was no function to generate a unique\nidentifier for any oid.\nInstead of complaining, I decided to automate the process as far as possible. :)\n\nThe result is a simple perl function to automatically generate a\nfunction for each regclass able to gener...
[ { "msg_contents": "Here's a new series of patches for the parallel dump/restore. They need to be\napplied on top of each other.\n\nThe parallel pg_dump patch does not yet use the synchronized snapshot\nfunctionality from my other patch to not create more dependencies than\nnecessary.\n\n(1) pg_dump directory ar...
[ { "msg_contents": "Now that GIN can index null items, its amindexnulls flag in pg_am really\nought to be set true. However, looking at the usage of that column,\nI wonder whether we shouldn't just delete it instead. The only present\nusage is a rather convoluted test in CLUSTER to see if the index is\nsafely ...
[ { "msg_contents": "At one point I was working on a patch to pgbench to have it adopt 64-bit \nmath internally even when running on 32 bit platforms, which are \ncurrently limited to a dataabase scale of ~4000 before the whole process \ncrashes and burns. But since the range was still plenty high on a \n64-bit ...
[ { "msg_contents": "The attached two patches clarify pg_upgrades behavior. Specifically,\nthe first patch updates the C comments regarding pg_upgrade_support.\n\nThe second patch clarifies that pg_class.oid really needs preserving,\nnot pg_class.relfilenode. We used to use create relfilenode files to\npreserve...
[ { "msg_contents": "The attached, applied patch for pg_upgrade tracks only one copy of\nnamespace/relname in FileNameMap because the old and new values are\nidentical.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + I...
[ { "msg_contents": "While looking at the backend code, I realized that error code for\n\"terminating connection due to conflict with recovery\" is\nERRCODE_ADMIN_SHUTDOWN.\n\nI thought the error code is for somewhat a human interruption, such as\nshutdown command issued by pg_ctl. Is the usage of the error code\...
[ { "msg_contents": "In my first attached, applied patch, I have found a way to speed\nrelations lookups in pg_upgrade. I knew there was a way to optimize\nthis but it was not clear until my major cleanups. Instead of doing\neffectively a nested loop join on old/new relations, I now order them\nand use a 1:1 me...
[ { "msg_contents": "I just finished implementing the SLRU techniques to limit shared\nmemory usage and provide graceful degradation under pessimal loads\n(as suggested by Heikki), Dan seems to be wrapping up work on\npreventing non-serializable transactions from being rolled back with\na serialization failure if...
[ { "msg_contents": "Robert Haas wrote:\n \n> Well, my first thought is - I'm not sure it's realistic to think\n> we're going to get this committed to 9.1.\n>\n> But that's not a very helpful thought. I just don't know who is\n> going to review 7700 lines of code in the next month, and it\n> doesn't sound like i...
[ { "msg_contents": "Properly install gram.h on MSVC builds\n\nThis file is now needed by pgAdmin builds, which started\nfailing since it was missing in the installer builds.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3457514c2d9bac552d4caeb1d3a...