threads
listlengths
1
2.99k
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi All!\n\n\nWe will be upgrading gemulon.postgresql.org during the next few hours\nto the current release of debian (wheezy/7.0) as discussed with\nvarious people.\nTo prevent any kind of issues we will be locking out commiters for a\nbrief a...
[ { "msg_contents": "Hi,\n\nafter having discussed $subject shortly over dinner yesterday, while I\nshould have been preparing the slides for my talk I noticed that there\nmight be a rather easy way to get rid of freezing.\n\nI think that the existence of hint bits and the crash safe visibility\nmaps should provi...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to take code-coverage of ALTER OPERATOR\nFAMILY.. ADD / DROP (src/backend/commands/opclasscmds.c) from 50% to 87%.\n\nAny and all feedback is welcome.\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to take code-coverage of LOCK TABLE (\nsrc/backend/commands/lockcmds.c) from 57% to 84%.\n\nAny and all feedback is welcome.\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscript...
[ { "msg_contents": "I'm working on a new project here that I wanted to announce, just to \nkeep from duplicating effort in this area. I've started to add a cost \nlimit delay for regular statements. The idea is that you set a new \nstatement_cost_delay setting before running something, and it will \nrestrict t...
[ { "msg_contents": "Hi all,\n\nThe proposed patch add some files to ignore in .gitignore:\n- tags (produced by src/tools/make_ctags)\n- TAGS (produced bu src/tools/make_etags)\n- .*.swp (may appear in source tree if vi/vim was killed by some reason)\n\nRegards,\n\n-- \nFabrízio de Royes Mello\nConsultoria/Coachi...
[ { "msg_contents": "CheckRequiredParameterValues() has some code that, when hot standby is\nin use, checks the values of max_connections,\nmax_prepared_transactions, and max_locks_per_transaction against the\nmaster. The comment says \"we must have at least as many backend\nslots as the primary\" ... but the c...
[ { "msg_contents": "Hi all,\n\nI working in a patch to include support of \"IF NOT EXISTS\" into \"CREATE\"\nstatements that not have it yet.\n\nI started with \"DefineStmt\" section from \"src/backend/parser/gram.y\":\n- CREATE AGGREGATE [ IF NOT EXISTS ] ...\n- CREATE OPERATOR [ IF NOT EXISTS ] ...\n- CREATE T...
[ { "msg_contents": "Hi,\n\nwhile thinking about vacuum freeze I noticed that since the checksums\npatch visibilitymap_set() does:\n\t/*\n\t * If data checksums are enabled, we need to protect the heap\n\t * page from being torn.\n\t */\n\tif (DataChecksumsEnabled())\n\t{\n\t\tPage heapPage = BufferGetPage(heapBu...
[ { "msg_contents": "Hi,\nI'm wondering if it would be OK to change the procedure code before\nexecution. I'm thinking about adding magically an import at the beginning\nof a function.\n\nCurrently numeric arguments passed to the procedure are converted into\nfloats. This is not good, as it causes loss of informa...
[ { "msg_contents": "Hi,\n\nWhile going through Andres' BDR code I noticed that it has a shmem\nstartup hook, which installs a on_shmem_exit() callback to write stuff\nat shutdown time. This works fine but seems somewhat of a hazard: it is\nhaving postmaster do the actual write, which has to access shared memory...
[ { "msg_contents": "There are a number of changes we'd probably like to make to the way\nthings work in Postgres. This thread is not about discussing what\nthose are, just to say that requirements exist and have been discussed\nin various threads over time.\n\nThe constraint on such changes is that we've decided...
[ { "msg_contents": "When Postgres encounters a long list of AND/OR chains, it errors out at\ncheck_stack_depth() after a limit of few thousand. At around 10,000\nelements, the recursion at assign_expr_collations() causes the error. But\nat a little higher element count, around 15,000, the recursion check errors\...
[ { "msg_contents": "Hi,\n\nI found that the normal exit (i.e., with exit code 0) of bgworker\nalways leads to\nthe immediate restart of bgworker whatever bgw_restart_time is. Is\nthis intentional?\nNot only crash but also normal exit should go along with bgw_restart_time?\n\nI'm now writing the bgworker which is...
[ { "msg_contents": "Hi\n\nI've encountered a fundamental problem which - to me - can only be\nsolved with an (future/possible) real index on views in PostgreSQL\n(like the exist already in MS SQL Server and Ora):\n\nGiven following schema:\n\n1. TABLE a and TABLE b, each with INDEX on attribute geom.\n\n2. A VIE...
[ { "msg_contents": "This works fine...\nCOPY pgbench_accounts TO '/tmp/acc' BINARY;\n\nThis new format does not\nCOPY pgbench_accounts FROM '/tmp/acc' (FORMAT BINARY);\nERROR: syntax error at or near \"BINARY\" at character 47\n\nwhich looks like I've mistyped something. Until you realise that this\nstatement g...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to take code-coverage of SET (SESSION / SEED /\nTRANSACTION / DATESTYLE / TIME ZONE) (src/backend/commands/variable.c) from\n65% to 82%.\n\nAny and all feedback is welcome.\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@po...
[ { "msg_contents": "Hi,\n\nI have a question regarding the memory consumption per process in PostgreSQL 9.2\n\nDoes each PostgreSQL process allocating in its own memory (Not shared memory) a cache of all the database catalog which it access during the SQL execution?\nI mean does each process holds all the catalo...
[ { "msg_contents": "Hello,\nwhile playing with 9.3 Beta 1 on windows, I've found following small issue:\n\ncreate table t as select 'a' from generate_series (1,200000)\n\nthe warning is returned more than once:\n\n\n WARNUNG: Spalte \"?column?\" hat Typ \"unknown\"\n DETAIL: Relation wird trotzdem erze...
[ { "msg_contents": "Hi all\n\nI know this topic was discussed before, but there doesn't seem to be\nany conclusion.\n\nThe lack of unsigned integer types is one of the biggest sources of\ngrief in my daily work with pgsql.\n\nBefore I go and start hacking, I'd like to discuss few points:\n\n1. Is there a strong ...
[ { "msg_contents": "It's been brought to my attention that I forgot to email hackers about us\nadding new committers to the project, as I planned to do when I wrote my\nblog post about it.\n\nThis is the same people as were announced during the pgcon closing session\n- Jeff Davis, Stephen frost, fujii masao and ...
[ { "msg_contents": "Hello all\n\nI am searching way how to push our plpgsql_check_function to upstream.\nOne possibility is redesign of plpgsql architecture.\n\nNow, we have two stages -> compilation and execution, and almost all\ncompilation logic is in gram file. If I understand to this design\nwell, then a re...
[ { "msg_contents": "Hi,\nwhile hacking on some Postgres code I've found a problem.\n\nI need to convert numeric to string. I've got datum with numeric inside, so\nI'm getting it like:\n\nNumeric *numeric = DatumGetNumeric(d);\n\nbut later I need to have string (most probably: const char *). I've found a\ncouple ...
[ { "msg_contents": "Hi,\nI need to store a global pointer for plpython usage. This is a PyObject*\nwhich can be initialized per session I think, as we have to deal with\nPython 2 and Python 3. This pointer points to a Python constructor of\nPython's Decimal type, taken from python stdlib.\n\nI've got working cod...
[ { "msg_contents": "Various people, including at least Heikki, Andres, and myself, have\nproposed various schemes for avoiding freezing that amount to doing it\nsooner, when we're already writing WAL anyway, or at least when the\nbuffer is already dirty anyway, or at least while the buffer is\nalready in shared_...
[ { "msg_contents": "I've found a potential bug. Why the \"->\" operator returns JSON instead of\nTEXT? It doesn't make sens for me, and the documentation doesn't inform\nabout that.\n\npostgres=# SELECT ('{\"id\": 1}'::json -> 'id')::int;\nERROR: cannot cast type json to integer\nLINE 1: SELECT ('{\"id\": 1}'::...
[ { "msg_contents": "I'd really love the ability to grant a *user* \nrole-based privileges database by database.\n\nFor background, I have several databases running \nin a single cluster, one database per business unit. \nEach database has the same core schema with the same \nbasic role permissions, but with sig...
[ { "msg_contents": "Hi,\n\nA customer of ours reporting a standby loosing sync with the primary due\nto the following error:\nCONTEXT: xlog redo visible: rel 1663/XXX/XXX; blk 173717\nWARNING: page 173717 of relation base/XXX/XXX is uninitialized\n...\nPANIC: WAL contains references to invalid pages\n\nGuessi...
[ { "msg_contents": "Hi,\nI've got a patch.\n\nThis is for a plpython enhancement.\n\nThere is an item at the TODO list\nhttp://wiki.postgresql.org/wiki/Todo#Server-Side_Languages\n\"Fix loss of information during conversion of numeric type to Python float\"\n\nThis patch uses a decimal.Decimal type from Python s...
[ { "msg_contents": "Hi,\n\nI've just noticed that this patch in 2012-01 commitfest\n\n https://commitfest.postgresql.org/action/patch_view?id=729\n\nadded log_timing option to auto_explain, but it never actually made it\nto the docs. Attached is a patch for current master, but 9.2 should be\npatched too.\n\nreg...
[ { "msg_contents": "Hello Postgres gurus,\n\nI'm writing a thin clustering layer on top of Postgres using the\nsynchronous replication feature. The goal is to enable HA and survive\npermanent loss of a single node. Using an external coordinator\n(Zookeeper), one of the nodes is elected as the primary. The pri...
[ { "msg_contents": "I think these sort of entries don't make much sense:\n\n#wal_sender_timeout = 60s # in milliseconds; 0 disables\n\nI think we should remove units from the comments when it's clear from\nthe name or the default value that time units are accepted.\n\n\n\n-- \nSent via pgsql-hackers mailing...
[ { "msg_contents": "On Wed, May 29, 2013 at 1:11 PM, Jeff Davis <pgsql@j-davis.com> wrote:\n> On Tue, 2013-05-28 at 19:51 -0400, Robert Haas wrote:\n>> > If we just wanted to reduce read cost, why not just take a simpler\n>> > approach and give the visibility map a \"isfrozen\" bit? Then we'd know\n>> > which p...
[ { "msg_contents": "Hello,\n\nI have been trying to understand how pg_trgm works. As part of that, I\nwas looking at gin_extract_query_trgm(), which I think, extracts\ntrigrams from a search query string. So, I debugged for 3 cases:\n\n1) column_name LIKE '%緊急%'\n\nin this case, inside gin_extract_query_trgm(), ...
[ { "msg_contents": "Continuation of:\n\nhttp://www.postgresql.org/message-id/1353551097.11440.128.camel@sussancws0025\n\nRebased patch attached; no other changes.\n\nFirst of all, I'd like to take a step back and describe the benefit that\nI'm trying to achieve. If you have an analytic or data warehouse\nworkloa...
[ { "msg_contents": "Hi,\n\nIn\nhttp://archives.postgresql.org/message-id/20130216164231.GA15069%40awork2.anarazel.de\nI presented the need for 'indirect' toast tuples which point into memory\ninstead of a toast table. In the comments to that proposal, off-list and\nin-person talks the wish to make that a more ge...
[ { "msg_contents": "Since we're bashing around ideas around freezing, let me write down the \nidea I've been pondering and discussing with various people for years. I \ndon't think I invented this myself, apologies to whoever did for not \ngiving credit.\n\nThe reason we have to freeze is that otherwise our 32-b...
[ { "msg_contents": "Testing 9.3beta, it seems that array_remove() may return an empty 1-d\narray whose upper bound is lower than its lower bound. I know that we\ndiscussed allowing this kind of array, but I don't think that\ndiscussion reached any conclusion, other than to agree that the\ncurrent empty 0-d array...
[ { "msg_contents": "Folks,\n\nThere's currently some great ideas bouncing around about eliminating the\noverhead associated with FREEZE. However, I wanted to take a step back\nand take a look at the big picture for VACUUM, FREEZE and ANALYZE.\nOtherwise, we're liable to repeat the 8.4 problem of making one\nope...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI can check for the presence of $PGDATA/backup_label in order to detect\na backup in progress (i.e. pg_start_backup() has been run and\npg_stop_backup() has not yet been run).\n\nHowever there is a period of time after pg_start_backup() is fir...
[ { "msg_contents": "Currently, we hold xmin and xmax for each tuple.\n\nFor xmax, we have the multixact mechanism that allows us to represent\nan array of xids with just a single pseudo xid.\n\nSo why not hold xmin and xmax as part of a multixact? Instead of\ncaching two xids on each tuple, why not hold just one...
[ { "msg_contents": "As we get faster, we'll need to wrap the xid counter more quickly. At\ncurrent full speed, we could wrap the xid counter every 72 hours.\n\nThis is a concern for very large tables, since currently we have to\nrescan the whole table. This has my interest for change in the next\nrelease.\n\nWe ...
[ { "msg_contents": "FK checks can be expensive, especially when loading large volumes of\ndata into an existing table or partition. A couple of ideas for\nimproving performance are discussed here:\n\n1. Use Case: Bulk loading\nCOPY pgbench_accounts; --> references pgbench_branches with many\nrepeated values\n\n...
[ { "msg_contents": "Hi\n\nI want to find some architectural information about the storage\nsubsystem of PostgreSQL especially the modulus which are responsible to\nloading data from disk to the Shared Buffer. I cannot find any\nstructured and useful information on web.\n\nWould you please help me to find such i...
[ { "msg_contents": "Dear Hackers\n\nI've created a new DB, and a bunch of files created in base/12054, 12054\nis oid of the new DB.\nI want to find what table stored in each file.\nBTW, I read this\nhttp://www.postgresql.org/docs/9.2/interactive/storage-file-layout.html\nI have 156 files with numerical names, v...
[ { "msg_contents": "Minor spelling fixes\n\nFix a few spelling mistakes.\n\nPer bug report #8193 from Lajos Veres.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/c9fc28a7f12e27d530e2657c9dc6080fbfbe8a14\n\nModified Files\n--------------\ncontrib/pg_upgrade/relfilenode.c ...
[ { "msg_contents": "Notes on a longer term idea...\n\nAn item pointer (also called line pointer) is used to allow an\nexternal pointer to an item, while allowing us to place the tuple that\nanywhere on the page. An ItemId is 4 bytes long and currently consists\nof (see src/include/storage/itemid.h)...\n\ntypedef...
[ { "msg_contents": "Buildfarm member anchovy has been failing the pl/perl regression tests\nfor the last 11 days. Since configure is helpful enough to print the\nversion number of the Perl it finds, we can see that anchovy's Perl\nversion was 5.16.3 in its last successful run, but it's been using\n5.18.0 in all...
[ { "msg_contents": "We've almost cleared the open items list, and I'm not aware of any other \nunfixed issues in 9.3beta1. Could we make a beta2 release soon? There \nhave been a bunch of recovery-related fixes since beta1, it would be \nnice to get those fixes in the hands of testers.\n\n- Heikki\n\n\n-- \nSent...
[ { "msg_contents": "Hi\n\nIn playing with materialized views, I noticed that they still seem to\nhave an _RETURN rule implicitly created like a regular view. This\ndoesn't seem right to me - is there a reason?\n\nviper:~ dpage$ /usr/local/pgsql-9.3/bin/psql -p 5433 -U postgres\npsql (9.3beta1)\nType \"help\" for...
[ { "msg_contents": "I try to create database columns with umlauts, using the UTF8 client encoding. However, the server seems to mess up the column names. In particular, it seems to perform a lowercase operation on each byte of the UTF-8 multi-byte sequence.\r\n\r\nHere is my code:\r\n\r\n const wchar_t *strNa...
[ { "msg_contents": "A colleague, Korry Douglas, observed a table partitioning scenario where\ndeserializing pg_constraint.ccbin is a hot spot. The following test case, a\nsimplification of a typical partitioning setup, spends 28% of its time in\nstringToNode() and callees thereof:\n\n\\timing on\n\\set n 600000...
[ { "msg_contents": "I suppose we'll be branching off 9.3 in a few weeks. That event always\ncreates a service gap in the build farm and similar services, and a race\nin the NLS service to get everything adjusted to the new branch.\n\nIt seems to me we could already now create a git symbolic-ref named\nREL9_3_ST...
[ { "msg_contents": "Hi, I was asked [1] to add following patch downstream, could it be\nconsidered upstream also? Thanks, Pavel.\n\n[1] https://bugzilla.redhat.com/show_bug.cgi?id=970661\n\n From ed791f40aa117d4fc273e4b96d9295ee9571fc96 Mon Sep 17 00:00:00 2001\nFrom: Mark Salter <msalter@redhat.com>\nDate: Tue...
[ { "msg_contents": "Hello,\n\nI am working with the NixOS Linux Distribution [nixos], which has a \nfairly radical approach to package management. If you aren't familiar \nwith it, essentially all packages are installed in isolation - such that \npackages cannot interfere with each other.\n\nThis is causing a bi...
[ { "msg_contents": "\\dv+ shows the size of views as \"0 bytes\". This doesn't make any sense;\nI think it should show null. Maybe this is even the fault of the\nbackend functions for returning a number to display in the first place.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\...
[ { "msg_contents": "I was looking for a way in which the average psql user could learn\nwhether a view is updatable. I was expecting something in \\d, \\d+, \\dv,\n\\dv+, or a NOTICE from CREATE VIEW. So far, the only way appears to be\nthrough the information schema or the underlying pg_view_is_updatable\nfun...
[ { "msg_contents": "I ran in to the following situation:\n\n> SET search_path = ENOENT, also_does_not_exist;\n> CREATE EXTENSION pg_repack;\n> ERROR: XX000: there is no default creation target\n> LOCATION: CreateExtension, extension.c:1395\n\nWhich left me checking out the source code to figure out exactly wha...
[ { "msg_contents": "I'd like to propose a feature that allows extensions to replace a part\nof plan-tree underlying PlannedStmt\nby self-defined exec node being associated with several callback\nfunctions implemented at extension\nmodule.\nRight now, about 30 built-in exec nodes are implemented, and all the\nque...
[ { "msg_contents": "checkpoint_segments is awkward. From an admin's point of view, it \ncontrols two things:\n\n1. it limits the amount of disk space needed for pg_xlog. (it's a soft \nlimit, but still)\n2. it limits the time required to recover after a crash.\n\nFor limiting the disk space needed for pg_xlog, c...
[ { "msg_contents": "In 9.2, the JSON parser didn't check the validity of the use of unicode \nescapes other than that it required 4 hex digits to follow '\\u'. In 9.3, \nthat is still the case. However, the JSON accessor functions and \noperators also try to turn JSON strings into text in the server \nencoding, ...
[ { "msg_contents": "Commit 2c92edad48796119c83d7dbe6c33425d1924626d has broken\nEXPLAIN's ANALYZE option in parentheses, which also makes some\nother options unusable.\n\ntest=# EXPLAIN (ANALYZE) SELECT 1;\nERROR:  syntax error at or near \"ANALYZE\"\nLINE 1: EXPLAIN (ANALYZE) SELECT 1;               ^\n\n--\nKe...
[ { "msg_contents": "Hello,\n\nI am experimenting with the cascade standby and hit a problem which is\nreproducible with the current HEAD. I haven't tried other branches, but not\nsure if the test setup I am trying even works for older releases because of\nthe timeline ID issue.\n\nAnyways, I set up a cascaded st...
[ { "msg_contents": "Hi.\n\nAt the moment libpq doesn't seem to support asynchronous and\nnon-blocking support for large objects, in the style of\nPQsendQuery/PQgetResult. This makes large objects hardly suited for\nsingle-threaded programs based on some variant of select().\n\nI would like to know whether this i...
[ { "msg_contents": "Hello,\n\nAt what point do the entries in the pending list are moved to the main\nGIN data structure?\n From documentation, I read that overflowing work_mem and vacuum are\ntwo such causes; what about when the concerned backend is to exit and\nautovacuum has not yet kicked in?\n\n\n--\nAmit L...
[ { "msg_contents": "Please find attached a patch for pgbench that introduces a new\nauto-variable 'client_number'. Following in the footsteps of 'scale'\nauto-variable, this is not declared if the user has specified this variable\nusing -D switch.\n\nSince 'clientid' is a very common name a user can use for thei...
[ { "msg_contents": "In the \"Redesigning checkpoint_segments\" thread, many people opined that \nthere should be a hard limit on the amount of disk space used for WAL: \nhttp://www.postgresql.org/message-id/CA+TgmoaOkgZb5YsmQeMg8ZVqWMtR=6S4-PPd+6jiy4OQ78ihUA@mail.gmail.com. \nI'm starting a new thread on that, b...
[ { "msg_contents": "In a private bug report, I have realized that if you are eventually\ngoing to be using link mode with pg_upgrade, and you run --check mode,\nyou should use --link with --check to check that both clusters are on\nthe same file system.\n\nI have documented this with the attached, applied patch,...
[ { "msg_contents": "Hi,\n\nWhen a statement is cancelled due to it running for long enough for\nstatement_timeout to take effect, it logs a message:\n\nERROR: canceling statement due to statement timeout\n\nHowever, it doesn't log what the timeout was at the time of the\ncancellation. This may be set in postgr...
[ { "msg_contents": "According to http://www.postgresql.org/docs/9.2/static/libpq-async.html\n\"Even when PQresultStatus indicates a fatal error, PQgetResult should be\ncalled\nuntil it returns a null pointer, to allow libpq to process the error\ninformation completely.\"\nIn libpq/fe-exec.c:PQexecFinish() error ...
[ { "msg_contents": "I've been looking into the problem reported at\nhttp://www.postgresql.org/message-id/519A5917.40704@qunar.com\nand what I find is that we have spgist insertion operations deadlocking\nagainst each other because one is descending from page A to page B while\nthe other descends from page B to p...
[ { "msg_contents": "Given the recent ideas being thrown about changing how freezing and\nclog is handled and MVCC catalog access I thought I would write out\nthe ideas that I have had about speeding up snapshots in case there is\nan interesting tie in with the current discussions.\n\nTo refresh your memory the b...
[ { "msg_contents": "\nHi, \n\nsystem catalog pg_rewrite column ev_attr document description as shown below\n\n\nev_attr - The column this rule is for (currently, always zero to indicate\nthe whole table) \n\n\nBut In the code the column value is always set as -1. can we change the\ncolumn description as below i...
[ { "msg_contents": "I asked a while ago in this group about the possibility to implement a\nparallel planner in a multithread way, and the replies were that the\nproposed approach couldn't be implemented, because the postgres is not\nthread-safe. With the new feature Background Worker Processes, such\nimplement...
[ { "msg_contents": "\nHello,\n\nI had a customer pulling their hair out today because they couldn't \nlogin to their system. The error was consistently:\n\n2013-06-07 08:42:44 MST postgres 10.1.11.67 27440 FATAL: password\nauthentication failed for user \"user\n\nHowever the problem had nothing to do with passw...
[ { "msg_contents": "Folks,\n\nI've been trying to write some tools which (for example) give how much\ntotal temp file space was used by specific individual slow queries. And\nthis turns out to be inordinately hard to do because of how\nlog_temp_files works.\n\nIn many cases, this is what I see (9.2.4):\n\nsessi...
[ { "msg_contents": "Don't downcase non-ascii identifier chars in multi-byte encodings.\n\nLong-standing code has called tolower() on identifier character bytes\nwith the high bit set. This is clearly an error and produces junk output\nwhen the encoding is multi-byte. This patch therefore restricts this\nactivity...
[ { "msg_contents": "Recently we had a gripe about how you can't read very many files\nconcurrently with contrib/file_fdw:\nhttp://www.postgresql.org/message-id/OF419B5767.8A3C9ADB-ON85257B79.005491E9-85257B79.0054F6F1@isn.rtss.qc.ca\n\nThe reason for this is that file_fdw goes through the COPY code, which\nuses ...
[ { "msg_contents": "\nHello,\n\nIn my quest to understand how all the logging etc works with \nauthentication I came across the area of crypt.c that checks for \nvalid_until but it seems like it has an extraneous check.\n\nIf I am wrong I apologize for the noise but wouldn't mind an explanation.\n\nindex f01d904...
[ { "msg_contents": "While fiddling with FK tuning, it was useful to be able to enable and\ndisable the DEFERRED mode of constraints.\n\nThat is not currently possible in SQL, so I wrote this patch. Without\nthis you have to drop and then re-add a constraint, which is\nimpractical for large tables.\n\ne.g.\nCREAT...
[ { "msg_contents": "While fiddling with FK tuning, Noah suggested batching trigger\nexecutions together to avoid execution overhead.\n\nIt turns out there is no easy way to write triggers that can take\nadvantage of the knowledge that they are being executed as a set of\ntrigger executions. Some API is required ...
[ { "msg_contents": "Here's a rebased version of the patch implementing WITH CHECK OPTION\nfor auto-updatable views.\n\nIt now includes documentation, and a clearer description of the\npatch's limitations --- WITH CHECK OPTION is only supported on\nauto-updatable views, not trigger-updatable or rule-updatable vie...
[ { "msg_contents": "It looks like the postgres_fdw's regression tests expect data back from \nthe following statement in a given order, which presumably isn't guaranteed:\n\n UPDATE ft2 SET c2 = c2 + 600 WHERE c1 % 10 = 8 RETURNING *;\n\nSee \n<http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=frogmouth&dt=20...
[ { "msg_contents": "Valgrind's Memcheck tool[1] is handy for finding bugs, but our use of a custom\nallocator limits its ability to detect problems in unmodified PostgreSQL.\nDuring the 9.1 beta cycle, I found some bugs[2] with a rough patch adding\ninstrumentation to aset.c and mcxt.c such that Memcheck underst...
[ { "msg_contents": "My \"make installcheck\" runs while completing the just-posted Valgrind Memcheck\npatch revealed seven new and newly-detected (due to tighter checking) memory\nerrors. Proposed patches attached.\n\n\n* SP-GiST moveLeafs() and doPickSplit() read past the end of a palloc\n\nThese functions con...
[ { "msg_contents": "Hi,\n\nWhile reviewing sql_features.txt, found a few items marked NO ('Not\nsupported') whereas, at the outset, they seemed to be supported. Apologies,\nif this is already considered and / or still marked 'NO' for a reason, but\na list of such items mentioned below:\n\nF202 TRUNCATE TABLE:...
[ { "msg_contents": "Recently we got a complain about server side large object function\nnames described in the doc:\nhttp://www.postgresql.org/message-id/51B2413F.8010305@gmail.com\n\nIn the doc:\nhttp://www.postgresql.org/docs/9.3/static/lo-funcs.html\n\n\"There are server-side functions callable from SQL that ...
[ { "msg_contents": "Attached is a first draft of an update to pg_filedump for 9.3. I know\npg_filedump is a pgfoundry project, but that seems like it's just there\nto host the download; so please excuse the slightly off-topic post here\non -hackers.\n\nI made a few changes to support 9.3, which were mostly fixes...
[ { "msg_contents": "Il 3/6/2013 11:46 PM, Andrew Dunstan ha scritto:\n>\n> Excellent. Will test it out soon.\n>\n> cheers\n>\n> andrew\n>\n\nAndrew,\nplease find attached a full patch for cygwin relative to 9.3beta1 :\n\n- DLLTOLL/DLLWRAP are not used anymore, replaced\n by gcc also for postgres.exe (*)\n- DLL...
[ { "msg_contents": "Hi,\n\nI create patch which is improvement of checkpoint IO scheduler for stable \ntransaction responses.\n\n* Problem in checkpoint IO schedule in heavy transaction case\n When heavy transaction in database, I think PostgreSQL checkpoint scheduler \nhas two problems at start and end of che...
[ { "msg_contents": "Hallo Everybody\n\nAs far as I can see, currently you can not return\nanything out of a DO (anonymous code) block.\n\nSomething like\n\nDO LANGUAGE plpythonu RETURNS TABLE (name text, uid int, gid int) $$\nwith open('/etc/passwd') as f:\n fields = f.readline().split(':')\n while fields:...
[ { "msg_contents": "On 07/08/2013 09:26 AM, Heikki Linnakangas wrote:\n> On 08.07.2013 00:48, Markus Wanner wrote:\n>> On 07/07/2013 09:51 PM, Dimitri Fontaine wrote:\n>>> The design we found to address that is\n>>> called \"Extension Templates\" and is implemented in the current patch.\n>>\n>> I placed my conce...
[ { "msg_contents": "$ git pull\nssh: connect to host gitmaster.postgresql.org port 22: Connection timed out\nfatal: The remote end hung up unexpectedly\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJapanese: http://www.sraoss.co.jp\n\n\n-- \nSent via pgsql-hackers mailing...
[ { "msg_contents": "The CLOBBER_CACHE_ALWAYS animals (friarbird and jaguarundi) have been \nfailing persistently for about 36 hours now. The error is in a test \nadded by Tom's recent commit a4424c5:\n\nExpected:\n\n-- Check row comparisons with IN\nselect * from int8_tbl i8 where i8 in (row(123,456)); -- fail,...
[ { "msg_contents": "Hackers,\n\nAs a reminder, the first 9.4 commitfest starts this Saturday. If you\nplan to submit patches for CF1, please make sure that they are mailed in\nand registered with the Commitfest app by Friday, June 14th. Patches\nadded after midnight will be bounced to CF2. We already have 72 ...
[ { "msg_contents": "Hi,\n\nIn streaming replication, when we shutdown the master, walsender tries to\nsend all the outstanding WAL records including the shutdown checkpoint\nrecord to the standby, and then to exit. This basically means that all the\nWAL records are fully synced between two servers after the clea...
[ { "msg_contents": "Hi all\n\nCurrently DECIMAL is an alias for NUMERIC, Pg's built-in arbitrary\nprecision and scale decimal type. I'd like to explore the possibility of\nusing hardware decimal floating point support in newer processors,\ncompilers and C libraries to enhance DECIMAL / NUMERIC performance.\n\nWi...
[ { "msg_contents": "This is like shared_preload_libraries except that it takes effect at\nbackend start and can be changed without a full postmaster restart. It\nis like local_preload_libraries except that it is still only settable by\na superuser. This can be a better way to load modules such as\nauto_explain...
[ { "msg_contents": "This has served no purpose except to\n\n1. take up space\n2. confuse users\n3. produce broken external extension modules that take contrib as an example\n4. break builds of PostgreSQL when users try to fix 3. by exporting USE_PGXS\n\nThere is adequate material in the documentation and elsewhe...
[ { "msg_contents": "Hi,\n\nAttached is a patch implementing a new aggregate function md5_agg() to\ncompute the aggregate MD5 sum across a number of rows. This is\nsomething I've wished for a number of times. I think the primary use\ncase is to do a quick check that 2 tables, possibly on different\nservers, conta...