threads
listlengths
1
2.99k
[ { "msg_contents": "Although HEAD builds seem to still be happy, all back branches have\nbeen failing with git errors for the last six hours or so. Who broke\nwhat?\n\n\t\t\tregards, tom lane\n", "msg_date": "Sun, 10 Jun 2012 09:05:20 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op"...
[ { "msg_contents": "> Tom Lane wrote:\n> \"Kevin Grittner\" writes:\n>> Because the current support for temporary tables is relatively\n>> similar to the standard's description of LOCAL TEMPORARY TABLES,\n>> but nothing at all like the standard's descri0ption of GLOBAL\n>> TEMPORARY TABLES.\n> \n> Um ... did y...
[ { "msg_contents": "So currently we have a major limitation in binary replication, where it is not possible to \"remaster\" your system (that is, designate the most caught-up standby as the new master) based on streaming replication only. This is a major limitation because the requirement to copy physical logs ...
[ { "msg_contents": "Run pgindent on 9.2 source tree in preparation for first 9.3\ncommit-fest.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/927d61eeff78363ea3938c818d07e511ebaf75cf\n\nModified Files\n--------------\ncontrib/auto_explain/auto_explain.c | 2 ...
[ { "msg_contents": "As discussed in several different email threads here and on\nperformance , when using pg_dump a on large number of objects, the\nserver has a quadratic behavior in LockReassignCurrentOwner where it\nhas to dig through the entire local lock table to push one or two\nlocks up from the portal be...
[ { "msg_contents": "Hi,\n\nWith the following test case pgdump creates a corrupt tar file i.e.\n\nCREATE DATABASE dump_test;\n> \\c dump_test\n> CREATE TABLE test_table1 (int1 int);\n> INSERT INTO test_table1 (SELECT * FROM generate_series(1, 1000));\n> \\! pg_dump -F t -f dump_test.tar dump_test\n\n\nDebugging ...
[ { "msg_contents": "So, when are we thinking we might release 9.2.0?\n\nWe've done a fall release the last two years, but it's not obvious to\nme that we have a whole lot of blockers left. In fact, the only\nblocker for which we have nothing that looks like a fix at present\nseems to be this:\n\nhttp://archives...
[ { "msg_contents": "Hi,\n\nConsider:\n\nSELECT xml '<foo>bar</foo><bar>foo</bar>' IS DOCUMENT;\n\nAnd I was looking at xml_is_document() source code. It calls xml_parse\nwhich throws an error with code set to ERRCODE_INVALID_XML_DOCUMENT. The\ncatch block of xml_parse then rethrows.\n\nNow xml_is_document does a...
[ { "msg_contents": "Probably the most common issue we see from Windows users of PostgreSQL\nis confusion over the passwords the installer asks for during\ninstallation and upgrade. I'd like to try to reduce that, but am\nstruggling to come up with clear, simple wording.\n\nSome background: By default the install...
[ { "msg_contents": "Dave Page wrote:\n \n> Probably the most common issue we see from Windows users of\n> PostgreSQL is confusion over the passwords the installer asks for\n> during installation and upgrade.\n \nYeah, I think so.\n \n> Attached are some screenshots of the current installation and\n> upgrade ste...
[ { "msg_contents": "Magnus Hagander wrote:\n> Kevin Grittner wrote:\n \n>> Are they running the installation as a system administrator? If\n>> so, rather than throwing up an error message and telling them to\n>> go use other tools to reset the password, is it possible for the\n>> administrator account to force...
[ { "msg_contents": "Mark JSON error detail messages for translation.\n\nPer gripe from Tom Lane.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/36b7e3da17bcca4efe5584d95c386cec2a221a13\n\nModified Files\n--------------\nsrc/backend/utils/adt/json.c | 12 ++++++------\n1 f...
[ { "msg_contents": "Folks,\n\nPer discussion at the PGCon developers meeting, everyone who submitted\npatches to the upcoming CommitFest should also sign up to review an\nequal number of patches (of roughly comparable complexity). Of\ncourse, we also need people who haven't submitted anything to\nvolunteer to r...
[ { "msg_contents": "Is this normal Postgres / psql behavior?\n\ngriffindb=# \\d system.user;\n Table \"system.user\"\n Column | Type | Modifiers\n\n-----------+-----------------------+--------------------------------------------\n--------\n...
[ { "msg_contents": "On 12.6.2012 21:33, David Johnston wrote:\n\nOn Jun 12, 2012, at 15:21, Dusan Misic <promisic@gmail.com> wrote:\n\nIs this normal Postgres / psql behavior?\n\ngriffindb=# \\d system.user;\n Table \"system.user\"\n Column | Type | ...
[ { "msg_contents": "hackers,\n\nA while back I made an effort implementing a backend local hint bit\ncache with the intention of mitigating i/o impact for scan heavy\nworkloads that involve moving a lot of records around per transaction.\n The basic concept was to keep some backend private memory that\ntracked t...
[ { "msg_contents": "Does it make sense to have a comment on function's arguments? Of course \nit is possible to include these comments in a function's comment, but \nmay be better to have them in more formalized way like comments on \ncolumns of a table. IDEs may use this information when providing hints \nfor a...
[ { "msg_contents": "I was looking for missing use of gettext plural forms, which led me to\nerrdetail_busy_db().\n\nWhile we can't do much about this:\n\n errdetail(\"There are %d other session(s) and %d prepared transaction(s) using the database.\",\n notherbackends, npreparedxacts);\n\nI think ...
[ { "msg_contents": "Hi everyone,\n\nThis mail contains the highlevel design description of how our prototype of\nin-core logical replication works. The individual patches will be posted as\nreplies to this email. I obviously welcome all sorts of productive comments to\nboth the individual patches and the archite...
[ { "msg_contents": "Seeing as we're about to start a CommitFest, I think it's about time\nto create the 9.3devel branch.\n\nI'm happy to do it, but I believe it's usually Tom's gig.\n\nTom?\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterprisedb.com\nThe Enterprise PostgreSQL Company\n", "msg_date": "Wed,...
[ { "msg_contents": "While working on some code today, I noticed that RELKIND_UNCATALOGED\nappears to serve no useful purpose. In the few places where we check\nfor it at all, we treat it in exactly the same way as\nRELKIND_RELATION. It seems that it's only purpose is to serve as a\nplaceholder inside each newl...
[ { "msg_contents": "It's probably an academic concern, but what happens if a backend saves\noff cachedFetchXidStatus and then sleeps for a very long time. During\nthat time an xid wraparound happens and the backend wakes up and\nhappens to read another unhinted tuple with the same xid and a\ndifferent commit st...
[ { "msg_contents": "Hi,\n\nThe patch as of yet doesn't contain how you actually can use the prototype... \nObviously at this point its not very convenient:\n\nI have two config files:\nNode 1:\nport = 5501\nwal_level = logical\nmax_wal_senders = 10\nwal_keep_segments = 200\nmultimaster_conninfo = 'port=5502 host...
[ { "msg_contents": "Hackers,\n\nattached patch implements quad-tree on ranges. Some performance results in\ncomparison with current GiST indexing.\nIndex creation is slightly slower. Probably, it need some investigation.\nSearch queries on SP-GiST use much more pages. However this comparison can\nbe not really c...
[ { "msg_contents": "Hi,\n\nThere was already some discussion about compressing libpq data [1][2][3].\nRecently, I faced a scenario that would become less problematic if we have had\ncompression support. The scenario is frequent data load (aka COPY) over\nslow/unstable links. It should be executed in a few hundre...
[ { "msg_contents": "Hi,\n\n following Gabriele's email regarding our previous patch on \"Foreign\nKey Arrays\"[1], I am sending a subset of that patch which includes only\ntwo array functions which will be needed in that patch: array_remove\n(limited to single-dimensional arrays) and array_replace.\n\n The pat...
[ { "msg_contents": "I'd like to propose pgsql_fdw, FDW for PostgreSQL, as a contrib module\nin core, again. This patch is basically rebased version of the patches\nproposed in 9.2 development cycle, and contains some additional changes\nsuch as concern about volatile variables for PG_CATCH blocks. In\naddition...
[ { "msg_contents": "Here's a WIP patch implementing metapages for all relations, somewhat\nalong lines previously discussed:\n\nhttp://archives.postgresql.org/pgsql-hackers/2012-05/msg00860.php\n\nIt turns out that doing this for indexes was pretty easy and didn't\nobviously break anything; doing it for heaps wa...
[ { "msg_contents": "I am planning to work on the below Todo list item for this CommitFest \nAllow WAL information to recover corrupted pg_controldata \nhttp://archives.postgresql.org/pgsql-patches/2006-06/msg00025.php \n \nI wanted to confirm my understanding about the work involved for this patch:\n\nThe exi...
[ { "msg_contents": "The attached patch provides bare row-level security feature.\n\nTable's owner can set its own security policy using the following syntax:\n ALTER TABLE <table> SET ROW LEVEL SECURITY (<condition>);\n ALTER TABLE <table> RESET ROW LEVEL SECURITY;\n\nThe condition must be an expression that r...
[ { "msg_contents": "Hi,\n\nThis is v12 of the foreign key locks patch.\n\nI gave a talk about this patch at PGCon:\nhttp://www.pgcon.org/2012/schedule/events/483.en.html\nThere is an article there that explains this patch.\n\nI described the original goal of this in the thread starting here:\nhttp://archives.pos...
[ { "msg_contents": "New SQL functons pg_backup_in_progress() and pg_backup_start_time()\n\nDarold Gilles, reviewed by Gabriele Bartolini and others, rebased by\nMarco Nenciarini. Stylistic cleanup and OID fixes by me.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/68de499...
[ { "msg_contents": "On Thu, Jun 14, 2012 at 11:39 AM, Amit Kapila <amit.kapila@huawei.com> wrote:\n> I am planning to work on the below Todo list item for this CommitFest\n> Allow WAL information to recover corrupted pg_controldata\n> http://archives.postgresql.org/pgsql-patches/2006-06/msg00025.php\n\nThe deadl...
[ { "msg_contents": "As I threatened earlier \n(http://archives.postgresql.org/message-id/4FD0B1AB.3090405@enterprisedb.com), \nhere are three patches that change the WAL format. The goal is to change \nthe format so that when you're inserting a WAL record of a given size, \nyou know exactly how much space it req...
[ { "msg_contents": "Here is my first patch for the transforms feature. This is a mechanism\nto adapt data types to procedural languages. The previous proposal was\nhere: http://archives.postgresql.org/pgsql-hackers/2012-05/msg00728.php\n\nAt the surface, this contains:\n\n- New catalog pg_transform\n\n- CREATE...
[ { "msg_contents": "I've been a PostgreSQL user for years and have a feature that I'd like to\nsee implemented. I've started playing with the source and have a vague\nimplementation plan for it, but before I go blundering around I'd like to\nrun the idea by this list. So here it is:\n\nI'd like to be able to s...
[ { "msg_contents": "\n", "msg_date": "Fri, 15 Jun 2012 19:47:43 +0900", "msg_from": "Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>", "msg_from_op": true, "msg_subject": "" } ]
[ { "msg_contents": "All,\n\nIn the course of debugging why a particular server required increasing\nmax_locks_per_transation, I found a peculiar behavior. If you do an\nUPDATE which doesn't match any CE constraint on the parent table in an\ninheritance chain, you get a RowExclusiveLock on every partition and\ne...
[ { "msg_contents": "The row-processor API is now in 9.2, but it solves only the \n\"different-row-storage\" problem, but not the \"one-row-at-a-time\"\nproblem, as libpq is still in control until all rows are received.\n\nThis means libpq cannet still be used to implement iterative\nresult processing that almost...
[ { "msg_contents": "Hi,\n\nAllow me to open the new season of the DML trigger series, named\npg_event_trigger. This first episode is all about setting up the drama,\nso that next ones make perfect sense.\n\nThe attached patch contains all the infrastructure for event triggers\nand also a first implementation of ...
[ { "msg_contents": "Hi,\n\nThis patch splits htup.h in two pieces -- the first one (tupbasics.h;\nnot wedded to the name) does not include many other headers and is just\nenough to have other parts of the code create tuples and pass them\naround, to be used by most other headers. The other one (which keeps\nthe...
[ { "msg_contents": "I'm not sure if this is something I don't know how to do, or if it's\nsomething we simply can't do, or if it's something we could do but the\nsyntax can't handle :-)\n\nBasically, I'd like to combine a recursive and a non-recursive CTE in\nthe same query. If I do it non-recursive, I can do so...
[ { "msg_contents": "\nHello pgdev,\n\n(Second attempt)\n\nI've conducted a statistical study about PostgreSQL use in OSS. One of the \nresult is that quite a few projects have errors in their SQL setup scripts \nwhich lead to some statements to be ignored, typically somme ADD \nCONSTRAINTS which do not change th...
[ { "msg_contents": "Hi hackers,\n\nI found that lower case is less than upper case when the db is created \nwith utf8.\nI tried below\n locale en_US.utf8 'A'<'a' false\n locale ja_JP.utf8 'A'<'a' true\n locale zh_CN.utf8 'A'<'a' false\nUnder Windows\n locale Chinese_Chin...
[ { "msg_contents": "On 12 February 2012 02:06, Vik Reykja <vikreykja@gmail.com> wrote:\n> I decided to take a crack at the todo item created from the following post:\n> http://archives.postgresql.org/pgsql-performance/2005-10/msg00458.php\n>\n> The attached patch makes the desired changes in both code and functi...
[ { "msg_contents": "There hasn't been any discussion of who will manage this CF that I've\nheard. Since nature abhors a vacuum, I took some preliminary steps\nto get it started, and will take the role if nobody objects.\n \nIf you want to review a particular patch, go ahead and claim it in\nthe CF application:\...
[ { "msg_contents": "While looking at Vik Reykja's pending patch to improve the FK triggers\nby skipping processing when a NULL column didn't change, I started to\nwonder whether that really had no user-visible semantic effect.\nIn particular, in ON UPDATE SET NULL/SET DEFAULT cases, it seemed like\nthis could ch...
[ { "msg_contents": "Our foreign-key-related code uses MATCH_UNSPECIFIED to denote the\ndefault foreign key match behavior. This corresponds to the wording\nused in the SQL92 spec, for instance \"If <match type> is not specified\nor if FULL is specified, ...\". But I always found it rather confusing;\nit sounds...
[ { "msg_contents": "I've had a vague feeling for awhile now that the occasional buildfarm\nfailures we see in the stats regression test (where it appears that the\nstats collector fails to respond to requests for no good reason) might\nbe related to operating-system timekeeping glitches. Today there is\nfinally...
[ { "msg_contents": "IMO, both approaches make sense...\n\n From temporal point no doubt, referencing should be contained by\nreferenced table....\n\n From other side could be useful if in master table are elements with\nsimple data type, but for some set of elements there could be common\nproperties in another t...
[ { "msg_contents": "Simon Riggs wrote:\nMisa Simic wrote:\n \n>> IMO, both approaches make sense...\n>\n> Agreed.\n \nCan someone provide a practical example of a \"foreign key with array\"\nuse case? The only situations I'm able to think of right now are the\nsame cases where you would now use a table with p...
[ { "msg_contents": "Gurjeet Singh wrote:\n> Dean Rasheed wrote:\n \n> in HEAD:\n>> ... (actual time=1390.037..1390.037 rows=0 loops=1)\n>> Trigger for constraint fk_table_e_fkey: time=210.184 calls=90000\n>> Total runtime: 1607.626 ms\n \n>> With this patch:\n>> ... (actual time=1489.640..1489.640 rows=0 loops=...
[ { "msg_contents": "I'm giving 9.2-beta2 a test simulating a production workflow.\n\nEverything looks OK except the speed. Most (all?) queries take about\nfive to six times as long as they do with 9.1.\n\nThe configurations are essentially the same, the query plans are the same.\n\nA (hot) example, pulled semi-...
[ { "msg_contents": "Hi,\n\nPostgreSQL 9.2 Windows build is having trouble with the XML support:\nhttp://postgresql.1045698.n5.nabble.com/9-2-beta1-libxml2-can-t-be-loaded-on-Windows-td5710672.html\n\npostgres=# SELECT xml '<foo>bar</foo>';\nERROR: could not set up XML error handler\nHINT: This probably indicate...
[ { "msg_contents": "Hackers,\n\nWhile experimenting with gistchoose I achieve interesting results about\nrelation of gistchoose behaviour and gist index bloat.\nI've created following testcase for reproducing gist index bloating:\n1) Create test table with 1000000 points from geonames\n# create table geotest (id...
[ { "msg_contents": "On Wed, Feb 1, 2012 at 5:23 AM, Chetan Suttraway\n\n<chetan(dot)suttraway(at)enterprisedb(dot)com> wrote:\n\n> Hi All,\n\n> \n\n> This is regarding the TODO item :\n\n> \"Add SPI_gettypmod() to return a field's typemod from a TupleDesc\"\n\n> \n\n> The related message is:\n\n> http://archives...
[ { "msg_contents": "Out of (mostly idle) curiousity, when exactly does a transaction commit,\nespecially with respect to a TCP connection that a pathological demon will\ncut off at the worst possible moment?\n\nThe thing is, I'm using PostgreSQL as a queue, using asynchronous\nnotifications and following the ...
[ { "msg_contents": "Chetan Suttraway <chetan(dot)suttraway(at)enterprisedb(dot)com> wrote:\n\n> This is regarding the TODO item:\n\n> \"Prevent the specification of conflicting transaction read/write\n\n> options\"\n\n> \n\n> listed at:\n\n> http://wiki.postgresql.org/wiki/Todo\n\n \n\nHere's my review of this p...
[ { "msg_contents": "There was a regression introduced in 9.2 that effects the creation and\nloading of lots of small tables in a single transaction.\n\nIt affects the loading of a pg_dump file which has a large number of\nsmall tables (10,000 schemas, one table per schema, 10 rows per\ntable). I did not test ot...
[ { "msg_contents": "What is the latest theory on using int4 vs. int32 in C code?\n\n(equivalently int2, int16)\n\nI had the idea that using int4 was sort of deprecated, and most code\nuses int32, but I've come across several uses of int4 lately that looked\nodd to me.\n\nI think the main reason that we define in...
[ { "msg_contents": "Hi,\n\nThere are 70+ calls of malloc in the backend in the form of\n\ntype* foo = malloc(sizeof(...));\nif(!foo)\n elog(ERROR, \"could not allocate memory\");\n\nwhich is a bit annoying to write at times. Would somebody argue against \nintroducing a function that does the above named xmallo...
[ { "msg_contents": "Our current interpretation of the difference between foreign keys with\nON UPDATE/DELETE NO ACTION and those with ON UPDATE/DELETE RESTRICT\nis that they mean the same thing but RESTRICT checks are not deferrable.\nIt follows from this that the trigger code ought to be the same for\nNO ACTION...
[ { "msg_contents": "In January of 2011 Robert committed \n7f242d880b5b5d9642675517466d31373961cf98 to try and compact the fsync \nqueue when clients find it full. There's no visible behavior change, \njust a substantial performance boost possible in the rare but extremely \nbad situations where the background w...
[ { "msg_contents": "Currently pgbench -i prints following message every 10k tuples created.\n\n\t\t\tfprintf(stderr, \"%d tuples done.\\n\", j);\n\nI think it's long time ago when the frequency of message seemed to be\nappropriate because computer is getting so fast these days and every\n10k message seems to be ...
[ { "msg_contents": "Hi list,\n\nThe recent 9.2 beta releases have used a slightly different numbering\nscheme than all previous releases.\n\nIt used to be that tarballs for version $VER were always available at:\n http://ftp.postgresql.org/pub/source/v$VER/postgresql-$VER.tar.bz2\n\nHowever, the new releases no...
[ { "msg_contents": "As I had written in [0], using /usr/bin/install instead of install-sh\ncan significantly speed up the time to run make install, and hence make\ncheck. Using /usr/bin/install is standard in all autotools-using\nprojects. PostgreSQL has removed the use of /usr/bin/install because of\nthe inci...
[ { "msg_contents": "> Heikki Linnakangas wrote:\n \n> I don't like the idea of adding the origin id to the record header.\n> It's only required in some occasions, and on some record types.\n \nRight.\n \n> And I'm worried it might not even be enough in more complicated\n> scenarios.\n>\n> Perhaps we need a more...
[ { "msg_contents": "I had trouble finding what operators arrays supported or which ones\nhad index support or even determining that arrays could be indexed from\nthe documentation from the array data type. So, patch.\n\n-Ryan Kelly", "msg_date": "Wed, 20 Jun 2012 09:23:38 -0400", "msg_from": "Ryan Kelly ...
[ { "msg_contents": "Folks,\n\nA co-worker filed a bug against file_fdw where the columns in a\nFOREIGN TABLE were scrambled on SELECT. It turned out that this comes\nfrom the (yes, it's documented, but since it's documented in a place\nnot obviously linked to the bug, it's pretty useless) \"feature\" of\nCOPY C...
[ { "msg_contents": "-----------------------------------\nProblem I'm trying to solve:\n    For partitioned tables,  make it possible to use RETURNING clause on INSERT INTO\n           together with DO INSTEAD rule\n\n[  Note  -  wherever I say INSERT I also mean UPDATE and DELETE ]\n\n---------------------------...
[ { "msg_contents": "There is a nontrivial amount of code in ri_triggers.c that is concerned\nwith supporting foreign key constraints having zero columns. There is\nof course no support for this concept in the standard; the semantics\ngiven to the case in the code are made up out of whole cloth.\n(Basically, it ...
[ { "msg_contents": "On 15 June 2012 03:10, Robert Haas <robertmhaas@gmail.com> wrote:\n> On Thu, Jun 14, 2012 at 11:39 AM, Amit Kapila <amit.kapila@huawei.com> wrote:\n\n>> I am planning to work on the below Todo list item...\n...\n>> Suggest me if my understanding is correct?\n>\n> I guess my first question is:...
[ { "msg_contents": "Hi Robert, Hi all,\n\nRobert and I talked quite a bit about different methods of providing enough \ninformation to extract tuples from wal. I don't think either of us is yet \nreally convinced of any individual method, so I want to recap our discussion \nin one email so others can chime in wi...
[ { "msg_contents": "I have this issue on Greenplum which is a MPP hybrid build from\npostgres 8.2, and the issue I am seeing is 100% from pg code.\n\nOne of the Greenplum segments went down and it cannot recover because\n\"PANIC\tXX000 invalid redo/undo record in shutdown checkpoint\n(xlog.c:6576)\"\n\nI am post...
[ { "msg_contents": "Maybe I am using it wrong but I get no error message when I use it. I\nhave a type called chkpass (a version is in the additional supplied\nmodules) and I create the equality operator like this:\n\nCREATE OPERATOR = (\n PROCEDURE = eq,\n LEFTARG = chkpass,\n RIGHTARG ...
[ { "msg_contents": "Don't know if everybody on this list has been paying attention to the\npgsql-bugs thread about bug #6699. The shortest example of the problem\nis\n\ncreate table t1 (f1 int primary key, f2 text);\ncreate view v1 as select f1, f2 from t1 group by f1;\n\nThe view's query is legal only because ...
[ { "msg_contents": "It has now happened at least twice that builds on spponbill started to\nfail after it failed during ECPGcheck:\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=spoonbill&dt=2012-06-19%2023%3A00%3A04\n\nthe first failure was:\n\nhttp://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=spoonbill&d...
[ { "msg_contents": "http://pgolub.wordpress.com/2012/06/22/backward-compatibility-never-heard-of-it\n\nIf we had stable system views for all database objects (stable as in we\njust append to them), then refactoring our system tables wouldn't break\nthings for our users. Just sayin'.\n\n(and don't tell me about ...
[ { "msg_contents": "About the new --maintenance-db options:\n\nWhy was this option not added to createuser and dropuser? In the\noriginal discussion[0] they were mentioned, but it apparently never made\nit into the code.\n\nI find the name to be unfortunate. For example, I think of running\nvacuum as \"mainten...
[ { "msg_contents": "Alvaro Herrera wrote:\n \n> So here's the rebased version.\n \nI found a couple problems on `make check-world`. Attached is a patch\nto fix one of them. The other is on pg_upgrade, pasted below.\n \n+ pg_upgrade -d\n/home/kevin/pg/master/contrib/pg_upgrade/tmp_check/data.old -D\n/home/kevi...
[ { "msg_contents": "Move WAL continuation record information to WAL page header.\n\nThe continuation record only contained one field, xl_rem_len, so it makes\nthings simpler to just include it in the WAL page header. This wastes four\nbytes on pages that don't begin with a continuation from previos page, plus\nf...
[ { "msg_contents": "Replace XLogRecPtr struct with a 64-bit integer.\n\nThis simplifies code that needs to do arithmetic on XLogRecPtrs.\n\nTo avoid changing on-disk format of data pages, the LSN on data pages is\nstill stored in the old format. That should keep pg_upgrade happy. However,\nwe have XLogRecPtrs em...
[ { "msg_contents": "I just committed the patch to change XLogRecPtr into a 64-bit constant, \nand I did this in the patch:\n\n#define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE)\n\nBut I started to wonder, is that LL representation the preferred way to \ndefine 64-bit integer constants? I thought it i...
[ { "msg_contents": "Every time I make a change to the structure of the catalog files,\ngenbki.pl produces a bunch of warnings (like \"Use of uninitialized value\nin string eq at genbki.pl line ...\"), and produces corrupted output\nfiles, that are then (possibly) detected later by the compiler. Also,\ngetting o...
[ { "msg_contents": "Howdy,\n\nWe're using NetApp's flexclone's whenever we need to move our DB between machines.\n\nOne specific case where we do that is when we're creating a new streaming replication target.\n\nThe basic steps we're using are:\npg_start_backup();\n<flex clone within the netapp>\npg_stop_backup...
[ { "msg_contents": "Hello, Pgsql-bugs.\n\nAccording to the \"Moving tablespaces\" thread started by Bruce\nhttp://archives.postgresql.org/pgsql-docs/2011-12/msg00003.php\npg_tablespace.spclocation column is removed in the 9.2beta. However\nthis breaks backward compatibility for a bunch of products, e.g.\npgAdmin...
[ { "msg_contents": "I've tried to cross-compile PostgreSQL from Linux to Windows, following\nthe ideas of Andrew Dunstan [0]. This works quite well. I see two\ncompiler warnings altogether, which might be worth getting rid of:\n\n#1\n\nmingwcompat.c:60:1: warning: ‘RegisterWaitForSingleObject’ redeclared witho...
[ { "msg_contents": "On HEAD at the moment, `make check-world` is failing on a 32-bit Linux\nbuild:\n\n+ pg_upgrade -d\n/home/kevin/pg/master/contrib/pg_upgrade/tmp_check/data.old -D\n/home/kevin/pg/master/contrib/pg_upgrade/tmp_check/data -b\n/home/kevin/pg/master/contrib/pg_upgrade/tmp_check/install//home/kevin...
[ { "msg_contents": "Remove sanity test in XRecOffIsValid.\n\nCommit 061e7efb1b4c5b8a5d02122b7780531b8d5bf23d changed the rules\nfor splitting xlog records across pages, but neglected to update this\ntest. It's possible that there's some better action here than just\nremoving the test completely, but this at lea...
[ { "msg_contents": "Hi all,\n\nI've been working on a new system view, pg_stat_lwlocks, to observe\nLWLock, and just completed my 'proof-of-concept' code that can work\nwith version 9.1.\n\nNow, I'd like to know the possibility of this feature for future\nrelease.\n\nWith this patch, DBA can easily determine a b...
[ { "msg_contents": "Hello\n\nI worked on simple patch, that enable access from server side to\nclient side data. It add two new hooks to libpq - one for returning of\nlocal context, second for setting of local context.\n\nA motivation is integration of possibilities of psql console together\nwith stronger langua...
[ { "msg_contents": "Hello\n\nI am sending lightly refreshed patch for checking plpgsql functions..\n\nI checked different implementation, but without success: a) enhancing\nof SPI to some fake mode can has negative impact on application, and\npatch was not clear, b) generic plpgsql walker doesn't save lines too....
[ { "msg_contents": "Hi,\n\nI am currently trying to understand what looks like really bad scalability of\n9.1.3 on a 64core 512GB RAM system: the system runs OK when at 30% usr, but only\nmarginal amounts of additional load seem to push it to 70% and the application\nbecomes highly unresponsive.\n\nMy current un...
[ { "msg_contents": "Robert, all:\n\nLast I checked, we had a reasonably acceptable patch to use mostly Posix\nShared mem with a very small sysv ram partition. Is there anything\nkeeping this from going into 9.3? It would eliminate a major\nconfiguration headache for our users.\n\n-- \nJosh Berkus\nPostgreSQL E...
[ { "msg_contents": "Hi,\n\nTo recapitulate why I think this sort of embedded list is worthwile:\n* minimal memory overhead (16 bytes for double linked list heads/nodes on \n64bit systems)\n* no additional memory allocation overhead\n* no additional dereference to access the contents of a list element\n* most mod...
[ { "msg_contents": "Hi, hackers I modified the code in add_path() a bit so that all the query path candidates inside pathlist will not be removed and all new path will be added into the pathlist, thus all path candidates are kept in pathlist. I then tested a four-relation query. In 9.1.3, I can see thousands ...
[ { "msg_contents": "Hi All,\n\nConsider the following testcase:\n\npostgres=# select version();\n\nversion\n-------------------------------------------------------------------------------------------------\n PostgreSQL 9.3devel on i686-pc-linux-gnu, compiled by gcc (Ubuntu\n4.4.3-4ubuntu5) 4.4.3, 32-bit\n(1 row)...
[ { "msg_contents": "Hi,\n\nOn Windows 7 64bit, plpython is causing server crash with the following\ntest case i.e.\n\nCREATE PROCEDURAL LANGUAGE 'plpython3u';\n> CREATE OR REPLACE FUNCTION pymax (a integer, b integer)\n> RETURNS integer\n> AS $$\n> if a > b:\n> return a\n> return b\n> $$ LANGUAGE plpyt...
[ { "msg_contents": "Alvaro Herrera wrote:\n \n> here's fklocks v14, which also merges to new master as there were\n> several other conflicts. It passes make installcheck-world now.\n \nRecent commits broke it again, so here's a rebased v15. (No changes\nother than attempting to merge your work with the pg_cont...
[ { "msg_contents": "When debugging strange and complex pg_hba lines, it can often be quite\nuseful to know which line is matching a particular connection that\nfailed for some reason. Because more often than not, it's actually not\nusing the line in pg_hba.conf that's expected.\n\nThe easiest way to do this is t...