threads
listlengths
1
2.99k
[ { "msg_contents": "Suggested patch adds GIN support contains operator for ranges over scalar column.\n\nIt allows more effective GIN scan. Currently, queries like\nSELECT * FROM test_int4 WHERE i <= 1 and i >= 1\nwill be excuted by GIN with two scans: one is from mines infinity to 1 and \nanother is from -1 to ...
[ { "msg_contents": "Hello, I have a problem with PostgreSQL. I need to install PostgreSQL on ARMv5 with tcp/ip access, but I have no experience in it. I trying to do it in LTIB and now I need to create a postgresql.spec file. Could you help me in it?\n\nWith best regards,\nAlexandr Glukhov\n \n \nHello, I have a...
[ { "msg_contents": "In specific workload postgres could spend a lot of time in tbm_add_tuples, up \nto 50% of query time. hash_search call is expensive and called twice for each \nItemPointer to insert. Suggested patch tries to cache last PagetableEntry \npointer in hope that next ItemPointer will be on the sam...
[ { "msg_contents": "Just replace tag_hash in tidbitmap which uses hash_any to direct call of \nhash_uint32, it saves ~5% of execution time.\n\nAn example:\n# create extension btree_gin;\n# select (v / 10)::int4 as i into t from generate_series(1, 5000000) as v;\n# create index idx on t using gin (i);\n# set enab...
[ { "msg_contents": "When we developed SP-GiST we missed analogue of GiST's compress method. There \nwas two reasons for that: lack of imagination to imagine case with different \ntypes of indexed value and column, and we didn't want call some method while \nindex fit in one page. Some discussion on that\nhttp://...
[ { "msg_contents": "Hi\n\nwith new functions row_to_json(b), there is more often usage of ROW\nconstructor. Using names in fields is relative difficult. Because ROW has\nspecial clause in parser, I am thinking so we can enable labeling inside\nROW constructor\n\nso instead currently supported:\n\nselect row_to_j...
[ { "msg_contents": "I don't think that the lock level mentioned in the following comment in\nMergeAttributes() in tablecmds.c is right, since that that function has\nopened the relation with ShareUpdateExclusiveLock, not with\nAccessShareLock. Patch attached.\n\n1749 /*\n1750 * Close the parent...
[ { "msg_contents": "Hi all,\n\npg_recvlogical is missing some \"=\" signs for a couple of option names where\ndouble-dash is used, like this one:\n--username user\nshould be that:\n--username=user\n\nAttached is a patch correcting that.\nRegards,\n-- \nMichael\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql...
[ { "msg_contents": "Hi,\n\nIt seems that README.tuplock never got updated when the KEY SHARE patch's\nlock level were changed from being KEY UPDATE / UPDATE / SHARE / KEY SHARE\nto UPDATE / NO KEY UPDATE / SHARE / KEY SHARE.\n\nThus, as it stands, that file implies that SELECT FOR UPDATE obtains a\nweaker lock t...
[ { "msg_contents": "Hi all.\n\nSome time ago I wrote [0] on pgsql-performance@ about having problems with ExclusiveLock on extending relation while checkpointing on system with large shared_buffers. That time the problem was fixed with getting shared_buffers much smaller.\n\nRight now I am testing 9.4beta3 with ...
[ { "msg_contents": "create table t1 (json json);\ncreate index on t1 using btree((json::text));\n-- Above works as expected\n\ncreate extension ltree;\ncreate table t2 (ltree ltree);\ncreate index on t2 using btree((ltree::text));\npsql:/tmp/t.sql:8: ERROR: functions in index expression must be marked\nIMMUTABL...
[ { "msg_contents": "Hi all\n\nFollowing on from my recent patch about adding a hint to psql when you\ntry to use it to apply a custom-format dump:\n\nhttp://www.postgresql.org/message-id/544096E0.5020607@2ndquadrant.com\n\nI think we should do the same for the command line tools, like createdb,\ncreateuser, etc....
[ { "msg_contents": "\nHello,\n\nOne of the things we run into quite a bit is customers who are using \nmultiple databases when they should be using multiple schemas. I am sure \nother consultants run into this as well. This gets even more difficult \nas uptime requirements have become all but 100%. So my questio...
[ { "msg_contents": "The comment for the BackgroundWorkerSlot structure tripped me up reviewing Robert's background worker patch; it made it clear that you need to use a memory barrier before setting in_use, but normally you'd never need to worry about that because RegisterDynamicBackgroundWorker() handles it for...
[ { "msg_contents": "Hi,\n\nI saw this comment in _outQuery() in outfuncs.c:\n\n\tWRITE_ENUM_FIELD(commandType, CmdType);\n\tWRITE_ENUM_FIELD(querySource, QuerySource);\n\t/* we intentionally do not print the queryId field */\n\tWRITE_BOOL_FIELD(canSetTag);\n\nWhat is the resoning behind the comment?\n\nBest rega...
[ { "msg_contents": "Hi guys, I’m seeing some non-intuitive behavior with the new updateable security barrier views in 9.4. Below is the behavior of 9.4b3:\n\n> =# create table widget ( id integer);\n> CREATE TABLE\n> =# create view widget_sb WITH (security_barrier=true) AS SELECT * from widget where id = 22;\n>...
[ { "msg_contents": "Hi,\n\nThere was recently talk about if we should start using 128-bit integers \n(where available) to speed up the aggregate functions over integers \nwhich uses numeric for their internal state. So I hacked together a \npatch for this to see what the performance gain would be.\n\nPrevious th...
[ { "msg_contents": "Hi Hackers,\n\nI am thinking of a possible problem with shm_mq structure spin lock.\nThis is used for protecting the shm_mq structure.\n\nDuring the processing of any code under the spin lock, if the process\nreceives SIGQUIT signal then it is leading to a dead lock situation.\n\nSIGQUIT->pro...
[ { "msg_contents": "I sometimes get the error \"snapshot too large\" from my logical \nreplication walsender process when in response to a CREATE_REPLICATION_SLOT.\n\nThis is in SnapBuildExportSnapshot in snapbuild.c\n\nnewxcnt is 212 at that point\n\nI have max_connections = 200\n\nprocArray->maxProcs=212\n\nSh...
[ { "msg_contents": "My logical decoding plugin is occasionally getting this error\n\n\"could not resolve cmin/cmax of catalog tuple\"\n\nI get this when my output plugin is trying to read one of the user \ndefined catalog tables (user_catalog_table=true)\n\n\nI am not sure if this is a bug in the time-travel su...
[ { "msg_contents": "Hi all,\n\ncurrently, CREATE DATABASE forces an immediate checkpoint (actually, it\nforces two, but the time interval is usually rather small). For\ntraditional deployments this is not a big deal, because creating a\ndatabase is a rare event, and may be planned to off-peak times.\n\nHowever f...
[ { "msg_contents": "It seems the buffer created in pset_quoted_string is just 1 char too small.\n\nThis breaks psql's \\pset for me, though I've no idea why the buildfarm is\nnot complaining a bit more.\n\nAs it stands, if the function is given an empty string to quote, it tries\nto build a string with 2 single ...
[ { "msg_contents": "replication/slot.c and replication/logical/snapbuild.c use a CRC on the \nphysical slot and snapshot files. It uses the same algorithm as used \ne.g. for the WAL. However, they are not doing the finalization step, \nFIN_CRC32() on the calculated checksums. Not that it matters much, but \nit's...
[ { "msg_contents": "Hi,\n I need to query master ip from hot_standby. \n*pg_stat_replication* view only shows the slave replication status. \n\nIs there any way to get *Master IP* from standby node apart from checking\n*recovery.conf* file.\n\n\n\n\n\n\n\nThanks,\nSudalai\n\n\n\n-----\nsudalai\n--\nView this...
[ { "msg_contents": "Hi,\n\n Is there any way to change the *master* without restarting the *standby*\nserver. \n\nPostgresql Documentation says,\n -->Recovery.conf file only read on the startup in standby mode. In that\nfile we specify the \"Masterip\". \n -->If you want to change the master we need to c...
[ { "msg_contents": "Hi,\n\nI've previously posted a patch at\nhttp://archives.postgresql.org/message-id/20141010160020.GG6670%40alap3.anarazel.de\nthat reduces contention in StrategyGetBuffer() by making the clock sweep\nlockless. Robert asked me to post it to a new thread; I originally\nwrote it to see some ot...
[ { "msg_contents": "Hi!\n\nSome fragment of code (src/backend/optimizer/path/costsize.c, lineno ~400):\n /*\n * Normal case: apply the Mackert and Lohman formula, and then\n * interpolate between that and the correlation-derived result.\n */\n pages_fetched = index_page...
[ { "msg_contents": "Hackers,\n\nI just realized that there is one thing we can't log currently:\ntransactions which last more than #ms. This is valuable diagnostic\ninformation when looking for issues like causes of bloat and deadlocks.\n\nI'd like it to be on the TODO list because it seems like part of a good\...
[ { "msg_contents": "I happened to be looking at sinvaladt.c and noticed the loop added in\ncommit b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4:\n\n /*\n * Now that the maxMsgNum change is globally visible, we give everyone\n * a swift kick to make sure they read the newly added messages.\n ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 11805\nLogged by: Krystian Bigaj\nEmail address: krystian.bigaj@gmail.com\nPostgreSQL version: 9.3.5\nOperating system: Windows 7 Pro x64\nDescription: \n\npg_ctl on Windows during service start/sh...
[ { "msg_contents": "Hi Guys, \n\nI propose a lag (and/or lead) window function that propagates the last\nnon-null value to the current row.\nHere's an example of what I mean by that: \n\nCREATE TABLE lag_test (id serial primary key, natural_key integer,\nsomebody text);\n\nINSERT INTO lag_test(natural_key, someb...
[ { "msg_contents": "hi, guys,\n\nI am looking for a couple pointers here about fdw, and how to change the\noption values during CREATE table time.\n\nI am using postgres-xc-1.2.1 right now. For example, it contains file_fdw,\nwhose create-table-stmt looks like:\nCREATE FOREIGN TABLE t1(....)\nSERVER file_server\...
[ { "msg_contents": "Here is a patch to use \"missing\" to handle the case when \"prove\" is not\npresent.\n\nOther ideas?\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": "Tue,...
[ { "msg_contents": "Hi all\n\nAt pgconf-eu �lvaro and I were discussing the idea of allowing 'peer'\nand 'ident' authentication to fall back to md5 if the peer/ident check\nfailed.\n\nThis can be done backwards compatibly and without protocol changes. A\nclient won't be able to tell that the pg_hba.conf line w...
[ { "msg_contents": "Hello,\n\nI swear I have read a couple of old threads. Yet I am not sure if it safe\nto failback to the old master in case of async replication without base\nbackup.\n\nConsidering:\nI have the latest 9.3 server\nA: master\nB: slave\nB is actively connected to A\n\nI shut down A manually with...
[ { "msg_contents": "Hi all,\n\nIf I'm reading correctly in src/backend/commands/tablecmds.c, it looks like\nPostgreSQL does a full table scan in validateCheckConstraint and in the\nconstraint validation portion of ATRewriteTable.\n\nSince the table is locked to updates while the constraint is validating,\nthis m...
[ { "msg_contents": "Original message (sorry, don't have a copy to reply to :( ): http://www.postgresql.org/message-id/CAB7nPqThX=WvuGA1J-_CQ293dK3FmUivuYkNvHR0W5xjEc=oFQ@mail.gmail.com\nCommitfest URL: https://commitfest.postgresql.org/action/patch_view?id=1579\n\nSummary:\nI'd like someone to chime in on the po...
[ { "msg_contents": "Dear\r\nI'm doing a job about converting an expression of one data type to another.In SQLServer, there'are two functions to do this job.\r\n1. CAST ( expression AS data_type [ ( length ) ] )2. CONVERT ( data_type [ ( length ) ] , expression )\r\nHowever, In PostgreSQL, there's only the CAST (...
[ { "msg_contents": "Hi,\n\nI've just once more looked at the WAL stream ans was briefly confused\nabout all the XLOG_FPI records. Since 54685338e3\nlog_newpage/log_newpage_buffer and XLogSaveBufferForHint() use the same\nWAL record. I personally find that a bad idea because they're used in\nquite different situa...
[ { "msg_contents": "A colleague at EnterpriseDB today ran into a situation on PostgreSQL\n9.3.5 where the server went into an infinite loop while attempting a\nVACUUM FREEZE; it couldn't escape _bt_getstackbuf(), and it couldn't\nbe killed with ^C. I think we should add a check for interrupts into\nthat loop s...
[ { "msg_contents": "This is slight off topic but please bear with me.\n\nI came across this post:\nhttp://pauleveritt.wordpress.com/2014/10/29/faster-relevance-ranking-didnt-make-it-into-postgresql-9-4/\nI was curious about it so I checked several commit fest pages and searched\nthe mailing lists but I wasn't ab...
[ { "msg_contents": "Hi,\n\nwhile preparing an overview of features new in 9.4, I noticed that while\nwe provide NOWAIT for the \"ALTER ... ALL IN TABLESPACE\" commands, we\ndon't support that for the 'single object' case. Is that on purpose? I\nassume it makes, as with a single object you can't get stuck half-wa...
[ { "msg_contents": "Various ways of tweaking Foreign Keys are suggested that are helpful\nfor larger databases.\n\n* Deferrable Enforcement Timing Clause\n\n* NOT DEFERRABLE - immediate execution\n* DEFERRABLE\n* INITIALLY IMMEDIATE - existing\n* INITIALLY DEFERRED - existing\n* INITIALLY NOT ENFORCED\n...
[ { "msg_contents": "Recent work on parallel query has opened my eyes to exactly how\nfrequently we request locks on various catalog tables. (Attached file\nis a lock analysis on a representative Pg server).\n\nGiven these are catalog tables, we aren't doing much to them that\nrequires a strong lock. Specifically...
[ { "msg_contents": "I have not kept up with PostgreSQL changes and have just been using it. A\nco-worker recently told me that you need to word \"CONCURRENTLY\" in \"CREATE\nINDEX\" to avoid table locking. I called BS on this because to my knowledge\nPostgreSQL does not lock tables. I referenced this page in the...
[ { "msg_contents": "While investigating how to reduce logging of AccessExclusiveLocks for\ntemp tables, I came up with the attached patch.\n\nMy feeling was \"that's an ugly patch\", but it set me thinking that a\nmore specialised code path around temp tables could be useful in other\nways, and therefore worth p...
[ { "msg_contents": "I'm on PostgreSQL 9.3. This should reproduce on any table with 100,000+\nrows. The EXPLAIN ANALYZE shows many more rows getting scanned with LIMIT\n2, but I can't figure out why.\n\nLimit 1:\n\nEXPLAIN ANALYZE WITH base AS (\n SELECT *, ROW_NUMBER() OVER () AS rownum FROM a_big_table\n), f...
[ { "msg_contents": "Support frontend-backend protocol communication using a shm_mq.\n\nA background worker can use pq_redirect_to_shm_mq() to direct protocol\nthat would normally be sent to the frontend to a shm_mq so that another\nprocess may read them.\n\nThe receiving process may use pq_parse_errornotice() to...
[ { "msg_contents": "PostgreSQL has two bits of obsolete, incomplete functionality which\nentrap and frustrate new users in large numbers. Both of these features\nshare the following characteristics:\n\n* added more than 10 years ago\n* have the same names as useful features from other databases\n* were never fi...
[ { "msg_contents": "Hi,\n\nI created a proof of concecpt patch for postgresql JDBC driver that allows the caller to do pipelining of requests within a transaction. The pipelining here means same as for HTTP: the client can send the next execution already before waiting for the response of the previous request to...
[ { "msg_contents": "Hi,\n\nEvery now and then I've noticed that glibc's stdio functions show up\nprominently in profiles. Which seems somewhat odd, given they pretty\nmuch should delegate all work to the kernel and memcpy(). By accident I\nlooked at a the disassembly and oops: A large part is due to\nlocking. Es...
[ { "msg_contents": "Hi,\n\nPatch attached to fix some sillyness in pgp_expect_packet_end() and \npgp_skip_packet(). Will add to the next commitfest unless someone picks \nthis one up before that.\n\n\n.marko\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your ...
[ { "msg_contents": "Dear\r\n\r\nIn SQLServer, there'are two functions to converte an expression of one data type to another.\r\n1. CAST ( expression AS data_type [ ( length ) ] )2. CONVERT ( data_type [ ( length ) ] , expression )\r\nHowever, In PostgreSQL, there's only the CAST ( expression AS data_type [ ( len...
[ { "msg_contents": "I had a discussion with a few people recently about a hack I wrote for\npg_receivexlog at some point, but never ended up submitting, and in\ncleaning that up realized I had an open item on it.\n\nThe idea is to add a switch to pg_receivexlog (in this case, -a, but\nthat can always be bikeshed...
[ { "msg_contents": "Hello everyone.\n\n* Project name:  Add recovery_timeout option to control timeout of restore_command nonzero status code\n* Uniquely identifiable file name, so we can tell difference between your v1 and v24:  0001-add-recovery_timeout-to-controll-timeout-between-res.patch\n* What the patc...
[ { "msg_contents": "Hi all,\n\nwe experienced what seems to be a bug in the COPY TO implementation. When a\ntable is being rewritten by an ALTER TABLE statement, a parallel COPY TO\nresults in an empty result.\n\nConsider the following table data:\n\n CREATE TABLE test (id INTEGER NOT NULL, PRIMARY KEY (id));\n...
[ { "msg_contents": "Hi!\n\n Given a transaction started with \"BEGIN.... (REPEATABLE READ | \nSERIALIZABLE)\", if a concurrent session commits some data before *any* \nquery within the first transaction, that committed data is seen by the \ntransaction. This is not what I'd expect. Specifically, the \ndocume...
[ { "msg_contents": "Hackers,\n\nI'm looking at a couple of high-transaction-rate and high-FK-conflict\nrate servers where pg_multixact has grown to be more than 1GB in size.\nOne such server doesn't appear to be having any notable issues with\nvacuuming, and the oldest mxid on the system is about 47m old. VACUUM...
[ { "msg_contents": "hi, hackers,\n\nI am looking for a simple way to pass a value(ideally a hashtable, and use\na string for easy implementation for now), that is generated by coordinator\nnode, and pass it to all data nodes. Plans may be one approach, I am just\nwondering whether there is a simpler hook?\n\nMan...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 11867\nLogged by: Marc Munro\nEmail address: marc@bloodnok.com\nPostgreSQL version: 9.3.5\nOperating system: Linux Debian 7.6 (Wheezy) on x86_64\nDescription: \n\nI have a script (below) that sets ...
[ { "msg_contents": "\nhere's a patch for a utility function to look up the cast function for a \nfrom/to pair of types, as recently suggested by Alvaro. Although it only \ncontains one use (in json.c), the upcoming jsonb generators would also \nuse it twice. I'd like to get this committed fairly quickly so I can...
[ { "msg_contents": "While we're talking about removing old things, is there any use left for\npg_standby?\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\n", "msg_date": "Tue, 04 Nov 2014 16:...
[ { "msg_contents": "Hi,\n\n9.4 FINALLY added the UTC offset formatting pattern to to_char(). \nHowever, it falls a bit short in the sense that it's always the time \nzone offset according to the effective TimeZone value. This has a few \nissues as far as I can tell:\n\n 1) It's not truly controlled by the que...
[ { "msg_contents": "Hi all,\n\nMemSet is an internal macro faster than the system memset for zeroing small\nword-aligned structures defined in src/include/c.h. Both are being used\nhere and there with no real preference.\nAn example of that is that in many code paths we have for example nulls and\nvalues used to...
[ { "msg_contents": "Hello,\n\nI would like to transform the query plan (output of the planner,\ndebug_print_plan) into an sql query.\nI know that there are pieces of the query plan that might be machine\ndependent (in var for example).\nSo I wanted to have your suggestions or thoughts before I put efforts into\n...
[ { "msg_contents": "Hi,\n\nI am working on something that requires representing a SRF return column in\npg_proc and being able to retrieve it, retrieve the name of the column and\nmake a ColumnRef node from it.\n\nThe catch here are aliases:\n\nSELECT generate_series(1,100) AS a ORDER BY a;\n\nI need to know tha...
[ { "msg_contents": "There's a thread over in pgsql-admin\nhttp://www.postgresql.org/message-id/flat/1317404836.812502.1415174912912.JavaMail.yahoo@jws11120.mail.ir2.yahoo.com\nsuggesting that the server-side autocommit GUC causes more confusion\nthan it's worth, because newbies think it should reflect the state ...
[ { "msg_contents": "http://www.postgresql.org/docs/9.3/static/monitoring-stats.html, table 27-1.\n\nCan somebody find or explain the order of the views in there? It's not\nactually alphabetical, but it's also not logical. In particular, what\nis pg_stat_replication doing second to last?\n\nI would suggest we mov...
[ { "msg_contents": "I recently sourced a 300gb intel s3500 ssd to do some performance\ntesting. I didn't see a lot of results on the web so I thought I'd\npost some numbers. Testing machine is my workstation crapbox with 4\ncores and 8GB ram (of which about 4 is usable by the ~ 50gb database).\nThe drive cos...
[ { "msg_contents": "\nHackers,\n \ndo you think we should implement some of the functions offered by Amazon Redshift?\n \nhttp://docs.aws.amazon.com/redshift/latest/dg/c_SQL_functions.html\n \nAmazon Redshift is completely based on PostgreSQL, but they have implemented some features not currently available in Po...
[ { "msg_contents": "9.4 introduced a function numeric_normalize() whose charter is to\nproduce a string representing a numeric, such that two numerics' string\nrepresentations will compare equal if and only if the numeric values\ncompare equal. (This is used, so far, only by GIN indexes on JSONB.)\nThomas Fangh...
[ { "msg_contents": "Hackers,\n\nSomeone brought me an issue that recovery_target_time and standby_mode\nweren't working as they expected. I think that the way they work now\nmakes sense, but we do need to clarify it in the docs. However, I'm\nposting this to hackers first in case the way these two work togethe...
[ { "msg_contents": "Hi,\n\nI'm a phd-student at the university of Jena, Thüringen, Germany, in the \nfield of data bases, more accurate query optimization.\nI want to implement a system in PostgreSQL that detects column \ncorrelations and creates statistical data about correlated columns for \nthe optimizer. The...
[ { "msg_contents": "I ran into a typo in a comment in src/backend/commands/matview.c.\nPlease find attached a patch.\n\nBest regards,\nEtsuro Fujita\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-hack...
[ { "msg_contents": "\nIn 9.3 we changed the way json generating functions worked by taking \naccount of cast functions to json from non-builtin types, such as hstore.\n\nIn 9.5 I am proposing to provide similar functionality for jsonb. The \npatch actually takes account of cast functions to both jsonb and json \...
[ { "msg_contents": "Hi all,\n\nAfter looking at a patch of this commit fest using\nrd_rel->relpersistence, I got a look at how many times this expression\nwas being used directly in the backend code and wondered if it would\nnot be useful to add a dedicated macro in rel.h to get the persistence\nof a relation li...
[ { "msg_contents": "This is a serious bug in 9.3.5 and 9.4 beta3:\n\nrow_to_json() yields empty strings for json keys if the data is\nfulfilled by an index only scan.\n\nExample:\n\ntestjson=# select count(*) from document_acl;\n count \n-------\n 426\n(1 row)\n\ntestjson=# SELECT row_to_json(combined_rows) FR...
[ { "msg_contents": "> On Mon, Oct 27, 2014 at 2:35 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> >> FYI, patch v12 part 2 no longer applies cleanly.\r\n> >>\r\n> > Thanks. I rebased the patch set according to the latest master branch.\r\n> > The attached v13 can be applied to the master.\r\n> \r\n> I've c...
[ { "msg_contents": "In my Windows development environment, the tablespace regression test fails\napproximately half the time. Buildfarm member frogmouth failed in the same\nmanner at least once:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=frogmouth&dt=2014-05-21%2014%3A30%3A01\n\nHere is a briefer c...
[ { "msg_contents": "Got radio silence on this question in -general, and upon reflection I think it might be a -hacker level question. I'm not sure who actually implemented PLV8, but I think it might take someone at or near that level to answer.\n\nIf not, sorry for the noise. Thanks!\n\nIf anyone wants to try to...
[ { "msg_contents": "Hi.   When working with Oracle it is possible to catch constraint-violations \ncaused by triggers using JDBC, but it seems this isn't possible using PG, see \nthis thread: \nhttps://github.com/impossibl/pgjdbc-ng/issues/111#issuecomment-62276464   For \ncheck of FK-violations the protocol sup...
[ { "msg_contents": "Hi,\n\nWhile working on an extension upgrade script I got hit by what I believe \nis a bug in the way we record dependencies between columns and types.\n\nCREATE TABLE records dependency between relation and type, not between \ncolumn and type, but ALTER TABLE ADD COLUMN and ALTER TABLE ALTER...
[ { "msg_contents": "Hi\n\nAttached is a mighty trivial patch to extend psql tab completion\nfor \\c / \\connect to generate a list of role names, as lack thereof\nwas annoying me recently and I can't see any downside to doing\nthis.\n\nThe patch is a whole two lines so I haven't submitted it to the next\ncommitf...
[ { "msg_contents": "I see this when I build at -O2 from master's tip:\n\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-labels\n-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing\n-fwrapv -fexcess-precision=standard -Werror -I../../../../src/include\n-D_F...
[ { "msg_contents": "> On Sat, Nov 8, 2014 at 4:16 AM, Robert Haas <robertmhaas@gmail.com> wrote:\r\n> >\r\n> > On Mon, Oct 27, 2014 at 2:35 AM, Kouhei Kaigai <kaigai@ak.jp.nec.com>\r\n> wrote:\r\n> > >> FYI, patch v12 part 2 no longer applies cleanly.\r\n> > >>\r\n> > > Thanks. I rebased the patch set according ...
[ { "msg_contents": "Hi,\n\nDuring benchmarking/debugging I just had the problem that autovacuum was\nsignalled at an insane rate - leading to more than one hundred autovac\nworkers being started per second. Leading to a overall slowdown of more\nthan 90% and the anti-wraparound vacuum not finishing.\n\nThe probl...
[ { "msg_contents": "Hello,\nCan anyone tell about how parser works and if we want to add a new keyword\nto the keywords.h,\nand how to use that keyword ? How the all process works ?\n\n-- \nPankaj B.\n\nHello, Can anyone tell about how parser works and if we want to add a new keyword to the keywords.h, and how t...
[ { "msg_contents": "On Wed, Oct 15, 2014 at 2:55 PM, Simon Riggs <simon@2ndquadrant.com> wrote:\n> Something usable, with severe restrictions, is actually better than we\n> have now. I understand the journey this work represents, so don't be\n> embarrassed by submitting things with heuristics and good-enoughs in...
[ { "msg_contents": "Magnus and I discussed the need for pg_dump to offer the use of NOT\nVALID constraints.\nHere's the patch.\n\n\n pg_dump --no-revalidaton\n\nwill add \"NOT VALID\" onto the recreation SQL for any FKs, but only for\nones that were already known to be valid.\n\n-- \n Simon Riggs ...
[ { "msg_contents": "Hackers,\n\nI thought 9.4's postgresql.conf.sample was supposed to have a\ncommented-out line for postgresql.auto.conf? In the \"includes\" section?\n\nIt's not there. If we don't give folks a commented-out line to\nuncomment, it'll be pretty hard for them to figure out auto.conf ...\n\n-- ...
[ { "msg_contents": "Hi,\n\npg_prewarm() currently can't be cannot be interrupted - which seems odd\ngiven that it's intended to read large amounts of data from disk. A\nrather slow process.\n\nUnless somebody protests I'm going to add a check to the top of each of\nthe three loops.\n\nGreetings,\n\nAndres Freund...
[ { "msg_contents": "I chased down a problem today where users were reporting sporadic\nfailures in the application. Turns out, the function would work\nexactly 5 times and then fail; this is on 9.2. I think I understand\nwhy this is happening and I'm skeptical it's a bug in postgres, but I\nthought I'd social...
[ { "msg_contents": "We need to get moving if we want to have RC1 out before the holiday season\nstarts. Accordingly, the core committee has agreed that we should wrap it\nnext week (usual timing: wrap Monday 17th for announcement Thursday 20th).\n\nAccording to\nhttps://wiki.postgresql.org/wiki/PostgreSQL_9.4_O...
[ { "msg_contents": "Attached patch removes incorrect comment added by recent Sortsupport\nfor B-Tree/CLUSTER commit (commit 5ea86e).\n\n-- \nPeter Geoghegan\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/pg...
[ { "msg_contents": "Where in the optimizer code does PostgreSQL decide which of several possibly-matching partial indexes to use?\n--\n-- Christophe Pettus\n xof@thebuild.com\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgr...
[ { "msg_contents": "Hi all,\n\nThe new storage parameter pages_per_range is missing in the\ndocumentation of CREATE INDEX. The patch attached corrects that.\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.po...
[ { "msg_contents": "I am analyzing query plans generated by the view in the database PostgreSQL\n8.3, looking for missing information \"constraints not explicitly registrants\nin the tables.\"\nIn nested queries, (ex. IN clause, ...), the query plan consist in the\nevaluation of the subplane derived from clause ...
[ { "msg_contents": "While looking at postmaster.c:reaper(), one problematic case occurred to me.\n\n\n1. Startup process signals PMSIGNAL_RECOVERY_STARTED.\n\n2. Checkpointer process is forked and immediately dies.\n\n3. reaper() catches this failure, calls HandleChildCrash() and thus sets\nFatalError to true.\n...
[ { "msg_contents": "Please tell me, if want to add 'selectivity' keyword, which clause will it\ncategorize ?\nCan you please tell me in detail, how should i modify gram.y, as I am new\nto parser writing ? and use it thereafter.\n\nThank you.\n\n\n-- \nPankaj A. Bagul\n\nPlease tell me, if want to add 'selectivit...
[ { "msg_contents": "There's a race condition between a backend running queries in hot \nstandby mode, and restoring a full-page image from a WAL record. It's \npresent in all supported versions.\n\nRestoreBackupBlockContents does this:\n\n> \tbuffer = XLogReadBufferExtended(bkpb.node, bkpb.fork, bkpb.block,\n> \...