threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nI took a stab at changing this up a little bit. I pushed the logic\nthat David introduced down into process_file(). In doing so I changed\nup the declaration of process_file() to accept an additional parameter\nspecifying how many files are being passed to the function. Doing it...
[ { "msg_contents": "The attached patch is a part of efforts to support security label\non database objects.\n\nIt adds a new system catalog named pg_seclabel, that has similar\nstructure with pg_description.\n\n #define SecLabelRelationId 3037\n\n CATALOG(pg_seclabel,3037) BKI_WITHOUT_OIDS\n {\n O...
[ { "msg_contents": "The attached patch is a part of efforts to support security label\non database objects.\n\nIt adds statement support to manage security label of relations.\nRight now, object labeling except for relations/columns are not\nsupported, because the DML permission hook is the only chance to\napply...
[ { "msg_contents": "Hello\n\nplease, can you refresh patch, please?\n\n[pavel@nemesis pgsql]$ patch -p1 < backend.patch\npatching file src/backend/access/common/reloptions.c\npatching file src/backend/catalog/Makefile\npatching file src/backend/catalog/aclchk.c\npatching file src/backend/catalog/dependency.c\npa...
[ { "msg_contents": "Hi,\n\nThe attached patch provides core of synchronous replication feature\nbased on streaming replication. I added this patch into CF 2010-07.\n\nThe code is also available in my git repository:\ngit://git.postgresql.org/git/users/fujii/postgres.git\nbranch: synchrep\n\nSynchronization level...
[ { "msg_contents": "hello everybody,\n\nwe are currently facing some serious issues with cross correlation issue.\nconsider: 10% of all people have breast cancer. we have 2 genders (50:50).\nif i select all the men with breast cancer, i will get basically nobody - the planner will overestimate the output.\nthis ...
[ { "msg_contents": "On Fri, Jan 29, 2010 at 10:02 PM, Josh Berkus <josh@agliodbs.com> wrote:\n>> An actual plan here might look like \"let's flip it before 9.1alpha1\n>> so we can get some alpha testing cycles on it\" ...\n>\n> \"Hey, let's flip it in 9.1 CF 1, so that we can have some alpha testing\n> cycles on...
[ { "msg_contents": "Following on the smashing success of PostgreSQL Conference East,\nPostgreSQL Conference West, The PostgreSQL Conference for Decision\nMakers, End Users and Developers, is being held at the St. Francis,\nWestin Hotel in San Francisco from November 2nd through 4th 2010. Please\njoin us in makin...
[ { "msg_contents": "Joshua Tolley <eggyknap@gmail.com> writes:\n>> >> \tALTER TABLE x SET CORRELATION STATISTICS FOR (x.id =3D y.id AND x.id=\n2 =3D y.id2)\n>> >=20\n>> it says X and Y ... the selectivity of joins are what i am most\n>> interested in. cross correlation of columns within the same table are\n>> j...
[ { "msg_contents": "Hello, \n\nI was trying to use GIN index, but the results seem be incorrect.\n\n\n1. QUERY WITHOUT INDEX\nselect count(*) from search_tab where \n(to_tsvector('german', keywords ) @@ to_tsquery('german', 'ee:*')) and \n(to_tsvector('german', keywords ) @@ to_tsquery('german', 'dd:*'));\n\n co...
[ { "msg_contents": "/me bangs gavel\n \nI hereby declare the 2010-07 CommitFest closed to further patch\nsubmissions, as it is now officially \"In Progress\". We have one\nmonth to provide initial review of the patches which have\naccumulated since the start of the last CommitFest, six months ago,\nand hopefull...
[ { "msg_contents": "\nThe biggest turn off that most people experience when using PostgreSQL\nis that psql does not support memorable commands.\n\nI would like to implement the following commands as SQL, allowing them\nto be used from any interface.\n\nSHOW TABLES\nSHOW COLUMNS\nSHOW DATABASES\n...\nSHOW [FULL] ...
[ { "msg_contents": "\nBuildfarm owners:\n\nIn case you have missed it, the source code tree has been branched \nsomewhat earlier than has happened in previous release cycles, where the \nbranch has occurred any time from just before release to several weeks \nafter. That means that buildfarm owners need to add t...
[ { "msg_contents": "\nThe buildfarm is now going on six years old (time flies when you're \nhaving fun!) and the database is now rather large - around 76Gb on disk. \nWe'd like to reduce that quite a lot, especially by purging out the logs \nof old builds. And while the old data isn't publicly accessible, it has...
[ { "msg_contents": "Hi all,\n\nI was reading a post from Sushant Sinha about english parser wich do not\nconsider dot as a word delimiter. In a following mail it has been proposed\nto add a patch.\nIs there any news about that ?\n\nI would enjoy this patch, too ;)\n\nThank's\n\n-- \nPaul Fariello\n\nÉtudiant ing...
[ { "msg_contents": "Hi\n\nShould we put some externally managed languages , like pl/proxy also in\npgtemplate, so that CREATE LANGUAGE would work on them ?\n\n\n-- \nHannu Krosing http://www.2ndQuadrant.com\nPostgreSQL Scalability and Availability \n Services, Consulting and Training\n\n\n", "msg_date": ...
[ { "msg_contents": "Hi,\n\nhere's a review of the \\sf and \\ef [num] patch from\nhttp://archives.postgresql.org/message-id/162867791003290927y3ca44051p80e697bc6b19de29@mail.gmail.com\n\n== Formatting ==\n\nThe patch has some small tabs/spaces and whitespace issues and it \napplies with some offsets, I ran pgin...
[ { "msg_contents": "Someone highlighed on IRC that after the first WHERE clause,\nautocomplete no longer works.\n\nAn example:\n\nCREATE TABLE tab_completion (\nid serial,\nstuff text,\nmeow boolean\n);\n\nSELECT * FROM tab_completion WHERE id = 2 AND s<tab><tab>\n\nThis would output a blank line.\n\nIs there an...
[ { "msg_contents": "\nI'm having some trouble with a COPY IN BINARY statement. I have the \nfollowing stack trace:\n\nCaused by: java.sql.SQLException: Error writing to database, running \nstatement COPY InterMineObject (OBJECT, class, tableclass, longObjType, \nfullTime, dateObjType, floatType, longType, boolea...
[ { "msg_contents": "This is a review of the phypot - Pygmy Hippotause patch:\nhttp://archives.postgresql.org/message-id/4A9897E1.8090703@netspace.net.au\nsubmitted by Paul Matthews.\n\nContents & Purpose\n==================\nThe purpose of the patch is to compute a hypotenuse with higher\nprecision than the curr...
[ { "msg_contents": "Hi!\n\nI pulled the latest from the git repo, I got this error on initdb:\n\ncreating template1 database in testdb/base/1 ... initdb: input file\n\"/usr/local/pg90/share/postgresql/postgres.bki\" does not belong to\nPostgreSQL 9.0devel\n\nThe problem was having '9.1' instead of '9.0' in the f...
[ { "msg_contents": "Joe Conway wrote:\n \n> Should I be installing Florian's patch in addition to yours when I\n> start testing?\n \nThere's some manual fix-up needed, primarily because we need to\ndifferentiate between SERIALIZABLE and REPEATABLE READ isolation\nlevels, and therefore replaced the IsXactIsoLeve...
[ { "msg_contents": "Since we branched 9.1 before we released Postgres 9.0, I had to remove\nthe 9.0 TODO items before 9.0 was released, or people might have marked\nitems as \"done\" when they were done only in 9.1.\n\nI also updated the TODO legend at the top to mention 9.1:\n\n\t[D] Completed item - marks chan...
[ { "msg_contents": "I looked into the problem reported here:\nhttp://archives.postgresql.org/pgsql-bugs/2010-07/msg00119.php\n\nThe reason it's failing is that when parse_agg.c calls\ntransformSortClause() to process the ORDER BY, the latter function\nfails to match the \"t\" in ORDER BY to the one in the functi...
[ { "msg_contents": "This commit caused my compile to fail on CVS HEAD:\n\n\trevision 1.399\n\tdate: 2010/07/18 11:37:26; author: petere; state: Exp; lines: +88 -1\n\tAdd server authentication over Unix-domain sockets\n\t\n\tThis adds a libpq connection parameter requirepeer that specifies the user\n\tname tha...
[ { "msg_contents": "Joe Conway wrote:\n \n> \"make dcheck\" is running now (although seems rather slow).\n \nYeah, most of those tests completely reset the environment for each\npermutation. I thought about changing it to update back to the same\n\"visible\" initial state each time, but it struck me that since...
[ { "msg_contents": "I'd like to mark this as Ready for Committer :)\n\nReview below.\n\nCheers,\nDavid.\n\n== Submission review ==\n\n* Is the patch in context diff format?\n\n Yes.\n\n* Does it apply cleanly to the current CVS HEAD?\n\n Yes, with a few offsets.\n\n patch -p0 < ../reraise_issue_PG_v1.pa...
[ { "msg_contents": "Log Message:\n-----------\nAdd restart_after_crash GUC.\n\nNormally, we automatically restart after a backend crash, but in some\ncases when PostgreSQL is invoked by clusterware it may be desirable to\nsuppress this behavior, so we provide an option which does this.\nSince no existing GUC gro...
[ { "msg_contents": "Log Message:\n-----------\nAdd \\conninfo command to psql, to show current connection info.\n\nDavid Christensen. Reviewed by Steve Singer. Some further changes by me.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml/ref:\n psql-ref.sgml (r1.245 -> r1.246)\n (http://a...
[ { "msg_contents": "*i wrote to\n pgsql-bugs@postgresql.org\nthey tell me write to\n pgsql-performance@postgresql.org\nthey tell me write here*\n\n*I don`t whant know how optimize query myself (i know it), and i think \nit must do planner.*\n\nI have a query:\n\n SELECT d1.ID, d2.ID\n FROM DocPrimary d1\n ...
[ { "msg_contents": "Hello\n\nI am working on to_array, to_string functions and I am looking on\nstring_to_array function. I am surprised so this function is marked as\nimmutable\n\npostgres=# select array_to_string(array[current_date],',');\n array_to_string\n-----------------\n 2010-07-20\n(1 row)\n\npostgres=#...
[ { "msg_contents": "\nHello,\n\nI have been redirected here from pg-general.\n\nI tested full text search using GIN index and it turned out that the results\ndepend on operating system. Not all the rows are found when executing some\nof queries on pg server installed on Win XP SP3 and CentOS 5.4, while\neverythi...
[ { "msg_contents": "Hi, I've been reviewing this patch for the last few days. Here it is :\n\n* Submission review\n * Is the patch in context diff format?\nYes\n\n * Does it apply cleanly to the current CVS HEAD?\nYes\n\n * Does it include reasonable tests, necessary doc patches, etc?\nDoc patches are there.\...
[ { "msg_contents": "Working on the git conversion with keywords, and I've noticed a couple of\nstrange things that don't come up the same way in git. All of these are in\nnon-code files, but they do defeat the \"identical tarball\" mode.\n\nFor example, a number of files have commits showing up in cvs with nothi...
[ { "msg_contents": "Continuing my fun setting up some new Solaris buildfarm critters, I'm\nseeing this failure in the dblink test, on 9.0 and 9.1:\n\ngmake[1]: Leaving directory `/export/home/dpage/postgresql/contrib/cube'\ngmake[1]: Entering directory `/export/home/dpage/postgresql/contrib/dblink'\ngmake -C ../...
[ { "msg_contents": "Tom and, I believe, also Andrew have expressed some concerns about the\nspace that will be taken up by having multiple copies of the git\nrepository on their systems. While most users can probably get by\nwith a single repository, committers will likely need one for each\nback-branch that th...
[ { "msg_contents": "\nAs part of a performance investigation for a customer I've noticed an\nO(N^2) performance issue on COMMITs of transactions that contain many\nSAVEPOINTs. I've consistently measured COMMIT times of around 9 seconds,\nwith 49% CPU, mostly in LockReassignCurrentOwner().\n\nBEGIN;\nINSERT...\nS...
[ { "msg_contents": "I have some concerns related to the upcoming conversion to git and how\nwe're going to avoid having things get messy as people start using the\nnew repository. git has a lot more flexibility and power than CVS,\nand I'm worried that it would be easy, even accidentally, to screw up\nour histo...
[ { "msg_contents": "Someone at OSCON just asked if there is a way to find the _time_ delay\nbetween received and applied WAL. Right now\npg_last_xlog_replay_location() only reports the information in WAL\nscale. It would be nice to report that in time, e.g. milliseconds.\n\nBecause an idle master will not gene...
[ { "msg_contents": "Hi,\n I am trying to build RPostgreSQL on Solaris 10u7 X64, but have problems\nwith pg_config, the configure script of RPostgreSQL checks for pg_config and\ngot “checking for pg_config... /usr/bin/pg_config”. In Solaris 10u7 X64,\nthree versions of PostgreSQL are installed, there are in\n/usr...
[ { "msg_contents": "Hello Zolt�n, Fujii and list,\n\nKevin asked me to do a preliminary review on both synchronous \nreplication patches. Relevant posts on -hackers are:\n\n(A) http://archives.postgresql.org/pgsql-hackers/2010-04/msg01516.php\n(B) \nhttp://archives.postgresql.org/message-id/AANLkTilgyL3Y1jkDVH...
[ { "msg_contents": "Hi to all.\n\nI am trying to see how PostgreSQL performance changes on the basis of \nwork_mem. So, I am going to execute the 22 queries of TPCH \n(http://www.tpc.org/tpch/) again and again, each time for a different \nvalue of work_mem.\nSince I am interested just in work_mem variations, I s...
[ { "msg_contents": "At the developer meeting, I promised to do the work of documenting how\ncommitters should use git. So here's a first version.\n\nhttp://wiki.postgresql.org/wiki/Committing_with_Git\n\nNote that while anyone is welcome to comment, I mostly care about\nwhether the document is adequate for our ...
[ { "msg_contents": "We need to decide what email addresses committers will use on the new\ngit repository when they commit. Although I think we have more votes\n(at least from committers) for always having author == committer,\nrather than possibly setting the author tag to some other value, the\nissue exists i...
[ { "msg_contents": "After some investigation I figured that I need to add two more checks\ninto the ALTER TABLE code to prevent certain types of direct changes to\ntyped tables (see attached patch).\n\nBut it's not clear to me whether such checks should go into the \"Prep\"\nor the \"Exec\" phases. Prep seems m...
[ { "msg_contents": "Here's a status update on the git conversion, as well as a call for some help\nmainly in testing.\n\nAfter testing a bunch of tools, I've found that using cvs2git is by far the\nbest option when keeping keywords. It's the one that gives only the issues\nthat I posted about a couple of days ag...
[ { "msg_contents": "Hi.\n\nI was googling for how to create a text-seach-config with the following \nproperties:\n- Map unicode accentuated letters to an un-accentuated equivalent\n- No stop-words\n- Lowercase all words\n\nAnd came over this from -general:\nhttp://www.techienuggets.com/Comments?tx=106813\n\nThen...
[ { "msg_contents": "Hi,\n\nI found some little mistakes in HS/SR code and document.\n\ndiff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml\nindex 9ae022a..db78b2b 100644\n--- a/doc/src/sgml/config.sgml\n+++ b/doc/src/sgml/config.sgml\n@@ -2000,7 +2000,7 @@ SET ENABLE_SEQSCAN TO OFF;\n <varna...
[ { "msg_contents": "20.07.2010 18:31, Robert Haas:\n> According to the EXPLAIN ANALYZE output, your \"slow\" query is\n> executing in 0.007 ms, and your \"fast\" query is executing in 0.026 ms\n> (i.e. not as quickly as the slow query). Since you mention that it\n> takes 7 s further down, I suspect this is not ...
[ { "msg_contents": "Hello\n\nI see a SQL/MED security very unclean - it have to be very vell documented :(\n\nI have a database on port 5401. With user Tom - it require a password\n\n[pavel@nemesis pgsql]$ psql-dev1 postgres -U tom\nPassword for user tom:\nTiming is on.\npsql-dev1 (9.0devel)\nType \"help\" for h...
[ { "msg_contents": "http://www.sigaev.ru/misc/builtin_knngist_core-0.8.gz\nhttp://www.sigaev.ru/misc/builtin_knngist_itself-0.8.gz\nhttp://www.sigaev.ru/misc/builtin_knngist_proc-0.8.gz\nhttp://www.sigaev.ru/misc/builtin_knngist_contrib_pg_trgm-0.8.gz\nhttp://www.sigaev.ru/misc/builtin_knngist_contrib_btree_gist...
[ { "msg_contents": "Hi everybody\n\nI am doing a modification to Dynamic programming algorithm in postgreSQL. I\nwant to re-use a plan of one \" joinrels\" for another of the same level.\nFor example,\n\nif lev=5 , and let's say there are two combinations setA = {1,2,3,4,5} and\nset B={6,7,8,9,10}.\n\nI want to ...
[ { "msg_contents": "Hi,\n\n From the code I understood that when executing a query \"normally\", in \nREAD COMMITTED mode, we take a new snapshot for every query that comes \nout of rewrite. But in an EXPLAIN ANALYZE, we only update the CID of \nthe snapshot taken when the EXPLAIN started.\n\nDid I misunderstan...
[ { "msg_contents": "This is a work-in-progress patch of my GSoC project: Add JSON datatype\nto PostgreSQL. It provides the following:\n\n * JSON datatype: A TEXT-like datatype for holding JSON-formatted\ntext. Although the JSON RFC decrees that a JSON text be an \"object or\narray\" (meaning '\"hello\"' is con...
[ { "msg_contents": "\n\n--On 21. Juli 2010 17:16:13 -0400 Robert Haas <robertmhaas@gmail.com> wrote:\n\n> I get the same error message from concurrent CREATE TABLE commands\n> even without CINE...\n>\n> S1:\n> rhaas=# begin;\n> BEGIN\n> rhaas=# create table foo (id int);\n> CREATE TABLE\n>\n> S2:\n> rhaas=# begi...
[ { "msg_contents": "On Fri, Jul 23, 2010 at 2:46 AM, Bernd Helmle <mailings@oopsware.de> wrote:\n>\n>\n> --On 21. Juli 2010 17:16:13 -0400 Robert Haas <robertmhaas@gmail.com> wrote:\n>\n>> I get the same error message from concurrent CREATE TABLE commands\n>> even without CINE...\n>>\n>> S1:\n>> rhaas=# begin;\n...
[ { "msg_contents": "Hello,\n\nI am writing a blog on backups with postgresql, which I plan at some\npoint (if someone doesn't beat me to it) on turning into a patch for the\ndocs but I found this inconsistency:\n\nThe docs state that:\n\n\"In particular, it must have read access to all tables that you want to\nb...
[ { "msg_contents": "I've just added a couple of recently-reported bugs here:\n\nhttp://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items\n\nThese aren't all 9.0-specific, but we still need to fix them.\n\nAlso, the steady trickle of 9.0 bug reports that we were getting\nbefore seems to have dried up. Does that...
[ { "msg_contents": "hello everybody,\n\ni have just come across some issue which has been bugging me for a while.\nconsider:\n\n\tSELECT * FROM foo ORDER BY bar;\n\nif we have an index on bar, we can nicely optimize away the sort step by consulting the index - a btree will return sorted output.\nunder normal cir...
[ { "msg_contents": "Hello list,\n\nMy apologies if this email arrives more than once, I've been \nexperiencing troubles posting to the -hackers list and am resending this \nreview as new thread instead of a reply to an existing thread of \nhttp://archives.postgresql.org/pgsql-hackers/2010-07/msg01072.php which ...
[ { "msg_contents": "Hi,\n\nI'd like to release the last version of my experimental join order\nalgorithm (TwoPO - Two Phase Optimization [1]):\n\nhttp://git.c3sl.ufpr.br/gitweb?p=lbd/ljqo.git;a=summary\n\nThis algorithm is not production-ready, but an experimental set of\nideas, which need to be refined and eval...
[ { "msg_contents": "In src/include/mb/pg_wchar.h , there is a function unicode_to_utf8 ,\nbut no corresponding utf8_to_unicode . However, there is a static\nfunction called utf2ucs that does what utf8_to_unicode would do.\n\nI'd like this function to be available because the JSON code needs to\nconvert UTF-8 to...
[ { "msg_contents": "In psql's quiet mode, the output of the \\timing option is suppressed,\nexcept in the \\copy command. That inconsistency should be fixed in any\ncase. It seems to me that if I explicitly turn on timing, then that\nshould be unaffected by the quiet mode. Comments?\n\n\n", "msg_date": "S...
[ { "msg_contents": "On Thu, Jul 22, 2010 at 5:37 PM, Yeb Havinga <yebhavinga@gmail.com> wrote:\n> Fujii Masao wrote:\n>>\n>> How should the synchronous replication behave when the number of connected\n>> standby servers is less than quorum?\n>>\n>> 1. Ignore quorum. The current patch adopts this. If the ACKs fro...
[ { "msg_contents": "\nHi all,\n\nThis is a potential memory error in nodeSubplan.c or execGrouping.c\nUsing select '1'::TEXT IN ((SELECT '1'::NAME) UNION ALL SELECT '1'::NAME);\nto reproduce this bug.\n\nYou may see the memory content that slot1's tts_values[0] point to before \nand after the statement : MemoryC...
[ { "msg_contents": "Last week, I ran across a situation where I needed to know the SSL\nversion and cipher in use for a particular database connection.\nMagnus pointed me to contrib/sslinfo, but that didn't have quite what\nI needed. The attached patch adds two additional functions to\ncontrib/sslinfo to report...
[ { "msg_contents": "---------- Forwarded message ----------\nFrom: Boxuan Zhai <bxzhai2010@gmail.com>\nDate: 2010/7/26\nSubject: Re: GSoC progress\nTo: Robert Haas <robertmhaas@gmail.com>\nCc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>\n\n\nHi,\n\nI have get a edition that the merge command can run...
[ { "msg_contents": "Hackers,\n\nA 9.0b3 tester reported this issue with our single most popular \nPostgreSQL extension, PostGIS:\n\n==================\nPostgis makes use of 'PGXS' in postgresql > 8.2. Within postgresql-9, \ndatadir and many other variables are defined as multiple values with an \nappend operator...
[ { "msg_contents": "I think we should consider postponing beta4. I count eleven\nnon-documentation, 9.0-specific bug fix on REL9_0_STABLE, but there\nare currently five items on the open 9.0 issues list, at least one of\nwhich appears to be a new bug in 9.0, and we just got a bug report on\npgsql-bugs from Vale...
[ { "msg_contents": "I reported a problem here:\n\nhttp://archives.postgresql.org/pgsql-bugs/2010-07/msg00173.php\n\nPerhaps I used a poor subject line, but I believe it's a serious issue.\nThat reproducible sequence seems like an obvious bug to me on 8.3+, and\nwhat's worse, the corruption propagates to the stan...
[ { "msg_contents": "Hackers,\n\nExperience and a read through backend/commands/tablecmds.c's \nAlterTable() indicate that ALTER TABLE ... DISABLE TRIGGER obtains an \nexclusive lock on the table (as does any ALTER TABLE).\n\nBlocking other readers from a table when we've, within the body of a \ntransaction pe...
[ { "msg_contents": "Quoting \"wiki.postgresql.org/wiki/Alter_column_position<http://wiki.postgresql.org/wiki/Alter_column_position>\"\n:\n\n\"The idea of allowing re-ordering of column position is not one the\npostgresql developers are against, it is more a case where no one has\nstepped forward to do the work....
[ { "msg_contents": "Hello,\n\ncan you send a current version, please. I looked to git repository,\nbut you did more changes.\n\nThank you\n\nPavel Stehule\n", "msg_date": "Wed, 28 Jul 2010 13:43:14 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": ...
[ { "msg_contents": "Hi,\n\nWe ran into a problem on 9.0beta3 with check constraints using table\ninheritance in a multi-level hierarchy with multiple inheritance.\n\nA test script is provided below and a proposed patch is attached to this\nemail.\n\nRegards,\n\nHenk Enting, Yeb Havinga\nMGRID B.V.\nhttp://www.mg...
[ { "msg_contents": "Hello\n\nI looked on patch\nhttps://commitfest.postgresql.org/action/patch_view?id=334 .This patch\nmoves function xml_is_well_formed from contrib xm2 to core.\n\n* Is the patch in context diff format?\nyes\n\n* Does it apply cleanly to the current CVS HEAD?\nyes\n\n* Does it include reasona...
[ { "msg_contents": "Hi all.\nI'm wondering about PGSQL scalability.\nIn particular I have two main topics in my mind:\n\n1. What'd be the behavior of the query planner in the case I have\na single huge table with hundreds or thousands of partial indexes\n(just differing by the WHERE clause).\nThis is an idea of ...
[ { "msg_contents": "I think that queries like this:\nselect * from test where val <-> 500 < 1 order by val <-> 500;\ncan also be optimized using knngist. In case of btree_gist this query can be\neasily rewritten:\nselect * from test where val > 499 and val < 501 order by val <-> 500;\nBut, in pg_trgm it makes it...
[ { "msg_contents": "The patch is in context diff format and applies cleanly. No doc\nchanges were included. Arguably there should be a mention in the\ndocumentation for psql's \\d+ commend, but since the number of child\ntables and the display of reloptions aren't mentioned, perhaps we're\nnot trying to list *...
[ { "msg_contents": "Here's a second version of the main patch, in which I have attempted\nto respond to Tom's concerns/suggestions.\n\n(There is still a small, side issue with numeric_maximum_size() which\nI plan to fix, but this patch is the good stuff.)\n\n-- \nRobert Haas\nEnterpriseDB: http://www.enterprised...
[ { "msg_contents": "I've been poking at the FTS problem example recently submitted by\nArtur Dabrowski. It contains an index declared like so:\n\nCREATE INDEX idx_keywords_ger ON search_tab\n\tUSING gin (to_tsvector('german'::regconfig, keywords));\n\nwhich can be queried like so\n\nselect * from search_tab whe...
[ { "msg_contents": "Another misbehavior that I noted while playing with Artur's example is\nthat, while GIN index build seems to adhere pretty well to whatever\nmaintenance_work_mem limit you give it in 8.4, it blows right by that\nlimit in 9.0 and HEAD --- I observed it happily eating something north\nof 128MB ...
[ { "msg_contents": "I fixed the problem I was on about earlier with ginget.c doing the wrong\nthing for keystreams like this:\n\n\t...\t\t...\n\t42/6\t\t42/65535\n\t42/7\t\t...\n\t...\n\n(To recap, after reporting the potential lossy match for 42/6, the\nprevious code would advance both keystreams and thus fail ...
[ { "msg_contents": "Robert Haas 07/31/10 12:33 PM >>>\n> Tom Lane wrote:\n>> Robert Haas writes:\n>>> I think this whole discussion is starting with the wrong premise.\n>>> This is not a bug fix; therefore, it's 9.1 material.\n>>\n>> Failing to store stats isn't a bug?\n> \n> Well, it kind of sounds more like...
[ { "msg_contents": "Robert Haas wrote:\n \n> I have committed this patch with a few changes.\n \nThanks.\n \n> First, I felt that there was little point in showing this detail\n> only in verbose mode; indeed, it seems like that could be confusing\n> in some circumstances. (I thought I checked this was an index...
[ { "msg_contents": "Tom Lane wrote:\nRobert Haas writes:\n \n>> I guess I'd appreciate it if someone could explain in more detail\n>> in what cases we fail to collect stats.\n \n> [detailed description]\n \n> I don't think this can be claimed to be a corner case. If you set\n> up an FTS index according to the ...
[ { "msg_contents": "Currently the english parser in text search does not support multiple\nwords in the same position. Consider a word \"wikipedia.org\". The text\nsearch would return a single token \"wikipedia.org\". However if someone\nsearches for \"wikipedia org\" then there will not be a match. There are\nt...
[ { "msg_contents": "Hi Pavel,\n\nCurrently your patch isn't applying to head, from the looks of things a \nfunction signature has changed. Can you update your patch please?\n\nAlso, having had a read through the patch itself I note that there are \nno tests and no changes to documentation. Shouldn't the document...
[ { "msg_contents": "I tried $subject recently, and noticed some minor issues:\n\n(1) Two warnings that suggest bugs; in src/backend/utils/adt,\n\ndatetime.c:3101:27: warning: use of logical || with constant operand;\nswitch to bitwise | or remove constant\n\nAnd similarly for src/interfaces/ecpg/pgtypeslib/inter...
[ { "msg_contents": "We are using postgres as RDBMS for our product. There is a requirement\ncoming for a feature which will require me to store data about various data\npoints (mainly numbers) on a time scale. Data measurement is being taken\nevery few secs/mins based and it is needed to be stored for statistica...
[ { "msg_contents": "I haven't seen any posts or CF activity from Itagaki in over a week,\nso I'm wondering how to handle some patches in the CF. Does anyone\nknow whether he's on vacation? Expected return?\n \n-Kevin\n", "msg_date": "Mon, 02 Aug 2010 17:08:53 -0500", "msg_from": "\"Kevin Grittner\" <Ke...
[ { "msg_contents": "In case anyone's interested, I've taken the CTE-based grouping sets patch from\n[1] and made it apply to 9.1, attached. I haven't yet done things like checked\nit for whitespace consistency, style conformity, or anything else, but (tuits\npermitting) hope to figure out how it works and get it...
[ { "msg_contents": "Hello!\n\nWe are 2 Students from the Technical University of Vienna. At our internship\nwe would like to develop the item of the TODO list: \"Allow SET CONSTRAINTS\nto be qualified by schema/table name\".\nIs anyone working on it?\n\nOur research at the SET CONTRAINTS function showed the foll...
[ { "msg_contents": "1.To add live HA to PG, I transfer WAL of a database instance(Primary node) to another database instance (standby node) at real time, and keep startup alive in standby node to recovery WAL online,so that standby node can be a hot standby.But I got some trouble. When standby node switch to pr...
[ { "msg_contents": "1.To add live HA to PG, I transfer WAL of a database instance(Primary node) to another database instance (standby node) at real time, and keep startup alive in standby node to recovery WAL online,so that standby node can be a hot standby.\nBut I got some trouble. When standby node switch to ...
[ { "msg_contents": "Hi,\n\nattached is a patch that adds the missing feature to use\n\"WHERE CURRENT OF :curname\" in UPDATE and\nDELETE statements via ECPG. I used the current CVS MAIN\nbut also applies almost cleanly to 9.0beta4. I certainly feel that\nthis should be applied to 9.0 as a bugfix.\n\nThe execute....
[ { "msg_contents": "Hi,\n\nAfter setting up a real SR cluster based on V9 beta3 and Fuji's SR patch\nsynch_rep_0722.patch \nand doing some simple update_and_check tests, it seems that active and\nstandby are not in sync.\nCan this be a problem of the SR or the HSB feature ?\nOr is \"fsync\" still not supported ...
[ { "msg_contents": "On Tue, Aug 3, 2010 at 3:05 PM, Yeb Havinga <yebhavinga@gmail.com> wrote:\n> Yeb Havinga wrote:\n>> The underlying cause is the failure of the code to recognize that if\n>> relation C inherits from both A and B, where A and B both have column x,\n>> that A.x 'is the same as' B.x, where the 'i...
[ { "msg_contents": "I'd like to report a potential bug (or just my misunderstanding), but\nI couldn't find any mention in the TODO or on the mailing list.\n\nI'm using PostgreSQL 9.0 beta 3 on Gentoo x64 (sorry, I don't have\nbeta 4 yet). I attempted to use string_agg to get values into a\ncomma-separated list ...
[ { "msg_contents": "I've been thinking about the idea of allowing triggers on views as a\nway of implementing updateable views. This would not be a replacement\nfor rules in all situations, but rather a complementary feature.\nIt would also complement the SQL standard feature allowing updates to\nsimple views, w...
[ { "msg_contents": "hi all,\n\ncurrently i am working on a big project for a german bookseller and\npublisher. one of the requirements was correct hyphenation of ISBN-13\nfor about 14.400.000 books in postgresql database. so added support\nfor hyphenating isbn with the new 979-prefix and additionally added all\n...