threads
listlengths
1
2.99k
[ { "msg_contents": "I believe the int2vectorin function should handle invalid input more cleanly.\n\nCurrent behavior:\n\n-- Correct input format:\nSELECT '1 2 3'::int2vector;\n int2vector\n------------\n 1 2 3\n(1 row)\n\n-- Three variations on incorrect input format\nSELECT '1not 2really_an 3int2vector'::int2v...
[ { "msg_contents": "Here's a first round of review of the patch submitted at \nhttp://archives.postgresql.org/message-id/c64c5f8b0910252350w42f7ea13g52a6a88a86143374@mail.gmail.com\n\nThis is moving along nicely, and is now working (with some hacking) for \nthe one use case I wanted it for. High-level summary o...
[ { "msg_contents": "Hello\n\nI have a problem with compilation:\n\nmake[4]: Entering directory `/home/pavel/src/pgsql/src/backend/utils/adt'\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing\n-fwrapv -I../../../../src/include -D_GNU_SOURCE -c...
[ { "msg_contents": "Hello,\n\nI am the project manager of Bacula. One of the database backends that Bacula \nuses is PostgreSQL.\n\nThis email is to notify you that a change you made to setting database \ncharacter codes has created havoc with certain unfortunate Bacula users.\n\nBacula sets the database encodi...
[ { "msg_contents": "I've attached an update of my previous refactoring of plperl.c.\nIt's been rebased over the current (git) HEAD and has a few\nvery minor additions.\n\nBackground:\n\nI've started work on the enhancements to plperl I outlined on pg-general\n(in the \"Wishlist of PL/Perl Enhancements for 8.5\" ...
[ { "msg_contents": "Hi,\nIn sept 2009 there was a discussion of ragged csv import and import requirements.\nI thought I'd add my requirements to the heap.\n\nI'm working a QA solution for a dbms migration project that will import query output from a non PG database into PG, so we can compare query results betw...
[ { "msg_contents": "So...\n\nCame across a situation today where I would have liked to know the\neffective role of a query because of a permission error. When I went to\nadd that to the logline_prefix, I realized that right now all we have is\n%u which gives you the equivalent of session_user...I think it would ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nSo...\n\nCame across a situation today where I would have liked to know the\neffective role of a query because of a permission error. When I went to\nadd that to the logline_prefix, I realized that right now all we have is\n%u which gives yo...
[ { "msg_contents": "I sow that you have knoladge about advance programing softwere ,  I need an EBAY program ...\n \n \nPlease reply me back so I can give you more info about  what I need\n \nThank you \n\n\n \nI sow that you have knoladge about advance programing softwere ,  I need an EBAY program ...\n \n...
[ { "msg_contents": "Building on my earlier plperl refactoring patch, here's a draft of my\nfirst plperl feature patch.\n\nSignificant changes in this patch:\n\n- New GUC plperl.on_perl_init='...perl...' for admin use.\n- New GUC plperl.on_trusted_init='...perl...' for plperl user use.\n- New GUC plperl.on_untrus...
[ { "msg_contents": "Hey Hackers,\n\nI just had reason to want the way that format_type converts type names (e.g., varchar => character varying) in pgTAP, but didn't want the namespace qualification (used by format_type() when the type in question is not visible). I figured out that I could get that conversion by...
[ { "msg_contents": "There's a couple of items on the TODO page\n(https://wiki.postgresql.org/wiki/Hot_Standby_TODO) that haven't been\ndiscussed on-list:\n\n> In normal operation, a few commands call ForceSyncCommit() to force non-async commit. Should ForceSyncCommit force an XLogFlush() during recovery as well?...
[ { "msg_contents": "Just FYI for all: we are planning to wrap 8.4.2 and other back branch\nupdate releases next week, for release Monday the 14th.\n\n\t\t\tregards, tom lane\n", "msg_date": "Fri, 04 Dec 2009 10:50:36 -0500", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, "msg_su...
[ { "msg_contents": "After a great deal of discussion in the community, the project's core\nteam have written a policy outlining the support lifecycle for major\nPostgreSQL releases, which can be found on the wiki with other project\npolicies at http://wiki.postgresql.org/wiki/Policies.\n\nWe hope this document w...
[ { "msg_contents": "With CVS HEAD, I'm getting the following error when I try to access a\nsystem column from within trigger (which I'm doing just for debug\npurposes):\n\ncreate table foo (a int);\n\ncreate or replace function foo_trig_fn() returns trigger as $$\nbegin\n raise notice 'In trigger: added %', new...
[ { "msg_contents": "Since the pg_stat_bgwriter structure was introduced in 8.3, there's \nnever been any way to reset its statistics back to 0. A week of \nanalyzing data from that every day drove me crazy enough to finally fix \nthis with the attached patch. This implements the TODO item \"Allow the \nclearin...
[ { "msg_contents": "\nI'm planning to read recovery.conf earlier in the startup process, so we\ncan make a few things more \"recovery aware\". It's a nice-to-have only.\n\nThis won't be part of the HS patch though.\n\nProposal is to split out the couple of lines in\nreadRecoveryCommandFile() that set important s...
[ { "msg_contents": "\nJust noticed that PageIndexTupleDelete does not check that\n\n\tpd_special != MAXALIGN(pd_special)\n\nwhereas PageIndexMultiDelete() does this. Both routines state that\n\"paranoia seems justified\", so this omission looks like an error.\n\nLooking a little deeper at this...\n\nWe only call...
[ { "msg_contents": "1. The XLogFlush() call you added to dbase_redo doesn't help where it\nis. You need to call XLogFlush() after the *commit* record of the DROP\nDATABASE. The idea is minimize the window where the files have already\nbeen deleted but the entry in pg_database is still visible, if someone\nkills ...
[ { "msg_contents": "I would like to allow RULEs ON INSERT, ON UPDATE and ON DELETE during\nread only transactions iff they generate only SELECT statements that act\nINSTEAD OF the actual event.\n\nCREATE RULE foorah\n AS ON INSERT TO foo\n DO INSTEAD SELECT remote_insert(NEW.col1, NEW.col2, ...);\n\nThe above ...
[ { "msg_contents": "Hi,\n\nI'm a Computer Science student and I'm currently studying databases buffer\nmanagers. I want to do some experiments and see how the pages access works\nin PostgreSQL. (and I also will do some I/O experiments)\n\nSo, I want to do a \"sniffer\" on the Storage Layer of Postgresql. It sho...
[ { "msg_contents": "\nI have an ereport() in the HS patch that looks like this\n\t\t\t\t\t\t\tereport(trace_recovery(DEBUG1),\n (errmsg(\"recovery cancels virtual transaction %u/%u pid %d because of\n conflict with %s\",\n waitlist->backendId,\t\n waitlist->localTransactionId,\n pid,\n reason)...
[ { "msg_contents": "Next Tuesday was our target date for being finished with the current \nCommitFest, and we're a little overdue to start kicking back a lot more \npatches that still clearly need a whole additional round of work on \nthem. Here's how that's going to happen:\n\nThis Tuesday 12/8 at noon GMT, I'...
[ { "msg_contents": "Hello there,\n\nI am a graduate student at the University of Washington, Tacoma\n(http://www.tacoma.washington.edu/tech/) with an interest in databases (especially query processing). I am familiar with database theory and in an earlier life I used to be an application developer and have done ...
[ { "msg_contents": "Hi,\n\nWhile testing the EXPLAIN BUFFERS patch I found a bug. I'm too tired to\nprovide a fix right now but if someone can take it I will appreciate. It seems\nExplainJSONLineEnding() doesn't expect es->grouping_stack list as a null pointer.\n\neuler@harman $ ./install/bin/psql\npsql (8.5deve...
[ { "msg_contents": "Hello,\n\nI’m a student from Nankai University in China. Now I and my team do a\nproject which aims to integrate XML to Postgresql. What I do is to complete\nthe function of XML Update.\n\nNow I’m researching in concurrency control. I have read the code about the\nconcurrency control for a lo...
[ { "msg_contents": "The current behavior of levenshtein(text,text,int,int,int) is wrong. Consider:\n\nleki_dev=# select levenshtein('','a',2,4,5);\n levenshtein\n-------------\n 1\n(1 row)\n\n\nleki_dev=# select levenshtein('a','',2,4,5);\n levenshtein\n-------------\n 1\n(1 row)\n\n\nleki_de...
[ { "msg_contents": "Hi,\n\nI have added a catalog table with an index on a non-unique column. I\nwant to cache this non-unique index like other unique indexes in\nsyscache. Is there any way to cache a non-unique index? I just want the\nindex to reside in the memory to speed up the index lookup. Thank you!\n\nWan...
[ { "msg_contents": "On Mon, Dec 7, 2009 at 10:20 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:\n>> Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>>> It was written and submitted by one person who did not bother to ask\n>>> first whether anyone else thought it was wor...
[ { "msg_contents": "hello,\n\nfrom kernel log:\n\nDec 7 07:24:45 nsXXXXXX kernel: postgres[22481]: segfault at 7fda5e1d5000\nip 00007fda604553c3 sp 00007fffe41faf28 error 4 in libc-2.9.so\n[7fda603d1000+168000]\nDec 7 07:24:45 nsXXXXXX kernel: grsec: From XX.YY.ZZ.51: Segmentation fault\noccurred at 00007fda5e...
[ { "msg_contents": "Marko, Asko, hackers:\n\nI thought the idea was that we were going to add PL/proxy to 8.5, with\nsupport for the foriegn data wrapper syntax? What happened to that?\n\n--Josh Berkus\n", "msg_date": "Mon, 07 Dec 2009 10:42:04 -0800", "msg_from": "Josh Berkus <josh@agliodbs.com>", ...
[ { "msg_contents": "While looking at the streaming replication patch, I can't help but\nwonder why our WAL format is so complicated.\n\nWAL is divided into WAL segments, each 16 MB by default. Each WAL\nsegment is divided into pages, 8k by default. At the beginning of each\nWAL page, there's a page header, but t...
[ { "msg_contents": "Came cross this when updating the cvs fix. We declare size requirements as:\n\n Also check that you have sufficient disk space. You will need about\n 65 MB for the source tree during compilation and about MB for\n the installation directory. An empty database cluster takes about\n 25...
[ { "msg_contents": "Our instalation chapter (15.2) has a link to\nhttp://developer.postgresql.org/~petere/bsd-gettext/ to get gettext on\n\"other systems\". this link is broken. Can somebody provide a proper\none, or should we remove it?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www....
[ { "msg_contents": "Folks,\n\nWe have a very unfortunate naming situation with Jeff Davis's new\nfeature, namely the shorter name, which is one permutation away from\nan existing and entirely unrelated feature: Constraint Exclusion,\nwhich has to do with queries over partitioned tables and like\nentities.\n\nRen...
[ { "msg_contents": "Hello,\n\nI think in Postgresql, concurrency control acts like this:\n\ntuple's infomask shows if it is being updated. If it is being updated now,\nthe latter transaction should reread the tuple and get the newer tuple.\nDuring the progress of getting the newer tuple, it must use transaction\...
[ { "msg_contents": "A couple of small issues spotted while reviewing the streaming\nreplication patch:\n\n- Because sentPtr is initialized to zeros, GetOldestWALSendPointer will\nreturn zero before a just-launched WAL sender has sent its first\nmessage. That can lead to WAL files that are still needed by another...
[ { "msg_contents": "I find the backend libpq changes related to non-blocking I/O quite\ncomplex. Can we find a simpler solution?\n\nThe problem we're trying to solve is that while the walsender backend\nsends a lot of WAL records to the client, the client can send a lot of\nmessages to the backend. If volume of ...
[ { "msg_contents": "I wrote:\n \n> Frankly, I'd be amazed if there was a performance regression,\n \nOK, I'm amazed. While it apparently helps some cases dramatically\n(Andres had a case where run time was reduced by 93.2%), I found a\npretty routine case where run time was increased by 3.1%. I tweaked\nthe co...
[ { "msg_contents": "\n\nPeter St. Onge wrote privately:\n>\n> With the local server room renovations, there may be some older \n> equipment being retired. Are there any architectures that you would \n> like to see added to the buildfarm?\n>\nHackers,\n\nAny nominations?\n\ncheers\n\nandrew\n", "msg_date": "T...
[ { "msg_contents": "I wrote a small script to check our SGML, and the following links are\nreturning not found in our docs:\n\nftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/cjk.inf\nin charset.sgml, detailed info about some charsets. Do we just remove\nthis? Anybody know if similar info is available elsewhere...
[ { "msg_contents": "Hi,\n\nI compiled current HEAD and trying to use pgbench, i initialized a\ntest database this way:\nbin/pgbench -i -F80 -s100 test\n\nand then run with this options:\nbin/pgbench -c 50 -j 5 -l -t 20 test\n\nand get this crash:\n\"\"\"\nstarting vacuum...end.\nTRAP: FailedAssertion(\"!((data -...
[ { "msg_contents": "\nI have just noticed while checking the EXPLAIN YAML patch that the \nnon-text explain formats are output as a single line with embedded line \nfeeds, while the text format is delivered as a set of text records, one \nper line. The practical effect of this is that psql decorates the \nnon-te...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 5237\nLogged by: Roman Kononov\nEmail address: kononov@ftml.net\nPostgreSQL version: 8.4.1\nOperating system: GNU/Linux x86_64\nDescription: strange int->bit and bit->int conversions\nDetails: \n\ntest=#...
[ { "msg_contents": "This is a C front end for the LLVM compiler... I noticed that it\nentered Debian/Unstable today:\n\n http://packages.debian.org/sid/main/clang\n\nI thought it would be interesting to see if PostgreSQL compiles with\nthis, as an alternative compiler that should presumably become more and\nmo...
[ { "msg_contents": "The other day I returned idly to thinking about some work I did a few \nyears ago on creating a totally unprivileged user, i.e. one with not \neven public permissions. The work I did then involved hacking the \npg_catalog, information_schema and public schemas and their contents. \nUnfortunat...
[ { "msg_contents": "While testing the pgbench setshell command patch with -j option,\nI found all threads use the same sequence of random value.\n\nAt first, I think we need to call srandom() in each thread,\nbut the manual says we should use random_r() instead of random()\non multi-threaded programs.\nhttp://ww...
[ { "msg_contents": "Hackers,\n\nTesting Alpha2 with the Exclusion Constraints patch on Mac recently\nforced me to edit the makefiles to remove the make docs statements.\n(The Mac Openjade toolchain is unalterably broken, AFAICT) Without\nediting the makefiles, it wasn't possible to build PostgreSQL on my OSX\n1...
[ { "msg_contents": "Hey,\nI've got a computer which runs but 8.3 and 8.4. To create a db it takes 4s\nfor 8.3 and 9s for 8.4. I have many unit tests which create databases all\nof the time and now run much slower than 8.3 but it seems to be much longer\nas I remember at one point creating databases I considere...
[ { "msg_contents": "It's funny; we started out this CommitFest with me scrambling to find \nsomeone, anyone, willing to review the latest SE-PostgreSQL patch, \nknowing it was a big job and few were likely to volunteer. Then \nschedules lined up just right, and last night I managed to get a great \ngroup of peo...
[ { "msg_contents": "We have a couple of lingering re-reviews that are still ongoing (myself \non \"pgbench setshell\" and the two DTrace ones), and the ECPG patches are \nstill hanging around, but we're basically finished with reviews for all \nsubmitted patches at this point. So far 12 patches have been commit...
[ { "msg_contents": "Hi Guys\n\nI have some files that were part of a database, I mean they were under \n/*data/base/DB_OID/table_oid* postgres structure\n\nAs I understand *table_oid *which is a numbered file corresponds to one \ntable in the original database.\n\nHere is my question: Is there a tool/method to v...
[ { "msg_contents": "\n\n--On 11. Dezember 2009 11:28:54 -0300 Alvaro Herrera \n<alvherre@commandprompt.com> wrote:\n\n>>\n>> without compiled probes: AVG(2531.68)\n>> with compiled probes: AVG(2511.97)\n>\n> Were the probes enabled?\n\nHmm, they were just compiled in, i didn't anything to instrument them with \n...
[ { "msg_contents": "I'm not quite sure where we stand with these two patches. My\nimpression is that many of the outstanding TODO items in Hot Standby\nhave been fixed, and I'm not sure what remains. Streaming Replication\nI think reviewing is not as far advanced, but I'm not sure. Any\nchance that Hot Standb...
[ { "msg_contents": "\nI think I've found a better way of doing deferred conflict resolution\nfor WAL cleanup records. (This does not check for conflicts at block\nlevel).\n\nWhen a cleanup arrives, check *lock* conflicts to see who is accessing\nthe relation about to be cleaned.\n\nIf there are any lock conflict...
[ { "msg_contents": "I'm doing some work with the output of query_to_xml_and_xmlschema(). The \noutput is a bit unfortunate in my opinion when the column names in the \nquery are not legal XML names. We quite reasonably translate the names \nso that legal XML names result, but we don't actually put the original \...
[ { "msg_contents": "Using\nhttp://www.postgresql.org/ftp/misc/winflex/\n\non a 64-bit windows, but in 32-bit mode (this certainly used to work),\ntrying to build HEAD.\n\nfirst of all, it returns error code 128 when running \"flex -V\", which\nmeans our script claims it doesn't work. Commenting out that check, i...
[ { "msg_contents": "Greetings,\n\n> I'll start a new thread on this specific topic to hopefully pull out\n> anyone who's focus is more on that than on SEPG.\n\nRow-Level security has been implemented in a number of existing\ncommercial databases. There exists an implementation of row-level\nsecurity for Postgre...
[ { "msg_contents": "Stephen,\n\nThe attached two patches are the first pieces of split out from\nthe previous large access control reworks patch.\n\nThe pgsql-ace-01-database-8.5devel-r2475.patch contains nigh\nsecurity hooks related to global initialization and databases.\n\nThe pgsql-ace-02-schema-8.5devel-r24...
[ { "msg_contents": "I'm trying to get PL/R binaries built on Windows, which I have not been\nable to do successfully since the switch to Visual Studio from MinGW in\nPostgreSQL 8.3. For some reason the MinGW PL/R binary does not load in\nthe VS compiled Postgres. Everything works if I also build PostgreSQL\nwith...
[ { "msg_contents": "\nOne of the reasons for last years Rmgr plugin patch was the idea of a\nsignalling interface between Primary and Standby nodes. Such a feature\nwould help in producing further programmatic tests for Hot Standby.\n\nProposal is to use up the last rmgr id, slot 7: RM_INFO_ID. \nFunctions would...
[ { "msg_contents": "Enclose latest version of Hot Standby. This is the \"basic\" patch, with\nno must-fix issues and no known bugs. Further additions will follow\nafter commit, primarily around usability, which will include additional\ncontrol functions for use in testing. Various thoughts discussed here\nhttp:/...
[ { "msg_contents": "I had proposed a temporal contrib module earlier and you wanted to see \nsupport for many range types not just timestamptz. So I had an idea on \nhow to implement this but I want to see if you guys thought it was a \nviable idea.\n\nSo basically I have an anyrange pseudo type with the functio...
[ { "msg_contents": "pg_ctl initdb crashes if no options are passed.\nDo we need additional if-null test for pgdata_opt just like post_opts?\n\n $ pg_ctl initdb\n sh: -c: line 0: syntax error near unexpected token `null'\n sh: -c: line 0: `\"/usr/local/pgsql/bin/initdb\" (null)'\n pg_ctl: database sys...
[ { "msg_contents": "Hi,\n\nI am using Postgres 8.3. I have a table defined like this:\n\n=======================\n-- Table: timeson\n\n-- DROP TABLE timeson;\n\nCREATE TABLE timeson\n(\n id bigint NOT NULL,\n enddatetime timestamp without time zone NOT NULL,\n startdatetime timestamp without time zone NOT NUL...
[ { "msg_contents": "Hot Standby node can freeze when startup process calls LockBufferForCleanup().\nThis bug can be reproduced by the following procedure.\n\n0. start Hot Standby, with one active node(node A) and one standby node(node B)\n1. create table X and table Y in node A\n2. insert several rows in table X...
[ { "msg_contents": "Hot Standby node can freeze when startup process calls LockBufferForCleanup().\nThis bug can be reproduced by the following procedure.\n\n\n0. start Hot Standby, with one active node(node A) and one standby node(node B)\n1. create table X and table Y in node A\n2. insert several rows in table...
[ { "msg_contents": "Hi\n\nHEAD fails to compile in 64-bit mode on Mac OS X 10.6 with gcc 4.2 and\n-Werror.\n\nWhat happens is that INT64_FORMAT gets defined as \"%ld\" (which is\ncorrect - \"long\" and \"unsigned long\" are 64 bits wide on x86_64), but\nthe check for a working 64-bit int fails, causing INT64_IS_...
[ { "msg_contents": "running with log_checkpoints = on\n\npg_ctl -D foo -m fast stop\n\nlog says\n\nLOG: received fast shutdown request\nLOG: aborting any active transactions\nLOG: shutting down\nLOG: restartpoint starting: shutdown immediate\n\nSome of us know that the \"immediate\" word refers to the restar...
[ { "msg_contents": "We're down to five patches that are ready for a committer still on the \ntable:\n\n-New VACUUM FULL\n-tsearch parser inefficiency with urls or emails\n-ProcessUtility_hook\n-Aggregate ORDER BY support\n-Hot Standby\n\nI just bounced \"Streaming Replication\" forward to the next CF, and \nspec...
[ { "msg_contents": "I get this when testing prepared transactions, which looks like it is\nunrelated to Hot Standby.\n\n2009-12-15 17:28:08 GMT[10385]LOG: archive recovery complete\n2009-12-15 17:28:08 GMT[10428]LOG: checkpoint starting: end-of-recovery\nimmediate wait\n2009-12-15 17:28:08 GMT[10428]DEBUG: cr...
[ { "msg_contents": "Just to make those who care aware of it, here is Michael Cahill's\nDoctoral Thesis based on implementing Serializable Snapshot\nIsolation in InnoDB using a refined version of the techniques\npreviously used in the Berkley DB (and previously discussed on this\nlist):\n \nhttp://hdl.handle.net/...
[ { "msg_contents": "Hello\n\nI am looking on new feature - ORDER clause in aggregate, and I thing,\nso we are able to effectively implement some non standard, but well\nknown aggregates.\n\na) function median - it is relative frequent request - with usually\nslow implementation\n\nb) function listagg (it is anal...
[ { "msg_contents": "The attached patch is a draft for the discussion.\n\nIt cleans up the existing PG privileges checks related to databases\nand schemas, and consolidates points where it applies privileges\nchecks as a groundwork for the upcoming security framework.\n\nWe have tried a few approaches to implemen...
[ { "msg_contents": "It is a cleanup patch apart from SELinux and security framework.\n\nNow, EnableDisableRule() checks ownership of the relation which\nowns the rewrite rule to be enabled/disabled.\n\nBut it has the following call path, and this check is already done\nin the ATPrepCmd().\n\n ATExecCmd()\n -> A...
[ { "msg_contents": "I just realized that this was easy to do, and despite my complete lack of C skillz was able to throw this together in a couple of hours. It might be handy to some, though the possible downsides are:\n\n* No json_to_hstore().\n* Leads to requests for hstore_to_yaml(), hstore_to_xml(), etc.\n* ...
[ { "msg_contents": "Hi,\n\nwho is the main editor named \"Dano\" of the wiki page about Parallel \nQuery Execution \n(http://wiki.postgresql.org/wiki/Parallel_Query_Execution), please speak up.\n\nIs there any code or patch available ATM? What \"discussion with Tom and \nSimon\" is that page referring to?\n\nReg...
[ { "msg_contents": "*** a/doc/src/sgml/hstore.sgml\n--- b/doc/src/sgml/hstore.sgml\n***************\n*** 278,284 ****\n <entry>get <type>hstore</>'s keys as a set</entry>\n <entry><literal>skeys('a=&gt;1,b=&gt;2')</literal></entry>\n <entry>\n! 22<programlisting>\n a\n b\n </programlistin...
[ { "msg_contents": "Hey All,\n\nI was just getting a new version of pgTAP ready for release, and while testing it on HEAD, I got this error:\n\n+ psql:pgtap.sql:5789: ERROR: syntax error at end of input\n+ LINE 28: IF verbose THEN RETURN NEXT diag(tests[i] ||...\n+ ...
[ { "msg_contents": "The Cahill thesis mentions an interesting optimization -- they defer\ndetermination of the snapshot until after any locks required for the\nfirst statement have been acquired. Where the first statement was,\nfor example, an UPDATE, this reduced re-reads or rollbacks in the\nface of concurren...
[ { "msg_contents": "Log Message:\n-----------\nDon't unblock SIGQUIT in the SIGQUIT handler\n\nThis was possibly linked to a deadlock-like situation in glibc syslog code\ninvoked by the ereport call in quickdie(). In any case, a signal handler\nshould not unblock its own signal unless there is a specific reason...
[ { "msg_contents": "Hi folks\n\nIt looks like there are some upcoming changes to the Linux kernel's \nhandling of O_SYNC and O_DSYNC that I thought might be worth pointing out:\n\n http://lwn.net/Articles/350219/\n\n--\nCraig Ringer\n", "msg_date": "Thu, 17 Dec 2009 14:58:50 +0800", "msg_from": "Craig ...
[ { "msg_contents": "On Tue, Dec 15, 2009 at 12:56 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Use PQsetNoticeReceiver.  The other one is just there for backwards\n> compatibility.\n\nThanks!\n\nI'm thinking of changing nothing about handling of a notice message.\nBecause there is no notice message (from the prima...
[ { "msg_contents": "Tom Lane wrote:\n> \"Kevin Grittner\" writes:\n>> Tom Lane wrote:\n>>> (Besides which the lock acquired by UPDATE isn't exclusive and\n>>> wouldn't block anyway...)\n \n>> It blocks other UPDATEs.\n \n> Not at the table level.\n \nThe question was about whether we could change the timing o...
[ { "msg_contents": "\"Markus Wanner\" wrote:\n> Another line of thought: isn't this like READ COMMITTED for just\n> the first operation in a SERIALIZABLE transaction?\n \nHmmm... You have a point.\n \n-Kevin\n", "msg_date": "Thu, 17 Dec 2009 07:26:48 -0600", "msg_from": "\"Kevin Grittner\" <Kevin.Gritt...
[ { "msg_contents": "\"Albe Laurenz\" wrote:\n> I would say that in the case of a table scan, the whole table will\n> be SILOCKed. I guess that's pretty much unavoidable if you want\n> serializability.\n \nAgreed.\n \n-Kevin\n\n", "msg_date": "Thu, 17 Dec 2009 07:30:25 -0600", "msg_from": "\"Kevin Grittn...
[ { "msg_contents": "Nicolas Barbier wrote:\n> Therefore, with next-key locking you better don't have too many table\n> scans if you want to have any concurrent transactions.\n \nWell, I would say that you don't want too many table scans on heavily\nupdated tables if you don't want too many serialization failure...
[ { "msg_contents": "I'm sure there is a good reason why NOT IN will not use an Anti-Join\nplan equivalent to NOT EXISTS due to NULL handling, but in this\nparticular case the value being compared is in the PRIMARY KEY of both\nstructures being joined.\n\nThe NOT IN plan was killed after 10 minutes. The NOT EXIST...
[ { "msg_contents": "\nRecently there was discussion about allowing a COPY statement to be a \nSELECT target, returning a text array, although the syntax wasn't really \nnailed down that I recall. I was thinking that we might have\n\n COPY RETURNING ARRAY FROM ...\n\ninstead of\n\n COPY tablename opt_colum...
[ { "msg_contents": "We have infrastructure to count numbers buffer access in 8.5 Alpha 3.\nI'd like to add per-query buffer usage into contrib/pg_stat_statements.\n\nThe pg_stat_statements view will have the same contents with\nstruct BufferUsage. Fields named shared_blks_{hit|read|written},\nlocal_blks_{hit|rea...
[ { "msg_contents": "Hi!\nI just want to distinguish a view and a table while postgres execute exec_simple_query(). In the systable of pg_class, a view and a table has different relkind ('r' 'v'). But when I print the parsetree and the rewrite parsetree, I found that a view and a table has no character to disting...
[ { "msg_contents": "\nI'm trying to implement a function that has some XA like properties.\n\nIs it possible to write a postgres extension function that fires when called within a pg transaction... however, the actions it takes need to be later committed or rolled back based on the containing transactions commit...
[ { "msg_contents": "On current Fedora 11, there is a huge difference in initdb time if you\nhave TZ set versus if you don't: I get about 18 seconds versus less than\nfour.\n\n$ time initdb\n... blah blah blah ...\n\nreal 0m17.953s\nuser 0m6.490s\nsys 0m10.935s\n$ rm -rf $PGDATA\n$ export TZ=GMT\n$ time...
[ { "msg_contents": "There are several pg_migrator limitations that appeared late in the 8.4\ndevelopment cycle and were impossible to fix at that point. I would\nlike to fix them for Postgres 8.5:\n\n o a user-defined composite data type\n o a user-defined array data type\n o a user-defi...
[ { "msg_contents": "Hi all!\n\nInfrastructure monitoring started to complain a few days ago that we \nfailed generating new snapshot-tarball for HEAD.\n\nManual investigation shows that the script dies while building the docs \nwith:\n\nopenjade:installation.sgml:202:51:X: reference to non-existent ID \n\"PLPYTH...
[ { "msg_contents": "Log Message:\n-----------\nAllow read only connections during recovery, known as Hot Standby. \n\nEnabled by recovery_connections = on (default) and forcing archive recovery using a recovery.conf. Recovery processing now emulates the original transactions as they are replayed, providing full ...
[ { "msg_contents": "I'm doing the Todo List's \"Allow VIEW/RULE recompilation when the underlying tables change \". I've a very simple idea that I save the \"create view\" query_string in systable. When I found that I select from a view, I drop the view and recreate the view by execute the source query_string. T...
[ { "msg_contents": "Hi,\n\nI couldn't find lo_import(text, oid) document anywhere in the\nPostgreSQL core documents. Unless I'm missing something, I would like\nto add description for the function in \"31.4. Server-Side Functions\"\npart.\n\nBTW, why don't lo_creat, lo_create, lo_unlink, lo_import and lo_export\...
[ { "msg_contents": "Do people want more time to play with hot standby? Otherwise alpha3\nshould go out on Monday or Tuesday.\n\n", "msg_date": "Sat, 19 Dec 2009 14:20:10 +0200", "msg_from": "Peter Eisentraut <peter_e@gmx.net>", "msg_from_op": true, "msg_subject": "alpha3 release schedule?" }, ...
[ { "msg_contents": "Could we create an option to create index names automatically, so you'd\nonly have to write\n\nCREATE INDEX ON foo (a);\n\nwhich would pick a name like foo_a_idx. We already do this in a number\nof places such as constraint names and sequences without much trouble.\nIn most cases you don't r...