threads
listlengths
1
2.99k
[ { "msg_contents": "The spec defines array_agg(foo ORDER BY ...) which we don't implement\nyet; obviously, we have no reason not to define this for any\naggregate, rather than just array_agg.\n\nThis doesn't seem to present any problems as far as the syntax goes,\nand the actual execution is just a small matter ...
[ { "msg_contents": "hot_standby.riggs.v0.2.2.patch\n\nCombined patch from my git repo of 15 changes made so far.\n\nActions remain, as shown on Wiki. So this is an interim patch to show\nprogress in a way visible to -hackers.\n\n-- \n Simon Riggs www.2ndQuadrant.com", "msg_date": "Sun, 04 Oct 2009 ...
[ { "msg_contents": "Folks,\n\nAt the moment, user-accessible RULEs have, as far as I know, just two\nsane uses:\n\n* Writing to VIEWs\n* Routing writes to partitions\n\nAnd the second is pretty thin, given the performance issues for\nnumbers of partitions over 2.\n\nWhat say we see about addressing those problem...
[ { "msg_contents": "I see that the docs were recently changed from discouraging hash\nindexes both because they were no known uses in which they were\nmeaningfully better than btree, and because they aren't recoverable;\nto now just discouraging them because they are not recoverable. Does\nthat mean there are n...
[ { "msg_contents": "What it does:\n\n# select array_agg(b order by a)\n from (values (3,'foo'),(2,'bar'),(1,'baz')) v(a,b);\n array_agg \n---------------\n {baz,bar,foo}\n(1 row)\n\nWhat it doesn't do:\n\n - no docs or regression tests yet\n\n - no support for agg(... ORDER BY ...) OVER window\n (whi...
[ { "msg_contents": "Hi,\n\nit seems like we can't do this. At least a get this error:\n\ndb=# alter table pg_largeobject set tablespace otro;\nERROR: permission denied: \"pg_largeobject\" is a system catalog\n\nbut pg_largeobject seems sensible to move to another table space for\nspace considerations, no? are t...
[ { "msg_contents": "There are now 19 patches out of an original total of 48 to be dealt\nwith for this CommitFest. Of those, 10 are marked as \"Ready for\nCommitter\", 1 is marked as \"Needs Review\" and the listed reviewer is a\ncommitter, 7 are waiting for review or re-review by non-committers,\nand 1 is wait...
[ { "msg_contents": "Hello,\n\nfollowing this old discussion:\n\nhttp://archives.postgresql.org/pgsql-patches/2008-03/msg00402.php\n\ni modifies the patch to use the \"CREATE [OR REPLACE] LANGUAGE\" syntax.\nIf the patch is ok, i will add the documentation too.\n\n\nKind regards\n\n-- \n\t\t\t\tAndreas 'ads' Sche...
[ { "msg_contents": "So isn't this still pretty broken? I notice that the clean and\ndistclean targets still use addprefix on a lot of temporary/intermediate\nfiles that I would think get made in the build directory, not the source\ndirectory. The references to man files in srcdir in\nnonsql_manpage_files and a...
[ { "msg_contents": "Hi there,\n\nthis is an announcement of our new contribution module for PostgreSQL - \nPlantuner - enable planner hints\n(http://www.sai.msu.su/~megera/wiki/plantuner).\n\nExample:\n\n=# LOAD 'plantuner';\n=# create table test(id int);\n=# create index id_idx on test(id);\n=# create index id_...
[ { "msg_contents": "by using latest v8 engine from google, is it possible to build PL/Js\njust like other PL in Postgre? such as PL/PHP\nwhat should i learn if i want to build PL/Js?\nthanks in advance.\n\nregards,\nKis\nGB\n", "msg_date": "Wed, 7 Oct 2009 15:00:43 +0700", "msg_from": "Kiswono Prayogo <k...
[ { "msg_contents": "\nHi,\n\nWe've a web-based application. \nWe are trying to do concurrency testing, Three person doing same operation\non different data.\n\nI'm facing the following deadlock error thrown by PostgreSQL:\n\norg.postgresql.util.PSQLException: ERROR: deadlock detected\n Detail: Process 13560 wai...
[ { "msg_contents": "Folks,\n\nAs we move forward, we run into increasingly complex situations under\nthe general rubric of concurrency.\n\nWhat test frameworks are already out there that we can use in our\nregression test suite? If there aren't any, how might we build one?\n\nCheers,\nDavid.\n-- \nDavid Fetter ...
[ { "msg_contents": "I've started looking at the following TODO item:\n\n \"Improve deferrable unique constraints for cases with many conflicts\"\n\nand Tom's suggestion that the rows to be checked can be stored in a\nbitmap, which would become lossy when the number of rows becomes large\nenough. There is also a...
[ { "msg_contents": "I've made progress in implementing writeable CTEs (repo at\ngit://git.postgresql.org/git/writeable_cte.git , branch actually_write)\nand I've hit a few corner-cases which have lead me to think that we\nshould be handling DML inside CTEs a bit differently. Before I go on\nimplementing this, I...
[ { "msg_contents": "Log Message:\n-----------\nMake it possibly to specify GUC params per user and per database.\n\nCreate a new catalog pg_db_role_setting where they are now stored, and better\nencapsulate the code that deals with settings into its realm. The old\ndatconfig and rolconfig columns are removed.\n...
[ { "msg_contents": "So I compiled postgres with Solaris 10 and have problems running it.\n\n# ./pg_ctl\nld.so.1: pg_ctl: fatal: relocation error: R_AMD64_32: file \n/usr/local/postgres64/lib/libpq.so.5: symbol (unknown): value \n0xfffffd7fff1cf210 does not fit\nKilled\n\n# ldd pg_ctl\n libpq.so.5 => /us...
[ { "msg_contents": "Hello,\n\nthis proposal is related to discuss about enhancing \"any\" type and\nusing this type in other PL than C. Result from this discuss was:\n* add synonym for type \"any\" ~ ANY TYPE\n* add possibility select type from other referenced type ~ \"TYPE AS\nvariable (This syntax is impossib...
[ { "msg_contents": "Hi\n\nI've noticed that executing a sql script such with psql with -1 \n-vON_ERROR_STOP=on where the script causes a deferred foreign key \nconstraint to be violated returns 0 rather than the expected 3. I have \nreproduced this in psql 8.4.1, 8.3.3 and 8.2.9, which does lead me to \nwonder w...
[ { "msg_contents": "I'm going through a few files and trying to clean them up for style mostly and a\nbit of refactoring. I am curious about the preferred style for a one line\ncomment. I see them in both of these forms and I would like to keep it\nconsistent.\n\n/* a one line comment */\n\nor\n\n/*\n * a one li...
[ { "msg_contents": "I'm thinking about removing IncrRetrieved(), IncrAppended(), etc\naltogether. That code's been dead for a long time, and it's one\nof the minor details cluttering the nodeDml patch. Can anyone\nsee any likelihood of wanting it some day? AFAICS the explain\ninfrastructure has completely sup...
[ { "msg_contents": "I saw a recent blog entry where someone came up with a solution for expiring\nidle connections (\nhttp://dividebyzeroexception.blogspot.com/2009/10/implementing-waittimeout-in-postgresql.html)\nand I was surprised there wasn't a config option for this already. Is this\nsomething that can be ...
[ { "msg_contents": "I am looking for funding for two Postgres community projects:\n\n\t1) enhancements to full text search and GiST\n\t2) proofreading of our documentation\n\nI have people ready to work on these, and the items would be completed\nfor Postgres 8.5. If you or your company are interested in fund...
[ { "msg_contents": "I'm fooling around with pushing FOR UPDATE locking into a new plan node\ntype, and I just noticed a behavior that seems a bit bogus.\nHistorically we have dealt with FOR UPDATE in sub-selects by flattening\nthe sub-select if we could, because the alternative was to fail\naltogether. For exam...
[ { "msg_contents": "Folks,\n\nI'd like to see about creating man pages for the following:\n\n- libpq\n- SPI\n- the built-in functions\n\nThese being what I've clicked through way too many web links to find\ninformation about. If there are other things that should have man\npages, please mention same.\n\nHow wou...
[ { "msg_contents": "While fooling around with moving FOR UPDATE into a plan node (WIP\nversion attached), I came across this interesting behavior:\n\n1. Create test tables:\n\ncreate table t1(f1 int, f2 int);\n\ninsert into t1 values (1,1);\ninsert into t1 values (2,2);\n\ncreate table t2(f3 int, f4 int);\n\nins...
[ { "msg_contents": "Hi,\n\nas discussed on -general, I'd like to propose that Post-\ngreSQL provides \"generate_series(DATE, DATE)\" and\n\"generate_series(DATE, DATE, INT)\" functions by default.\n\n They are merely syntactic sugar for\n\"generate_series($1::TIMESTAMP, $2::TIMESTAMP[,\n'$3 days'::INTERVAL])::D...
[ { "msg_contents": "Folks,\n\nWhile working to write the Sieve of Eratosthenes using CTEs, I ran\nacross a strange error, namely that it appears I'm not allowed to nest\nWITH. Is this a bug?\n\nCheers,\nDavid.\n\nWITH RECURSIVE t1(n) AS (\n VALUES(2)\nUNION ALL\n SELECT n+1 FROM t1 WHERE n < 1000\n),\nt2 ...
[ { "msg_contents": "We can skip writing WAL during COPY and CLUSTER if archive_mode is off,\nbut we don't use the skipping during tables rewrites in ALTER TABLE.\nAlso we don't use BulkInsertState there.\n\nIs it possible to use WAL-skipping and BulkInsertState in ATRewriteTable() ?\nIf ok, I'll submit a patch f...
[ { "msg_contents": "Hackers,\n\nA slew of settings in postgresql.conf, including work_mem, search_path,\nDateStyle, and about 80 others are effectively just defaults for new\nconnections, since they can be changed by any user.\n\nHowever, for *two* settings, and two settings only, we distinguish that\nby naming ...
[ { "msg_contents": "It appears that the patch here:\n\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=commit;h=a30fa4ca33d055c46bebc0e5c701d5b4fd27814d\n\nmissed adding PGC_S_DATABASE_USER to a few locations, most notably\nGucSource_Names, where the PGC_S_SESSION now points off the end of the\narray.\n\nPat...
[ { "msg_contents": "\nPlease can someone pass me details on/off-list about joining the SQL\nStandard Committee, as discussed at developer meeting in May.\n\nThanks,\n\n-- \n Simon Riggs www.2ndQuadrant.com\n\n", "msg_date": "Tue, 13 Oct 2009 10:18:25 +0100", "msg_from": "Simon Riggs <simon@2ndQ...
[ { "msg_contents": "A useful feature found in other DBMSs such as MS SQL Server that has\nbeen requested on these lists a few times, is the ability for a client\napplication to report its name to the server. This information may\nthen be presented in logs, activity reports and so on to aid debugging\nand help th...
[ { "msg_contents": "On http://www.postgresql.org/docs/8.4/interactive/protocol.html we say:\n\n\"Higher level features built on this protocol (for example, how libpq\npasses certain environment variables when the connection is\nestablished) are covered elsewhere.\"\n\nI cannot find anything that is obviously 'el...
[ { "msg_contents": "In the hot standby patch, we have this comment in procarray.c:\n\n> It is\n> * important that the XLOG_XACT_ASSIGNMENT record contain *all* subxids \n> * not just those so far unreported because the sole purpose is to ensure\n> * we can remove the xids from KnownAssignedXids. \n\nAs the pa...
[ { "msg_contents": "If someone wants to start working on the release notes for alpha 2, now\nwould be a good time.\n\nIn general, do we want the alpha 2 release notes as a separate section\nabove alpha 1, or merged with the alpha 1 notes thereby giving a\ncumulative view of what happened since 8.4?\n\n", "ms...
[ { "msg_contents": "Hi,\n\nthe attached patch makes ECPG more robust\nagainst applications that free() strings by storing\nits own copy of the prepared statement name.\n\nBest regards,\nZolt�n B�sz�rm�nyi\n\n-- \nBible has answers for everything. Proof:\n\"But let your communication be, Yea, yea; Nay, na...
[ { "msg_contents": "\nWhen I run ./configure, I get\n\n(...warning..)\n(If you are using the official distribution of PostgreSQL then you do\nnot need to worry about this because the Flex output is pre-generated.)\n\nWell, I am am using the official distribution of PostreSQL and the\noutput is not pre-generated....
[ { "msg_contents": "I tried making a functional index based on an expression containing\nthe 2 argument regexp_matches() function. Is there a reason why this\nfunction is not marked immutable instead of normal?\n\nregards,\n\nRod Taylor\n", "msg_date": "Wed, 14 Oct 2009 16:21:41 -0400", "msg_from": "Rod ...
[ { "msg_contents": "There's been a lot of churn in hot standby since the beginning of the\ncommitfest, so I thought it would be good to summarize where we are.\n\nAttached is the latest and greatest patch against CVS head, taken from\nthe hs-riggs branch in my git repository where I've been working on this.\n\nH...
[ { "msg_contents": "I'm working on WHEN clause support in triggers.\nI heard that the feature is in the SQL standard.\n\nWe can rewrite triggers that uses suppress_redundant_updates_trigger\n http://www.postgresql.org/docs/8.4/static/functions-trigger.html\nwith WHEN clause:\n CREATE TRIGGER modified_any\n ...
[ { "msg_contents": "hi there,\n i have trouble compiling a c style program ( filename with extension cpp) written for visual C++.\nWhen i added the following #includes,\n>>> #include \"spi.h\"\n>>> #include \"trigger.h\"\ncompilation errors say \"error C2899: typename cannot be used outside a template declarati...
[ { "msg_contents": "I've been spending some time debugging a customer's performance problem,\nand what I see is that there are a bunch of processes all waiting for\nthe relation extension lock for a particular relation.\n\nWhile looking at this code I notice something that troubles me. Just\nafter extending the...
[ { "msg_contents": "recovery_starts_paused is useless as it is. It pauses the recovery right\nafter the first WAL record, all right, but before we see a running-xacts\nrecord, we won't let any backends in. And if you can't connect, you\ncan't unpause, so it's stuck forever.\n\nIt should probably behave as \"paus...
[ { "msg_contents": "Subject line pretty much says it all.\n\nThanks,\n\n...Robert\n", "msg_date": "Thu, 15 Oct 2009 21:58:47 -0400", "msg_from": "Robert Haas <robertmhaas@gmail.com>", "msg_from_op": true, "msg_subject": "CommitFest 2009-09 is closed" } ]
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE----- \nHash: RIPEMD160 \n\n\nI'm trying to figure out why I keep getting an error when trying to COPY \ndata into a table. The basic process...
[ { "msg_contents": "This if-block is misplaced:\n\n> \t\t\tcase RECOVERY_TARGET_STOP_IMMEDIATE:\n> \t\t\tcase RECOVERY_TARGET_STOP_XID:\n> \t\t\tcase RECOVERY_TARGET_STOP_TIME:\n> \t\t\t\t\tpaused = false;\n> \t\t\t\t\tbreak;\n> \n> \t\t\t/*\n> \t\t\t * If we're paused, and mode has changed reset to allow new se...
[ { "msg_contents": "I believe the attached patch is ready for review at the next\ncommitfest. It does the following:\n\n- Adds a userset GUC called application_name.\n- Allows application_name to be reported in log_line_prefix using %a.\n- Includes application_name in CSV logs.\n- Displays application_name in th...
[ { "msg_contents": "Folks,\n\nWe have some really silly legacy stuff in PostgreSQL, the silliest of\nwhich, as far as I've found, is the add_missing_from GUC.\n\nSince it's been deprecated, as in off by default, since 8.1, I'd like\nto suggest that we remove it from both docs and code and throw an\nerror if some...
[ { "msg_contents": "As most of you will recall, plpgsql currently acts as though identifiers\nin SQL queries should be resolved first as plpgsql variable names, and\nonly failing that do they get processed as names of the query. The\nplpgsql parser rewrite that I'm working on will fix that for the\nobviously-si...
[ { "msg_contents": "We recently saw a complaint about psql \\d commands being quite slow\nwith many tables, which turned out to be because the planner was\nputting a table_has_privilege() call where it would get executed a\nlot, before other cheaper tests on pg_class. This is not the\nplanner's fault --- it has...
[ { "msg_contents": "On Thu, Sep 17, 2009 at 5:14 PM, I wrote:\n> I think that the next project in this area should\n> be to try to support removal of INNER joins.  (Removal of SEMI, ANTI,\n> and FULL joins seems unlikely ever to be interesting.)  That will\n> require teaching the planner about foreign key constr...
[ { "msg_contents": "Currently random_page_cost is a GUC. I propose that this could be set per-table.\n\nI think this is a good idea for widely-wanted planner hints. This way\nYou can say \"I do NOT want this table to be index-scanned, because I\nknow it is not cached\" by setting it`s random_page_cost to a large...
[ { "msg_contents": "Hi,\n\nLooking at the code, it seems the $SUBJECT (comment) is obsolete. Indeed, we\ncan set it with 'ALTER DATABASE foo SET track_*'.\n\nOne thing that bothers me is the fact that if i turn it off, do a lot of stuff\nand then turn it on my counters will be wrong. :( Maybe should we call\npgs...
[ { "msg_contents": "Jeff Davis <pgsql@j-davis.com> wrote:\n \n> what kind of scenario\n> would involve a stable 90% cache hit ratio for a table?\n \nI'd bet accounts receivable applications often hit that.\n(Most payments on recent billings; a sprinkling on older ones.)\nI'm sure there are others.\n \n-Kevin\n\...
[ { "msg_contents": "UTF8 encoding text files with BOM (Byte Order Mark) are commonly\nused in Windows, though BOM was designed for UTF16 text originally.\nHowever, psql cannot read such format even if we set client encoding\nto UTF8. Is it worth supporting those format in psql?\n\nWhen psql opens a file with -f ...
[ { "msg_contents": "We can hook SELECT, INSERT, UPDATE and DELETE with ExecutorXxx_hooks,\nbut there is no way to hook DDL commands. Can I submit a patch to add\nProcessUtility_hook?\n\npg_stat_statements module also handle DDL commands as same as normal\nqueries. Fortunately, autovacuum calls call vacuum() dire...
[ { "msg_contents": "\nOpenACS uses three compatibility settings in its recommended config, two \nof which it has been proposed to remove.\n\nI have been investigating all three.\n\n 1. default_with_oids= true\n While it's not proposed to remove this option, its use seems\n quite unnecessa...
[ { "msg_contents": "Folks,\n\nI'd like to see about removing the following GUCs:\n\nadd_missing_from (should be off)\narray_nulls (should be on)\ncommit_delay (no need for this knob)\ncommit_siblings (no need for this knob)\ndefault_with_oids (should be off)\npassword_encryption (should be on)\nregex_flavor (sho...
[ { "msg_contents": "\nI have a a postgres database implementation that needs to be enhanced to \nmeet PCI compliance for encrypting sensitive data inside the database. \nI'm looking at dm-crypt to encrypt my filesystems to prevent against \ntheft of hardware, but we also have a requirement to encrypt a few \nimp...
[ { "msg_contents": "http://developer.postgresql.org/pgdocs/postgres/release-8-5.html\n\nIf they're OK, I can bundle it tomorrow.\n\n", "msg_date": "Wed, 21 Oct 2009 00:11:27 +0300", "msg_from": "Peter Eisentraut <peter_e@gmx.net>", "msg_from_op": true, "msg_subject": "alpha2 release notes" }, ...
[ { "msg_contents": "Could someone clarify why this (from PG 8.4)\n\n# \\du\n List of roles\n Role name | Attributes | Member of\n---------------+-------------+------------\n admin | Create role | {}\n : Create DB\n postgres | Superuser | {}\n : Create ...
[ { "msg_contents": "Hi,\n\nI'm writing two functions \"parse_url_key\" and \"parse_url_record\" which\nwill have one text argument and will return a record or a specific\ncolumn of it. Theses functions are calling \"parse_url_exec\" which parse\nthe URL. When theses function will works, i'll purpose them to\nPos...
[ { "msg_contents": "The Hot Standby patch changes lock_twophase_recover() so that when we're\nstarting up from Hot Standby mode to normal operation, as opposed to\ncrash recovery, we assume that all AccessExcusiveLocks are already held\nby the startup process and instead of acquiring them anew they are\ntransfer...
[ { "msg_contents": "Here's what I'm thinking of doing to enable plpgsql to resolve variable\nreferences during the main SQL parser processing, instead of its current\nhack of replacing references with $n in advance:\n\n1. Add some fields to ParseState to carry hook function pointers as\nwell as \"void *\" passth...
[ { "msg_contents": "Alpha2 has been bundled and is available at\n\nhttp://developer.postgresql.org/~petere/alpha/\n\nPlease check that it is sane.\n\nThen, someone please move this to an appropriate place on the FTP server\nand make an announcement. Josh Berkus is coordinating the announcement.\n\nSee http://wi...
[ { "msg_contents": "Here is a patch to provide WHEN clause on triggers discussed here:\nhttp://archives.postgresql.org/pgsql-hackers/2009-10/msg00869.php\n\nOf course we can check conditions in the body of triggers, but\nthere are some benefits to have separate WHEN clause for SQL standard\ncompliance, portabili...
[ { "msg_contents": "Hey Folks,\n\nI want to run a warm standby scenario by you. I'm pretty sure it'll \nwork, but it's a very large database so even the slightest mistake can \nmean a major setback.\n\nScenario:\n\nServer A is the provider node, shipping WAL files to Server B. Server \nB is destined to beco...
[ { "msg_contents": "Hello\n\nthis is syntax column(table) necessary still?\n\npostgres=# select a(x) from x;\n a\n────\n 10\n(1 row)\n\nRegards\nPavel Stehule\n", "msg_date": "Thu, 22 Oct 2009 08:51:42 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subjec...
[ { "msg_contents": "\nIf the index is on an attribute with duplicate values. will it be:\n1) one index tuple for each row, though with the same value, or\n2) one index tuple for each value, containing a list of row ids.\n\nthanx\n-- \nView this message in context: http://www.nabble.com/B-tree-leaf-node-structure...
[ { "msg_contents": "In chapter \"36.4 Rules and Privileges\" we show an example of using a\nview to expose part of a table to other users, keeping other rows private:\n\n> For example: A user has a list of phone numbers where some of them are\nprivate, the others are of interest for the secretary of the office. ...
[ { "msg_contents": "Updated patch attached. Per discussion, this:\n\n- Changes the envvar name to PGAPPNAME\n- Removes support for setting application_name in the startup packet,\nand instead sends an explicit SET command as part of the connection\nsetup in PQconnectPoll. In order to avoid adding to the\napplica...
[ { "msg_contents": "So right now we have a single GUC determining the language that log\nmessages are in, and it is PGC_SUSET to avoid a user from sending\nmessages to the log that the DBA cannot read.\n\nHowever, this means that the client cannot get the messages in the\nlanguage of his choice.\n\nWhat I am won...
[ { "msg_contents": "Hi\n\nCan someone help me how to repair the problem below, I'm using Postgres\n8.2.5:\n- after appeared the erros below in selects, vacuum and dump in one table:\n2009-10-16 16:07:06 BRT 192.168.0.87 ERROR: could not access status of\ntransaction 29024764\n2009-10-16 16:07:06 BRT 192.168.0.8...
[ { "msg_contents": "\nBut it will set GET DIAGNOSTIC ... = ROW_COUNT, am I being told on IRC.\n\nI was really suprised FOUND is not set by EXECUTE in 8.3 when doing a\npartitioning UPDATE trigger (we partition a summary table and have to\nsee about doing UPSERT).\n\nAs I wouldn't have figured GET DIAGNOSTIC was ...
[ { "msg_contents": "Hi,\n\nAttached is a WIP patch which implements writeable CTEs. This patch has\nsome defects I'll be discussing below. Also, I haven't implemented the\ngrammar changes for using WITH ( .. RETURNING ) in non-SELECT queries\nyet.\n\nWhat's not obvious from the patch:\n - estate->es_resu...
[ { "msg_contents": "I'm working on alternative version of VACUUM FULL, which is\nlike CLUSTER but sort tuples in ctid order without index.\nThe original discussion is here:\n [HACKERS] Feedback on getting rid of VACUUM FULL\n http://archives.postgresql.org/pgsql-hackers/2009-09/msg01047.php\n\nWIP patch at...
[ { "msg_contents": "I am starting to plan a few features that are important for temporal\ndata, and one prerequisite for several of them is the ability to find an\noperator that fills a certain role.\n\nFor instance, one feature that I'm considering now is a \"temporal join\"\nwhich is a join on \"overlaps\" rat...
[ { "msg_contents": "Hi all,\n\nI would like to hear some opinions before starting to take a stab at \nimplementing $subject.\nMy current use case is updating materialized views at the end of the \ntransaction so that they appear consistent to the outside.\nUpdating them on every row changed is far too expensive ...
[ { "msg_contents": " From contrib/pgbench/pgbench.c starting in revision 1.77\n\n * Note: TPC-B requires at least 100 bytes per row, and the \"filler\"\n * fields in these table declarations were intended to comply with that.\n * But because they default to NULLs, they don't actually take any\n *...
[ { "msg_contents": "Per discussion at the developer meeting back in Ottawa, attached is an\ninitial patch that implements reading a directory of configuration\nfiles instead of just one. The idea being that something like a tuning\ntool, or pgadmin, for example can drop and modify files in this\ndirectory instea...
[ { "msg_contents": "The second alpha release for PostgreSQL version 8.5, 8.5alpha2, is now\navailable. This alpha contains several new major features added since\nthe previous alpha. Please download, install, and test it to give us\nearly feedback on the features being developed for the next version of\nPostgr...
[ { "msg_contents": "The attached WIP patch revises EvalPlanQual processing along the lines\nI've been muttering about for the last little while. It's a fairly\nlarge patch, but it should be a lot more efficient than the existing\ncode as well as delivering much saner behavior. The key points are:\n\n1. In orde...
[ { "msg_contents": "Dear hackers,\n\n \n\nI’m modifying backend source codes of pgsql. \n\n \n\nWhile inspecting the heap_update function (src/backend/access/heapam.c), \n\n \n\nI found that the relkind fields of all RelationData which is handed over to\nheap_update are all the same as ‘r’.\n\n \n\nI want to dis...
[ { "msg_contents": "Hi,\n\nI'm testing serveral days a replication-system with PostgreSQL, but I get allways the same error.\n\n2009-10-25 15:44:45 CET FATAL: XX000: could not restore file \"00000001.history\" from archive: return code -1073741811\n\nThe restore_command is:\n\nrestore_command = 'pg_standby.exe ...
[ { "msg_contents": "On Mon, Oct 19, 2009 at 6:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Per-table is not physically sensible.  Per-tablespace has some rationale\n> to it.\n\nI took a look at this and it seems fairly straightforward. It\nbasically requires (1) deciding where and how to store per-tablespace\n...
[ { "msg_contents": "Dear tom lane and hackers,\n\nI am sorry, I should have explained the reason.\n\nActually, I'm not modifying the backend source code. \n\nSince I am not a native speaker, I am not good at writing in English. \n\nI'm just trying to make my own pgsql code for my research purpose.\n\nLater, if m...
[ { "msg_contents": "Background info: Fedora/Red Hat folks (not Tom...) changed license in\nPostgreSQL spec file from BSD to MIT with the following notice:\n\n# PG considers their license to be simplified BSD, but it's more nearly\nMIT\n\nOur license wording fits perfectly to MIT, if I'm not wrong. However, we\na...
[ { "msg_contents": "Now that we've got a hopefully-non-broken implementation of SELECT FOR\nUPDATE locking as a plan node, we can finally contemplate fixing two\nmisbehaviors that are called out on the SELECT reference page:\n\n It is possible for a SELECT command using both LIMIT and FOR\n UPDATE/SHARE cl...
[ { "msg_contents": "Greetings,\n\nI'd like to propose a potential patch, and wanted to get preliminary \nfeedback on it before I started looking into the design.\n\nSummary: Add a string key space to the advisory lock functionality.\n\nRationale:\n\nRight now, the key spaces (the range of unique values that ...
[ { "msg_contents": "Hi, All\n\nI faced this odd situation when I was migrating my data from 8.3.7 to\n8.4.1. After setting up instance, applying schema dump w/o and indexes\nand loading data I was trying to create this indexes and got a lot of\nmultiply messages \"picksplit method for column 2 of index ... does...
[ { "msg_contents": "Howdy,\n\nVery excited about the new `DO` command in 8.5a2. I read through the \npatch review thread and found that, like me, Dim had expected it to \nbehave more like a lambda than a simple command. And from Tom's \ncomments, it looks like it was committed in such a way to make such \nex...
[ { "msg_contents": "Howdy,\n\nVery excited about the new `DO` command in 8.5a2. I read through the \npatch review thread and found that, like me, Dim had expected it to \nbehave more like a lambda than a simple command. And from Tom's \ncomments, it looks like it was committed in such a way to make such \nex...
[ { "msg_contents": "Hi,\n\nwe have come across a problem where we need an inverted index,\nan array of IDs ordered by another condition. We came up\nwith this scheme:\n\n-- final inverted index\nCREATE TABLE product.t_product_inv (\n word text primary key not null,\n ids bigint[]\n);\n\n-...
[ { "msg_contents": "Hi,\n\nI tried to utilize the advertised feature of 8.4, the\nseparate fillfactor setting for the toast table.\n\no=# create table t2 (id serial primary key, t text) with (fillfactor=75,\ntoast.fillfactor=60);\nNOTICE: CREATE TABLE will create implicit sequence \"t2_id_seq\" for\nserial colu...
[ { "msg_contents": "Hi,\n In the gram.y, under a_expr rule\n under the subrule \"a_expr NOT SIMILAR TO a_expr %prec SIMILAR\"\n the action is as follows\n {\n FuncCall *n = makeNode(FuncCall);\n n->funcname = SystemFuncName(\"similar_escape\");\n ...
[ { "msg_contents": "plv8js is a procedural language add-on for PostgreSQL, which means you\ncan define Javascript functions that run inside a PostgreSQL server\nusing google V8 Engine.\n\nanyone who want to contribute in plv8js please visit this group ^^\nhttp://code.google.com/p/plv8js/\ni'm still new in postgr...
[ { "msg_contents": "Hi, hackers\n\nI have a problem at PostgreSQL 8.3.5 (Slackware Server and Win 2003 Server)\nSO independent.\n\nWhen run the scripts below I receive the error:\n\n---------------------------------------------------------------------------\ntestes=# DELETE FROM pai WHERE co_pai = 1;\nserver clo...
[ { "msg_contents": "In yesterday's discussions about FOR UPDATE there was some mention of\nmaking it not propagate into WITH subqueries:\nhttp://archives.postgresql.org/pgsql-hackers/2009-10/msg01540.php\nThat is, given\n WITH w AS (SELECT * FROM foo) SELECT * FROM w, bar ... FOR UPDATE\nshould foo be locked FO...
[ { "msg_contents": "Hackers,\n\nThere are some GUCs you can set in a context which will accept them, yet\nthey have no effect when you do. For example, I can call SET\nstatement_timeout inside a function, and it has no effect whatsoever.\n\nI'm wondering if we should be throwing a warning in these cases. And\n...