threads
listlengths
1
2.99k
[ { "msg_contents": "Hello,\n\nJust curious if this list is being updated ..\n\nhttp://wiki.postgresql.org/wiki/Todo:WishlistFor84\n\nSteve\n\nHello,Just curious if this list is being updated ..http://wiki.postgresql.org/wiki/Todo:WishlistFor84Steve", "msg_date": "Tue, 16 Sep 2008 21:47:12 +0530", "msg_fr...
[ { "msg_contents": "\nWe keep talking about EXEC_BACKEND mode, though until recently I had\nmisunderstood what that meant. I also realised that I have more than\nonce neglected to take it into account when writing a patch - one recent\npatch failed to do this.\n\nI can't find anything coherent in docs/readme/com...
[ { "msg_contents": "Seen on a lamp standard in south Delhi:\nhttp://toroid.org/misc/ne.jpeg\n\n-- ams\n", "msg_date": "Wed, 17 Sep 2008 11:02:56 +0530", "msg_from": "Abhijit Menon-Sen <ams@oryx.com>", "msg_from_op": true, "msg_subject": "postgres adoption in india suffers setback" }, { "m...
[ { "msg_contents": "Hello,\n\nbefore any implementation of named params we have to implement\nparameters with default values. I don't see any sense of named params\nwithout it. It's ortogonal to variadic functions (variadic functions\nare called when we put more parameters than functions has, dafault\nparameters...
[ { "msg_contents": "Hi,\n\nWe've been profiling a large system (8 CPUs, 64 GB of memory, some\ndozens of disks) which seems rather more swamped than it should. Part\nof the problem seems to come from CleanupTempFiles, the second entry in\noprofile output.\n\nThis is the top 3 symbol report for a 2 minute oprofi...
[ { "msg_contents": "I found a bug that pg_controldata ends with error if control files\ncontain 0x1A (Ctrl+Z) on Windows.\n\nWe probably need to add PG_BINARY when we open control files\nbecause 0x1A is an end-of-file marker on Windows.\nThis fix needs to be applied in back versions (8.2, 8.3 and HEAD).\n\n\nInd...
[ { "msg_contents": "I want to get the attribute from an Aggregation node, where is it?\n\ntypedef struct Agg\n{\nPlan plan;\nAggStrategy aggstrategy;\nint numCols; /* number of grouping columns */\nAttrNumber *grpColIdx; /* their indexes in the target list */\nOid *grpOperators; /* equality operators to compar...
[ { "msg_contents": "Hi,\nI downloaded latest postgresql source code from\n git clone git://git.postgresql.org/git/postgresql.git\nand tried to apply the patch \n http://archives.postgresql.org/pgsql-hackers/2008-09/gza1fGXLvf3L.gz\n\nIt does not apply cleanly, see the failures in attached file.\n\nRegards\nAbbas...
[ { "msg_contents": "I'd like to add some new flag bits to XLogRecord. (xlog.h)\n\nWhere? xl_prev.\n\nxl_prev is an XLogRecPtr which points backwards to the immediately\npreceeding WAL record. All of the bits are currently used, but I have\nsome observations and a proposal to change that.\n\nWe currently compare ...
[ { "msg_contents": "I have a user with a problem on his PostgreSQL 8.1 server running\nWindows:\n\nThe server only has one superuser, and for some reason he decided to\nremove the logon privilege on this user in PgAdmin III. So now he has\nlost superuser access to the database server.\n\nIs there some way to ove...
[ { "msg_contents": "Hi Heikki,\n\nI finally performed iGen test. I used two v490 servers with 4 dual core SPARC \nCPUs and 32GB RAM. I have only one disk and I did not performed any disk I/O \noptimization. I tested 105 parallel connection and think time was 200ms.\nSee the result:\n\nOriginal:\n---------\nActua...
[ { "msg_contents": "I went through the CVS logs to draft release notes, and found that the\nlist of patches applied to REL7_4_STABLE is a bit skimpy:\nhttp://developer.postgresql.org/pgdocs/postgres/release-7-4-22.html\n\nI'm wondering if we should leave 7.4 out of the current set of update\nreleases. If I were...
[ { "msg_contents": "Howdy,\n\nNot *exactly* hackers-related, but I wanted to get a feel for this \nfrom those who are likely to use project hosting, and to minimize the \nchances of a flame war.\n\nRight now I have pgTAP on pgFoundry, which is okay, though it appears \nto be largely unmaintained. PostgreSQL m...
[ { "msg_contents": "I have an 8.3.1 instance on Linux and since June 29th the autovacuum process\nhas claimed to be working on the same three tables. That's OK, I am a very\npatient man, and these are very large tables. Today I started to get\ntransaction wraparound warnings, so I go and check it out. Turns o...
[ { "msg_contents": "Currently we have only Assert(), or a run-time test.\n\nCan we introduce levels of assertion? That way we can choose how\nparanoid a build to make, like setting log_min_messages.\n\nWe know many Assertions are costly, so we don't usually do performance\ntests with --enable-cassert. But then w...
[ { "msg_contents": "\nDear PG hackers,\n\nHas there been any idea to port PG to a more modern programming language\nlike C++? Of course there are some minor obstacles like a new OO design,\nthis being a gigantic task to perform and rewriting almost everything etc...\nI am very interested to hear your opinion.\n\...
[ { "msg_contents": "http://pqxx.org/development/libpqxx/\n\nI'm in the process of creating a macport for libpqxx. I could use\nsome help from anyone with experience in building postgresql or\nlibpqxx on OSX, esp. against the macport libraries.\n\nThanks, Darren\n", "msg_date": "Fri, 19 Sep 2008 23:30:08 -07...
[ { "msg_contents": "Hello.\n\nIs it possible to create a foreign key constraint for ALL elements of\nan array field?\n\nCREATE TABLE a(id INTEGER);\nCREATE TABLE b(id INTEGER, a_ids INTEGER[]);\n\nField b.a_ids contains a list of ID's of \"a\" table. I want to ensure\nthat each element in b.a_ids exists in a in ...
[ { "msg_contents": "Hello.\n\nUtility pg_dump dumps the identical database schemas not always\nidentically: sometimes it changes an order of SQL statements.\nE.g.:\n\n1. Dump of database A:\n\nALTER TABLE xxx ADD CONSTRAINT ...;\nALTER TABLE yyy ADD CONSTRAINT ...;\n\n2. Dump of database B which has identical st...
[ { "msg_contents": "Hi,\n\nwe came across a database where a table had a toasted table,\nkeeping huge amounts of disk space allocated. However,\nthe table's current definition didn't explain why there was\na toasted table. Then upon some experiments, it struck me.\nThere _was_ a toasted field but as the schema w...
[ { "msg_contents": "I had a thought while looking over the column-level privileges patch\nthat Stephen Frost is working on. To wit, that the only reason that\ncolumn default expressions are stored in a separate catalog pg_attrdef\nis the historical assumption in some parts of the code that pg_attribute\nrows ar...
[ { "msg_contents": "Hi all,\nI brought this up a few years ago in the 7.4 days, and since there is \nstill no satisfactory solution to this\nI thought I'd raise it again. When dumping a schema, it is often \nnecessary to dump the tables separately to the constraints and other \nnon-structural metadata. The most ...
[ { "msg_contents": "We go to some lengths to prevent non-superusers from examining\ndata_directory and other values that would tell them exactly where the\nPG data directory is in the server's filesystem. The recently applied\npatch to expose full pathnames of GUC variables' source files blows a\nhole a mile wi...
[ { "msg_contents": "I am working on getting parallel pg_restore working. I'm currently \ngetting all the scaffolding working, and hope to have a naive prototype \nposted within about a week.\n\nThe major question is how to choose the restoration order so as to \nmaximize efficiency both on the server and in read...
[ { "msg_contents": "The complicated patch I've been working with for a while now is labeled \n\"sequential scan posix fadvise\" in the CommitFest queue. There are a lot \nof parts to that, going back to last December, and I've added the many \nmost relevant links to the September CommitFest page.\n\nThe first m...
[ { "msg_contents": "(Sorry for my bad english comments)\nDemo sql:\n\nBEGIN; -- Begins the magic\nCREATE TABLE pk ( -- pk table\n id BIGINT,\n CONSTRAINT pk2_id PRIMARY KEY (id)\n);\n\nCREATE TABLE fk ( -- fk table\n fk_ids BIGINT[]\n);\n\nCREATE FUNCTION bia2bi(bigint[]) RETURNS bigint -- temp type cas...
[ { "msg_contents": "Attached is a revamped version of the FSM rewrite. WAL-logging is now \ngone. Any inconsistencies between levels of the FSM is fixed during \nvacuum, and by searchers when they run into a dead end because of a \ndiscrepancy. Corruption within FSM pages is likewise fixed by vacuum and \nsearch...
[ { "msg_contents": "I think it's a bug that these 3 different ways of writing 0.7 seconds\nproduce different results from each other on HEAD.\n\nhead=# select interval '0:0:0.7', interval '@ 0.70 secs', interval '0.7 seconds';\n interval | interval | interval\n-------------+-----------------+------...
[ { "msg_contents": "Looks like the box-array semicolon got changed to a comma at some point -\nattached patch changes it back (\\054 to \\073)\n\n-- \nGreg Sabino Mullane greg@turnstep.com\nPGP Key: 0x14964AC8 200809222227\nhttp://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8", "msg_date": ...
[ { "msg_contents": "Log Message:\n-----------\nMake LC_COLLATE and LC_CTYPE database-level settings. Collation and\nctype are now more like encoding, stored in new datcollate and datctype \ncolumns in pg_database.\n\nThis is a stripped-down version of Radek Strnad's patch, with further\nchanges by me.\n\nModifie...
[ { "msg_contents": "I'm trying to upgrade my copy of postgresql from 8.2.x to 8.3.4 on a\nWindows Vista SP1 laptop. I build postgres using mingw/msys and have had\nno issues with 8.1.x and 8.2.x. However, with 8.3.4 I run into problems.\n\nFirst, building fails:\n\nc:/Development/MingW/bin/../lib/gcc/mingw32/3....
[ { "msg_contents": "Hot Standby design has been growing on the PostgreSQL Wiki for some\nweeks now.\n\nI've updated the design to reflect all feedback received so far on\nvarious topics.\n\nhttp://wiki.postgresql.org/wiki/Hot_Standby\n\nIt's not hugely detailed in every area, but it gives a flavour of the\ntopic...
[ { "msg_contents": "I updated the series of patches for SE-PostgreSQL 8.4devel.\n\n[1/5] http://sepgsql.googlecode.com/files/sepostgresql-sepgsql-8.4devel-3-r1043.patch\n[2/5] http://sepgsql.googlecode.com/files/sepostgresql-pg_dump-8.4devel-3-r1043.patch\n[3/5] http://sepgsql.googlecode.com/files/sepostgresql-p...
[ { "msg_contents": "Hey does anybody know how to call stored procedure written in pgsql using\nhibernate concecpt with java application... I wanted to know how mapping\ntakes place. Please could anybody help me out....\n\nHey does anybody know how to call stored procedure written in pgsql using hibernate concecp...
[ { "msg_contents": "I started a little campaign to get the default SHMMAX on Linux raised \nfrom its current nostalgic 32 MB, to lessen the burden on our users:\n\nhttp://bugzilla.kernel.org/show_bug.cgi?id=11381\n\nThe kernel developers aren't exactly convinced yet, so maybe others can \nadd their arguments the...
[ { "msg_contents": "PostgreSQL makes all identifiers to be lower-case except when putting an\nidentifier between double-quotes. \nI have an special case where I would like to preserve the case-sensitivity\nwithout putting every column/table name inside double-quotes (The\napplication is too big to change).\n\nIs...
[ { "msg_contents": "On Sep 24, 2008, at 14:02, Joshua Drake wrote:\n\n> I think one problem we have right now, is nobody knows what it is \n> going\n> to take. I would expect that our current version is sufficiently old\n> enough to cause some migration pain?\n>\n> I know we have two members willing to help tha...
[ { "msg_contents": "Tom,\n\n> > WithClause node may need a location field, and almost certainly has to\n> > be handled somehow in exprLocation().\n> > \n> > The error reports in parse_cte.c *desperately* need error locations.\n\nIncluded is a patch for this against your cte-0923.patch.gz. Most\nerrors now have e...
[ { "msg_contents": "Attached is my WIP patch for parallel pg_restore. It's still very rough, \nbut seems to work.\n\nAnyone who can test this with highend equipment would be helping some.\n\ncheers\n\nandrew", "msg_date": "Wed, 24 Sep 2008 23:02:51 -0400", "msg_from": "Andrew Dunstan <andrew@dunslane.net...
[ { "msg_contents": "Hi there,\n\nFollowing up a report on the PostGIS bugtracker (also submitted to \npgsql-bugs here: \nhttp://archives.postgresql.org/pgsql-bugs/2008-09/msg00086.php), I'm \nwondering if there is a bug in the way that GiST indexes interact with \nscroll cursors.\n\nI've managed to reproduce the...
[ { "msg_contents": "Good:\n\nregression=# select 'T' ilike 't';\n ?column? \n----------\n t\n(1 row)\n\nNot so good:\n\nregression=# select 'T' ilike E'\\\\t';\n ?column? \n----------\n f\n(1 row)\n\nISTM backslash is only supposed to turn off the pattern-language\nspecialness of characters, not render them case...
[ { "msg_contents": "In libpq, the definition is like:\nPGresult *\nPQprepare(PGconn *conn,\n const char *stmtName, const char *query,\n int nParams, const Oid *paramTypes)\n\nCould we remove the parameter \"nParams\"?\ne.g. \"insert into foo(id, name, address) values ($1, $2, $3)\"\nPostgreSQL possibly can...
[ { "msg_contents": "To keep everyone who's interested up-to-date, attached is the latest \npatch. The big addition is documentation. I added a section in the \n\"Physical Database Layout\" chapter about the new FSM, and removed \nreferences to the max_fsm_relations/pages options, plus some other small \nchanges....
[ { "msg_contents": "The sysadmin team would like to announce a planned maintenance window \nfor OS related updates on tribble.postgresql.org starting Sunday Sep 28 \n07:00 GMT (espected to last for an hour) affecting the following \npublically visible services:\n\ncvs.postgresql.org\nwwwmaster.postgresql.org\nww...
[ { "msg_contents": "I'm currently playing with Andrews parallel restore patch and it seems \nthat pg is far from taking advantage of the hardware I have for testing \n(Dual Quad Core Xeon attached to Netapp with 68 spindles). with a \nconcurrency of 4 - I see iowait hovering ~1% CPU load at 20% peak and \naround...
[ { "msg_contents": "Hey folks,\n\nTom pointed out in the parent thread [1] that the error message for\nbogus AM/PM markers in to_timestamp is pretty lame:\n\n ERROR: invalid AM/PM string\n\nI agree, and once I started thinking about this, I came up with other\ngripes concerning the treatment of 12-hour time ...
[ { "msg_contents": "I looked a bit at the bug report here:\nhttp://archives.postgresql.org/pgsql-bugs/2008-09/msg00164.php\n\nISTM that the fundamental problem is that plpgsql doesn't distinguish\nproperly between a null row value (eg, \"null::somerowtype\") and a\nrow of null values (eg, \"row(null,null,...)::s...
[ { "msg_contents": "I was in a discussion with someone about the difference between ad-hoc\nstorage systems and SQL. Yes, I know, I was rolling my eyes as well. One\nthing did strike me though was the idea that a table could contain a\nvariable number of columns.\n\nSomething like this:\n\ncreate adhoc table foo...
[ { "msg_contents": "Hello,\n\nThe datfrozenxid bug is fixed in 8.3.4,\nbut do I need additional operations after upgrade postgres binaries?\n\n| Fix potential miscalculation of datfrozenxid (Alvaro)\n| This error may explain some recent reports of failure\n| to remove old pg_clog data. \n\nI assume that pg_d...
[ { "msg_contents": "\nIs it possible to have a FATAL error that crashes a backend and for it\nto *not* have written an abort WAL record for any previously active\ntransaction? \n\nI think yes, but haven't managed to create this situation while testing\nfor it. If we either *always* write a WAL record, or PANIC t...
[ { "msg_contents": "Currently, the CTE patch assumes (without checking) that the output\nrowtype of a recursive WITH item is the same as the output rowtype\ndetermined by inspecting its non-recursive term. Unfortunately\nthis is not always the case. Consider\n\n\tWITH RECURSIVE q AS (\n\t\tSELECT int4_col FROM...
[ { "msg_contents": "I run performance test on in-place patch prototype which I sent for review and I \ngot nice result:\n\nOriginal:\n---------\nMQThL (Maximum Qualified Throughput LIGHT): 2202.12 tpm\nMQThM (Maximum Qualified Throughput MEDIUM): 4706.60 tpm\nMQThH (Maximum Qualified Throughput HEAVY): 3956.64 t...
[ { "msg_contents": "Hi,\nWhile making a complex database back-end, I have at-hand about 200 odd\nfunctions and frankly 'management of functions' is already getting quite\ntedious. Since the count is certain to rise, I am looking for a good tool to\ndo this.\n\nBy management, I guess I am looking at some kind of ...
[ { "msg_contents": "When I run \"pg_ctl restart\" of the vanilla pgsql-8.3.4 without any options,\nit does not work correctly.\n\n-------- cut here --------\n[kaigai@saba postgresql-8.3.4]$ ./root/bin/pg_ctl restart\nLOG: received smart shutdown request\nLOG: autovacuum launcher shutting down\nwaiting for serv...
[ { "msg_contents": "Hi All,\n\n I noticed something strange today, and thought I should report it. I\nvacuumed a database, and as expected, one of the table's size decreased\n(other table were VACUUMed individually earlier); but o my astonishment, the\nsize of the UNIQUE KEY index on one of the columns increa...
[ { "msg_contents": "I finally committed the new version of the FSM rewrite, after fixing the \nlatest round of Tom's comments. There's a few loose ends I'm going to \naddress as subsequent patches:\n\npg_relation_size() doesn't include the size of the FSM. Should it? I'm \nthinking \"no\", but pg_total_relation_...
[ { "msg_contents": "I attach patch which cleans up code around PageGetTempPage. These changes were \ndiscussed here:\n\nhttp://archives.postgresql.org/pgsql-hackers/2008-08/msg00102.php\n\n\t\tZdenek\n\n\n-- \nZdenek Kotala Sun Microsystems\nPrague, Czech Republic http://sun.com/postgresql", ...
[ { "msg_contents": "A customer of ours has been having trouble with corrupted data for some\ntime. Of course, we've almost always blamed hardware (and we've seen\nRAID controllers have their firmware upgraded, among other actions), but\nthe useful thing to know is when corruption has happened, and where.\n\nSo ...
[ { "msg_contents": "This patch changes the options field of pg_hba.conf to take name/value\npairs instead of a fixed string. This makes it a lot nicer to deal with\nauth methods that need more than one parameter, such as LDAP.\n\nWhile at it, it also adds map support to kerberos, gssapi and sspi and\nnot just id...
[ { "msg_contents": "From -HEAD:\n\nERROR: aggregates not allowed in WHERE clause\nSTATEMENT: SELECT *\n FROM loans l\n WHERE id IN ( SELECT max(l.id)\n FROM loans\n JOIN customers c ON c.id = \nl.cust...
[ { "msg_contents": "I just managed to make a backend dump core while fooling with the CTE\npatch, and found out that the system failed to recover, because the\nensuing startup process *also* dumped core. Here's the backtrace:\n\nCore was generated by `postgres: startup'.\nProgram terminated with signal 11, Segm...
[ { "msg_contents": "Patch now includes all previous agreed changes, plus I've found what\nlooks to be a workable method of removing the shutdown checkpoint\nwithout loss of robustness. \n\nPatch summary\n\nTuning \n* Bgwriter performs dirty block cleaning during recovery\n* Bgwriter performs restartpoints, offlo...
[ { "msg_contents": "I'm curious about pgbash. I've taken a look at the website here:\nhttp://www.psn.co.jp/PostgreSQL/pgbash/index-e.html\n\nAccording to the history on the main home page, the pgbash package was\nlast updated in 2003, ie:\n2003.02.11 : pgbash-7.3 released (for PostgreSQL-7.3 and bash-2.05a).\n\...
[ { "msg_contents": "> Joshua D. Drake wrote:\n> ...\n> ZFS is not an option; generally speaking.\n\nThen in general, if the corruption occurred within the:\n\n- read path, try again and hope it takes care of itself.\n\n- write path, the best that can be hoped for is a single bit error\n within the data itself w...
[ { "msg_contents": "Brief overview of plans over the next month:\n\nThere are two patches available now that are essential to Hot Standby.\n* Infrastructure Changes for Recovery (recovery_infrastruc.v8.patch)\n* Subtransaction Commits and Hot Standby (atomic_subxids.v4.patch)\n\nOther patches will be coming soon...
[ { "msg_contents": "Hi all.\n\nIs there a way to have (sub)transactions within a function body?\nI'd like to execute some code (a transaction!) inside a function and later \ndecide whether that transaction is to be committed or not.\n\nThanks.\n", "msg_date": "Wed, 1 Oct 2008 17:54:01 +0200", "msg_from":...
[ { "msg_contents": "> Jonah H. Harris wrote:\n>> Tom Lane wrote:\n>> \"Harald Armin Massa\" writes:\n>>> WHAT should happen when corrupted data is detected?\n>>\n>> Same thing that happens now, ie, query fails with an error. This would\n>> just be an extension of the existing validity checks done at page read\n...
[ { "msg_contents": "Hackers,\n\nAs it is now October 1st, I have taken the remaining 5 patches still \nunder discussion and moved them to the top of the list for November, \nthough hopefully they will be applied sooner.\n\nFor the September commitfest, 29 patches were applied (one to pgFoundry) \n and 18 patche...
[ { "msg_contents": "Log Message:\n-----------\nAllow pg_regress to be run outside the build tree. Look for input files\nin both input and output dir, to handle vpath builds more simply.\n\nModified Files:\n--------------\n pgsql/src/makefiles:\n pgxs.mk (r1.12 -> r1.13)\n (http://anoncvs.postgr...
[ { "msg_contents": "Seems to me there's a bug in HEAD (and probably old branches\nas well) when compiled with HAVE_INT64_TIMESTAMP. As shown below\nIt sometimes shows things like \"-6.-70 secs\" where 8.3\nshowed \"-6.70 secs\".\n\nI think the attached one-liner patch fixes this, as well as\nanother roundoff re...
[ { "msg_contents": "while reading documentation for pg_freespacemap contrib module i found a\nsmall mistake - the functions are names \"pg_freespace\" and not\n\"pg_freespacemap\".\n\nattached patch changes the sgml file with documentation.\n\nbest regards,\n\ndepesz\n\n-- \nLinkedin: http://www.linkedin.com/in/...
[ { "msg_contents": "\nI have just completed a test of the patch I posted a few days ago.\n\nThe test is a 2Gb dump file that restores to a 22Gb database. The \ndatabase is very complex, with some 28,000 objects.\n\nThe baseline test was run in a single transaction:\n\n pg_restore --use-list tlist -1 -d mdata ...
[ { "msg_contents": "Hello\n\nI would to do better tests orafce package - but actually I can't\naccess to other hw than x86 (Thanks to helpers, there are some test on\nother platforms). Is possible use postgresql build farm for this\npurpose?\n\nRegards\nPavel Stehule\n", "msg_date": "Fri, 3 Oct 2008 07:29:34...
[ { "msg_contents": "I stumbled upon LWN article where Patchworks patch management\nsystem was discussed:\n\n http://lwn.net/Articles/298592/\n\nIt collects patches from mailing list, plus replies to it,\nand shows on a web page. Also keeps track of status.\n\nSounds exactly like whats needed for Postgres?\n\n\...
[ { "msg_contents": "Log Message:\n-----------\nAdd relation fork support to pg_relation_size() function. You can now pass\nname of a fork ('main' or 'fsm', at the moment) to pg_relation_size() to\nget the size of a specific fork. Defaults to 'main', if none given.\n\nWhile we're at it, modify pg_relation_size to...
[ { "msg_contents": "The numeric_big regression test was added many years ago for the NUMERIC \n implementation but was not put in the default test set because it was \ntoo slow. Now my tests show, it is really not slower than some of the \nother slow tests (e.g., stats, tablespace), so perhaps time has caught ...
[ { "msg_contents": "Hi there, I'm going to use the db_user_namespace parameter to get a strong\nrelationship between roles and databases, multiple databases -users\nincluded- residing in the same server without conflicts is my objective too.\n\n\nRight now I'm working on the backup process, which ideally would l...
[ { "msg_contents": "There are four functions\n\nistrue\nisfalse\nisnottrue\nisnotfalse\n\ndefined in bool.c and exported to SQL that are not documented anywhere \nand are not part of any spec that I would know of. The release notes \nindicate that they were used to implement IS TRUE, IS FALSE, etc. until \nPost...
[ { "msg_contents": "I've applied the latest version of the CTE patch. Congratulations on\nmaking that happen!\n\nThere are still some loose ends that need to be considered, though.\n\n1. As committed, the patch takes an extremely hard line about WITH\nqueries being evaluated independently of the main query and ...
[ { "msg_contents": "It fails on two of my machines like this:\n\n*** src/test/regress/expected/int8.out\tSun Oct 5 12:19:58 2008\n--- src/test/regress/results/int8.out\tSun Oct 5 12:20:26 2008\n***************\n*** 748,756 ****\n (1 row)\n \n SELECT CAST('9223372036854775807.0'::float4 AS int8);\n! ERROR: ...
[ { "msg_contents": "\nThere are a couple of open questions for parallel pg_restore.\n\nFirst, we need a way to decide the boundary between the serially run \n\"pre-data\" section and the remainder of the items in the TOC. Currently \nthe code uses the first TABLEDATA item as the boundary. That's not \nterribly r...
[ { "msg_contents": "When I build pgsql via perl after run the command line env of VS2005,\nthere are lots of following error:\n\n\n\n\ne:\\learn\\db_research\\postgresql\\source\\postgresql-8.3.3\\src\\include\\port\n.h(83): error C2146: syntax error : missing ')' before identifier 'hProcess'\n\ne:\\learn\\db_re...
[ { "msg_contents": "Hi,\n\nI just found a weird behaviour with this statement. Here is a complete\nlog of my session with a 8.3(.4) server:\n\nguillaume@laptop$ mkdir /home/guillaume/ts1\nguillaume@laptop$ createdb db1\nguillaume@laptop$ LANG=C psql db1\nWelcome to psql 8.3.4, the PostgreSQL interactive terminal...
[ { "msg_contents": "Dears,\n\n \n\n I need monitor a postgres database, but I don't know which\ntool to use.\n\n The tool need perform the below actions\n\n \n\n1.\tshow transactions pendents\n2.\tshow the statistics per session actives\n3.\tshow the statistics per database\n4.\tshow metric...
[ { "msg_contents": "I noticed this perfectly valid query doesn't work in CVS HEAD:\n\nregression=# with q(x) as (select 1) select * from q where 1 in (select q.x);\nERROR: could not find CTE \"q\"\n\nThe failure occurs while markTargetListOrigin is trying to process the\n\"select q.x\" sub-select's targetlist: ...
[ { "msg_contents": "Currently, pg_settings.enumvals presents a list of strings formatted in\nan ad-hoc manner. Shouldn't we be presenting this as text[], so that\nclients don't need special-purpose code to break it apart?\n\nAnother possible argument is that the values ought to be separated by\nnewlines instead...
[ { "msg_contents": "I mentioned the other day that ruleutils.c fails for cases like this:\n\nexplain select * from (select x from (values(1,2),(3,4)) as x(c1,c2) offset 0) ss where (x).c2 > 0;\nERROR: record type has not been registered\n\nThe problem is that the rewriter/planner expands the intermediate\nsub-s...
[ { "msg_contents": "\n\n", "msg_date": "Mon, 6 Oct 2008 09:01:24 -0700 (PDT)", "msg_from": "bull@pubbs.net", "msg_from_op": true, "msg_subject": "subcribe" } ]
[ { "msg_contents": "Hey folks,\n\nI would like to learn more about execution path for a simple query, \nthat is going to be changed by a rule. I want to find out, why output \nof 'affected rows' isn't always altered properly in rules rewriting \ninserts and updates.\nCan someone give me simple guide on where ...
[ { "msg_contents": "Hi,\n\nI had the same problem as John with \"could not open relation \n1663/16384/16584: No such file or directory\" in a specific combination \nof transactions with temp tables \n(http://archives.postgresql.org/pgsql-hackers/2008-02/msg01260.php). As \nHeikki mentioned \n(http://archives.pos...
[ { "msg_contents": "It seems possible to change some DDL commands/subcommands to use a\nShareLock rather than an AccessExclusiveLock. Enclosed patch implements\nthis reduction for CREATE TRIGGER, CREATE RULE and ALTER TABLE.\n\nWe can relax locking as long as we can verify that the changes effect\nDML statements...
[ { "msg_contents": "It seems possible to change some DDL commands/subcommands to use a\nShareLock rather than an AccessExclusiveLock. Enclosed patch implements\nthis reduction for CREATE TRIGGER, CREATE RULE and ALTER TABLE.\n\nWe can relax locking as long as we can verify that the changes effect\nDML statements...
[ { "msg_contents": "http://pastebin.com/d39eb7643\n\nnever had problems on mac os x with head, for last 4 years or so.", "msg_date": "Mon, 6 Oct 2008 22:47:34 +0100", "msg_from": "Grzegorz Jaskiewicz <gj@pointblue.com.pl>", "msg_from_op": true, "msg_subject": "problems with initdb after last cvs ...
[ { "msg_contents": "I'm trying write tuple conversion function and now I'm hit problem with \ncomposite data types. Composite data types can contain inner composite \ndata types. Is there any limit? And I found that heap_form_tuple calls \n toast_flatten_tuple_attribute only one level composite type. Is it bug?...
[ { "msg_contents": "Quick, what's wrong with this query?\n\nregression=# with q(x) as (select 1 union all select x+1 from q where x<10)\nregression-# select * from q;\nERROR: relation \"q\" does not exist\nLINE 1: with q(x) as (select 1 union all select x+1 from q where x<1...\n ...
[ { "msg_contents": "Attached is the latest version of my parallel restore work.\n\nIn this version pg_dump has learned how to tag each item with the \nsection it belongs to (data, pre-data, post-data). That removes the \nnecessity for hardcoding knowledge about the boundary of the data \nsection into the paralle...
[ { "msg_contents": "I looked a bit at the SQL:2008 spec for a CYCLE clause for WITH\nRECURSIVE. It is interesting to see that it is just syntactic sugar,\nbecause *they spell out how to expand it into regular SQL*. More,\nthey defined it in such a way that it's hard to optimize at all,\nbecause the \"path\" co...
[ { "msg_contents": "Hello\n\ncompilation pg8.4 finished with error\n\nmake[4]: Leaving directory `/home/pavel/src/pgsql/src/backend/utils/adt'\nmake -C cache all\nmake[4]: Entering directory `/home/pavel/src/pgsql/src/backend/utils/cache'\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-s...
[ { "msg_contents": "Hi all,\n\nI am building Postgres using Eclipse with the CDT plugins (pre-packaged \ndistrib from eclipse.org). I am wondering if anyone else is using \nEclipse here?\nIf I am not the only one, we could setup a page on the Wiki explaining \nhow to setup the project under Eclipse and share our...
[ { "msg_contents": "Minor bug fix for pg_stop_backup() to prevent it waiting longer than\nnecessary in certain circumstances.\n\nWas originally part of recovery_infrastructure patch.\n\n-- \n Simon Riggs www.2ndQuadrant.com\n PostgreSQL Training, Services and Support", "msg_date": "Wed, 08 Oct 2008...