threads
listlengths
1
2.99k
[ { "msg_contents": "Normal 0 21 false \n false false DE X-NONE X-NONE \n \n MicrosoftInternetExplorer4 ...
[ { "msg_contents": "Hello,\n\nThe attached patch changes the location of the dumpUserConfig call in\nthe dumpRoles function of pg_dumpall.\n\nThis is related to this thread:\nhttp://archives.postgresql.org/pgsql-hackers/2011-02/msg02359.php\n\nCurrently if you use 'ALTER ROLE rolename SET ROLE', pg_dumpall will\...
[ { "msg_contents": "Hi\n\nAs it stands, we're going to release 9.1, knowing that 9.2 will change the\nbehavior of XPATH. This brings forth the question whether we should somehow\nwarn about that in either the release notes or the documentation of 9.1\n\nIf we don't, then applications developed on 9.1 might conta...
[ { "msg_contents": "\nMy client has been seeing regular instances of the following sort of problem:\n\n...\n 03:06:09.453 exec_simple_query, postgres.c:900\n 03:06:12.042 XX000: could not find pg_class tuple for index 2662 at character 13\n 03:06:12.042 RelationReloadIndexInfo, relcache.c:1740\n 03:06:12.042 INS...
[ { "msg_contents": "In\nhttp://archives.postgresql.org/message-id/201107270042.22427.julian@mehnle.net\nit's pointed out that pg_restore in direct-to-database mode is pretty\nbadly broken if standard_conforming_strings=on. The reason is that it\ntries to lex SQL commands well enough to find line boundaries, and...
[ { "msg_contents": "On Wed, Oct 20, 2010 at 10:07 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> I wonder whether we could do something involving WAL properties --- the\n> current tuple visibility logic was designed before WAL existed, so it's\n> not exploiting that resource at all.  I'm imagining that the kernel of...
[ { "msg_contents": "Hi.\n\nI install netbeans 7. When i try to configure postgresql project, path\nis set up incorectly - gcc not found\n\nHow to set the path ?\n\n-- \n------------\npasman\n", "msg_date": "Thu, 28 Jul 2011 12:40:07 -0200", "msg_from": "=?ISO-8859-2?Q?pasman_pasma=F1ski?= <pasman.p@gmail...
[ { "msg_contents": "----- Цитат от Hannu Krosing (hannu@2ndQuadrant.com), на 28.07.2011 в 22:40 -----\n\n>> \n>> Maybe this is why other databases don't offer per backend async commit ?\n>> \n> \n\nIsn't Oracle's\n\nCOMMIT WRITE NOWAIT;\n\nbasically the same - ad hoc async commit? Though their idea of backend do...
[ { "msg_contents": "Here is a rebased version of per-column FDW options patch. I've\nproposed this patch in last CF, but it was marked as returned with\nfeedback. So I would like to propose in next CF 2011-09. I already\nmoved CF item into new topic \"SQL/MED\" of CF 2011-09.\n\nI didn't change the patch exce...
[ { "msg_contents": "Hi,\nI have read all information about checkpoints in PostgreSQL I have found.\nI think that current implementation of checkpoints is not good for huge\nshared buffer cache and for many WAL segments. If there is more buffers\nand if buffers can be written rarely more updates of buffers can be...
[ { "msg_contents": "Hi all,\n\nI just noticed that the USECS_* constants are not defined when the server\nis compiled without integer dates and timestamps.\n\nExplicitly, timestamp.h is\n\n#ifdef HAVE_INT64_TIMESTAMP\n#define USECS_PER_DAY\tINT64CONST(86400000000)\n#define USECS_PER_HOUR\tINT64CONST(3600000000)\...
[ { "msg_contents": "Robert Haas wrote:\n| I think that get_object_namespace() needs to be rethought. If you\n| take a look at AlterObjectNamespace() and its callers, you'll notice\n| that we already have, encoded in those call sites, the knowledge of\n| which object types can be looked up in which system caches...
[ { "msg_contents": ">I honestly do not mean any offence, just out of curiosity.\n>If you guys care about money and time why would you spend the best years of your life basically copying commercial products for free?\n\n1) For the same reasons commercial vendors build competing products: different tools in the sa...
[ { "msg_contents": "On machines with lots of CPU cores, pgbench can start eating up a lot\nof system time. Investigation reveals that the problem is with\nrandom(), which glibc implements like this:\n\nlong int\n__random ()\n{\n int32_t retval;\n __libc_lock_lock (lock);\n (void) __random_r (&unsafe_state, &...
[ { "msg_contents": "All,\n\nWhere are we on RC1 or Beta4 for PostgreSQL 9.1? \n\nWhile I know we're doing going to do a final release in August due to the europeans, it would be nice to move things along before then. There don't seem to be any blockers open.\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp:/...
[ { "msg_contents": "> If you make writes go out more often, they will be less efficient\n\nI think fsync is more important. But many writes + fsync is no good too.\nLet suppose that 30 WAL segments are good for performance (to be written\nat once). In incremental approach we can have 60 segments and we can write...
[ { "msg_contents": "Based on EnterpriseDB testing, I have applied the attached patch to fix\na pg_upgrade bug on Win32 on 9.1 and 9.2. The problem is that on Win32\nyou can't stat() a directory with a trailing slash --- this is already\nmentioned in our src/port/path.c. The patch removes a lone trailing\nslash...
[ { "msg_contents": "I've been thinking some more about the long-standing problem of the\nAFTER TRIGGER queue using too much memory, and I think that the\nsituation can be improved by using some basic compression.\n\nCurrently each event added to the AFTER TRIGGER queue uses 10 bytes\nper trigger per row for INSE...
[ { "msg_contents": "Hello Hackers!\n\nThe CFP for West has been extended until the 12th of August. Let's get \nthose talks in!\n\nhttps://www.postgresqlconference.org/talk_types\n\nJD\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/\nPostgreSQL Support, Training, Professional Services and Development\n...
[ { "msg_contents": "Hi All,\nI am looking at usage of bound parameters.\n\nIn functions SPI_cursor_open_with_args() and SPI_cursor_open_with_args()\nparameters are flagged as constants and passed to the planner in following\nmanner,\nparamLI = _SPI_convert_params(nargs, argtypes,\n ...
[ { "msg_contents": "Our docs suggest an optimization to reduce WAL logging when you are\ncreating and populating a table:\n\n\thttp://www.postgresql.org/docs/9.0/static/runtime-config-wal.html#RUNTIME-CONFIG-WAL-SETTINGS\n\t\n\tIn minimal level, WAL-logging of some bulk operations, like CREATE\n\tINDEX, CLUSTER ...
[ { "msg_contents": "Current thought among the core committee is to put out 9.1RC1 on Aug 22\n(hence, wrap on the 18th), and then push forward to official release\nmid-September (possibly the 12th, if nothing major pops up).\n\nPersonally I'd have preferred another beta or RC sooner than the 22nd,\nbut enough peo...
[ { "msg_contents": "I've been thinking about how to redesign the plancache infrastructure to\nbetter support use of transient (one-shot) plans, as we've talked about\nvarious times such as in this thread:\nhttp://archives.postgresql.org/pgsql-hackers/2010-02/msg00607.php\n(Note: that thread sorta went off into t...
[ { "msg_contents": "I'm happy to report that thanks to some persistent complaining on my\npart, the one outstanding issue when building Postgres with Clang -\nthe spurious warnings that occured as a result of it being statically\ndetected that there are assignments past what appears to be the end of\na single el...
[ { "msg_contents": "Hi all,\n\nI have PostgreSQL 9.0.3 installed on my Gentoo Linux box. The\nconfiguration is default. There is no any activity in the database but\nthe described below.\n\nWhat I am trying to achieve is the effect described in this article\nhttp://blog.endpoint.com/2010/09/reducing-bloat-withou...
[ { "msg_contents": "Normal 0 21 false \n false false DE X-NONE X-NONE \n \n MicrosoftInternetExplorer4 ...
[ { "msg_contents": "hi\n\ni switched back from oracle xe for many reasons and because the lack of\npl/java in oralce xe. and posgesql is the best open source db i know! sadly\nwhat i realy miss is the possibility of asynchronous sql. which means the\nneed to perform an sql in a completely different new session. ...
[ { "msg_contents": "About nine months ago, we had a discussion of some benchmarking that\nwas done by the mosbench folks at MIT:\n\nhttp://archives.postgresql.org/pgsql-hackers/2010-10/msg00160.php\n\nAlthough the authors used PostgreSQL as a test harness for driving\nload, it's pretty clear from reading the pap...
[ { "msg_contents": "During btvacuumscan(), we lock the index for extension and then wait\nto acquire a cleanup lock on the last page. Then loop until we find a\npoint where the index has not expanded again during our wait for lock\non that last page. On a busy index this can take some time, especially\nwhen peop...
[ { "msg_contents": "Hackers,\n\nPython's getattr() allows for dynamic lookup of attributes on an \nobject, as in:\n\n\tinst = MyClass(x=12, y=24)\n\tv = getattr(inst, 'x')\n\tassert v == 12\n\nOftentimes in writing data validating trigger functions, it'd be real \nhandy to be able to do a similar thing in plpg...
[ { "msg_contents": "I have not explained well what I have in my mind in first message.\n\nMain goal is more buffers to stay dirty in memory for longer time. So\ncheckpoint segments have to be 2, 3... times than in current approach. And\nseparate parameter can control how much buffers to write at once. DBA can\nt...
[ { "msg_contents": "Hi,\n\nI looked at b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4\nand I noticed that it's using TRUE, FALSE, true and false\ninconsistently:\n\n@@ -248,6 +249,7 @@ CreateSharedInvalidationState(void)\n shmInvalBuffer->procState[i].nextMsgNum = 0; /* meaningless */\n ...
[ { "msg_contents": "Hi\n\nI have been helping some people to debug a SIGALARM related crash\ninduced by using pl/perlu http get functionality\n\nI have been so far able to repeat the crash only on Debian 64 bit\ncomputers. DB create script and instructions for reproducing the crash\nattached\n\nThe crash is rela...
[ { "msg_contents": "We currently have reduced WAL logging for wal_level = minimum for these\ncommands:\n\n\tCREATE TABLE AS\n\tCREATE INDEX\n\tCLUSTER\n\tCOPY into tables that were created or truncated in the same\n\ttransaction\n\nOne thing we don't optimize is INSERT ... SELECT when the table is\ncreated or tr...
[ { "msg_contents": "> I will provide a patch which can exeute pg_start/stop_backup\n> including to solve above comment and conditions in next stage.\n> Then please review.\n\ndone.\n\n\n* Procedure\n\n1. Call pg_start_backup('x') on the standby.\n2. Take a backup of the data dir.\n3. Call pg_stop_backup() on the...
[ { "msg_contents": "I think that the first sentence, in the following comment within\nGetSnapshotData(), is not quite right, because at the time this is\nexecuted, we already hold ProcArrayLock, which is the only lock that\ngets grabbed here:\n\n /*\n * If we're in recovery then snapshot data come...
[ { "msg_contents": "Heikki Linnakangas wrote:\n> On 06.08.2011 13:13, Simon Riggs wrote:\n>> I think we should remove the COPY optimisation because of this and\n>> definitely not extend INSERT SELECT to perform it automatically.\n> \n> It can be very helpful when loading a lot of data, so I'm not in\n> favor of...
[ { "msg_contents": "Hello,\n\nI am working on a PostgreSQL extension module which defines new\ngrammar rules completing the classical SQL syntax defined in the\nsrc/backend/parser/gram.y file.\n\nBasically, I want to handle predicates having an infixed syntax { X IS\nY } and rewrite them as classical Boolean fun...
[ { "msg_contents": "In 9.0 (as in earlier versions) a former standby host has to do a full\ncheckpoint before becoming available as an independent database instance\nin either switchover or failover scenarios. \n\nFor most combinations of of bigger than minimal shared buffers and\nnon-memory-speed disks this can...
[ { "msg_contents": "Hi all, does anybody work on this TODO item?\nhttp://wiki.postgresql.org/wiki/Todo#PL.2FpgSQL\n\nI didn't find any related posting/bug report.\n\nw.\n", "msg_date": "Sun, 7 Aug 2011 14:57:36 +0200", "msg_from": "Wojciech =?UTF-8?B?TXXFgmE=?= <wojciech_mula@poczta.onet.pl>", "msg_f...
[ { "msg_contents": "I suspected $SUBJECT from the beginning, and I've now put in enough work\nto be able to prove it. The attached test program reliably fails within\na few minutes of being started, when run with 8 worker processes on an\n8-core PPC machine. It's a pretty simple \"token passing ring\" protocol...
[ { "msg_contents": "I noticed that psql document wrongly says that \\d+ command shows\nper-table FDW options of a foreign table, but in fact, per-table FDW\noptions are shown only in the result of \\det+ command. Attached patch\nremoves this wrong description.\n\nThis fix should be applied to 9.1 too.\n\nRegard...
[ { "msg_contents": "Hi,\n\nI propose to support force_not_null option for file_fdw too.\n\nIn 9.1 development cycle, file_fdw had been implemented with exported\nCOPY FROM routines, but only force_not_null option has not been \nsupported yet.\n\nOriginally, in COPY FROM, force_not_null is specified as a list of\...
[ { "msg_contents": "String-formatted relopts was never used before, but I've used it in\nbuffering GiST index build patch and encountered with following compiler\nwarnings:\n\nreloptions.c:259: warning: initializer-string for array of chars is too long\nreloptions.c:259: warning: (near initialization for\n‘strin...
[ { "msg_contents": "In response to my blog post on lseek contention, someone posted a\ncomment wherein they proposed using fstat() rather than lseek() to get\nfile sizes.\n\nhttp://rhaas.blogspot.com/2011/08/linux-and-glibc-scalability.html\n\nI tried that on a RHEL 6.1 machine with 64-cores running\n2.6.32-131....
[ { "msg_contents": "For a large table, should there be a difference in index sizes between a\nsingle table representation and representation based on multiple partitions\nwith identical indexes?\n\nA\n\nFor a large table, should there be a difference in index sizes between a single table representation and repre...
[ { "msg_contents": "Hi,\n\nI'm trying to query the catalogs to select only the user-defined CASTs\n(my test db only has one such CAST). Looking at pg_dump.c, I've come up\nwith the following so far:\n\n SELECT castsource::regtype AS source,\n casttarget::regtype AS target,\n castfunc::reg...
[ { "msg_contents": "Currently, if you take a backup with \"pg_basebackup -x\" (which means it \nwill include all the WAL to required restore within the backup dump), \nand hit Ctrl-C while the WAL is being streamed, you end up with a data \ndirectory that you can start postmaster from, even though the backup was...
[ { "msg_contents": "I noticed that the progress reporting code in pg_basebackup does not\nallow for translation. This would normally be easy to fix, but this\ncode has a number of tricky issues, including the INT64_FORMAT, possibly\nsome plural concerns, and some space alignment issues that hidden in\nsome of t...
[ { "msg_contents": "When i try to fetch sources via git, there is an error:\n\nerror: Unable to find 676e3c735dec32ba0448fdd0faf9ace37c1fa792 under\nhttp://git.postgresql.org/git/postgresql.git\nCannot obtain needed object 676e3c735dec32ba0448fdd0faf9ace37c1fa792\nerror: Fetch failed.\n\n\nHow to get current bra...
[ { "msg_contents": "Hi,\n\nPreviously, we had some discussion to introduce a new type of tuple lock\nto let foreign keys be lighter weight, allowing for more concurrency.\nDuring the course of that discussion, it became evident that the\nsolution being proposed didn't go all the way to solve the problem. A\npro...
[ { "msg_contents": "When a host name is used in pg_hba.conf, then we call\npg_getnameinfo_all() to get the host name for the client's IP address,\neither in postmaster.c or in hba.c, whichever happens first. But if the\nIP address has no host name, the getnameinfo calls return the IP address\nin text form, whic...
[ { "msg_contents": "When an ext2, ext3, or ext4 filesystem is mounted directly on the PGDATA directory, initdb will refuse to run because it sees the\nlost+found directory that mke2fs created and assumes the PGDATA directory is already in use for something other than PostgreSQL.\nAttached is a patch against mast...
[ { "msg_contents": "Success !\n\nI can't use git protocol, but\ngithub via http works fine.\n\nThank you Andrew :)\n\n------------\npasman\n", "msg_date": "Wed, 10 Aug 2011 08:53:42 +0200", "msg_from": "=?ISO-8859-2?Q?pasman_pasma=F1ski?= <pasman.p@gmail.com>", "msg_from_op": true, "msg_subject":...
[ { "msg_contents": "Hi,\n\nI'm seeing a bunch of warnings I don't remember seeing before in the\nmaster branch:\n\n/pgsql/source/HEAD/src/backend/executor/execQual.c: In function 'GetAttributeByNum':\n/pgsql/source/HEAD/src/backend/executor/execQual.c:1104:11: warning: the comparison will always evaluate as 'tru...
[ { "msg_contents": "I was slightly surprised the other day that the SHOW command always\nreturns a field of type text even if the underlying parameter has one of\nthe other types (int, real, etc.). Is this intentional? Would it be\nworth refining?\n\n\n", "msg_date": "Wed, 10 Aug 2011 20:52:28 +0300", ...
[ { "msg_contents": "I would like to see whether there is support for adding sha1 and sha2\nfunctions into the core. These are obviously well-known and widely used\nfunctions, but currently the only way to get them is either through\npgcrypto or one of the PLs. We could say that's OK, but then we do\nsupport md...
[ { "msg_contents": "We occasionally see $SUBJECT in the buildfarm, and I've also recently\nhad reports of them from Red Hat customers. The obvious theory is that\nthese reflect high load preventing the stats collector from responding,\nbut it would really take pretty crushing load to make that happen if\nthere ...
[ { "msg_contents": "Beginning with commit 002c105a0706bd1c1e939fe0f47ecdceeae6c52d\npg_upgrade will fail if there are orphaned temp tables in the current\ndatabase with the message 'old and new databases \"postgres\" have a\ndifferent number of relations'\n\nOn line 41 of pg_upgrade/info.c pg_upgrade checks that...
[ { "msg_contents": "AFAICS we could get rid of WalSndDelay: there is no longer any reason\nfor the walsender loop to wake up unless it's received a latch event.\n(Its WaitLatch call is missing WL_POSTMASTER_DEATH right now, but that\nis easily fixed.) Is anyone sufficiently attached to that GUC to not\nwant to ...
[ { "msg_contents": "What is the basic reason for restricting backup at standby\nserver(pg_start_backup)?\n\nWe are doing the following steps to take backup from standby which(backups)\nmight be used for standalone startups.\n\n1.Create file system snapshot(LVM)\n2.take the back up of data directory including wal...
[ { "msg_contents": "Hi.\n\nCompiling 9.1 sources from packed tgz file works ok.\n\nWhen compile sources loaded from git repository,\nconfigure pass without errors, config.log looks ok,\nbut in src/include/pg_config.h aren't any defines, only undefines.\nIt seems like src/include/pg_config.h.in.\nAnd make generat...
[ { "msg_contents": "Hi there,\n\nplpython crashes on me on various 64-bit Ubuntu hosts, see the gdb\nbacktrace at: https://gist.github.com/1140005\n\nDo you believe there was recent bugfixes regarding PLyMapping_ToTuple() ?\n\nThis is PG 9.0.4 with HEAD of plpython taken in march 2011 and backported.\n\nPlease t...
[ { "msg_contents": "Hello,\n\nWe are in the final 48 hours of the CFP for PgWest. Let's get those \ntalks in.\n\nhttps://www.postgresqlconference.org/talk_types\n\nSincerely,\n\nJoshua D. Drake\n\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/\nPostgreSQL Support, Training, Professional Services and D...
[ { "msg_contents": "Please find attached a patch implementing a basic version of\nindex-only scans. This patch is the work of my colleague Ibrar Ahmed\nand myself, and also incorporates some code from previous patches\nposted by Heikki Linnakanagas.\n\nI'm able to demonstrate a significant performance benefit f...
[ { "msg_contents": "While I was poking around at the index-only scans patch, I couldn't\nhelp noticing that our buffer replacement algorithm leaves something\nto be desired. Here's the query again:\n\nselect sum(aid) from sample_data a1 where exists (select * from\npgbench_accounts a where a.aid = a1.aid and a....
[ { "msg_contents": "The bgwriter has been responsible for two main activities: incremental\npage cleaning and checkpointing.\n\nWe've worked out the code to smooth checkpointing, but that now means\nwe have periods where we do both page cleaning and checkpointing, and\nother times when we do just page cleaning. ...
[ { "msg_contents": "I present a number of connected proposals\n\n1. Earlier, I suggested that the sync rep code would allow us to\nredesign the way we write WAL, using ideas from group commit. My\nproposal is that when when a backend needs to flush WAL to local disk\nit will be added to a SHMQUEUE exactly the sa...
[ { "msg_contents": "I've been testing the problem reported by Dave Gould by running \"make\ninstallcheck-parallel\" together with a tight loop of \"vacuum full\npg_class\":\n\nwhile true; do psql -c \"vacuum full pg_class\" regression; usleep 100000; done\n\nEven after fixing the cache-reset-recovery-order probl...
[ { "msg_contents": "COPY is slow. Let's make it faster. One obvious optimization is to \ninsert heap tuples in bigger chunks, instead of calling heap_insert() \nseparately for every tuple. That saves the overhead of pinning and \nlocking the buffer for every tuple, and you only need to write one WAL \nrecord for...
[ { "msg_contents": "Folks,\n\nI noticed that src/tools/copyright looks like it can only be run on\nBruce's machine, so this translation to Perl is intended:\n\n1. To make the script idempotent, which allows its safe use in\nautomated tools that might run it many times.\n\n2. To get the script to run on any mac...
[ { "msg_contents": "\nThis seems to be bug month for my client. Now there are seeing periods\nwhere all new connections fail immediately with the error:\n\n FATAL: lock AccessShareLock on object 0/1260/0 is already held \n\nThis happens on postgresql 8.4.7 on a large (512GB, 32 core) system that has\nbeen up ...
[ { "msg_contents": "Hackers,\n\nGiven this script on 9.1beta3:\n\n BEGIN;\n\n CREATE EXTENSION plperl;\n\n CREATE OR REPLACE FUNCTION wtf(\n ) RETURNS TEXT[] LANGUAGE plperl AS $$ return []; $$;\n\n SELECT wtf() = '{}'::TEXT[];\n\n ROLLBACK;\n\nThe output is:\n\n BEGIN\n CREATE EXTENSION\...
[ { "msg_contents": "So I've gotten things fixed to the point where the regression tests seem\nto not fall over when contending with concurrent \"vacuum full pg_class\",\nand now expanded the scope of the testing to all the system catalogs.\nWhat's failing for me now is this chunk in opr_sanity:\n\n*** 209,219 **...
[ { "msg_contents": "On Sat, Aug 13, 2011 at 5:31 PM, Heikki Linnakangas\n<heikki.linnakangas@enterprisedb.com> wrote:\n> Yeah, I'm not excited about making the planner and statistics more dynamic.\n> Feedback loops and plan instability are not fun. I think we should rather be\n> more aggressive in setting the vi...
[ { "msg_contents": "Hello,\n\nI'm trying to add audit capability to Postgresql server. When the Postgresql server starts up, the server will start audit functions as a new subprocess thus the server will have 5 subprocesses instead of 4. I want to store logs in a database within the same Postgresql server [from ...
[ { "msg_contents": "So, as the testing rolls on, I started to see some failures in various\nALTER-FOREIGN-thingy commands. The cause proved to be that numerous\nplaces in foreigncmds.c do this:\n\n\ttuple = SearchSysCacheCopy(...);\n\n\t... alter the tuple as needed ...\n\n\trel = heap_open(target-catalog, RowE...
[ { "msg_contents": "This is a patch to implement synchronized snapshots. It is based on\nAlvaro's specifications in:\n\nhttp://archives.postgresql.org/pgsql-hackers/2011-02/msg02074.php\n\nIn short, this is how it works:\n\nSELECT pg_export_snapshot();\n pg_export_snapshot\n--------------------\n 000003A1-1\n(1 ...
[ { "msg_contents": "The pg_stat_replication view exposes all the fields in\nStandbyReplyMessage *except* for the timestamp when the message was\ngenerated. On an active system this is not all that interesting, but\non a mostly idle system that allows the monitoring to react faster\nthan the timeout that actually...
[ { "msg_contents": "I'm trying to make my streaming log receiver work properly with 9.1,\nand have come across a couple of things. The first one that's causing\ntrouble is that the definition of the protocol is currently in\nwalprotocol.h, which is not include:able in a frontend application.\nAFAICT, this is bec...
[ { "msg_contents": "The attached three patches try to consolidate code path of DROP\nstatement on various kind of object classes.\n\nThe first part provides a set of internal api to reference properties\nof object types; as we had a discussion before.\nIt adds a big static array indexed by ObjectType; that holds...
[ { "msg_contents": "Should we have an optional, disabled-by-default limit on the\nrecursion/iteration depth of recursive CTEs to guard against stupid\nqueries that loop ad infinitum?\n\nI've looked at other database systems that support WITH RECURSIVE\nqueries, and this idea crops up there. For example, Firebird...
[ { "msg_contents": "This might be the last bug from my concurrent-vacuum-full testing --- at\nleast, I have no remaining unexplained events from about two full days\nof running the tests. The ones that are left involve backends randomly\nfailing like this:\n\npsql: FATAL: could not read block 0 in file \"base/...
[ { "msg_contents": "In pg_upgrade, avoid dumping orphaned temporary tables. This makes the\npg_upgrade schema matching pattern match pg_dump/pg_dumpall.\n\nFix for 9.0, 9.1, and 9.2.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/2411fbdac448045a23eebf4f0dbfd5790ebad720\n...
[ { "msg_contents": "$SUBJECT is wildly out-of-date. Is there any point in keeping this,\ngiven the large (and actually correct) comment block near the top of\nsinvaladt.c?\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterprisedb.com\nThe Enterprise PostgreSQL Company\n", "msg_date": "Mon, 15 Aug 2011 22:5...
[ { "msg_contents": "Hi,\n\nWhen I tested the PITR on git master with max_wal_senders > 0,\nI found that the following inappropriate log meesage was always\noutput even though cascading replication is not in progress. Attached\npatch fixes this problem.\n\n LOG: terminating all walsender processes to force ca...
[ { "msg_contents": "Fix bogus comment that claimed that the new BACKUP METHOD line in\nbackup_label was new in 9.0. Spotted by Fujii Masao.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/2877c67bc24510c30bca477c876f5de427c85588\n\nModified Files\n--------------\nsrc/backen...
[ { "msg_contents": "Hi Tom,\n\nWhile going through few test-cases, I found that we cannot have two opened\ncursors with same name even though they are in two different functions. Here\nis what I mean:\n\n1. I have two functions func1 and func2.\n2. func1 calls func2\n3. Both has cursor with same name, say mycurs...
[ { "msg_contents": "Accidentally specifying an IPv6 address in pg_hba.conf on a system\nthat doesn't have ipv6 support gives the following error:\n\nLOG: specifying both host name and CIDR mask is invalid: \"::1/128\"\n\n\nWhich is obviously wrong, because I didn't do that. Do we need to\ndetect and special-cas...
[ { "msg_contents": "Here's an updated version of pg_receivexlog, that should now actually\nwork (it previously failed miserably when a replication record crossed\na WAL file boundary - something which I at the time could not properly\nreproduce, but when I restarted my work on it now could easily\nreproduce ever...
[ { "msg_contents": "Adjust total size in pg_basebackup progress report when reality changes\n\nWhen streaming including WAL, the size estimate will always be incorrect,\nsince we don't know how much WAL is included. To make sure the output doesn't\nlook completely unreasonable, this patch increases the total siz...
[ { "msg_contents": "I'm looking into the idea I mentioned earlier:\n\n> All is not entirely lost, however: there's still some possible\n> performance benefit to be gained here, if we go to the scheme of\n> identifying victim catcache entries by hashvalue only. Currently,\n> each heap_update in a cached catalog ...
[ { "msg_contents": "Hi,\n\nI'm working on implemeting query cache for pgpool-II. The query cache\nmust be deleted if related tables are dropped. Finding tables oids\nfrom DROP TABLE t1, t2, t3... is easy. Problem is DROP TABLE\nCASCADE. It seems there's no easy way to find table oids which will be\ndeleted by DR...
[ { "msg_contents": "hello …\n\ni have just fallen over a nasty problem (maybe missing feature) with PL/Pythonu …\nconsider:\n\n-- add a document to the corpus\nCREATE OR REPLACE FUNCTION textprocess.add_to_corpus(lang text, t text) RETURNS float4 AS $$\n\n from SecondCorpus import SecondCorpus\n fr...
[ { "msg_contents": "Hi,\n\nI am trying to build PostgreSQL 9.1beta3 using the ActiveState Python 3.2.\nIt did not compile successfully.\n\nWhen I tried to figure out the exact reason for the failure, I found that:\n1. 'python_configdir' variable is hardcoded, instead it should use the\nconfiguration 'LIBPL'.\n2....
[ { "msg_contents": "The current plan (or, the last one I recall) is to push another 9.1\nrelease tomorrow, for Monday release. Are we going with beta4 or rc1?\n\n-- \nDave Page\nBlog: http://pgsnake.blogspot.com\nTwitter: @pgsnake\n\nEnterpriseDB UK: http://www.enterprisedb.com\nThe Enterprise PostgreSQL Company...
[ { "msg_contents": "Hello\nI tried reporting the following bug via web form, it somerhow got lost\n(it is not in pgsql-bugs archives, it was #6157 I believe). Anyway,\nhere it is:\n\n\n psql -c 'release q; prepare q(int) as select 1'\nFATAL: ReleaseSavepoint: unexpected state STARTED\nserver closed the connecti...
[ { "msg_contents": "Attached is a patch that tracks and displays the accumulated cost when \nautovacuum is running. Code by Noah Misch and myself. I hope this idea \nwill bring a formal process to vacuum tuning, which is currently too \nhard to do. I was about to add \"without...\" to that, but I then \nreali...
[ { "msg_contents": "Hi,\n\nWhile looking at Greg's patch I spotted that resource usage code for vacuum is \ninitialized even if we won't use it. Attached is a small patch that moves it \nto the right place (this code mimics do_analyze_rel function).\n\n\n-- \n Euler Taveira de Oliveira - Timbira http://w...
[ { "msg_contents": "Hi all,\n\nA few gripes about mb_regress.sh:\n 1. No exit code is specified, so even if there are differences\nbetween results/ and expected/ the script will still return 0.\n\n 2. The 'dropdb' command is used to wipe out the \"utf8\" database\nbefore the run. This generates an error message ...