threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI found a small typo in nbtree.h, introduced by commit efada2b. Patch\nis attached.\nRegards,\n-- \nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg...
[ { "msg_contents": "Attached is a small patch to fix various typos.\n\nRegards\n\nThom\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "Mon, 17 Mar 2014 10:52:07 +0000", "...
[ { "msg_contents": "Hi,\n\nat work at my company I inherited responsibility for a large PG 8.1 DB,\nwith a an extreme number of tables (~300000). Surprisingly this is\nworking quite well, except for maintenance and backup. I am tasked with\nfinding a way to do dump & restore to 9.3 with as little downtime as\npo...
[ { "msg_contents": "I am implementing Planner hints in Postgresql to force the optimizer to\nselect a particular plan for a query on request from sql input. I am having\ntrouble in modifying the planner code. I want to create a path node of hint\nplan and make it the plan to be used by executor. How do I enforce...
[ { "msg_contents": "I noticed (by running \"cd src/include ; make check\" with the attached\npatch applied) that since commit b89e151054 (\"Introduce logical\ndecoding.\") tqual.h now emits this warning when compiled standalone:\n\n/pgsql/source/HEAD/src/include/utils/tqual.h:101:13: warning: ‘struct HTAB’ decla...
[ { "msg_contents": "All,\n\nhttps://wiki.postgresql.org/wiki/20140320UpdateIssues\n\nI'm sure my explanation of the data corruption issue is not correct, so\nplease fix it. Thanks!\n\n-- \nJosh Berkus\nPostgreSQL Experts Inc.\nhttp://pgexperts.com\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@pos...
[ { "msg_contents": "I have closed the current commit fest.\n\nThis doesn't have to mean much yet, except that it's probably time to\nstop reviewing and discussing, and instead focus on committing and\npolishing what is already committed.\n\nIn this commit fest, we have committed 53 out of 112 patches, so that\nw...
[ { "msg_contents": "Hi, PostgreSQL community!\n\nMy name is Artur Gadelshin, I'm from Saint-Petersburg, Russia. I'm 4th year\nstudent in Computer Scince.\n\nI haven't enough experience in C/C++, but I really in love with PostgreSQL\n(but, yes, haven't experience to develop this). My dream is to be computer\nscie...
[ { "msg_contents": "When inserting into a B-tree index, all the pages are read-locked when \ndescending the tree. When we reach the leaf page, the read-lock is \nexchanged for a write-lock.\n\nThere's nothing wrong with that, but why don't we just directly grab a \nwrite-lock on the leaf page? When descending, w...
[ { "msg_contents": "Make it easy to detach completely from shared memory.\n\nThe new function dsm_detach_all() can be used either by postmaster\nchildren that don't wish to take any risk of accidentally corrupting\nshared memory; or by forked children of regular backends with\nthe same need. This patch also upd...
[ { "msg_contents": "Hello!\nHere is the text of my proposal which I've applied to GSoC.\n(and link\nhttp://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/lubennikovaav/5629499534213120)\nAny suggestions and comments are welcome.\n\n*Project name*\n\nSupport for index-only scans for GIST index\n\n\n\...
[ { "msg_contents": "Hi,\n\nIs there the explicit reason why --slot option that pg_receivexlog\nalready has has not been added into pg_basebackup? If not,\nI'd like to support that option to eliminate the need to increase\nwal_keep_segments for pg_basebackup. Thought?\n\nRegards,\n\n-- \nFujii Masao\n\n\n-- \nSen...
[ { "msg_contents": "Fwiw I'm finding myself repeatedly caught up by the operator\nprecedence rules when experimenting with jsonb:\n\nstark=***# select segment->'id' as id from flight_segments where\nsegment->>'marketing_airline_code' <>\nsegment->>'operating_airline_code' ;\nERROR: 42883: operator does not exi...
[ { "msg_contents": "It seems two exactly same sql sessions are repeated in\nlogicaldecoding.sgml. Is this intended?\n\npostgres=# -- You can also peek ahead in the change stream without consuming changes\npostgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL);\n location | xid | ...
[ { "msg_contents": "Hi all,\n\nSome of you may remember me from last year: I had applied to implement the\nk-medoids clustering method in MADlib, a Postgres and GreenPlum library.\nAs this project could not be selected last year, I'm trying again now!\n\nYou can find my application at this address:\nhttps://gith...
[ { "msg_contents": "Hello!\nHere is the text of my proposal which I've applied to GSoC.\n(and link \nhttps://docs.google.com/document/d/1s-Q4rzEysPxo-dINsk_eKFJOBoVjNYDrQ-Oh75gtYEM/edit?usp=sharing)\nAny suggestions and comments are welcome.\n*\n\nPostgreSQL GSoC 2014 proposal\n\n\n\nProject name\n\nRewrite (add...
[ { "msg_contents": "Hello\n\nThis patch introduce a possibility to implement some new checks without\nimpact to current code.\n\n1. there is a common agreement about this functionality, syntax, naming\n\n2. patching is clean, compilation is without error and warning\n\n3. all regress tests passed\n\n4. feature i...
[ { "msg_contents": "Hello\n\nI wrote a few patches, that we use in our production. These patches are\nsmall, but I hope, so its can be interesting for upstream:\n\n1. cancel time - we log a execution time cancelled statements\n\n2. fatal verbose - this patch ensure a verbose log for fatal errors. It\nsimplify a ...
[ { "msg_contents": "In 9.4dev, if the server is started with effective_cache_size = -1, then it\ncannot be changed away from that without a restart. If you change the\nconfig file and do a reload or pg_reload_conf(), it ignores the change\nwithout comment in the logs.\n\nIf you start the server with a value oth...
[ { "msg_contents": "Please find attached the patch to send transaction commit/rollback stats to\nstats collector unconditionally.\n\nWithout this patch, the transactions that do not read from/write to a\ndatabase table do not get reported to the stats collector until the client\ndisconnects. Hence the transactio...
[ { "msg_contents": "Hello!\nHere is the text of my proposal which I've applied to GSoC.\n(and link \nhttps://docs.google.com/document/d/1vBjQzhFT_fgoIkoEP5TVeyFA6ggsYlLq76tghGVUD6A/edit?usp=sharing)\nAny suggestions and comments are welcome.\nBecause I don't know the code of PostgreSQL well I decide not to \npar...
[ { "msg_contents": "While debugging any function in PostgreSQL, whenever I use the command\n'bt', it doesn't give the entire list of functions used. Which command\nshould be used instead?\n\nWhile debugging any function in PostgreSQL, whenever I use the command 'bt', it doesn't give the entire list of functions ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA512\n\n\nHi guys,\n\nI realized that the output of the CREATE RULE has not a detailed\noutput for the \"events\" parameter.\n\nBut the question here is that I'm not sure which format follow:\n\n- --\n{ INSERT | UPDATE | DELETE | SELECT}\n\nor\n\n ...
[ { "msg_contents": "I've endeavored to enable the return of arrays of composite types from code\nwritten in PL/Python. It seems that this can be accomplished though a very\nminor change to the code:\n\n \n\nOn line 401 in the file src/pl/plpython/plpy_typeio.c, remove the error\nreport \"PL/Python functions can...
[ { "msg_contents": "We added these ConstrCheck fields for 9.2, but equalTupleDescs() did not get\nthe memo. I looked for resulting behavior problems, and I found one in\nRelationClearRelation() only. Test case:\n\nset constraint_exclusion = on;\ndrop table if exists ccvalid_test;\ncreate table ccvalid_test (c ...
[ { "msg_contents": "What can be done to get rid of the 'optimized out' tags while debugging?\n\nWhat can be done to get rid of the 'optimized out' tags while debugging?", "msg_date": "Fri, 21 Mar 2014 09:49:51 +0530", "msg_from": "Rajashree Mandaogane <rajashree.28m@gmail.com>", "msg_from_op": true, ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 9652\nLogged by: Daniel O&#39;Connor\nEmail address: darius@dons.net.au\nPostgreSQL version: 9.2.7\nOperating system: OSX Mavericks\nDescription: \n\nreclog=> select * from foo;\n bar\n---------\...
[ { "msg_contents": "I changed primary servers max_connections from 100 to 4 for just a\ntesting purpose. Now standby server won't start and complains:\n\nhot standby is not possible because max_connections = 4 is a lower setting than on the master server (its value was 100)\n\nMy guess is this is because standby...
[ { "msg_contents": "http://wiki.postgresql.org/wiki/Todo\n\nSection \"Inheritance\"\n\n\"Allow inherited tables to inherit indexes, UNIQUE constraints, and \nprimary/FOREIGN KEYS\"\n\nGood Morning.\n\nI started to program a patch for inheritance of the foreign key constraints. \nI. e. after applying the patch FK...
[ { "msg_contents": "We are working on a project in which we need to create tables for each\ncolumn. So which function should we call in recursion to create the tables?\n\nWe are working on a project in which we need to create tables for each column. So which function should we call in recursion to create the tab...
[ { "msg_contents": "Hi,\n\nI've been annoyed at the amount of memory used by the backend local\nPrivateRefCount array for a couple of reasons:\n\na) The performance impact of AtEOXact_Buffers() on Assert() enabled\n builds is really, really annoying.\nb) On larger nodes, the L1/2/3 cache impact of randomly acc...
[ { "msg_contents": "See http://www.postgresql.org/message-id/4AFEAB39.3000009@dunslane.net\n\nThis is still broken as of fairly recent HEAD; any objections to adding it to TODO?\n-- \nJim C. Nasby, Data Architect jim@nasby.net\n512.569.9461 (cell) http://jim.nasby.ne...
[ { "msg_contents": "Why do we require a restart to change autovacuum_freeze_max_age? Can’t we respawn the autovac workers to pick up the setting? (Or just pass the HUP down to them?)\n-- \nJim C. Nasby, Data Architect jim@nasby.net\n512.569.9461 (cell) http://jim.nas...
[ { "msg_contents": "Hello,\n\nAs people may know, I've implemented a relation cache mechanism on top of\ncustom-plan interface, that holds contents of a particular columns only, thus\nit does not need to take storage access as long as user's query refers the\ncolumns on in-memory cache.\nThe key factor of how th...
[ { "msg_contents": "Hi,\n\nI've created a table with 1000 partial indexes. Each one matches\nexactly one row based on the predicate WHERE id = <value>.\n\nHowever, when I perform an UPDATE of a single row in a transaction,\nI've noticed that all those partial indexes show up in pg_locks with\nRowExclusiveLock.\...
[ { "msg_contents": "Hi,\nI tried using integer array within a structure array in ECPG code. But it\nresulted in some garbage values being printed from the table. Here are the\ndetails,\n\nThe ECPG program is attached (array_test.pgc). It tries to read the\ncontents of table emp, whose structure and contents are ...
[ { "msg_contents": "A few 'the the' typos in code & docs.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_date": "Mon, 24 Mar 2014 07:40:33 +0100", "msg_from": "\"Erik Rijkers\" <e...
[ { "msg_contents": "Hi,\n\nNote the following comment in src/backend/commands/vacuumlazy.c:lazy_scan_heap()\n\n1088 /* If no indexes, make log report that lazy_vacuum_heap\nwould've made */\n1089 if (vacuumed_pages)\n1090 ereport(elevel,\n\nJust wondering if it would read better as:\n\n1088 /...
[ { "msg_contents": "I want to add a column to system catalog pg_attribute for getting an oid\nfor a column also. How do we add a column into pg_attribute ?\n\nI want to add a column to system catalog pg_attribute for getting an oid for a column also. How do we add a column into pg_attribute ?", "msg_date": "...
[ { "msg_contents": "I was looking at\nhttp://www.postgresql.org/docs/devel/static/bgworker.htmlwith a client\ntoday.\n\nIt says:\n\"Unlike RegisterBackgroundWorker, which can only be called from within the\npostmaster,RegisterDynamicBackgroundWorker must be called from a regular\nbackend.\"\n\nIs that the correc...
[ { "msg_contents": "Hi,\n\nI'm currently looking for candidates who might be suitable for a C# Developer position based in Kentish Town and I wondered if you might know anyone who is interested. Salaries are around the £55000 level but might be flexible dependent on experience.\n\nSoftware Developer / Programmer...
[ { "msg_contents": "As we all know, when you compile with WAL_DEBUG, and enable wal_debug \nGUC, you get output like this in the log for every inserted WAL record:\n\nLOG: INSERT @ 0/5407E578: prev 0/5407E4D0; xid 0; len 32: Standby - \nrunning xacts: nextXid 774 latestCompletedXid 771 oldestRunningXid 772; \n2...
[ { "msg_contents": "Hi,\n\nI want to set a *global flag* with which I can decide whether to use my\ncode or not\nin modified source code.\nHow I can do that?\n\nThank you\n-Swapnil\n\nHi,I want to set a global flag with which I can decide whether to use my code or notin modified source code.How I can do that?Tha...
[ { "msg_contents": "I need to set a global flag in such a way that only if the flag is on then\nmy modified code will get executed, so how can I do that?\n\nThank you.\n\nI need to set a global flag in such a way that only if the flag is on then my modified code will get executed, so how can I do that?Thank you....
[ { "msg_contents": "Hi,\n\nI want to set or reset a global flag.\n1) What currently I'm thinking is, I'll declare that global flag in\n*postgres.h*\n2) I'll set that depending on my custom flag given at server startup\n3) I encountered function *getopt* but I couldn't understand it\n\nSo my question is how shoul...
[ { "msg_contents": "We are trying add columnar support to postgreSQL and for that we need\nidentify each column in each relation by an oid. So my doubt is how do we\nadd an attribute/ a column to catalog pg_attribute ?\n\nWe are trying add columnar support to postgreSQL and for that we need identify each column ...
[ { "msg_contents": "My doubt is what changes does one have to make in the source code if he/she\nis trying to add an attribute to the existing system catalogs table ?\n\nMy doubt is what changes does one have to make in the source code if he/she is trying to add an attribute to the existing system catalogs table...
[ { "msg_contents": "while adding a column to an existing system catalog I am getting following\nerror while initdb\n\nFATAL: incorrect number of columns in row (expected 22, got 21)\n\nwhere do I have to make the changes ?\n\nwhile adding a column to an existing system catalog I am getting following error while...
[ { "msg_contents": "MarkBufferDirty() always increment BufferUsage counter\n(shared_blks_dirtied) for dirty blocks whenever it dirties any\nblock, whereas same is not true for MarkBufferDirtyHint().\nIs there any particular reason for not incrementing\nshared_blks_dirtied in MarkBufferDirtyHint()?\n\n\n\nWith Re...
[ { "msg_contents": "Hello.О©╫I submit a proposal. But Heikki LinnakangasО©╫write comments that i dont have a plan of implementation.О©╫My project is knn for spgist.О©╫Can I ask you a few questions?О©╫1. I research a commit gist knn implementation. in gist implementation in role of queue is ised rtree(with distan...
[ { "msg_contents": "Buildfarm member prairiedog crashed on today's HEAD with this:\n\nTRAP: FailedAssertion(\"!(FastPathStrongRelationLocks->count[fasthashcode] > 0)\", File: \"lock.c\", Line: 1240)\n\nI have the core file, and gdb says:\n\n#0 0x90047dac in kill ()\n#1 0x9012d7b4 in abort ()\n#2 0x003b1c38 in...
[ { "msg_contents": "Hi,\n\nI found a typo causing is_init set to be to true when it should be\nfalse...\n\nGreetings,\n\nAndres Freund\n\n-- \n Andres Freund\t http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent via pgsql-hackers mailing list...
[ { "msg_contents": "It occurred to me after having to change I think 9 files to clean up a \nsmall mess in the jsonb regression tests the other day that we might \nusefully expose the inputdir and outputdir to psql as variables when \nrunning pg_regress. Then we might be able to do thing like this, quite \nindep...
[ { "msg_contents": "Hi all,\n\nThe behavior of rollback when an error occurs on an handle is\ncontrolled by extending Protocol with \"$PROTNUM-[0|1|2]\" where:\n- 0 = let the application handle rollbacks\n- 1 = rollback whole transaction when an error occurs\n- 2 = rollback only statement that failed\nUsing such...
[ { "msg_contents": "I see this when I run the regression tests with valgrind (memcheck) on\nmaster's tip:\n\n2014-03-25 22:38:40.850 PDT 31570 LOG: statement: SET enable_seqscan=OFF;\n2014-03-25 22:38:40.859 PDT 31570 LOG: statement: SELECT count(*)\nFROM test_tsvector WHERE a @@ 'wr|qh';\n==31570== Conditiona...
[ { "msg_contents": "Hi all,\n\nI'm using PostgreSQL 9.1.10 for my HA project and have found this problem.\n\nI did (multiple times) the following sequence in my primary/standby synchronous replication environment,\n\n1. Update rows in a table (which have primary key constraint column) in active DB\n\n2. Stop act...
[ { "msg_contents": "It seems to me that when flushing logical mappings to disk, each\nmapping file leaks the buffer used to pass the mappings to XLogInsert.\nAlso, it seems consistent to allocate that buffer in the RewriteState\nmemory context. Patch attached.\n\nRegards,\nAnts Aasma\n-- \nCybertec Schönig & Sch...
[ { "msg_contents": "I found another bug of this category using Valgrind (memcheck). When\nthe standard regression tests are run against master's git tip, I see\nthe following:\n\n2014-03-26 12:58:21.246 PDT 28882 LOG: statement: select * from\njson_to_record('{\"a\":1,\"b\":\"foo\",\"c\":\"bar\"}',true)\n\t ...
[ { "msg_contents": "I have thought a little further about my proposal to have inner B-Tree\npages store strxfrm() blobs [1]; my earlier conclusion was that this\ncould not be trusted when equality was indicated [2] due to the\n\"Hungarian problem\" [3]. As I noted earlier, that actually doesn't\nreally matter, b...
[ { "msg_contents": "Few new warnings have been introduced in windows build.\n\n\n1>e:\\workspace\\postgresql\\master\\postgresql\\src\\backend\\utils\\adt\\jsonb_util.c(802):\nwarning C4715: 'JsonbIteratorNext' : not all control paths return a\nvalue\n1>e:\\workspace\\postgresql\\master\\postgresql\\src\\backend...
[ { "msg_contents": "As per the documentation, datistemplate of pg_database is used in following way:\n\ndatistemplate\n\nBool\n\nIf true then this database can be used in the TEMPLATE clause of CREATE DATABASE to create a new database as a clone of this one\n\n\nBut current code does not behave in this manner. ...
[ { "msg_contents": "Buildfarm member prairiedog thinks there's something unreliable about\ncommit f01d1ae3a104019d6d68aeff85c4816a275130b3:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2014-03-27%2008%3A12%3A11\n\n================== pgsql.13462/src/test/regress/regression.diffs =========...
[ { "msg_contents": "When we made OIDs optional, we added an oid status display to \\d+:\n\n\ttest=> \\d+ test\n\t Table \"public.test\"\n\t Column | Type | Modifiers | Storage | Stats target | Description\n\t--------+---------+-----------+---------+--------------+-------------\n\t x ...
[ { "msg_contents": "With the addition of LATERAL subqueries, Tom fixed up the mechanism\nfor keeping track of which relations are visible for column references\nwhile the FROM clause is being scanned. That allowed\nerrorMissingColumn() to give a more useful error to the one produced\nby the prior coding of that ...
[ { "msg_contents": "Hello. I've been doing some benchmarks on performance / size differences\nbetween actions when wal_level is set to either archive or hot_standby. I'm\nnot seeing a ton of difference. I've read some posts about discussions as\nto whether this parameter should be simplified and remove or mer...
[ { "msg_contents": "Hackers,\n\nWe now have about two weeks by the final feature freeze towards of v9.4.\nWhat is the best way to get the custom-plan interface committed in this\nlimited time?\nFortunately, we could have a series of active discussion three weeks\nbefore, then we reached a consensus that custom \...
[ { "msg_contents": "Hi,\n\nthis is a patch for issue reported in October 2013 in pgsql-bugs:\n\n http://www.postgresql.org/message-id/3839201.Nfa2RvcheX@techfox.foxi\n\nFrank van Vugt reported that a simple query with array_agg() and large\nnumber of groups (1e7) fails because of OOM even on machine with 32GB o...
[ { "msg_contents": "As you probably know, I've studying how to implement a system to allow\nreplicating DDL commands to remote servers. I have a fairly good grasp\nof handling CREATE commands; we have another thread discussing that\ninvolving a JSON output for such commands. That hasn't been carried to\ncomple...
[ { "msg_contents": "Hackers,\n\nafter reading Heikki Linnakangas presentation about GIN from Nordic PGDay,\nI figure out that btree_gin became much more attractive.\nhttp://hlinnaka.iki.fi/presentations/NordicPGDay2014-GIN.pdf\n\nBut it have one weird behaviour: when you have range restriction like \"col\n> cons...
[ { "msg_contents": "Fix EquivalenceClass processing for nested append relations.\n\nThe original coding of EquivalenceClasses didn't foresee that appendrel\nchild relations might themselves be appendrels; but this is possible for\nexample when a UNION ALL subquery scans a table with inheritance children.\nThe ov...
[ { "msg_contents": "Hi,\n\nafter a months I've found a time to make test-case for this bug, probably:\n\nI've got my custom type and a table stores historical data of the main table.\n\nThe problem occurs at our production servers, version 9.2.6. We've found it after our backups wasn't\ncomplete because of selec...
[ { "msg_contents": "Way way back in commit ae93e5fd6e8a7e2321e87d23165d9d7660cde598,\nwe established a coding rule that it was okay for composite Datums\nto contain external (out-of-line) toasted fields, as long as such\ntoasting didn't go more than one level deep in any tuple. This meant\nthat heap_form_tuple ...
[ { "msg_contents": "Revert \"Secure Unix-domain sockets of \"make check\" temporary clusters.\"\n\nAbout half of the buildfarm members use too-long directory names,\nstrongly suggesting that this approach is a dead end.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/8f5578...
[ { "msg_contents": "\"make check\" in contrib/test_decoding actually does two regression runs, \none with pg_regress and one with pg_isolation_regress. These both use \nthe same (default) outputdir, so one overwrites the other, which is a \nbit unfortunate from the buildfarm's point of view. I propose to make \n...
[ { "msg_contents": "Greetings,\n\n Looks like we might not be entirely out of the woods yet regarding\n MultiXactId's. After doing an upgrade from 9.2.6 to 9.3.4, we saw the\n following:\n\n ERROR: MultiXactId 6849409 has not been created yet -- apparent wraparound\n\n The table contents can be select'd o...
[ { "msg_contents": "Hello, hackers! This is my GSoC proposal.\n\n*Short description:*\n\nCluster analysis or clustering is the task of grouping a set of objects in\nsuch a way that objects in the same group (called a cluster) are more\nsimilar (in some sense or another) to each other than to those in other\ngrou...
[ { "msg_contents": "Hi all\n\nThe thought just occurred to me that a PIVOT feature might be a\nrespectable GSoC project.\n\ntablefunc/crosstab works, but it's very clumsy to use, and difficult to\nconsume the data from. Going by Stack Overflow activity, pivot/crosstab\nis second only to upsert when it comes to t...
[ { "msg_contents": "Hi,\n\nI recently have seen some perf profiles in which _mdfd_getseg() was in\nthe top #3 when VACUUMing large (~200GB) relations. Called by mdread(),\nmdwrite(). Looking at it's implementation, I am not surprised. It\niterates over all segment entries a relations has; for every read or\nwrit...
[ { "msg_contents": "On Fri, Mar 28, 2014 at 11:30 AM, Alexander Korotkov\n<aekorotkov@gmail.com> wrote:\n> after reading Heikki Linnakangas presentation about GIN from Nordic PGDay, I\n> figure out that btree_gin became much more attractive.\n> http://hlinnaka.iki.fi/presentations/NordicPGDay2014-GIN.pdf\n\nThis...
[ { "msg_contents": "Hi,\n\nJust noticed the following in contrib/sepgsql/relation.c:\n\n1 /* -------------------------------------------------------------------------\n2 *\n3 * contrib/sepgsql/label.c\n4 *\n\nAttached fixes this.\n\n--\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postg...
[ { "msg_contents": "Hi all,\n\nAs of now, pg_basebackup creates an empty repository for pg_replslot/\nin a base backup, forcing the user to recreate slots on other nodes of\nthe cluster with pg_create_*_replication_slot, or copy pg_replslot\nfrom another node. This is not really user-friendly especially after a\...
[ { "msg_contents": "\nHello pgdevs,\n\nI noticed that my pg_stat_statements is cluttered with hundreds of entries \nlike \"DEALLOCATE dbdpg_p123456_7\", occuring each only once.\n\nIt seems to me that it would be more helful if these similar entries where \naggregated together, that is if the query \"normalizati...
[ { "msg_contents": "In bug #9817 there's a complaint that the planner fails to consider\nthese expressions equivalent:\n foo('a'::text, 'b'::text)\n foo(variadic array['a'::text, 'b'::text])\nwhen foo() is declared as taking variadic text[].\n\nSuch cases worked okay before 9.3, the reason being that t...
[ { "msg_contents": "Hackers; as per $subject...\n\nWe have an FK defined on a table large enough and 24x7 as to make a\nredefining of same constraint a painful solution.\n\nRan into a case where defining as deferrable initially immediate and\njust running one batch job with deferred firing would solve a\nconc...
[ { "msg_contents": "The current typedefs list seems to be lacking any Windows-only typedefs.\nNoticed while trying to pgindent postmaster.c.\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/ma...
[ { "msg_contents": "Hello,\n\nI set certificate auth on postgresql 9.3. I generate SSL certificate with my custom extension. So, OpenSSL read it, PostgreSQL accept it if this extension is not critical, but if I set this extension critical, PostgreSQL deny connection.\n\nHow can I prevent it? Where PostgreSQL try...
[ { "msg_contents": "Hello\n\nI was informed about impossibility to use a polymorphic functions together\nwith domain types\n\nsee\n\n create domain xx as numeric(15);\n\ncreate or replace function g(anyelement, anyelement)\nreturns anyelement as\n$$ select $1 + $2 $$\nlanguage sql immutable;\n\npostgres=# selec...
[ { "msg_contents": "Same issue as in\nhttp://www.postgresql.org/message-id/31718.1394059256@sss.pgh.pa.us\n\nIn file included from jsonb.c:19:\n../../../../src/include/utils/jsonb.h:195: warning: unnamed struct/union that defines no instances\njsonb.c: In function `jsonb_in_object_field_start':\njsonb.c:250: str...
[ { "msg_contents": "Hi there,\n\nI'm wondering if we should follow all js equility rules as\nnicely visualized in\nhttp://strilanc.com/visualization/2014/03/27/Better-JS-Equality-Table.html\n\nOleg\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:...
[ { "msg_contents": "Hi,\n\nThe current quiet inline test doesn't work for clang. As e.g. evidenced in\nhttp://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=gull&dt=2014-04-03%2007%3A49%3A26&stg=configure\nconfigure thinks it's not quiet.\n\nWhich means that postgres compiled with a recent clang will be n...
[ { "msg_contents": "Good afternoon all.I have some problem with triggers on PostgreSQL 8.4.I have\na trigger on specific table(articles) that fires on update statement:\n\nCREATE OR REPLACE FUNCTION trigger_articles_update()\n RETURNS trigger AS\n$BODY$BEGIN \n INSERT INTO\narticle_change(article_id,change...
[ { "msg_contents": "I'd like to do some changes to the WAL format in 9.5. I want to annotate \neach WAL record with the blocks that they modify. Every WAL record \nalready includes that information, but it's done in an ad hoc way, \ndifferently in every rmgr. The RelFileNode and block number are \ncurrently part...
[ { "msg_contents": "Dear Hackers,\n\nWe at Citus Data have been developing a columnar store extension for\nPostgreSQL. Today we are excited to open source it under the Apache v2.0\nlicense.\n\nThis columnar store extension uses the Optimized Row Columnar (ORC) format\nfor its data layout, which improves upon the...
[ { "msg_contents": "Dear Hackers,\n\nWe at Citus Data have been developing a columnar store extension for\nPostgreSQL. Today we are excited to open source it under the Apache v2.0\nlicense.\n\nThis columnar store extension uses the Optimized Row Columnar (ORC) format\nfor its data layout, which improves upon the...
[ { "msg_contents": "If I understand correctly, foreign tables cannot have an OID column, but\nthe following code in DefineRelation() assumes that foreign tables *can*\nhave that coulum:\n\n560 /*\n561 * Create a tuple descriptor from the relation schema. Note\nthat this\n562 * deals with column na...
[ { "msg_contents": "I observed an issue that even if invalid syntax is provided for CREATE TABLE, table is getting created successfully.\n\n Below table creation succeed even though same constraint name is given multiple times.\n None of the below constraints has any meaning of givi...
[ { "msg_contents": "Hi All,\n\nI was comparing postgresql performance and was just curious about\nperformance in case i want to store the updated index tuple version on a\ndifferent page.\nI was looking into the code of heapam.c, but was not able to find loop\nwhich i should remove so that postgresql use a diffe...
[ { "msg_contents": "Hey all,\n\nFirst off, please feel free to let me know if this idea is a waste of time :)\n\nI was thinking about COUNT(*) and its slow performance today, and I\nthought about whether we could get better performance by taking a page\nout of index-only-scans.\n\nEssentially, the idea is that y...
[ { "msg_contents": "Does anybody care about being able to compile ipc_test as a standalone\nbinary any more?\n\nI ask because, while working on some of the outstanding cleanup issues\naround dynamic shared memory, I made sure to test whether it required\nfurther adjustments based on the changes that I'd done, on...
[ { "msg_contents": "In checkpoint, move the check for in-progress xacts out of critical section.\n\nGetVirtualXIDsDelayingChkpt calls palloc, which isn't safe in a critical\nsection. I thought I covered this case with the exemption for the\ncheckpointer, but CreateCheckPoint is also called from the startup proce...