threads
listlengths
1
2.99k
[ { "msg_contents": "I have found a problem which is specifically related to \"HP-UX\" compiler.\nAll 'libm' functions on \"HP-UX Integrity server\" do not set \"errno\" by\ndefault. For 'errno' setting we should compile the code using +Olibmerrno\noption. So we should add this option in \"/src/makefiles/Makefil...
[ { "msg_contents": "In the TODO list is this item:\n\n*Modify the planner to better estimate caching effects\n*\nTom mentioned this in his presentation at PGCON, and I also chatted with Tom\nabout it briefly afterwards.\n\nBased on last year's discussion of this TODO item, it seems thoughts have\nbeen focused on...
[ { "msg_contents": "While eating good Indian food and talking about aviation accidents on\nthe last night of PGCon, Greg Stark, Heikki Linnakangas, and I found\nsome time to brainstorm about possible ways to reduce the impact of\nfull_page_writes. I'm not sure that these ideas are much good, but\nfor the sake o...
[ { "msg_contents": "Attached is the latest revision of the latch implementation that\nmonitors postmaster death, plus the archiver client that now relies on\nthat new functionality and thereby works well without a tight\nPostmasterIsAlive() polling loop.\n\nOn second thought, it is reasonable for the patch to be...
[ { "msg_contents": "There's a complaint here\nhttp://archives.postgresql.org/pgsql-general/2011-05/msg00714.php\nabout the fact that 9.1 pg_dump always dumps CREATE EXTENSION commands\nfor all loaded extensions. Should we change that? A reasonable\ncompromise might be to suppress extensions in the same cases w...
[ { "msg_contents": "Greetings,\n\n Someone (*cough*Haas*cough) made a claim over beers at PGCon that it\n would be very difficult to come up with a way to pre-allocate List\n entries and maintain the current List API. I'll admit that it wasn't\n quite as trivial as I had *hoped*, but attached is a proof-of-...
[ { "msg_contents": "Hi,\n\nFor reliable high-availability, when the master crashes, the clusterware must\nknow whether it can promote the standby safely without any data loss,\nbefore actually promoting it. IOW, it must know whether the standby has\nalready caught up with the primary. Otherwise, failover might c...
[ { "msg_contents": "Hi all,\n\nI'm seeing the results of pg_basebackup and I saw postmaster.opts.\nIs not necessary, although is inoffensive. But has the name of the\noriginal cluster name inside. If it's only keep for information purposes,\nmaybe backup_label could be the right place.\n\nIs just an idea.\n\nTh...
[ { "msg_contents": "Hi,\n\nQuery:\n=====\nI am aware of the fact that Expression evaluator is used to filter tuples\nbased on the qual. However, I think it is not the only purpose it serves. As\nI manipulated the ExecEvalVar in the executor, the queries started behaving\nabnormally (the comparison operators < , ...
[ { "msg_contents": "I hear that CF manager is a difficult role for a single individual.\n\nSo it makes sense to split that role between multiple people.\n\nI volunteer to be the CF manager for Replication, and also for\nPerformance. I have an interest in and long experience in each of\nthose areas, so that makes...
[ { "msg_contents": "While looking at fixing the multiple-evaluation issue in IN and BETWEEN \ndiscussed a while ago, I realized that the current assumption that only \none CaseTestExpr placeholder needs to be valid at any given time is not \ntrue.\n\nHere's a bit contrived example:\n\nCREATE FUNCTION evileq (tim...
[ { "msg_contents": "Sorry, email sent without body.\n\nFixed some English mistakes.", "msg_date": "Wed, 25 May 2011 15:29:05 +0100 (BST)", "msg_from": "Leonardo Francalanci <m_lists@yahoo.it>", "msg_from_op": true, "msg_subject": "Re: use less space in xl_xact_commit patch" } ]
[ { "msg_contents": "While I was working on automatic translation of PostgreSQL's\ndocumentation from SGML to XML, I found some minor issues.\n\nIn the file doc/src/sgml/ecpg.sgml there are many lines of C code\ncontaining unescaped '<' characters.\n\nIn the file doc/src/sgml/array.sgml there is a tag which has a...
[ { "msg_contents": "I think the command 'where' does the same. And the command showed something\nwhich looked like was part of evaluation...it got me confused. Anyways,\nthanks robert. I will check that too. I did not know the 'bt' command.\n\n--\nSent from my Android\nOn 25 May 2011 23:02, \"Robert Haas\" <robe...
[ { "msg_contents": "> Dan Ports wrote:\n> On Tue, May 24, 2011 at 04:18:37AM -0500, Kevin Grittner wrote:\n \n>> These proofs show that there is no legitimate cycle which could\n>> cause an anomaly which the move from row-based to tuple-based\n>> logic will miss. They don't prove that the change will generate\n...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 6041\nLogged by: Emanuel\nEmail address: postgres.arg@gmail.com\nPostgreSQL version: 9.1 beta\nOperating system: Ubuntu\nDescription: Unlogged table was created bad in slave node\nDetails: \n\nMASTER=666...
[ { "msg_contents": "Just a trivia. I remember spending weeks on reading the ARIES paper\nduring my post graduation and I loved the depth of knowledge in that\npaper. In fact, if I re-read it again now, I would appreciate it even\nmore. Are there other papers in the same league, especially which are\nmore closel...
[ { "msg_contents": "Hello,\n\nI wrote and attached a patch for the TODO item below (which I proposed).\n\nAllow multiple Postgres clusters running on the same machine to distinguish \nthemselves in the event log\nhttp://archives.postgresql.org/pgsql-hackers/2011-03/msg01297.php\nhttp://archives.postgresql.org/pg...
[ { "msg_contents": "Hello,\n\nThe CFP for #PgWest is now open. We are holding it at the San Jose \nConvention Center from September 27th - 30th. We look forward to seeing \nyour submissions.\n\nhttp://www.postgresqlconference.org/\n\nJoshua D. Drake\n-- \nCommand Prompt, Inc. - http://www.commandprompt.com/\nPos...
[ { "msg_contents": "pg_basebackup currently doesn't allow compressed tar to stdout. That\nshould be added to make the interface consistent, and specifically to\nallow common idoms like\n\npg_basebackup -Ft -z -D - | ssh tar -x -z -f -\n\nSmall patch attached.", "msg_date": "Fri, 27 May 2011 00:01:36 +0300",...
[ { "msg_contents": "Hi\n\nI would like to develop function for 'Online base backup from the\nhot-standby' in PostgreSQL 9.2.\n\nTodo : Allow hot file system backups on standby servers\n(http://wiki.postgresql.org/wiki/Todo)\n\n\n[GOAL]\n * Make pg_basebackup to execute to the hot-standby server \n and acquire ...
[ { "msg_contents": "Hello,\n\nI am working on testing Orafce for PostgreSQL 9.1. I found a issue.\n\nI cannot directly call a function \"lower\".\n\nIs it correct?\n\n select dbms_assert.enquote_name('''\"AAA');\n! enquote_name.\n! --------------\n! \"'\"\"aaa\"\n! (1 row)\n!.\n select dbms_assert.enquote_na...
[ { "msg_contents": "Hello,\n\nI've encountered a problem of PostgreSQL startup, and I can think of a \nsimple solution for that. However, I don't yet have much knowledge about \nPostgreSQL implementation, I'd like to ask you about what is the best and \neasiest solution. If it is easy for me to work on during my...
[ { "msg_contents": "Hello,\n\nI posted a patch for bug #6011 to pgsql-hackers several days ago. How can I \ncheck the status of bug fixes? I'm worried that the patch might be \nforgotten, because bug #5842 was missed for two months until Bruce noticed \nit.\n\nRegards\nMauMau\n\n", "msg_date": "Fri, 27 May 2...
[ { "msg_contents": "\nSomething odd is happening on buildfarm member wombat, a PPC970MP box \nrunning Gentoo. We're getting dblink test failures. On the one I looked \nat more closely I saw this:\n\n[4ddf2c59.7aec:153] LOG: disconnection: session time: 0:00:00.444 user=markwkm database=contrib_regression host=[...
[ { "msg_contents": "I wonder if we have tested the reasoning behind having\nSKIP_PAGES_THRESHOLD and the magic number of 32 assigned to it\ncurrently. While looking at the code after a long time and doing some\ntests, I realized that a manual VACUUM would always scan first 31\npages of a relation which has not r...
[ { "msg_contents": "Improve corner cases in pg_ctl's new wait-for-postmaster-startup code.\n\nWith \"-w -t 0\", we should report \"still starting up\", not \"ok\". If we\nfall out of the loop without ever being able to call PQping (because we\nwere never able to construct a connection string), report \"no respo...
[ { "msg_contents": "Hi,\n\nOne of our customers is interested in being able to store original\ntimezone along with a certain timestamp.\n\nIt is currently possible to store a TZ in a separate column, but this is\na bit wasteful and not very convenient anyway.\n\nThere are all sorts of UI issues that need to be r...
[ { "msg_contents": "Sir,           i am developing a patch for postgresql in c language. i want to know that how can i integrate my patch with postgresql.\nregards\nemman\nSir,           i am developing a patch for postgresql in c language. i want to know that how can i integrate my patch with postgresql.regards...
[ { "msg_contents": "sir, i am developnig a patch and as per instructionsdescribed on this site http://wiki.postgresql.org/wiki/Developer_FAQ  it is specifed on the link that along with unix platform we have to use   GCC, GNU Make, GDB, Autoconf but i dont know how to install these softwares in linux ,because the...
[ { "msg_contents": "Hi all,\n\npsql's auto-complete support for COMMENT ON was missing support for a\nfew object types:\n\n1.) EXTENSION and PROCEDURAL LANGUAGE are now auto-complete candidates\nfor COMMENT ON [TAB]. Lists of extensions and procedural languages\nshould also be filled in when a user types\n COMM...
[ { "msg_contents": "If you use \"pgbench -S -M prepared\" at a scale where all data fits in\nmemory, most of what you are benchmarking is network/IPC chatter, and\ntable locking. Which is fine if that is what you want to do. This\npatch adds a new transaction type of -P, which does the same thing as\n-S but it...
[ { "msg_contents": "Hello\n\nI would like to know what is the process to get new applications accepted for inclusion in the stack builder (namely the eZ Publish cms).\n\nI would be ready spend some time to package the application according to some specific format, and to host the built package on some dedicated ...
[ { "msg_contents": "Hi,\n\nCube code provided by postgres contrib folder. It uses the NDBOX structure.\nOn creating index, it's size increase at a high rate.\n\nOn inserting some tuple and creating indexes its behaviour is shown below.\n\n1. When there is only one tuple\n select pg_size_pretty(pg_relation_siz...
[ { "msg_contents": "Hi\n\nThe in-core XPATH() function currently only handles XPath expressions which\nreturn a node set correctly. For XPath expressions which return boolean,\nnumeric or string values, XPATH() returns an empty array. (This is the case\nfor XPath expressions whose top-level syntactic construct i...
[ { "msg_contents": "On 30.05.2011 17:10, Kevin Grittner wrote:\n>> Heikki Linnakangas wrote:\n>> On 26.05.2011 06:19, Kevin Grittner wrote:\n>> I did some of that in the comments, and I think I understand it\n>> now. See attached patch. Does that look right to you?\n>\n> ! * A serialization failure can only oc...
[ { "msg_contents": "Hi,\n\nCube code provided by postgres contrib folder. It uses the NDBOX structure.\nOn creating index, it's size increase at a high rate.\n\nOn inserting some tuple and creating indexes its behaviour is shown below.\n\n1. When there is only one tuple\n select pg_size_pretty(pg_relation_\ns...
[ { "msg_contents": "[The first attempt to send this shows as undeliverable to the list. \nResending for completeness and coherency of archives. Apologies to\nthose getting duplicates.]\n \n> Heikki Linnakangas wrote:\n> On 26.05.2011 06:19, Kevin Grittner wrote:\n>\n>> /*\n>> * Check whether the writer has beco...
[ { "msg_contents": "Hi!\n\nDuring my work on GSoC project, I found bad perfomace of GiST for point\ndatatype. It appears even on uniform random data.\n\ntest=# create table test as (select point(random(), random()) from\ngenerate_series(1, 1000000));\nSELECT 1000000\ntest=# create index test_idx on test using gi...
[ { "msg_contents": "I've applied patches to fix Martin Pitt's report of peer auth failing on\nFreeBSD-amd64 kernels. I tested it with FreeBSD but do not have the\nresources to check every other platform that uses the same code branch\nin auth_peer. The buildfarm will soon tell us if the patches fail to\ncompil...
[ { "msg_contents": "Hi folks,\n\nI was working on a little docs patch today, and when I tried to\n`make`, openjade choked on an identifier in information_schema.sgml,\nwhich is very much unrelated to my changes:\n\nopenjade:information_schema.sgml:828:60:Q: length of name token must\nnot exceed NAMELEN (44)\n\nH...
[ { "msg_contents": "This patch allows you to initially declare a CHECK constraint as NOT\nVALID, similar to what we already allow for foreign keys. That is, you\ncreate the constraint without scanning the table and after it is\ncommitted, it is enforced for new rows; later, all rows are checked by\nrunning ALTE...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 6046\nLogged by: Rikard Pavelic\nEmail address: rikard.pavelic@zg.htnet.hr\nPostgreSQL version: 9.1 beta 1\nOperating system: Windows 7 64bit\nDescription: select current_date crashes postgres\nDetails: ...
[ { "msg_contents": "Hi\n\nWhile trying to figure out sensible semantics for XPATH() and scalar-value returning XPath expressions, I've stumbled upon a bug in XPATH() that allows invalid XML values to be produced. This is a serious problem because should such invalid values get inserted into an XML column, an un-...
[ { "msg_contents": "Hello\n\nhere is a partial review of your patch, better than keeping it\nsleeping in the commitfest queue I hope.\n\n Submission review\n================\n\n * The patch is not in context diff format.\n * The patch apply, but contains some extra whitespace.\n * Documentation is here ...
[ { "msg_contents": "Hello,\n\nIs there any way to retrieve the actual variable names (as were given \nduring Stored Procedure definition) for the corresponding var_ids in \npl/plpgsql/src/pl_exec.c ?\nI have modified some PostgreSQL code for my own project and I track some \ninformation for functions during thei...
[ { "msg_contents": "Protect GIST logic that assumes penalty values can't be negative.\n\nApparently sane-looking penalty code might return small negative values,\nfor example because of roundoff error. This will confuse places like\ngistchoose(). Prevent problems by clamping negative penalty values to\nzero. ...
[ { "msg_contents": "Hi,\n\nPgpool currently acquires row locks on sequences to sync sequences\namong PostgreSQL servers in \"replication mode\".\n\nSuppose you have a table t1(i int, j SERIAL) and two sessions are\ntrying to INSERT the table(initial value of t1_j_seq is 100 on\nPostgreSQL server D1 and D2):\n\nS...
[ { "msg_contents": "Hi\n\nUnfortunately, I found another way to produce invalid XML values.\n\ntemplate1=# SELECT (XPATH('/*', XMLELEMENT(NAME \"root\", XMLATTRIBUTES('<' as xmlns))))[1];\n xpath \n-------------------\n <root xmlns=\"<\"/>\n\nSince a literal \"<\" is not allowed in XML attributes, th...
[ { "msg_contents": "The pg_listener table was removed in 9.0 in the revamp of\nLISTEN/NOTIFY. In pgAdmin we used to perform a number of selects from\nthe table to get information about Slony clusters - for example, the\nPID of the slon process or to check if a process is listening for a\nspecific notification. T...
[ { "msg_contents": "Hi!\n\nI found problem while vacuuming with composite type (version 9.0.4). It's not so \neasy to reproduce, but it's clear what happens.\n\nCREATE TYPE mytype AS (p point, r float8);\nCREATE TABLE mytable (mt mytype);\n-- create opclass fir GiST\nCREATE INDEX myidx ON mytable USING gist (mt)...
[ { "msg_contents": "Hello.\n\nI'm some kind of PQdeleteTuple function will be very usefull in libpq.\nBecause right now after deleting some record I need refetch result\nset, or mark tuple as deleted and this is headache for me.\n\nSo I checked fe-exec.c sources and wrote this:\n\nint PQdeleteTuple(PGresult *src...
[ { "msg_contents": "All,\n\npg_ctl -D means different things depending on whether you are calling\n\"start\" or \"stop\". For \"start\", pg_ctl wants the directory\npostgresql.conf is in, and for \"stop\" it wants the directory\npostmaster.pid is in. This means that if your .conf files are not in\nthe same dir...
[ { "msg_contents": "Hello,\n\nI partialy implemented following missing LOBs types. Requirement for this was \nto give ability to create (B/C)LOB columns and add casting functionality e.g. \nSET my_clob = 'My long text'.\n\nIdea is as follow:\n0. Blob is two state object: 1st in memory contains just bytea, serial...
[ { "msg_contents": "Hello\n\nI am playing with context callback functions. I found so we leave\nearly this function, when exception is raised by RAISE statement.\n\nI can understand it when level is NOTICE, but it is strange for other\nlevels. More we can emulate any exception now, but these exceptions\nare hidd...
[ { "msg_contents": "Hi,\n I'm doing a hacking project which hacks the gram.y file and some other\nso that postgres can execute some query plan language to run a particular\nplan. I did some modifications and try run it. It compiled and installed\nsuccessfully. But when I was trying to run a MergeJoin operatio...
[ { "msg_contents": "Hello\n\nThis patch enhances a GET DIAGNOSTICS statement functionality. It adds\na possibility of access to exception's data. These data are stored on\nstack when exception's handler is activated - and these data are\naccess-able everywhere inside handler. It has a different behave (the\ncont...
[ { "msg_contents": "While working on my patch to reduce the overhead of frequent table\nlocks, I had cause to monkey with InitProcGlobal() and noticed that\nit's sort of a mess. For reasons that are not clear to me, it\nallocates one of the three PGPROC arrays using ShemInitStruct() and\nthe other two using Shm...
[ { "msg_contents": "Tab completion for \\d currently does not complete composite types, even\nthough \\d works for composite types.\n\nThat's easy to be fixed, but I have two more general questions:\n\nSince \\d is happy to describe any kind of pg_class entry, should we also\nremove the relkind restriction in wh...
[ { "msg_contents": "Disallow SELECT FOR UPDATE/SHARE on sequences.\n\nWe can't allow this because such an operation stores its transaction XID\ninto the sequence tuple's xmax. Because VACUUM doesn't process sequences\n(and we don't want it to start doing so), such an xmax value won't get\nfrozen, meaning it wil...
[ { "msg_contents": "Hello,\n\nWe've recently come across the task of estimating the size of shared memory\nrequired for PostgreSQL to start. This comes from the problem of validating\npostgresql.conf files\n(http://archives.postgresql.org/pgsql-hackers/2011-03/msg01831.php), i.e.\nchecking that the server will b...
[ { "msg_contents": "Looks like we can't declare getpeereid on Windows anyway.\n\n... for lack of the uid_t and gid_t typedefs. Per buildfarm.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/680ea6a6df345218f655eaad2c25f98900487438\n\nModified Files\n--------------\nsrc/inc...
[ { "msg_contents": "hi guys:\n I'm using int[] in postgrsql to store int array. I want to get max \nvalue of each row . While I can't find any function to get it(max \nfunction will get max array in one column) . Even I could write a sql \nfunction to get the max value. I still think a native funtion is bett...
[ { "msg_contents": "Hackers,\n\nWIP patch of fast GiST index build is attached. Code is dirty and comments\nare lacking, but it works. Now it is ready for first benchmarks, which\nshould prove efficiency of selected technique. It's time to compare fast\nGiST index build with repeat insert build on large enough d...
[ { "msg_contents": "Hello,\n\nI'm reading the posts of pgsql-hackers through the news server \nnews.postgresql.org using Windows Mail on Windows Vista, to avoid receiving \nmany emails. I don't seem to be able to receive posts in June. All I could \ndownload are before June. But I could receive messages in June ...
[ { "msg_contents": "I've now spent enough time working on this issue now to be convinced\nthat the approach has merit, if we can work out the kinks. I'll start\nwith some performance numbers.\n\nThe case where the current system for taking table locks is really\nhurting us is where we have a large number of bac...
[ { "msg_contents": "I looked into $SUBJECT, which complains about this:\n\nCREATE VIEW test_view AS VALUES (1), (2), (3) ORDER BY 1;\n\nThis dumps like so:\n\nregression=# \\d+ test_view\n View \"public.test_view\"\n Column | Type | Modifiers | Storage | Description \n---------+---------+-----...
[ { "msg_contents": "Hello,\n\nSorry for short introduction about this, and plese as far as possible, \ndisconnet it from LOBs, as it on top of LOB.\n\nIdea of streaming is to reduce memory copy mainly during receiving and sending \ntuples. Currently receive works as follows\n1. Read bytes of tuple (allocate x me...
[ { "msg_contents": "According to our documentation, 'userlocks' were removed in PG 8.2:\n\n\thttp://developer.postgresql.org/pgdocs/postgres/runtime-config-developer.html\n\n\ttrace_userlocks (boolean)\n\t\n\tIf on, emit information about user lock usage. Output is the same as\n\tfor trace_locks, only for user l...
[ { "msg_contents": "The external PID file, if configured, is currently generated with 600\npermissions, which results from the umask setting in the postmaster. I\nthink it would be nicer if we could make that 644.\n\nI have often dealt with scripts and such that look through PID files\nin /var/run, and it's alw...
[ { "msg_contents": "Hello.\n\nReproduced under Windows XP SP3 using Visual C++ 2008 and Delphi. If\nPQsetvalue is called with second parameter equals to PQntuples then\nmemory corruption appears. But it should grow internal tuples array\nand populate the last item with provided data. Please see the code:\n\n\n#i...
[ { "msg_contents": "Hello Hackers,\n\nThere is some strange behavior we're experiencing with one of the customer's DBs (8.4)\n\nWe've noticed that free disk space went down heavily on a system, and after a short analysis determined that the reason was that postmaster was holding lots of unlinked files open. A s...
[ { "msg_contents": "Commit d2f60a3ab055fb61c8e1056a7c5652f1dec85e00 added an assert to indexam.c's\nRELATION_CHECKS to block use of an index while it's being rebuilt. This\nassert trips while rechecking an exclusion constraint after an ALTER TABLE\nrebuild:\n\n\tCREATE TABLE t (\n\t\tc\tint,\n\t\tEXCLUDE (c WIT...
[ { "msg_contents": "Hackers,\n\nOur next commitfest begins June 15. I will be CF manager for this one.\n\nCurrently we already have 40 patches in the queue.\n\nIf you already have code for a 9.2 feature, please get it in now. If\nyou submitted a patch for this CF, we'd really appreciate it if you\nwould volunt...
[ { "msg_contents": "\nOne of our PostgreSQL Experts Inc customers wanted a function to count \nall the occurrences of terms in a tsquery in a tsvector. This has been \nwritten as a loadable module function, and initial testing shows it is \nworking well. With the client's permission we are releasing the code - \...
[ { "msg_contents": "It appears from the buildfarm configure logs that member anchovy was\nupdated yesterday from perl 5.12.3 to 5.14.0. It doesn't like plperl.c\nanymore:\n\nccache cc -flto -march=amdfam10 -fstack-protector -O3 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wend...
[ { "msg_contents": "Simon Riggs wrote:\n \n> we should be considering this for inclusion in 9.1, not wait\n> another year.\n \n-1\n \nI'm really happy that we're addressing the problems with scaling to\na large number of cores, and this patch sounds great. Adding a new\nfeature at this point in the release cyc...
[ { "msg_contents": "Heikki Linnakangas wrote:\n> On 04.06.2011 19:19, Tom Lane wrote:\n>> Heikki Linnakangas writes:\n>>> On 03.06.2011 21:04, Kevin Grittner wrote:\n>>>> Also, if anyone has comments or hints about the placement of\n>>>> those calls, I'd be happy to receive them.\n>>\n>>> heap_drop_with_catalog...
[ { "msg_contents": "We've occasionally seen problems with VACUUM getting stuck for failure\nto acquire a cleanup lock due to, for example, a cursor holding a pin\non the buffer page. In the worst case, this can cause an undetected\ndeadlock, if the backend holding the buffer pin blocks trying to\nacquire a heav...
[ { "msg_contents": "This is my first patch, so I hope I've got the process right for submitting\npatches.\n\nI'm building a driver to talk version 3.0 of the protocol, and generally\nI've found the documentation to be excellent. One are I had trouble with\nwas responding to the AuthenticationMD5Password challen...
[ { "msg_contents": "> Heikki Linnakangas wrote:\n> On 03.06.2011 23:44, Kevin Grittner wrote:\n>> Heikki Linnakangas wrote:\n>>\n>>> I think you'll need to just memorize the lock deletion command in\n>>> a backend-local list, and perform the deletion in a post-commit\n>>> function.\n>>\n>> Hmm. As mentioned ear...
[ { "msg_contents": "Hello all\n\nI am working on new diagnostics fields in errors - CONSTRAINT_NAME,\nSCHEMA_NAME, TABLE_NAME and COLUMN_NAME.\n\nThese fields is shown when verbosity mode is active. Actually this\nworks for table constraints, not null constraint and for RI\nconstraints.\n\npostgres=# delete fro...
[ { "msg_contents": "I'd like to take another look at Range Types and whether part of it\nshould be an extension. Some of these issues relate to extensions in\ngeneral, not just range types.\n\nFirst of all, what are the advantages to being in core?\n\n1. ANYRANGE + CREATE TYPE ... AS RANGE\n---------------------...
[ { "msg_contents": "Hi,\n\nI've got idea to auto adjust send buffer size to size of TCP congention \nwindow. Will this increase performance and in which way. I suppose throughput \nmay be increased, but latency decreased. What do You think?\n\nRegards,\nRadek\n\n", "msg_date": "Sun, 5 Jun 2011 21:36:52 +0200...
[ { "msg_contents": "\"Kevin Grittner\" wrote:\n\n> Maybe I should submit a patch without added complexity of the\n> scheduled cleanup and we can discuss that as a separate patch?\n\nHere's a patch which adds the missing support for DDL. Cleanup of\npredicate locks at commit time for transactions which ran DROP T...
[ { "msg_contents": "Hi,\n I was using gdb to debug postgres. In order to debug the backend of\nrunning query, I start postgres first and use \"select * from\npg_backend_pid()\" to ask for backend pid. Then I start gdb in another bash\nwindow with \"gdb postgres\" and attach the pid obtained above and set the\n...
[ { "msg_contents": "Hi,\n\nI am using postgresql 8.4.6. I have made an index on my data-type that is\nworking fine. I mean output is coming properly.\n\nWhen i execute the query first time, query takes a quite longer time but\nsecond time execution of the same query takes very less time (despite\nexecution plan ...
[ { "msg_contents": "First off, this is posted to the wrong list -- this list is for\ndiscussion of development of the PostgreSQL product. There is a\nlist for performance questions where this belongs:\npgsql-performance@postgresql.org. I'm moving this to the\nperformance list with a blind copy to the -hackers ...
[ { "msg_contents": "In earlier discussions of how to improve WALInsertLock contention, it\nwas observed that we must zero each new page before we advance the WAL\ninsertion point.\nhttp://postgresql.1045698.n5.nabble.com/Reworking-WAL-locking-td1983647.html\n\nIMHO the page zeroing is completely unnecessary, and...
[ { "msg_contents": "I just started with some image as blob works. And I think topic of this will come back. As well many other problems will arise. Flattering tuple, etc.\r\rI will send scretches of streaming in this way, I hope, as I want go back to clusterization work.\r\rSorry, for top reply, windows phone 7...
[ { "msg_contents": "The attached patch refactors heap_hot_search_buffer() so that\nindex_getnext() can use it, and modifies index_getnext() to do so.\n\nThe idea is based on one of Heikki's index-only scan patches, from 2009:\n\nhttp://archives.postgresql.org/pgsql-hackers/2009-07/msg00676.php\n\nI believe, howe...
[ { "msg_contents": "I've been looking into bug #6053, in which Regina Obe complains that\nhash-based DISTINCT queries fail for type \"citext\". The cause is not\nfar to seek: the header comment for execGrouping.c states\n\n * Note: we currently assume that equality and hashing functions are not\n * collation-se...
[ { "msg_contents": "This is the second time I've had this happen in the last week or so. I have a 'regular' postgresql server running, and then test test setup (both llvm ang gcc). It's chewing up 1 core on my MBP, never completing.\n\n 502 229 1 0 0:00.50 ?? 0:00.60 /Library/PostgreSQL/8.3/...
[ { "msg_contents": "Hi Tom,\n\nIssue is on Windows:\n\nIf you see in attached failure.out file, (after running failure.sql) we are\ngetting \"ERROR: invalid\nbyte sequence for encoding \"UTF8\": 0xe59aff\" error. Please note that byte\nsequence we got from database is e5 9a ff, where as actual byte sequence for...
[ { "msg_contents": "Heikki Linnakangas wrote:\n \n> It makes me a bit uncomfortable to do catalog cache lookups while\n> holding all the lwlocks. We've also already removed the reserved\n> entry for scratch space while we do that - if a cache lookup errors\n> out, we'll leave behind quite a mess. I guess it sho...
[ { "msg_contents": "\"Kevin Grittner\" wrote:\n> Heikki Linnakangas wrote:\n> \n>> I think the logic is actually wrong at the moment: When you\n>> reindex a single index, DropAllPredicateLocksFromTableImpl() will\n>> transfer all locks belonging to any index on the same table, and\n>> any finer-granularity lock...
[ { "msg_contents": "We had a report of the subject message during testing a while back\nand attempted to address the issue. It can result in a LOG level\nmessage and the accumulation of files in the pg_serial SLRU\nsubdirectory. We haven't seen a recurrence, until I hit it during\ntesting of the just-posted pa...
[ { "msg_contents": "During testing of the SSI DDL changes I noticed that a REINDEX INDEX\ncreated a predicate lock on page 0 of the index. This is pretty\nharmless, but mildly annoying. There are a few other places where\nit would be good to suppress predicate locks; these are listed on\nthe R&D section of the...
[ { "msg_contents": "Dan Ports wrote:\n> On Tue, Jun 07, 2011 at 07:45:43PM -0500, Kevin Grittner wrote:\n \n>> During testing of the SSI DDL changes I noticed that a REINDEX\n>> INDEX created a predicate lock on page 0 of the index.\n> \n> Really? That surprises me, and I couldn't reproduce it just now.\n \nYou...
[ { "msg_contents": "heap_insert() calls CheckForSerializableConflictIn(), which checks if \nthere is a predicate lock on the whole relation, or on the page we're \ninserting to. It does not check for tuple-level locks, because there \ncan't be any locks on a tuple that didn't exist before.\n\nAFAICS, the check f...