threads
listlengths
1
2.99k
[ { "msg_contents": "Attached is a patch that adds columns to pg_stat_*_tables for number\nof [auto]vacuum and [auto]analyze runs on a table, completing the\ncurrent one that just had the last time these ran. It's particularly\nuseful to see how much autovac is doing on the tables, but I included\nthe counts of r...
[ { "msg_contents": "(Magnus and pghackers, I've included you in this email, since it appears to\nbe PostgreSQL bug. The example below is general, and not specific to Glue\nFinance database model. Feel free to share it with anyone.)\n\nI've just tried to replicate the deadlock in 8.4.4 and 9.0b4.\nSame problem in...
[ { "msg_contents": "Hackers,\n\nA while ago, I asked if .0 releases could be versioned with three digits instead of two. That is, it would be \"8.4.0\" instead of \"8.4\". This is to make the format consistent with maintenance releases (\"8.4.1\", etc.). I thought this was generally agreed upon, but maybe not, b...
[ { "msg_contents": "I've been poking into bug #5626,\nhttp://archives.postgresql.org/pgsql-bugs/2010-08/msg00291.php\n\nWhat's basically going on here is:\n1. User tried to suppress the public schema from the restore list.\n2. Since almost everything in the dump depends on the public schema,\npg_restore skipped ...
[ { "msg_contents": ">> The current system give people the completely false impression that\n>> 7.0 and 7.4 are somehow similar.\n>\n> On what planet?\n\non every single planet of the universe, except the one called\n\"postgrearth\", whose inhabitants breathe sql and eat messages from\npostgresql mailing lists......
[ { "msg_contents": "We agreed that we ought to do $SUBJECT in 9.1. Right offhand the\noutlines of a cleaner solution look pretty obvious:\n\n* Create a datatype with the same internal representation as TEXT;\nmake its input and recv routines throw errors, while the output\nroutines just reuse textout/textsend.\...
[ { "msg_contents": "While hacking around, I noticed that a lot of makeVar() calls could be\nrefactored into some convenience functions, to save some redundancy and\nso that the unusual call patterns stand out better. Useful?", "msg_date": "Sun, 22 Aug 2010 00:13:23 +0300", "msg_from": "Peter Eisentraut ...
[ { "msg_contents": "pg_archivecleanup -d (=verbose/DEBUG mode) mainly emits 2 types of messages:\n\n\npg_archivecleanup: keep WAL file \"000000010000000000000002\" and later\n\nand:\n\npg_archivecleanup: removing file\n\"/var/data2/pg_stuff/dump/hotprime/replication_archive/00000001000000000000001B\"\n\n\nI foun...
[ { "msg_contents": "I noticed that we were already tracking the information about when an\nautovacuum worker was last started in a database, but this information\nwas not exposed. The attached patch puts this column in\npg_stat_database.\n\nWas there any particular reason why this wasn't exposed before that\nI'v...
[ { "msg_contents": "I just noticed that we are now advertising the ability to insert UTF16\nsurrogate pairs in strings and identifiers (see section 4.1.2.2 in\ncurrent docs, in particular). Is this really wise? I thought that\nsurrogate pairs were specifically prohibited in UTF8 strings, because\nof the securi...
[ { "msg_contents": "Attached is a WIP patch that allows enums to be extended with additional \nlabels arbitrarily. As previously discussed, it works by adding an \nexplicit sort order column to pg_enum. It keeps track of whether the \nlabels are correctly sorted by oid value, and if so uses that for \ncomparison...
[ { "msg_contents": "PostgreSQL developers,\nI am unable to drop a role with presumably no object dependencies or\nconnection access on my PostgreSQL 8.4.2 installation (64-bit OSX). Any\nhelp would be greatly appreciated as I've spent way too much time trying\nto execute a simple command.\n\n\ntemplate1=# DROP R...
[ { "msg_contents": "Hi,\n\nI am using Perl (DBD::Pg) with Postgres. DBD::Pg already fully supports\nasynchronous queries, and the canceling of those queries, but I need to\ncancel a synchronous query. So to do that, I am trying to write\n$sth->cancel() support for DBD::Pg. Here's my example in Perl:\n\n\tmy $...
[ { "msg_contents": "Hackers,\n\nI've been trying to come up with a simpler way to iterate over a series of values in pgTAP tests than by creating a table, inserting rows, and then selecting from the table. The best I've come up with so far is:\n\n CREATE TYPE vcmp AS ( lv semver, op text, rv semver);\n\n S...
[ { "msg_contents": "Marko et al,\nThis is my first ever attempt of a patch review just for learning the\nprocedure. I'm not a postgres developer, so the review is partial and mostly\nfrom the usability prospective.\nThe original message id of the patch is\n4BD58DB3.4070605@cs.helsinki.fi<http://archives.postgres...
[ { "msg_contents": "Josh Berkus wrote:\n \n>> the behavior was the same up to the second UPDATE on Process 2, at\n>> which point there was no deadlock. Process 2 was able to commit,\n>> at which point Process 1 failed with:\n>> \n>> ERROR: could not serialize access due to concurrent update\n>\n> Does this h...
[ { "msg_contents": "So I got annoyed by $SUBJECT just now while chasing Wheeler's bug\nreport. Seems like this would be a good thing to print. Should\nit appear always, or just with VERBOSE, or ???\n\n\t\t\tregards, tom lane\n", "msg_date": "Tue, 24 Aug 2010 10:40:30 -0400", "msg_from": "Tom Lane <tgl@...
[ { "msg_contents": "Hi,\nI want to run two different versions of postgresql-8.2.5 under eclipse.\n\nBut, it requires me to change PGDATA and LD_LIBRARY_PATH to switch.\n\nMoreover, to let eclipse know the changes, I need to modify .profile\nunder my home folder, and log out and log in. (I am using Ubuntu.)\n\nIs...
[ { "msg_contents": "All,\n\nI've been looking at the open item which belongs with this doc:\n\nhttp://www.postgresql.org/docs/9.0/static/backup-incremental-updated.html\n\n... and my viewpoint is that the procedure described should be *cut*\nfrom the official docs and put on the Wiki, with warnings. It's simply...
[ { "msg_contents": "I think I've been able to reproduce the issue floating around with \nstreaming replication on AIX.\n\n\nLOG: could not bind IPv6 socket: The socket name is already in use.\nHINT: Is another postmaster already running on port 5433? If not, wait \na few seconds and retry.\nLOG: database syst...
[ { "msg_contents": "Hi,\n\nI just noticed that we restrict creation of a role named \"public\", but\nthis is case-sensitive -- i.e. we don't restrict roles named PUBLIC,\netc.\n\nIs this intended?\n\n-- \nÁlvaro Herrera <alvherre@alvh.no-ip.org>\n", "msg_date": "Tue, 24 Aug 2010 18:34:11 -0400", "msg_fro...
[ { "msg_contents": "Hey all,\n\n \n\nThis is just my email to notify you all that the project I've been\nworking on with Stephen, the PostgreSQL Performance Farm, has been\nreleased. As of now, it only supports 9.0, due to the use of workers.\nMore details can be found in the readme. The Git repository is locate...
[ { "msg_contents": "There's an entry in the 9.0 release notes saying that we've got\nfiltering dictionaries now. Cool, but I don't see any documentation\nof the feature in textsearch.sgml. Shouldn't there be some?\n\n\t\t\tregards, tom lane\n", "msg_date": "Tue, 24 Aug 2010 20:11:53 -0400", "msg_from":...
[ { "msg_contents": "Hi,\n\nPostgreSQL allows in plain SQL to declare a cursor\ne.g. in all lower case and fetch from is in all upper case.\nWe need to allow this from ECPG, too, but strictly when\nthe cursor name is not in a variable. Otherwise this code\nbelow doesn't notice the cursor's double declaration\nand...
[ { "msg_contents": "[resending after noticing that \"reply all\" resulted in sending to\npgsql-hackers-owner rather than pgsql-hackers]\n \n\"Luxenberg, Scott I.\" <Scott.Luxenberg@noblis.org> wrote:\n \n> This is just my email to notify you all that the project I've been\n> working on with Stephen, the PostgreS...
[ { "msg_contents": "I am using pgsql9.0b4 (but pgsql8.4 exhibits the same behavior) on MacOS 10.6.4 and initdb fails:\n\n/usr/local/pgsql90beta/bin/initdb -D /Volumes/Data/pgsql90b/ -E UTF8\nThe files belonging to this database system will be owned by user \"agentm\".\nThis user must also own the server process....
[ { "msg_contents": "With 9.0b4, I am testing the new NOTIFY payload feature. One thing I noticed is that it seems impossible to differentiate at the receiving end from:\n\nNOTIFY test;\n\nand\n\nNOTIFY test,'';\n\nSo, it is impossible to differentiate between a notification with an empty string payload and a not...
[ { "msg_contents": "FYI, we are planning to package Postgres 9.0RC1 tomorrow/Thursday, with\nrelease on Monday/Tuesday of next week.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + It's impossible for everything to be...
[ { "msg_contents": "I'm reviving the effort I started a while back to make COPY faster:\n\nhttp://archives.postgresql.org/pgsql-patches/2008-02/msg00100.php\nhttp://archives.postgresql.org/pgsql-patches/2008-03/msg00015.php\n\nThe patch I now have is based on using memchr() to search end-of-line. \nIn a nutshell...
[ { "msg_contents": "Hi,\nWhen I check the types of fields in a data structure, I found most\nfields are defined as general types, as List, Node. Then, To know the\ncontent inside the List, I need to track the usage of the fields.\nFor example, the fromClause in SelectStmt is defined as List. And, the\ncontent in...
[ { "msg_contents": "Hi,\n\nI received the off-list email reporting that pg_subtrans keeps bloating up\nin the standby, from Harald (Thanks!). I investigated this issue and found\nthat the standby doesn't truncate pg_subtrans at all even though HS keeps\nextending it. In the master, a checkpoint calls TruncateSUB...
[ { "msg_contents": "Hello\n\nI testing a simple use case and I was surprised with very slow\nexecution of SQL functions\n\ncreate or replace function empty_string1(text)\nreturns bool as $$\nselect $1 is NULL or $1 = ''\n$$ language sql;\n\npostgres=# select count(empty_string1(CASE WHEN random() < 0.5 THEN\nNUL...
[ { "msg_contents": "I've just committed page level predicate locking support for GiST\nindexes to the git repository. This included adding a function to\ntest, from any backend, whether a particular page has a page level\npredicate lock on it. It seemed to me that I needed that to prevent\nvacuum from cleaning...
[ { "msg_contents": "The new buildfarm machines huia and moa aren't doing terribly well\nwith the older PG branches. This isn't really those machines' fault;\nwhat I find after a bit of digging is that we just didn't have good\nsupport for 64-bit Solaris until relatively recently. In particular:\n\n* There was ...
[ { "msg_contents": "Apologies if this has already been covered, but do we have dates yet\nfor the next (and in the case of 7.4 and 8.0, final) set of point\nreleases? And what about 9.1alpha1?\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterprisedb.com\nThe Enterprise Postgres Company\n", "msg_date": "Su...
[ { "msg_contents": "\ncost_hashjoin() has some treatment of what occurs when numbatches > 1\nbut that additional cost is not proportional to numbatches.\n\nThe associated comment talks about \"an extra time\", making it sound like\nwe think numbatches would only ever be 2 (or 1).\n\nCan someone explain the curre...
[ { "msg_contents": "Hello\n\nI am returning back to string functions. For me, the most important\nfunction isn't commited still. There was discussion about \"format\" or\n\"sprintf\" fuction. So I'll do a small resume.\n\ngoal: to get function that helps with formatting a message texts and\nhelps with building a...
[ { "msg_contents": "On Tue, Aug 10, 2010 at 5:58 AM, Heikki Linnakangas\n<heikki.linnakangas@enterprisedb.com> wrote:\n> On 05/08/10 17:14, Fujii Masao wrote:\n>>\n>> I'm thinking to make users register and unregister each standbys via SQL\n>> functions like register_standby() and unregister_standby():\n>\n> The...
[ { "msg_contents": "Checking out HEAD from the git repository I see an assertion\nfailure. Steps to reproduce:\n \nmake distclean\n./configure --prefix=/usr/local/pgsql-serializable \\\n --enable-debug --enable-depend --enable-cassert\nmake check\nsudo make install\ncd contrib/\nmake\nsudo make install\ncd ../...
[ { "msg_contents": "\n\nCan anyone explain this ?\n\nMy question is -\nWhat is lnext:; , lreplace:; in postgres code ?\nI found lnext:; in 1501 and lreplace:; in 2065 in execMain.c file.\n\n\n-- \n\nThank You,\nSubham Roy.\nCSE,\nIIT Bombay.\n\n\n\n\n", "msg_date": "Mon, 30 Aug 2010 20:42:10 +0530", "msg...
[ { "msg_contents": "Hello\n\nI found a PostgreSQL 8.3 server (Linux) used for large OLAP where the\ndata directory is bloating. There are more than one hundred thousand\nfiles - 8KB or 0KB long. The filenames are not transformable to names\nvia oid2name. Does somebody know about similar bug?\n\nRegards\n\nPavel ...
[ { "msg_contents": "Hi,\nI have developed a new operators, and I want to do some tests on it.\nI do not want the optimizer to choose the plan for me, and I need to\nconstruct a plan as exact as I want.\n\nCan anyone provide me a way to achieve that?\n\nThanks\n--\nPei\n", "msg_date": "Mon, 30 Aug 2010 13:34:...
[ { "msg_contents": "Dear all\n\nCan someone tell me how to estimate the quality of my plan. For example if\nthe ideal query plan generated by Dynamic Programming has a plan quality of\n1.0, and suppose I generate my query plan with some greedy method or\nsomething, it will be worse (not as optimal as) than ideal...
[ { "msg_contents": "I just noticed that if I specify pg_resetxlog a timeline ID with the -l\nswitch, it will display this value as \"TimeLineID of latest checkpoint\".\nWhich is not really the truth.\n\nI wonder if pg_resetxlog should display the actual pg_control values in\none section, and the values that woul...
[ { "msg_contents": "Hello everyone,\n\nI'm interested in benchmarking synchronous replication, to see how\nperformance degrades compared to asynchronous streaming replication.\n\nI browsed through the archive of emails, but things still seem unclear. Do\nwe have a final agreed upon patch that I can use? Any link...
[ { "msg_contents": "Hello\n\nI wrote a some very primitive code for testing serialization and de\nserialization of TSearch ISpell dictionary. This code working - but it\nis useful only for speed test now.\n\nCzech fulltext dictionary is serialized to cca 9MB long file. Saving\nneeds about 90ms and reading needs ...
[ { "msg_contents": "The aggregate docs say:\n\n> The first form of aggregate expression invokes the aggregate across all input rows for which the given expression(s) yield non-null values. (Actually, it is up to the aggregate function whether to ignore null values or not — but all the standard ones do.)\n\n-- ht...
[ { "msg_contents": "Hi,\n\nwe are experimenting with modifying table partitioning\nso the ORDER BY clause can be pushed down to\nchild nodes on the grounds that:\n1. smaller datasets are faster to sort, e.g. two datasets that almost\n spill out to disk are faster to sort in memory and later merge them\n th...
[ { "msg_contents": "There are many comments in the code which use \"serializable\ntransaction\" to mean \"transaction snapshot based transaction\". This\ndoesn't matter much as long as REPEATABLE READ and SERIALIZABLE\ntransaction isolation levels behave identically, but will be\nconfusing and inaccurate when t...
[ { "msg_contents": "Hey -hackers,\n\nIn doing a schema upgrade, we noticed the following behavior, which certainly seems like a bug. Steps to reproduce:\n\n CREATE USER a;\n CREATE USER b;\n\n CREATE TABLE t1 (id serial primary key);\n CREATE TABLE t2 (id int references t1(id));\n\n ALTER TABLE t...
[ { "msg_contents": "Compiling with RELCACHE_FORCE_RELEASE doesn't pass \"make check\" on my\nmachine.\n\nIs it supposed to pass?\n\nRegards,\n\tJeff Davis\n\n", "msg_date": "Wed, 01 Sep 2010 11:32:50 -0700", "msg_from": "Jeff Davis <pgsql@j-davis.com>", "msg_from_op": true, "msg_subject": "compil...
[ { "msg_contents": "Tom Lane wrote:\n> Bruce Momjian <bruce@momjian.us> writes:\n> > Greg Sabino Mullane wrote:\n> >> Specifically, LANGUAGE changes the headers of pg_controldata \n> >> (but not the actual output, LC_ALL does that). Thanks for the \n> >> nudge, I'll get to rewriting some code.\n> \n> > pg_upgrad...
[ { "msg_contents": "This patch allows external security providers to check privileges\nto create a new relation and to inform the security labels to be\nassigned on the new one.\n\nThis hook is put on DefineRelation() and OpenIntoRel(), but isn't\nput on Boot_CreateStmt, create_toast_table() and make_new_heap(),...
[ { "msg_contents": "I just started trying out the new make targets with \"world\" in the name.\n `make world` and `make install-world` seem to work (unless I'm missing\nsomething), but `make installcheck-world` ends with \"Error 2\". The\nrelevant bits seem to be:\n \nmake[2]: Entering directory\n`/home/kgrittn...
[ { "msg_contents": "Awhile back I ranted about replacing the planner's concept of inner\nindexscans with a more generalized notion of \"parameterized paths\":\nhttp://archives.postgresql.org/pgsql-hackers/2009-10/msg00994.php\n\nThe executor fixes for that are done, and now I'm grappling with getting\nthe planne...
[ { "msg_contents": "I noticed in postgres you cannot return multiple result sets from a stored \nprocedure (surprisingly as it looks like a very good dbms). \n\nI would like to suggest adding this feature. \n- It is very usefull\n- It is supported by all other dbmss I have worked with.\n- makes porting applicati...
[ { "msg_contents": "Hi,\n\nIs there any way to use regclass without having ERROR?\n\npgpool-II needs to find the oid from table name and for the purpose it\nissues something like \"SELECT 'table_name'::regproc::oid\". Problem is,\nif the table does not exist, an error occured and the transaction\naborts. Ideally...
[ { "msg_contents": "hello everybody,\n\nwe came across an issue which turned out to be more serious than previously expected.\nimagine a system with, say, 1000 partitions (heavily indexed) or so. the time taken by the planner is already fairly heavy in this case.\n\ni tried this one with 5000 unindexed tables (j...
[ { "msg_contents": "It's been discussed before that it would be cool if you could stream a \nnew base backup from the master server, via libpq. That way you would \nnot need low-level filesystem access to initialize a new standby.\n\nMagnus mentioned today that he started hacking on that, and \ncoincidentally I ...
[ { "msg_contents": "Hello,\n\nAt work, I've been tasked with providing some Windows connection\nlibraries, etc. Are people still using MinGW, or should I just\nrecommend using a proprietary toolkit to do the builds? If so, which\none(s)?\n\nCheers,\nDavid (Windows n00b)\n-- \nDavid Fetter <david@fetter.org> ht...
[ { "msg_contents": "Hi,\n\nI always wondered why ps ax|grep postgres shows several extra blank lines\nafter the process name, i.e.\n\n 972 ?? Ss 0:00.69 postgres: writer process\n\n\n\n\n\n\n973 ?? Ss 0:00.51 postgres: wal writer process\n\n(I put newlines instead of spaces there). By looking into...
[ { "msg_contents": "All,\n\nAs far as I'm concerned, the other big \"missing feature\" for HS is the\nability to promote standbys to become the new master. If we had that\nfeature, then HS can be the backbone of a large-scale PostgreSQL\n\"cloud\"; if we don't have it, then HS does not contribute very much to\...
[ { "msg_contents": "Hi,\n\nI'm researching if smallint can be made a higher-class citizen of our type\nsystem than currently.\n\nDoes anyone know where to find the discussion refered to here?\nhttp://archives.postgresql.org/pgsql-hackers/2008-10/msg01485.php\n\nI did some searches on the archives but no keywords...
[ { "msg_contents": "Hello\n\nI am looking on ToDo topic - Allow handling of %TYPE arrays, e.g.\ntab.col%TYPE[]\n\nSome the most simple solution can be enhancing regtype to support this\nsyntax - this can be relative simple, and it can be useful for other\nPL and for dynamic SQL too. It can be simple test - if so...
[ { "msg_contents": "Alpha1 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(Sunday) and send out announcements on Monday.\n\nIf someone wants to volunteer to craft a bri...
[ { "msg_contents": "Hello,\n\nI propose a new hook type - that helps with controlling a life cycle\nof some tsearch dictionaries. This hook has minimal impact on\nperformance - it's called once per session for one tsearch\nconfiguration.\n\nRegards\n\nPavel Stehule", "msg_date": "Sun, 5 Sep 2010 08:36:33 +02...
[ { "msg_contents": "I haven't had a chance to do a great deal of work on this project, but\nI'm hoping to get back to it at some point and, in the meantime,\nthought that it might be useful to circulate a few thoughts I've had\nso far.\n\n1. As common architecture for both features, I think that it might\nmake s...
[ { "msg_contents": "Hello\n\nthis simple patch reduce a persistent allocated memory for tsearch\nispell dictionaries.\n\non 32bit from 27MB (3399 blocks) to 13MB (1564 blocks)\non 64bit from 55MB to cca 27MB.\n\nRegards\n\nPavel Stehule", "msg_date": "Tue, 7 Sep 2010 09:10:19 +0200", "msg_from": "Pavel S...
[ { "msg_contents": "Hello\n\nI would to use a special memory context for shared data (based on\nmmap) and I like impementation of aset. There is only one difference -\naset is based on malloc and I would to use a mmap.\n\nmalloc() is used in AllocSetContextCreate and AllocSetAlloc. These\nprocedures should be ov...
[ { "msg_contents": "For one week guys... \n\nhttps://www.postgresqlconference.org/2010/west/cfp/\n\n-- \nPostgreSQL - XMPP: jdrake(at)jabber(dot)postgresql(dot)org\n Consulting, Development, Support, Training\n 503-667-4564 - http://www.commandprompt.com/\n The PostgreSQL Company, serving since 1997\n", ...
[ { "msg_contents": "Howdy,\n\nAnyone ever thought to try to add $subject to PL/pgSQL? Someone left a [comment][] on the PGXN blog about how this is a supported syntax for using named parameters on Oracle. The context is to avoid conflicts between variable names and column names by function-qualifyin the former a...
[ { "msg_contents": "Folks,\n\nI noticed a little unimplemented feature which I suspect a lot of\npeople would find useful, namely the ability to \"freeze\" certain\nsettings for a role.\n\nExample: We'd like to create a role called read_only, with eponymous\ncapability. At the moment, we can't do what's below, ...
[ { "msg_contents": "The core committee has decided that it's time to press forward with\nreleasing 9.0. Barring catastrophic bug reports in the next week,\n9.0.0 will be wrapped Thursday 9/16 for public announcement Monday 9/20.\n\n\t\t\tregards, tom lane\n", "msg_date": "Wed, 08 Sep 2010 17:04:14 -0400", ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 5650\nLogged by: Mark Llewellyn\nEmail address: mark_llewellyn@adp.com\nPostgreSQL version: 9.0 RC1\nOperating system: Windows XP\nDescription: Postgres service showing as stopped when in fact it is\nrun...
[ { "msg_contents": "Hi,\n\nI found walsender didn't process options (e.g., application_name\nin primary_conninfo) passed in the startup packet. The cause is\nthat walsender doesn't execute process_postgres_switches() and\nSetConfigOption() in InitPostgres().\n\nThe attached patch fixes this bug.\n\nRegards,\n\n-...
[ { "msg_contents": "Gentlemen,\n\n\nI found this link in PostgreSQL 9 Documentation and we are moving to a\ndifferent platform\n\nCould you please help me with the instruction of how to install the new\nversion of PostgreSQL 9\non SUSE Linux Enterprise Server v.10.\n\n\nThanks,\n\nIgor G.\n\nGentlemen,\n \nI fou...
[ { "msg_contents": "\n\n-- \n----------------------------------------------------------------------\n山口 佳貢 E-MAIL : airbluemax@nifty.com\n(やまぐち よしみつ) i-mode : yosimitu-yamaguti@docomo.ne.jp\n\n", "msg_date": "Sat, 11 Sep 2010 13:07:43 +0900", "msg_from": "Yoshimitsu Yamagu...
[ { "msg_contents": "Log Message:\n-----------\nIntroduce latches. A latch is a boolean variable, with the capability to\nwait until it is set. Latches can be used to reliably wait until a signal\narrives, which is hard otherwise because signals don't interrupt select()\non some platforms, and even when they do, ...
[ { "msg_contents": "There are a couple of weird-looking commits way back near the beginning\nof the converted Postgres history:\n\n\ncommit 91f2ac21a1e085dfe81aae110cee2246a803f600\trefs/tags/Release_2_0_0\nAuthor: PostgreSQL Daemon <webmaster@postgresql.org>\nDate: Sat Aug 17 06:41:11 1996 +0000\n\n This c...
[ { "msg_contents": "Hello folks,\n\nI've been playing around today a lot with sysbench, and observed that 2.6.32 kernel supplied by Ubuntu is having perf regression with PG (which does not affect MySQL), compared to 2.6.28 builds I have.\nWhat I observed can be seen in a paste at http://p.defau.lt/?8_GQV82Pz3_SD...
[ { "msg_contents": "I've spent much of the weekend examining the discrepancies between our CVS\nrepository and the tarballs available from our FTP archives, and after\nthat trying to remove infelicities in the cvs2git output. There are a\ncouple of remaining oddities that I would classify as probable cvs2git\nb...
[ { "msg_contents": "Folks,\n\nThe Commitfest for September, 2010, will start in just a couple of\ndays, and you can help make it successful!\n\nThe first way is to volunteer for patch-chasing, as Selena, Stephen\nand Brendan did this time last year. Kudos and huge thanks to all of\nthem.\n\nPatch-chasers make s...
[ { "msg_contents": "Hi,\n\nhttp://archives.postgresql.org/pgsql-hackers/2010-05/msg00921.php\n>>> (2)\n>>> pg_ctl -ms stop emits the following warning whenever there is the\n>>> backup_label file in $PGDATA.\n>>>\n>>> WARNING: online backup mode is active\n>>> Shutdown will not complete until pg_stop_b...
[ { "msg_contents": "Now that we have the wonderful latch facility, let's use it to reduce \nthe delay between receiving a piece of WAL and applying in the standby. \nCurrently, the startup process polls every 100ms to see if new WAL has \narrived, which adds an average a 50 ms delay between a transaction \ncommi...
[ { "msg_contents": "The patch attached is based on the one rejected at the last CF for 9.0\nlast year.\n\nhttp://archives.postgresql.org/message-id/16303.1266023203@sss.pgh.pa.us\n\nThis patch implements the feature that allows top-level DMLs under CTE\nWITH clause. For example:\n\nWITH t AS (SELECT * FROM x)\nU...
[ { "msg_contents": "This is an attempt to sum up the open issues remaining before we can\nmake another try at converting our source code to git.\n\n* As I noted previously, up till about 2003 we were quite haphazard about\napplying CVS tags to identify the points where releases were made. Should\nwe try to clea...
[ { "msg_contents": "Can someone update the PostgreSQL shared memory usage table for 9.0?\n\n\thttp://www.postgresql.org/docs/9.0/static/kernel-resources.html#SYSVIPC\n\nRight now it says \"Approximate shared memory bytes required (as of\n8.3)\".\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.u...
[ { "msg_contents": "It just occurred to me that the Windows latch implementation goes \nthrough a lot of trouble to dynamically assign the shared Windows event \nhandles to the latches in OwnLatch, but there's really no reason why \nthey can't be statically assigned in InitSharedLatch instead. We have to \nalloc...
[ { "msg_contents": "Hi,\n\nIn 9.1dev, wal_sender_delay in *milliseconds* is given\nto WaitLatchOrSocket as *microseconds* timeout. This is\nobviously wrong. The attached patch fixes this problem.\n\nRegards,\n\n-- \nFujii Masao\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center", "m...
[ { "msg_contents": "\nLike latches, nice one.\n\nThe way the loop in WalSender now happens it won't send any outstanding\nWAL if a shutdown is requested while it is waiting.\n\nThat probably needs to change and we'd do similarly in other procs.\n\n-- \n Simon Riggs www.2ndQuadrant.com\n PostgreSQL Deve...
[ { "msg_contents": "Hi,\n\nI saw the slides at:\nhttp://www.sai.msu.su/~megera/postgres/talks/2009.pdf\ndescribing the phrase search algebra for the proposed tsquery $\noperator, and the wiki at:\nhttp://www.sai.msu.su/~megera/wiki/2009-08-12\n\nHas there been progress on this front? Has the patch\nphrase_search...
[ { "msg_contents": "Attached is the latest Serializable Snapshot Isolation (SSI) patch.\n \nWith Joe's testing and review, and with stress tests adapted from\nthose used by Florian for his patch, we were able to identify and\nfix several bugs. Stability seems good now. We have many tests for\ncorrect behavior ...
[ { "msg_contents": "\nI'm working on a patch to implement synchronous replication for\nPostgreSQL, with user-controlled durability specified on the master. The\ndesign also provides high throughput by allowing concurrent processes to\nhandle the WAL stream. The proposal requires only 3 new parameters and\ntakes ...
[ { "msg_contents": "I dug into the 9.0 bug reported here:\nhttp://archives.postgresql.org/pgsql-sql/2010-09/msg00035.php\n\nWhat is happening is that the planner recognizes that the query is\nunsatisfiable, because m.ttype is equated to two different constant\nvalues. This results in generating a constant-false...
[ { "msg_contents": "Hi,\n\nIn HEAD, OwnLatch can elog during holding the spinlock WalSnd->mutex.\nThis seems to be unsafe because that elog would cause the walsender\nto exit without releasing the spinlock. Because of the spinlock being\nheld, subsequent walsender would get stuck. I wonder if OwnLatch really\nne...
[ { "msg_contents": "Here is a patch for basic JSON support. It adds only those features:\n * Add \"json\" data type, that is binary-compatible with text.\n * Syntax checking on text to JSON conversion.\n * json_pretty() -- print JSON tree with indentation.\n\nWe have \"JSON datatype (WIP) 01\" item:\n https:...
[ { "msg_contents": "Hello.\nThis is a proposal patch for SQL/MED for 9.1.\n\nAt the prev. CF, this patch had so many features to make it hard\nto review all of them. So I devided it into smaller parts:\n (1) foreign table DDL support (this proposal):\n - support for foreign table DDL syntax (CREATE/ALTER FO...
[ { "msg_contents": "Hi,\n\nI'm resending it to here, since I didn't got no response from the\n\"general\" group.\n\nI am trying to create a simple c-language function for \"PostgreSQL\n8.4.4, compiled by Visual C++ build 1400, 32-bit\" running on Windows 7\n(32-bit). It works, until I use a SPI.\n\n1) CRASH: I s...
[ { "msg_contents": "Hi,\n\nI note that the implementation of tab completion for SET TRANSACTION in PSQL\ncould benefit from the implementation of autonomous transactions (also\nTODO).\n\nRegards,\n\nColin\n\nHi,I note that the implementation of tab completion for SET TRANSACTION in PSQL could benefit from the im...
[ { "msg_contents": "Log Message:\n-----------\nUse a latch to make startup process wake up and replay immediately when\nnew WAL arrives via streaming replication. This reduces the latency, and\nalso allows us to use a longer polling interval, which is good for energy\nefficiency.\n\nWe still need to poll to chec...