threads
listlengths
1
2.99k
[ { "msg_contents": "Since libedit is getting some attention right now, I figured I'd try \nusing building with it instead of readline. configuring using:\n\n./configure --prefix=/usr/local/pgsql/9.1 --enable-debug \n--enable-cassert --with-libedit-preferred\n\nI get this linking postgres:\n\npostmaster/postmaste...
[ { "msg_contents": "Hi all,\n\nI'm wondering what people think of introducing some kind of function\nto extract the number of units between 2 dates? At the moment there's\nno way to do this. Take the following example:\n\nEvent 1 is '1985-10-26 01:22:00'\nEvent 2 is now.\n\nHow many minutes between these 2 eve...
[ { "msg_contents": "Cleanup ClusterInfo initialization in pg_upgrade\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/b4a7e5980b2919d4d2a849d046a8e3a77e06fdb7\n\nModified Files\n--------------\ncontrib/pg_upgrade/info.c | 6 ++++++\ncontrib/pg_upgrade/pg_upgrade.c | ...
[ { "msg_contents": "Hot Standby feedback for avoidance of cleanup conflicts on standby.\nStandby optionally sends back information about oldestXmin of queries\nwhich is then checked and applied to the WALSender's proc->xmin.\nGetOldestXmin() is modified slightly to agree with GetSnapshotData(),\nso that all back...
[ { "msg_contents": "Tom Lane <post@gwene.org> writes:\n> Fix corner case for binary upgrade: extension functions in pg_catalog.\n\nDo we only want to care about functions here? What about the following?\n\n CREATE EXTENSION hstore WITH SCHEMA pg_catalog;\n\nWhen not doing binary upgrade, this will issue the ri...
[ { "msg_contents": "Hi Hackers,\n\nAfter reviewing docs and searching web\ncannot find out how to determine the default tablespace\nof a user?\n\nLike:\n\nselect spcname from blab where roloid = 1111;\n\nIs this possible?\n\nThank you for your time.\n\n\n\n\n \n", "msg_date": "Wed, 16 Feb 2011 15:59:13 ...
[ { "msg_contents": "Fix blatantly uninitialized variable in recent commit.\n\nDoesn't anybody around here pay attention to compiler warnings?\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/93016983d1e8f3aeb508f1be8daf5ca5de5c5b61\n\nModified Files\n--------------\nsrc/back...
[ { "msg_contents": "COPY ENCODING patch was returned with feedback,\n https://commitfest.postgresql.org/action/patch_view?id=501\nbut we still need it for file_fdw. Using client_encoding at runtime\nis reasonable for one-time COPY command, but logically nonsense for\npersistent file_fdw tables.\n\nBase on the ...
[ { "msg_contents": "YAMAMOTO Takashi wrote:\n \n> might be unrelated to the loop problem, but...\n \nAha! I think it *is* related. There were several places where data\nwas uninitialized here; mostly because Dan was working on this piece\nwhile I was working on separate issues which added the new fields.\nI m...
[ { "msg_contents": "I've been thinking about the problem of $SUBJECT, and while I know\nit's too early to think seriously about any 9.2 development, I want to\nget my thoughts down in writing while they're fresh in my head.\n\nIt seems to me that there are two basic approaches to this problem.\nWe could either s...
[ { "msg_contents": "YAMAMOTO Takashi wrote:\n \n> with your previous patch or not?\n \nWith, thanks.\n \n-Kevin\n\n", "msg_date": "Wed, 16 Feb 2011 22:45:59 -0600", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>", "msg_from_op": true, "msg_subject": "Re: SSI bug?" }, { "ms...
[ { "msg_contents": "\nHello list,\n\nATRewriteTable in tablecmds.c uses SnapshotNow to rewrite and thus\ndoes not copy RECENTLY DEAD tuples. But copy_heap_data in cluster.c\nuses SnapshotAny and copys RECENTLY DEAD tuples to the new heap\nfile.\n\nI don't understand why it is not needed in the first case. In the...
[ { "msg_contents": "Is there any official style guide of PostgreSQL code ? Like the\n\"google-styleguide\"\n(http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) ?\n\nRegards,\n--\nDaniel Loureiro\n", "msg_date": "Thu, 17 Feb 2011 17:51:25 -0200", "msg_from": "Daniel Loureiro <loureirorg@gmail...
[ { "msg_contents": "Hi All.\n\nThe NULL element always suprises me in unpleasant ways.. my brain simply\ncant really understand the logic, so please let me know if this is\none of the cases where I just should spend way more efforts into fixing \nthat instead.\n\nI have a table with a \"null_frac\" of 0.5 and i...
[ { "msg_contents": "I observe the following discrepancy between the 9.0 and 9.1 citext\ninstall scripts:\n\n***************\n*** 52,58 ****\n STORAGE = extended,\n -- make it a non-preferred member of string type category\n CATEGORY = 'S',\n! PREFERRED = false\n );\n \n --...
[ { "msg_contents": "Hello guys, \n\n \n\nwe have PG 8.3.13 in our system. When running performance cases, we find the\nstartup recovery cost about 3 minutes. It is too long in our system. \n\nWe diagnose the problem by adding timestamp. Finally, we find almost all 3\nminutes were used by the relation dropping an...
[ { "msg_contents": "Recently two systems here have suffered severely with excessive \ntemporary file creation during query execution. In one case it could \nhave been avoided by more stringent qa before application code release, \nwhereas the other is an ad-hoc system, and err...yes.\n\nIn both cases it would ha...
[ { "msg_contents": "Better late than never (or?), here's the final cleanup of\npg_streamrecv for moving into the main distribution, per discussion\nback in late dec or early jan. It also includes the \"stream logs in\nparallel to backup\" part that was not completed on pg_basebackup.\n\nOther than that, the only...
[ { "msg_contents": "Separate messages for standby replies and hot standby feedback.\nAllow messages to be sent at different times, and greatly reduce\nthe frequency of hot standby feedback. Refactor to allow additional\nmessage types.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/co...
[ { "msg_contents": "UNLOGGED is defigned in OptTemp in gram.y, so the parser accepts\nCREATE UNLOGGED VIEW and CREATE UNLOGGED SEQUENCE, but they are\nactually not supported.\n\n=# CREATE UNLOGGED VIEW uv AS SELECT 1;\nTRAP: FailedAssertion(\"!(relkind == 'r' || relkind == 't')\", File:\n\"heap.c\", Line: 1246)\...
[ { "msg_contents": "We agreed to add a parameter called sync_standbys\nhttp://archives.postgresql.org/message-id/4D1DCF5A.7070808@enterprisedb.com.\nthat required the concept of a server name.\n\nI've written this patch to add a server name parameter and to send an\ninfo message which returns the server name, at...
[ { "msg_contents": "Make a hard state change from catchup to streaming mode.\nMore useful state change for monitoring purposes, plus a\nrequired change for synchronous replication patch.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/bc76695c4c44e21aed94ee2bea81c4cdcedf139...
[ { "msg_contents": "Hackers,\n\nI have following proposal. Currently the ts_typanalyze function accumulates\nfrequency statistics for ts_vector using lossy counting technique. But no\nfrequency statistics is collecting over arrays. I'm going to generalize\nts_typanalyze to make it collecting statistics for array...
[ { "msg_contents": "\nPostgreSQL Experts Inc has a client with a 9.0.2 streaming replication \nserver that somehow becomes wedged after running for some time.\n\nThe server is running as a warm standby, and the client's application \ntries to connect to both the master and the slave, accepting whichever \nlets i...
[ { "msg_contents": "\n[this time from the right address - apologies if we get a duplicate]\n\nPostgreSQL Experts Inc has a client with a 9.0.2 streaming replication server that somehow becomes wedged after running for some time.\n\nThe server is running as a warm standby, and the client's application\ntries to c...
[ { "msg_contents": "The CommitFest application currently reflects 17 remaining patches for\nCommitFest 2011-01.\n\n1. Change pg_last_xlog_receive_location not to move backwards. We\ndon't have complete consensus on what to do here. If we can agree on\na way forward, I think we can finish this one up pretty qui...
[ { "msg_contents": "Well, good news all round.\n\nv17 implements what I believe to be the final set of features for sync\nrep. This one I'm actually fairly happy with. It can be enjoyed best at\nDEBUG3.\n\nThe patch is very lite touch on a few areas of code, plus a chunk of\nspecific code, all on master-side. Pr...
[ { "msg_contents": "Hacker,\n\nI found two issues in fuzzystrmatch contrib.\n1) Incorrect s_data shift in levenshtein calculation with threshold with\nmultibyte characters. \"i\" index was used instead of \"start_column\".\n2) Missing dependency of fuzzystrmatch.o on levenshtein.c\n\nPatch is attached.\n\n------...
[ { "msg_contents": "> Heikki Linnakangas wrote:\n> On 14.02.2011 20:10, Kevin Grittner wrote:\n \n>> Promotion of the lock granularity on the prior tuple is where we\n>> have problems. If the two tuple versions are in separate pages\n>> then the second UPDATE could miss the conflict. My first thought\n>> was to...
[ { "msg_contents": "I've been poking at the FDW stuff and file_fdw, and I find myself\ndissatisfied with the way that the EXPLAIN support is designed,\nnamely that we have to compute a string at plan time to be displayed\nby EXPLAIN. There are a couple of problems with that:\n\n1. The explainInfo string is usel...
[ { "msg_contents": "Hello, I had defined user-defined function and type in database A by using user Root.when i want to access the function and type in another database B by using the same user Root, but found that i could't access them. How to make the user-defined function or type being accessed in the global ...
[ { "msg_contents": "Just patch for missing procedures for void send/recv\n\nRegards,\nRadek", "msg_date": "Sun, 20 Feb 2011 11:20:22 +0100", "msg_from": "=?utf-8?q?Rados=C5=82aw_Smogura?= <rsmogura@softperience.eu>", "msg_from_op": true, "msg_subject": "Void binary patch" }, { "msg_conten...
[ { "msg_contents": "Yesterday I spent about half an hour to dig an issue on my laptop -- 9.0\ninstance did not start, and there were nothing in the logs. Eventually I\nstraced postmaster on start, and noticed an extra char in the\npg_hba.conf, which caused postmaster not to start.\n\nIs it possible to drop somet...
[ { "msg_contents": "Bruce Momjian wrote:\n \n> This documentation\n \nThis page was missed in the SSI documentation update. I don't want\nto get distracted by it today, but we'll need to get this done for\n9.1. I guess I need to grep the sgml files for other mentions of\nmax_locks_per_transaction for other po...
[ { "msg_contents": "\"Kevin Grittner\" wrote:\n \n> I'm proceeding on this basis.\n \nResult attached. I found myself passing around the tuple xmin value\njust about everywhere that the predicate lock target tag was being\npassed, so it finally dawned on me that this logically belonged as\npart of the target tag...
[ { "msg_contents": "I found \"make installcheck\" for contrib/unaccent in master is failed\non my machine, The regressions.diffs attached.\n\nI'm not sure the reason because BuildFarm machines are all OK,\nbut we might need some checks in addition to database encoding.\n\n* OS:\nLinux 2.6.35.10-74.fc14.x86_64 #1...
[ { "msg_contents": "Alvaro Herrera wrote:\n \n> I think we need a safety net so that the new serializable isolation\n> code doesn't get upset if we change the base snapshot from under\n> it, but I haven't looked at that yet.\n \nReplacing the snapshot for a serializable transaction after it has\nacquired its in...
[ { "msg_contents": "The API for FDW validators doesn't appear to have any way that the \nvalidator function can check that the defined foreign table shape \nmatches the FDW options sanely. Maybe it's a chicken and egg problem, \nbut there seems to be something missing, unless I'm mistaken. We'll have \nthe info ...
[ { "msg_contents": "psql \\d(+) doesn't show any information about UNLOGGED and TEMP attributes\nfor the table. So, we cannot know the table is unlogged or not unless\nwe directly select from pg_class.relpersistence. Is this a TODO item?\n\nThe same issue is in TEMP tables, but we can determine them by their\ns...
[ { "msg_contents": "hello everbody,\n\nwe have spent some time in finally attacking cross column correlation. as this is an issue which keeps bugging us for a couple of applications (some years). this is a WIP patch which can do:\n\n\tspecial cross column correlation specific syntax:\n\t\n\t\tCREATE CROSS COLUMN...
[ { "msg_contents": "Hi,\n\nActaully one more POD left it's aclitem :). In Java for e.g. it is used to \nobtain column priviliges, I assume some folks may want to use it too.\n\nI tested only recv :-(\n\nAcually I don't know if idea of such format is OK, but my intention was to \nsend roles names, so driver don't...
[ { "msg_contents": "Hello,\n\nPer the customary URL:\n\nhttps://www.postgresqlconference.org/\n\nJD\n\n-- \nPostgreSQL.org Major Contributor\nCommand Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579\nConsulting, Training, Support, Custom Development, Engineering\nhttp://twitter.com/cmdpromptinc | http:/...
[ { "msg_contents": "Here is a patch to support CREATE UNLOGGED TABLE in psql tab-completion.\nIt also fixes a bug that DROP is completed with TEMP and UNIQUE unexpectedly\nand cleanup codes for DROP OWNED BY in drop_command_generator().\n\n-- \nItagaki Takahiro", "msg_date": "Wed, 23 Feb 2011 10:42:16 +0900"...
[ { "msg_contents": "I'm investigating the possibility of developing a utility function for\nour C++ client library, libpqxx, that produces array literals that can\nbe used in prepared statements. This problem appears to be a bit of a\ntar pit, so I'm hoping that someone can help me out. My goal is to\nproduce a ...
[ { "msg_contents": "Dan Ports wrote:\n \n> The obvious solution to me is to just keep the lock on both the old\n> and new page.\n \nThat's the creative thinking I was failing to do. Keeping the old\nlock will generate some false positives, but it will be rare and\nthose don't compromise correctness -- they jus...
[ { "msg_contents": "Reading documents coming with Simon's patches, I'm a little bit\nconfused by the idea of \"synchronous standbys\".\n\nIn the sgmls doc, \"The commit wait will last until the first reply\nfrom any standby. Multiple standby servers allow increased\navailability and possibly increase performance...
[ { "msg_contents": "In 9.1, we will be able to have synchrnous replication. Also we have\none standby server chosen by primary to be the synchronous standby\n(still I'm not sure this is correct or not as stated in another mail).\n\nIs there anyway to know which is the synchronous standby? IMO this is\nimportant ...
[ { "msg_contents": "WIP patch of statistics collection for arrays is attached. It generally\ncopies statistics collection for tsvector, but there are following\ndifferencies:\n1) Default comparison, hash and equality function for element data type is\nused (from corresponding default operator classes).\n2) Opera...
[ { "msg_contents": "We've touched a few times on trying to get rid of the\nsleep-awhile-and-check-for-something-to-do loops in PG's auxiliary\nprocesses, mainly to satisfy people who complain about CPU power\nconsumption when idle. I can see how most of the something-to-do\nchecks can be reimplemented using lat...
[ { "msg_contents": "While playing around with the BOX and POINT datatypes, I was surprised to\nnote that BOX @> POINT (and likewise POINT <@ BOX) queries were not using\nthe GiST index I had created on the BOX column. The attached patch adds a\nnew strategy @>(BOX,POINT) to the box_ops opclass. Internally,\ngi...
[ { "msg_contents": "The wCTE patch refers to the feature it's adding as \"DML WITH\". I'm\nstill pretty unhappy with that terminology. In my view of the world,\n\"DML\" includes SELECT as well as INSERT/UPDATE/DELETE. The wikipedia\nentry about the term\nhttp://en.wikipedia.org/wiki/Data_Manipulation_Language...
[ { "msg_contents": "psql has the ability to execute commands from a file, but if one wishes\nto develop and provide a modularized set of sql files, then psql is not very\nhelpful because the \\i command can open file paths either if they are\nabsolute paths or if they are palced correctly relative to psql's curr...
[ { "msg_contents": "I had what seems to me a remarkably good idea, though maybe someone else\ncan spot a problem with it. Given that we've decided to run the\nmodifying sub-queries all with the same command counter ID, they are\nlogically executing \"in parallel\". The current implementation takes no\nadvantag...
[ { "msg_contents": "According to the online documentation, the APIs are there:\nhttp://msdn.microsoft.com/en-ca/library/a7cwbx4t.aspx\n\nNow we'd need someone brave try to make it work. The starting point\nwould be to define HAVE_LOCALE_T and then make it build. Microsoft has\nall the relevant functions and ty...
[ { "msg_contents": "in spawn_restore:\n\n\n\tchild = (HANDLE) _beginthreadex(NULL, 0, (void *) parallel_restore,\n\t\t\t\t\t\t\t\t\targs, 0, NULL);\n\tif (child == 0)\n\n\nBut from my reading of the docs, _beginthreadex() returns -1 on error, not 0.\n\nBug, or am I reading it wrong?\n\n-- \n Magnus Hagander\n Me...
[ { "msg_contents": "bruce wrote:\n> Josh Berkus wrote:\n> > \n> > > Right now pg_options_to_table() is not documented. Should it be?\n> > \n> > Yes, I think so.\n> \n> Done, with the attached, applied patch.\n\nOh, here is an example usage:\n\n\ttest=> select pg_options_to_table(reloptions) from pg_class;\n\t ...
[ { "msg_contents": "Hi,\nI am writing some spatio-temporal function in postgis.\nLike, ST_Enters( obj_geom, boundary_geom, time t1,time t2)\n\nFor example- Does vehicle enters in ABC between time t1 to t2?\nLet us suppose, i take only one object geometry at a time and do compare\nthen i could not produce the out...
[ { "msg_contents": "Hi hackers,\n\nI am interested in extending Postgres with a \"generalized edit function\" like\nSAS's \"compged\"[1], which is basically levenshtein distance with transposes (ab\n<-> ba) and LOTS of different weights for certain ops (like insert a blank\nversus delete from the end versus inse...
[ { "msg_contents": "> Grzegorz Jaskiewicz wrote:\n \n> I guess that the systems could behave much better, but no one is\n> going to tweak settings for 50 different installations over 50\n> different type of data and 50 different sets of hardware.\n> If there was even a tiny amount of automation provided in the\...
[ { "msg_contents": "Greg Stark wrote:\n \n> Consider the oft-quoted example of a -- or\n> for Americans.\n \nI'm not sure everyone realizes just how complicated this particular\nissue is. If we can do a good job with U.S. city, state, zip code we\nwill have something which will handle a lot of cases.\n \nCon...
[ { "msg_contents": "Hello,\nI've been playing with 'native XML' for a while and now wondering if\nfurther development of such a feature makes sense for Postgres.\n(By not having brought this up earlier I'm taking the chance that the\neffort will be wasted, but that's not something you should worry about.)\n\nThe...
[ { "msg_contents": "Hi all,\n\nI noticed an off by one error in psql's verbose-mode display for \\dg\nand \\du. In verbose mode, \\dg and \\du will not display the\n\"Replication\" attribute:\n\ntest=# \\dg rep\n List of roles\n Role name | Attributes | Member of\n-----------+-------------+----------...
[ { "msg_contents": "Refactor the executor's API to support data-modifying CTEs better.\n\nThe originally committed patch for modifying CTEs didn't interact well\nwith EXPLAIN, as noted by myself, and also had corner-case problems with\ntriggers, as noted by Dean Rasheed. Those problems show it is really not\npr...
[ { "msg_contents": "From what I have checked, all work on making postgresql compile on new\nplatforms should be posted to this list, so here it goes.\n\nThe attached patch (also available at\nhttp://www.rumko.net/0001-DragonFly-BSD-support.patch ) applies cleanly to the\nmaster branch and can be cherry-picked to...
[ { "msg_contents": "Hi,\n\nHere's v18 of the sync rep patch. Some fixes: avoid a segmentation\nfault, an assert, use volatile pointers for SpinLock protected\noperations and a few other things.\nAlso some doc fixes...\n\nThanks for everyone has been reviewing this, some of Fujii's comments\nare still unresolved ...
[ { "msg_contents": "Sorry for resending, I forgot to add 'pgsql-hackers' to CC.\n\n-------- Original Message --------\nSubject: \tRe: [HACKERS] Native XML\nDate: \tSun, 27 Feb 2011 23:18:03 +0100\nFrom: \tAnton <antonin.houska@gmail.com>\nTo: \tTom Lane <tgl@sss.pgh.pa.us>\n\n\n\nOn 02/27/2011 04:45 PM, Tom Lane...
[ { "msg_contents": "Folks,\n\nSarah and I are fine, having missed out on the disaster, but\nChristchurch could use some help.\n\nhttp://www.christchurchearthquakeappeal.govt.nz/\nhttp://www.redcross.org.nz/donate\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fetter.org> http://fetter.org/\nPhone: +1 415 235 3778 ...
[ { "msg_contents": "Hi,\n\nI believe we have a case where not holding off interrupts while doing a\nmalloc() can cause a deadlock due to system or libc level locking. In this\ncase, a pg_ctl stop in fast mode was resorted to and that caused a backend\nto handle the interrupt when it was inside the malloc call. N...
[ { "msg_contents": "Hi,\n\nWhen I implemented the replication timeout patch, I found the bug on\nthe HS feedback feature. When wal_receiver_status_interval is zero\nand hot_standby_feedback is enabled, walreceiver sends the feedback\ntoo aggressively. I think that the attached patch should be applied to\nfix the...
[ { "msg_contents": "EXPLAIN currently shows ModifyTable nodes as just \"Insert\", \"Update\",\nor \"Delete\", without any indication of the target table. This was\nmore or less good enough when there could only be one such node per\nquery, but it's looking pretty inadequate to me as I play around\nwith data-mod...
[ { "msg_contents": "PL/pgSQL trigger functions currently require a value to be returned,\neven though that value is not used for anything in case of a trigger\nfired AFTER. I was wondering if we could relax that. It would make\nthings a bit more robust and produce clearer PL/pgSQL code. The\nspecific case I'm...
[ { "msg_contents": "Hi all.\n\nI spent some time updating mysql2pgsql.perl. Changes were driven by an\nattempt to migrate a redmine database. Original code was failing for a\nnumber of reasons (regex recursion explosion, . I was wondering it\nthere's a more formal / appropriate place to put this. I'd also\nappre...
[ { "msg_contents": "A couple of weeks ago when installing uuid-ossp on a new server, I noticed that the ossp site is gone. I haven't found anything on the web to indicate what happened.\n\nAnyone know?\n\nMichael Glaesemann\ngrzm seespotcode net\n\n\n\n", "msg_date": "Mon, 28 Feb 2011 16:08:25 -0500", "m...
[ { "msg_contents": "Hi!\n\nI've been contacting PL developers directly over the last couple of\nweeks about having a PL summit at PgCon this year.\n\nThe overwhelming response was: yes, let's do it! So, we will have the\nsummit starting at 9:30am, Saturday May 21 at PgCon in Ottawa. We'll\nmeet in one of the ses...
[ { "msg_contents": "HI,\n I tried to debug PostgreSQL under Redhat with Eclipse.\nI follew the guide ' Working with Eclipse ', and build the DB successfully.\nhttp://wiki.postgresql.org/wiki/Working_with_Eclipse\n\nHowever, when I debug the souce code step by step, I found it run in\nthe wrong order.\n\nI think...
[ { "msg_contents": "So while poking at a recent example from Marc Cousin (hundreds of tables\neach with 1000 attributes) I observed that a simple ANALYZE would bloat\nthe backend process to the tune of several hundred megabytes. I think\nthere is a leak in CacheMemoryContext, but haven't tracked it down yet.\nB...
[ { "msg_contents": "On Tue, Mar 1, 2011 at 1:35 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> On Mon, Feb 28, 2011 at 2:25 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>>> Given that it is a contrib module, I personally wouldn't object to it\n>>> getting patched later, li...
[ { "msg_contents": "Hi,\n\nSomeone on IRC recently noticed that you can't grant USAGE privileges on\na table to a large number of roles. (My experiment says 2466 works,\n2467 doesn't).\n\nOf course, this is wrong and all that. I wrote a blog article about\nthis:\nhttp://www.commandprompt.com/blogs/alvaro_herre...
[ { "msg_contents": "I have developed some custom composite and base types in PostgreSQL 9 which\nyou can find in the code I provide below.\nI compile my C library using GCC 4.5 under Linux and Visual Studio 2010\nunder Windows.\n\nThe problem is when I run this command: *SELECT to_composite('((1, 2), (3,\n4))'::...
[ { "msg_contents": "I noticed that in standalone mode, WAL segments don't seem to be\nrecycled. This could get problematic if you're forced to vacuum large\ntables in that mode and space for WAL is short.\n\nI can reproduce in HEAD easily by doing a large bulk insertion in\nstandalone mode. If I stop the serve...
[ { "msg_contents": "Hello,\n\nI've produced a dumb patch for psql which allow to use tab completion after JOIN keyword.\nPatch was done against 2f6c8453cf3f38a70adbcb59489630cd5be92570 revision from GitHub mirror.", "msg_date": "Wed, 2 Mar 2011 21:28:30 +0300", "msg_from": "Andrey Popp <8mayday@gmail.com...
[ { "msg_contents": "Add KNNGIST support to contrib/btree_gist.\n\nThis extends GiST's support for nearest-neighbor searches to many of the\nstandard data types.\n\nTeodor Sigaev\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/8436489c81c23af637696ac69cdaafddcc907ee1\n\nModi...
[ { "msg_contents": "It occurred to me that it might be a good idea to describe how\nI've been testing extension upgrade scripts. So:\n\n1. Install the 9.0 version of the module in an empty 9.0 database.\npg_dump this database.\n\n2. Load the pg_dump script into an empty 9.1 database, with the\nunderlying shared...
[ { "msg_contents": "I'm working with a client on an application upgrade script which\nexecutes a function to conditionally do an:\n\n ALTER TABLE foo ALTER COLUMN bar SET DATA TYPE baz\n\nIf this is run while the application is concurrently doing inserts into\nfoo, we are occasionally seeing deadlocks. Aside fr...
[ { "msg_contents": "It's about dependences.\n\nIf my extension requires a procedural language, will adding that language to the `requires` control key do what I think it should do?\n\nIf not, how should one require a PL? Come to think of it, how might I require other features that might not be included in a part...
[ { "msg_contents": "Latest version of Sync Rep, which includes substantial internal changes\nand simplifications from previous version. (25-30 changes).\n\nIncludes all outstanding technical comments, typos and docs. I will\ncontinue to work on self review and test myself, though actively\nencourage others to te...
[ { "msg_contents": "We have window function version of first_value(),\nbut aggregate version looks useful to write queries something like:\n\n=# CREATE TABLE obj (id integer, pos point);\n=# SELECT X.id,\n first_value(Y.id ORDER BY X.pos <-> Y.pos) AS neighbor\n FROM obj X, obj Y\n GROUP BY X.id;\n\...
[ { "msg_contents": "Hi,\n\nAm referring to the following conversation:\n\nhttp://archives.postgresql.org/pgsql-bugs/2007-12/msg00190.php\n\nTo summarize, in 8.3.x due to improper locking and concurrency issues\nin the DROP OBJECT codepath, for example if one tries to drop an index\nwhile dropping the table from ...
[ { "msg_contents": "Added new version of ecpg's parser generator script. This one was written by\nAndy Colson <andy@squeakycode.net>.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/32fce70564999a90d48a27c4279a8908e90f3ece\n\nModified Files\n--------------\nsrc/interfaces/e...
[ { "msg_contents": "Hi,\n\n I'm debug Postgresql with Eclipse under Redhat and I met a problem.\n\nwhen I step in then function parse_analyze(), Eclipse opened file\nsrc/backend/commands/analyze.c.\nBut actually, function parse_analyze() should match the file\nsrc/backend/parser/analyze.c.\n\nSo I found the exe...
[ { "msg_contents": "I finally got around to completing the function-comments cleanup\nproposed here:\nhttp://archives.postgresql.org/pgsql-docs/2010-10/msg00041.php\n\nThere are now a heck of a lot of boilerplate comments like\n\tDESCR(\"implementation of + operator\");\nin pg_proc.h (about 700 of 'em to be exac...
[ { "msg_contents": "Hackers,\n\nToday on the ietf-applications list, I saw this:\n\nhttp://www.ietf.org/mail-archive/web/apps-discuss/current/msg02301.html\n\nIf there are particular issues with respect to the time zone database\nstuff that you all have struggled with and want highlighted, feel free\nto send the...
[ { "msg_contents": "Hi I am trying to recover a postgres database from a ext3 partition\nthat the filesystem has become corrupt and lost files. Can anybody\ntell me what are the file signatures for the files that comprise a\npostgres database?\n\nAnybody know of any tools that can detect and recover postgres fi...
[ { "msg_contents": "I have a server where I wanted to do some reporting on a standby, and\nwanted to set the max standby delay to 1 hour. upon doing that, i get\nthis in the logs:\n\n2011-03-03 21:20:08 EST () [2656]: [2-1] user=,db=LOG: received\nSIGHUP, reloading configuration files\n2011-03-03 21:20:08 EST (...
[ { "msg_contents": "On Wed, Mar 2, 2011 at 11:30 PM, Fujii Masao <masao.fujii@gmail.com> wrote:\n> On Wed, Mar 2, 2011 at 8:22 PM, Simon Riggs <simon@2ndquadrant.com> wrote:\n>> The WALSender deliberately does *not* wake waiting users if the standby\n>> disconnects. Doing so would break the whole reason for havi...
[ { "msg_contents": "C doesn't break on free(NULL) so why is pfree developed to break on NULL?\nIs there any way in PostgreSQL to overcome this so that it won't break,\napart from checking if the pointer NULL?\n\nC doesn't break on free(NULL) so why is pfree developed to break on NULL?Is there any way in PostgreS...
[ { "msg_contents": "So while hacking away at the PLs-as-extension changes I ran across an\nunforeseen complication. plperl and plpython use the same C function\nentry points for both their trusted and untrusted variants. This is\nproblematic for making them into extensions, since we need the two\nlanguage vari...
[ { "msg_contents": "I was reading through ref/set_transaction.sgml and noticed that the\nonly documentation of DEFERRABLE is that it's a PostgreSQL language\nextension, not anything about what it actually does. Same for begin\nand start_transaction. I see it described in README-SSI and for the\nguc default_trans...
[ { "msg_contents": "Hello,\n\nI just wanted to inform you that Cornelia and me start the\nproject to translate and publish the documentation German.\n\nMeans the project will have a really high women concentration\nat the beginning :)\n\npgsql-www suggested to take postgresql.de for publishing. I thought\nit is ...
[ { "msg_contents": "Magnus Hagander wrote:\n \n> I was reading through ref/set_transaction.sgml and noticed that the\n> only documentation of DEFERRABLE is that it's a PostgreSQL language\n> extension, not anything about what it actually does. Same for begin\n> and start_transaction. I see it described in READM...