threads
listlengths
1
2.99k
[ { "msg_contents": "Hackers,\n\nI've looked in the archives, but I can't find a reason why INSTEAD OF\ntriggers were never enabled for tables. I'm interested in them in order\nto return a rowcount to JDBC for INSERTs into partitioned tables.\n\nWas there a technical obstacle, or is this just a TUIT issue?\n\n--...
[ { "msg_contents": "Preface on the venue: It is specified in the description of mailing\nlists that pgsql-general is for all topics except those relating to\nfailed compiles. However doing a search for the word compile fails to\nyield any other mailing list for said compilation failures. Presumably\nthis is the ...
[ { "msg_contents": "The commit fest is closed. Final score:\n\nNeeds Review: 8, Ready for Committer: 13, Committed: 36, Returned with\nFeedback: 42, Rejected: 9. Total: 108.\n\n\nAll patches that were in Waiting on Author or Needs Review state and\nhave received a decent review have been moved to Returned with ...
[ { "msg_contents": "Hello,\n\nI've found a small bug of ECPG and attached a patch. I tested the fix with \n9.4. I'd like the fix to be back-ported.\n\n\n[Problem]\nThe ECPG app runs the statement:\n\nEXEC SQL CONNECT TO 'tcp:postgresql://?service=my_service';\n\nI want this app to connect to any database based...
[ { "msg_contents": "Hi,\n\nattached you will find a patch for showing the current transaction id\n(xid) and the xmin of a backend in pg_stat_activty and the xmin in\npg_stat_replication.\n\nThis may be helpful when looking for the cause of bloat.\n\nI added two new struct members in PgBackendStatus which get fil...
[ { "msg_contents": "Hi,\n\nAttached patch adds GiST support to the inet datatypes with two new\noperators. Overlaps operator can be used with exclusion constraints.\nIs adjacent to operator is just the negator of it. Index uses only\nthe network bits of the addresses. Except for the new operators and\nis contain...
[ { "msg_contents": "I had to write obscure code for processing time zone and using it for\ntimestamptz\n\nDatum\nmake_timestamptz_at_timezone(PG_FUNCTION_ARGS)\n{\n Timestamp timestamp;\n text *zone;\n int tz;\n char tzname[TZ_STRLEN_MAX + 1];\n cha...
[ { "msg_contents": "VACUUM FREEZE sets both vacuum_freeze_min_age and vacuum_freeze_table_age\nto 0, but only the former is documented. This patch notes that the other\nsetting is also affected.\n\nVACUUM FREEZE sets both vacuum_freeze_min_age and vacuum_freeze_table_age to 0, but only the former is documented. ...
[ { "msg_contents": "Hi\n\nIn many ways the new hstore (and perhaps json) format looks very \nexciting. But will there ever be (GIN/GIST) index support for <@ ?\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...
[ { "msg_contents": "Hi\n\nI've tried to test postgres 9.3.2 and 9.4devel with selinux on Fedora 20\nand met with a label regression test failure.\n\nPS\nI've got some warning during build process.\n\n-- \nBest regards,\nSergey Muraviov\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.o...
[ { "msg_contents": "Hi,\n\n \n\nWe recently observed ~15% performance regression with dbt2 from PG 9.3.\n\nWe narrowed down on testing master between 9.2 cut and 9.3 cut.\n\nIt seems that 0ac5ad5134f2769ccbaefec73844f8504c4d6182 is the culprit\ncommit.\n\nWe did several runs and perf profiling comparing it again...
[ { "msg_contents": "Hi,\n\nAttached is a patch to add support for array_length(anyarray), which \nonly works for one-dimensional arrays, returns 0 for empty arrays and \ncomplains if the array's lower bound isn't 1. In other words, does the \nright thing when used with the arrays people use 99% of the time.\n\n...
[ { "msg_contents": "Upgrade to Autoconf 2.69\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/94b899b829657332bda856ac3f06153d09077bd1\n\nModified Files\n--------------\nconfigure |35943 +++++++++++++-------------------------------\nconfigure.in ...
[ { "msg_contents": "Whilst fooling with the WITHIN GROUP patch, I noticed that\nIsBinaryCoercible() doesn't think that anything-to-ANY is a binary\ncoercion. This was causing lookup_agg_function() to refuse to accept use\nof support functions declared as taking ANY in aggregates with more\nspecific declared typ...
[ { "msg_contents": "Hello,\n\nI am trying to upgrade from 9.0.14 to 9.3. I am using the pg_upgrade\nutility. I need to use pg_upgrade because my production database is 800GB+\nand with over 80 tablespaces and doing an export from 9.0 and importing to\n9.3 would take at least 2 days.\n\nCurrently I am testing on ...
[ { "msg_contents": "Hi,\n\nLinux 2.6.32\nPostgreSQL 9.2.6\n\nIt was suffering from this problem on 9.2.4, mostly last couple of\nweeks when I had to rebuild the replica almost every 3 days, and I\nhoped it would be fixed in 9.2.6, but it is not.\n\nYesterday I upgraded both master and replica servers to 9.2.6,\n...
[ { "msg_contents": "Hi,\n\nWhile looking into ways to implement a XMLSTRIP function which extracts the textual contents of an XML value and de-escapes them (i.e. replaces entity references by their text equivalent), I've ran into another issue with the XML type.\n\nXML values can either contain a DOCUMENT or CON...
[ { "msg_contents": "This a great solution to this problem, one I've found to be very common in\nweb development. The technique will work to add RI to Django's generic\nforeign keys[1], which are implemented with an id column and a type-flag\ncolumn.\n\n[1]:\nhttps://docs.djangoproject.com/en/dev/ref/contrib/cont...
[ { "msg_contents": "Hello\n\nwe have defined interface date, time, timestamp constructors.\n\nThere is a question if we would to have some similar for interval type?\n\nAs different from time, timestamp there we can use a zero as defaults.\n\nSo constructor should to look like:\n\nCREATE OR REPLACE FUNCTION make...
[ { "msg_contents": "pg_prewarm, a contrib module for prewarming relationd data.\n\nPatch by me. Review by Álvaro Herrera, Amit Kapila, Jeff Janes,\nGurjeet Singh, and others.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/c32afe53c2e87a56e2ff930798a5588db0f7a516\n\nModifi...
[ { "msg_contents": "Hello,\n\nI've encountered a bug on PG 9.2 and fixed it for 9.4. Please find attached \nthe patch. I'd like it to be backported to at least 9.2.\n\n\n[Problem]\nIf the backend is terminated with SIGKILL while psql is running \"\\copy \ntable_name from file_name\", the \\copy didn't end fore...
[ { "msg_contents": "During the direct I/O discussion I'd suggested that somebody from the\nPostgreSQL community might want to put in an appearance at the LSFMM\nsummit in March. Here's the CFP. My guess is that a proposal for a\nsession on avoiding performance regressions for systems like PostgreSQL,\nprobably...
[ { "msg_contents": "This allows the variables to be moved from .data to .rodata section which\nmeans that more data can be shared by processes and makes sure that nothing\ncan accidentally overwrite the read-only definitions. On a x86-64 Linux\nsystem this moves roughly 9 kilobytes of previously writable data t...
[ { "msg_contents": "\nHello devs,\n\nISTM that there is an issue on the ISMN type:\n\n sh> psql\n psql (9.3.2)\n Type \"help\" for help.\n # CREATE EXTENTION isn;\n # SELECT ISMN 'M123456782';\n M-1234-5678-5\n\n*** The 2 is changed to 5 in the display...\n\n # SELECT ISMN 'M123456785';\n ERROR: invali...
[ { "msg_contents": "Hello pg-hackers!\n\nI tried to look at the problem resulting in changes mentioned here:\nhttp://www.postgresql.org/message-id/20121002155857.GE30089@momjian.us\n\nIf the system locale is changed e.g. from en_US.utf8 to en_US.utf-8 before\nupgrading the data stack for newer server, pg_upgrade...
[ { "msg_contents": "> I had observed one problem with PGC_BACKEND parameters while testing patch\n> for ALTER SYSTEM command.\n\n> Problem statement: If I change PGC_BACKEND parameters directly in\n> postgresql.conf and then do pg_reload_conf() and reconnect, it will\n> still show the old value...
[ { "msg_contents": "With \\timing on, a trailing comment yields a timing.\n\n# test.sql\nselect 1;\n\n/*\nselect 2\n*/\n\n$ psql -f test.sql\n ?column?\n----------\n 1\n(1 row)\n\nTime: 0.651 ms\nTime: 0.089 ms\n\nI assume it is timing something about that comment (right?).\n\nConfusing and annoying, IMHO...
[ { "msg_contents": "Hi,\n\nA user asked in -performance[1] if there is a way to measure the \nplanning time. Other than measuring it in the client I do not think \nthere is so I quickly hacked a patched which adds \"Planning time\" to the \noutputs of EXPLAIN and EXPLAIN ANALYZE.\n\nIs this something useful? I t...
[ { "msg_contents": "This is a small patch to fix a typo in src/backend/utils/mmgr/README.\n\nThanks,\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-hackers", "msg_d...
[ { "msg_contents": "Hello,\n\nI encountered a bug of ECPG with PG 9.2.4, which probably exists in all \nreleases. The attached patch is for 9.4. Could you review and backport \nthis to at least 9.2 and later?\n\n\n[Problem]\nThe attached ECPG app crashes and dumps core with SIGBUS on Solaris for \nSPARC. I us...
[ { "msg_contents": "I was recently annoyed that I had to do\n\nCREATE TABLESPACE x LOCATION y;\nALTER TABLESPACE x SET (random_page_cost = z);\n\nThe attached patch is a quick n' dirty extension to allow the SET\ndirectly on the CREATE statement.\n\nCREATE TABLESPACE x LOCATION y SET (random_page_cost = z);\n\nI...
[ { "msg_contents": "Hi hackers.   Ref: http://wiki.postgresql.org/wiki/BDR_Project   Is \nimplementing main BDR features into core Postgres a probable objective to \nversion 9.4?   Thanks.   --\n Andreas Joseph Krogh <andreak@officenet.no>      mob: +47 909 56 963\n Senior Software Developer / CTO - OfficeNet AS...
[ { "msg_contents": "Hi,\n\nI've tried to fix some bugs reported by Andrey Karpov in an article at\nhttp://www.viva64.com/en/b/0227/\n\nThe value returned by socket() is unsigned on Windows and can thus not\nbe checked if less than zero to detect an error, instead\nPGINVALID_SOCKET should be used, which is hard-c...
[ { "msg_contents": "As reported by Andrey Karpov in his article\nhttp://www.viva64.com/en/b/0227/, the version number is expressed in\noctal form 070100 should be changed to 70100.\n\nAttached patch fixes the reported issue.\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make ...
[ { "msg_contents": "As reported by Andrey Karpov in his article\nhttp://www.viva64.com/en/b/0227/, a parenthesis has been misplaced.\n\nAttached patch fixes the problem.\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.or...
[ { "msg_contents": "In the following thread I discovered that my new regression tests worked\nperfectly on windows, but when they were run on linux they failed.\n\nhttp://www.postgresql.org/message-id/CAApHDvo_YCiPYGDz07MpX9o6EGg=3mmyJTb0ysPTwoTg3c=Tvw@mail.gmail.com\n\nAfter looking at pg_regress to see which o...
[ { "msg_contents": "http://www.viva64.com/en/b/0227/ reported that on-stack memset()s\nmight be optimized away by compilers. Fix it.\n\n* Replace memset() with px_memset()\n* Add px_memset to copy_crlf()\n* ADd px_memset to pgp-s2k.c\n\n-- \nmarko\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers...
[ { "msg_contents": "Hi,\n\nCan a posting item / ItemPointer belonging to posting list/tree of\nsome entry \"stored\" in a GIN index be \"lossy\"? If yes, under what\ncircumstances would such a lossy ItemPointer be included for the\nentry?\n\nI got an impression that there may be some lossy ItemPointers stored\ni...
[ { "msg_contents": "Hackers,\n\nI believe many of us have seen report of checking PostgreSQL with\nPVS-Studio.\nhttp://www.viva64.com/en/b/0227/\nMe and Oleg Bartunov got license key for PVS-Studio. Thanks Viva64 for it.\nI've just run PVS-Studio against PostgreSQL head and it gives me very many\nwarnings. CSV-f...
[ { "msg_contents": "Hi guys,\n\nI'm starting to poke around the internals of Postgres. Does anyone know\nthe extent to which Thomas Lockhart's book, \"PostgresSQL Programmer's\nGuide\" is accurate with respect to the current state of the code base?\n\nThanks,\nChristian\n\nHi guys,I'm starting to poke around th...
[ { "msg_contents": "I started looking at bug #8673 some days ago, and I identified three\nseparate issues that need fixing:\n\n1. slru.c doesn't consider file names longer than 4 hexadecimal chars.\n\n2. pg_multixact/members truncation requires more intelligence to avoid\nremoving files that are still needed. R...
[ { "msg_contents": "I was just looking through a few of the warnings flagged up by PVS Studio.\nI found some warnings around some calculations that were doing work_mem *\n1024L and comparing that to a double. On windows 64 sizeof(long) is 4 bytes.\nCurrently work_mem's maximum value is INT_MAX / 1024, so this sh...
[ { "msg_contents": "I create type based on varlena.\nI want control it that don't toast.\nhow to control the length? I must control all of varlena size or data\nvarlena size?\nthank.\n\nI create type based on varlena.I want control it that don't toast.how to control the length? I must control all of varlena size...
[ { "msg_contents": "While playing around with the pginclude tools, I noticed that pgcrypto\nheader files are failing to include some header files whose symbols they\nuse. This change would fix it:\n\ndiff --git a/contrib/pgcrypto/pgp.h b/contrib/pgcrypto/pgp.h\nindex 3022abf..f856e07 100644\n--- a/contrib/pgcry...
[ { "msg_contents": "A credulous person might suppose that this chunk of code is designed\nto abort if pg_resetxlog fails:\n\n prep_status(\"Setting next transaction ID for new cluster\");\n exec_prog(UTILITY_LOG_FILE, NULL, true,\n \"\\\"%s/pg_resetxlog\\\" -f -x %u \\\"%s\\\"\",\n ...
[ { "msg_contents": "Is there any chance to implement polymorphic calls in PostgreSQL?\nConsider the following definitions:\n\ncreate table base_table (x integer, y integer);\ncreate table derived_table (z integer) inherits (base_table);\ncreate function volume(r base_table) returns integer as $$ begin return \nr...
[ { "msg_contents": "One of the big appeals of the new COLLATE feature was, to me, the\npossibility that we'd be able to support custom collations including\ncase-insensitive collations in future.\n\nIt's something I'd like to tackle one day, and in the mean time want to\npop on the TODO so it's not lost and forg...
[ { "msg_contents": "Hi there,\n\nI created two patches improving the log messages generated by\nlog_lock_waits. The first patch shows the process IDs holding a lock\nwe try to acquire (show_pids_in_lock_log.patch), sample output\n(log_lock_waits=on required):\n\nsession 1: BEGIN; LOCK TABLE foo IN SHARE MODE;\ns...
[ { "msg_contents": "In src/include/pgstat.h, the PGSTAT_NUM_TABENTRIES macro\nattempts to subtract off the size of the PgStat_MsgTabstat\nstruct up to the m_entry[] field.  This macro was correct up\nuntil the fields m_block_read_time and m_block_write_time\nwere added to that struct, as the macro was not change...
[ { "msg_contents": "Hi there,\n\nI created a patch improving the log_lock_wait messages by adding\nrelation infos (name and OID) as well as tuple infos (if present –\nctid and, if available, the tuple itself) in the context.\n\nSample output (log_lock_waits=on required):\n\nsession 1:\nCREATE TABLE foo (val inte...
[ { "msg_contents": "Hello\n\nI am looking on this patch\n\nALTER TABLE foo SET (ext.somext.do_replicate=true);\n\nWhy is there fixed prefix \"ext\" ?\n\nThis feature is similar to attaching setting to function\n\nCREATE OR REPLACE FUNCTION ... SET var = ...;\n\nWe can use someprefix.someguc without problems ther...
[ { "msg_contents": "Hello\n\nI am working on plpgsql_check and I would to write a protection against\nrepeated check - so I need to mark a compiled (cached) function. Now,\nplpgsql extension can store own data to exec state, and I would to some\nsimilar for plpgsql_function. I believe so it can be useful for any...
[ { "msg_contents": "This is not entirely \"pie in the sky\", but feel free to tell me why this is crazy.  I\nhave had this idea for several years, but have not seen anyone else suggest it,\nnor any arguments why it would not work.\n\n\nIf we had 64-bit Oids, we could reserve the top 16 bits (for instance) to ind...
[ { "msg_contents": "Peter pointed out in\nhttp://www.postgresql.org/message-id/527C0FE9.7000600@gmx.net\nthat Kyotaro-san's patch to treat unique indexes as satisfying any sort\ncondition that they are a prefix of broke the drop-index-concurrently-1\nisolation test. The latest iterations of the patch respond to...
[ { "msg_contents": "Hi,\n\nAs much as I've seen people frown upon $subject, it still happens in the\nwild, and Magnus seems to agree that the current failure mode of our\npg_basebackup tool when confronted to the situation is a bug.\n\nSo here's a fix, attached.\n\nTo reproduce, mkdir -p $PGDATA/tbs/foo then CRE...
[ { "msg_contents": "Here is a more or less straightforward patch to add more use of\npsprintf() in place of hardcoded palloc(N) + sprintf() and the like.\n\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/pgs...
[ { "msg_contents": "I've attached a simple patch which removes some duplicate if conditions\nthat seemed to have found their way into the code.\n\nThese are per PVS-Studio's warnings.\n\nRegards\n\nDavid Rowley\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your ...
[ { "msg_contents": "Hi All,\n\nTest case:\n\ndrop table if exists t;\ncreate table t(c text);\ninsert into t values ('x'), (repeat(md5('abcdefghijklmnop'), 10000));\nselect pg_column_size(c), pg_column_size(c || '') FROM t;\n\nCREATE OR REPLACE FUNCTION copy_toast_out() RETURNS VOID AS $$\ndeclare\n v tex...
[ { "msg_contents": "I want to announce implementation of In-Memory Columnar Store extension \nfor PostgreSQL.\nVertical representation of data is stored in PostgreSQL shared memory.\nVarious basic and sophisticated analytic operators are provided for \nmanipulation with timeseries.\n\n GitHub repository: h...
[ { "msg_contents": "Greetings,\n\nWe've had two clients experience a crash on the secondary of a streaming replication pair, running PostgreSQL 9.3.2. In both cases, the messages were close to this example:\n\n2013-12-30 18:08:00.464 PST,,,23869,,52ab4839.5d3d,16,,2013-12-13 09:47:37 PST,1/0,0,WARNING,01000,\"p...
[ { "msg_contents": "By an odd coincidence, I also decided to try to const-ify libpq\nrecently, and noticed this thread as I was cleaning up my patch for\nsubmission. For what it's worth, I've attached my patch to this message.\nIt doesn't move as much data into the text segment as Oskari Saarenmaa's\npatch does,...
[ { "msg_contents": "I'm trying to figure out why hash joins seem to be systematically underused\nin my hands. In the case I am immediately looking at it prefers a merge\njoin with both inputs getting seq scanned and sorted, despite the hash join\nbeing actually 2 to 3 times faster, where inputs and intermediate...
[ { "msg_contents": "Hello,\n\n please find attached the patch that adds basic support for the\npg_stat_archiver system view, which allows users that have continuous\narchiving procedures in place to keep track of some important metrics\nand information.\n\n Currently, pg_stat_archiver displays:\n\n* archived_w...
[ { "msg_contents": "Here is a patch for the new json functions I mentioned a couple of \nmonths ago. These are:\n\n json_to_record\n json_to_recordset\n json_object\n json_build_array\n json_build_object\n json_object_agg\n\nSo far there are no docs, but the way these work is illustrated ...
[ { "msg_contents": "1. compiling with msvc shows warning in relcache.c\n1>e:\\workspace\\postgresql\\master\\postgresql\\src\\backend\\utils\\cache\\relcache.c(3959):\nwarning C4715: 'RelationGetIndexAttrBitmap' : not all control paths\nreturn a value\n\nAttached patch remove_msvc_warning.patch to remove above w...
[ { "msg_contents": "I am not sure it worth reporting but it took me a while to find out\nwhat is wrong with comparing two values returned from\nthe bitncmp function. It does not return -1, 1 or 0 as it is written\non the comment when n % 8 == 0.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgr...
[ { "msg_contents": "Presumably \"classifyConditions\", not \"classifyClauses\", is meant.\nPatch attached.\n\n\nRegards\n\nIan Barwick\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": "Hello\n\nI am thinking how to implement a assertions and tracking to plpgsql. This\narea is not strict and clear - everybody would little bit different\nfunctionality - and implementation can be different if someone use a psql\nas main client or some GUI. So I am sceptical to implement assert...
[ { "msg_contents": "One of the things that you might want to do with dynamic shared memory\nis store a lock in it. In fact, my bet is that almost everything that\nuses dynamic shared memory will want to do precisely that, because, of\ncourse, it's dynamic *shared* memory, which means that it is\nconcurrently ac...
[ { "msg_contents": "I am building a regression test system for replication and came across\nthis email thread.  I have gotten pretty far into my implementation, but\nwould be happy to make modifications if folks have improvements to\nsuggest.  If the community likes my design, or a modified version based\non you...
[ { "msg_contents": "Hi all\n\nOut of personal interest (in pain and suffering) I was recently looking\ninto how to compile extensions out-of-tree on Windows using Visual\nStudio (i.e. no PGXS).\n\nIt looks like the conventional answer to this is \"Do a source build of\nPG, compile your ext in-tree in contrib/, a...
[ { "msg_contents": "If libintl.h and any headers it in turn includes are bundled, there is no longer an issue with NLS. \nThat was just a workaround for building exts when Pg's headers tried to refer to nonexistent headers when NLS was enabled.\nOn 6 Jan 2014 18:57, Sandeep Thakkar <sandeep.thakkar@enterprisedb....
[ { "msg_contents": "I have found a case that PostgreSQL as win32 service does not start, if the data directory given as relative path.\nError observed in this case is:\n \"The PostgreSQL on Local Computer started and then stopped\".\n\nThis may happen because relative path given wi...
[ { "msg_contents": "Hi,\n\nI want to read an attribute value from a TupleTableSlot. When I try to\nconvert an attribute of SQL type varchar from Datum* to char* with the help\nof the method TextDatumGetCString(...), sometimes there is a segmentation\nfault. The segmentation fault comes from the method\nTextDatum...
[ { "msg_contents": "Hi,\n\nDoes anybody have an opinion about introducing generic pseudotype IO\nfunctions? Pseudotype.c/pg_proc.h are slowly growing a number of pretty\nuseless/redundant copy&pasted functions... Most for cases that are\npretty damn unlikely to be hit by users not knowing what they do.\n\nWhat a...
[ { "msg_contents": "If two transactions both read and write, I can easily reproduce the\nfollowing: \"could not serialize access due to read/write dependencies among\ntransactions\". However, the 9.3 documentation says that \"When relying on\nSerializable transactions to prevent anomalies, it is important that a...
[ { "msg_contents": "I kinda forgot about this bug when I went off on vacation:\nhttp://www.postgresql.org/message-id/E1UnCv4-0007oF-Bo@wrigleys.postgresql.org\n\nThe way to fix it seems to be to do static prechecking of whether a\nfunction's input arguments can return sets, rather than relying on\ntheir behavior...
[ { "msg_contents": "Issue #10 is now available!\n\nHello readers and welcome to the somewhat overdue Issue 010 of HITB\nMagazine. As they say, better late than never!\n\nSince the last issue, we've also changed the HITB Security Conference\nCall for Papers submission guidelines to now require speakers to submit\...
[ { "msg_contents": "Hello.\n\nSince the last discussion about it (http://www.postgresql.org/message-id/CADyhKSUGP6oJb1pybTiMOP3s5fg_yOkgUTo-7RBcLTNVaJ57Pw@mail.gmail.com), I \nfinally managed to implement row triggers for foreign tables.\n\nThe attached patch does not contain regression tests or documentation ye...
[ { "msg_contents": "Hello all,\n\nwhen pg_ctl start is used to run PostgreSQL in a console window on \nWindows, it runs in the background (it is terminated by closing the \nwindow, but that is probably inevitable). There is one problem, however: \nThe first Ctrl-C in that window, no matter in which situation, wi...
[ { "msg_contents": "A customer recently upgraded their jdbc driver from 8.4 to 9.2. This\nenabled the binary wire protocol (effectively between 9.1 and 9.2).\nThey reported that single precision values inserted into a\nnumeric(10,2) column were suddenly rounded wrongly, i.e. 10000.18 was\ninserted as 10000.20, w...
[ { "msg_contents": "I get assertion failure on initsplan.c line 1325 while executing following query\non HEAD (edc43458d797a5956f4bf39af18cf62abb0077db). It works fine\nwithout --enable-cassert.\n\nupdate subscriber set properties = hstore(a) from (select firstname,\nlastname from player where player.id = subscr...
[ { "msg_contents": "Below attached patch is implementing following todo item..\nmachine-readable pg_controldata?\nhttp://www.postgresql.org/message-id/4B901D73.8030003@agliodbs.com\nPossible approaches:\n\n1. Implement as backend function and provide a view to user.\n\n- But In this approach user ...
[ { "msg_contents": "Below attached patch is implementing following todo item..\nmachine-readable pg_controldata?\nhttp://www.postgresql.org/message-id/4B901D73.8030003@agliodbs.com\nPossible approaches:\n\n1. Implement as backend function and provide a view to user.\n\n- But In this approach user ...
[ { "msg_contents": "Current freesapce code gives a new block insert target (NBT) from\nanywhere in table. That isn't very useful with bigger tables and it\nwould be useful to be able to specify different algorithms for\nproducing NBTs.\n\nALTER TABLE foo WITH (freespace = XXXX);\n\nThree simple and useful models...
[ { "msg_contents": "VACUUM cleans up blocks, which is nice because it happens offline in a\nlazy manner.\n\nWe also make SELECT clean up blocks as it goes. That is useful in OLTP\nworkloads, but it means that large SQL queries and pg_dump effectively\ndo much the same work as VACUUM, generating huge amounts of I...
[ { "msg_contents": "The docs say:\n\n> At most one of recovery_target_time, recovery_target_name or recovery_target_xid can be specified\n\nHowever, the code actually allows them all to be specified at the same time:\n\n> \t\telse if (strcmp(item->name, \"recovery_target_name\") == 0)\n> \t\t{\n> \t\t\t/*\n> \t\...
[ { "msg_contents": "The fact that a final function may be called\nmultiple times does not appear to be mentioned\nin the docs, and a reasonable reading of the\ndocs gives the alternate impression.  For\npeople writing final functions in C, there\nshould be some warning about changing the\ntransition value, such ...
[ { "msg_contents": "Hackers,\n\nPer the Developer Meeting, we are scheduled to do a final triage of 9.4\npatches the week before CF4 starts, which is *now*. The goal of this\ntriage is to divide patches already in queue into 5 groups:\n\n1) Good To Go: patches which are 100% ready for final testing and commit.\...
[ { "msg_contents": "Anyone else?\n\nOr you'll have to deal with me again?\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": "Wed, 08 Jan 2014 17:04:10 -0500", "msg_from": "P...
[ { "msg_contents": "Reduce the number of semaphores used under --disable-spinlocks.\n\nInstead of allocating a semaphore from the operating system for every\nspinlock, allocate a fixed number of semaphores (by default, 1024)\nfrom the operating system and multiplex all the spinlocks that get\ncreated onto them. ...
[ { "msg_contents": "pg_upgrade creates a script analyze_new_cluster.{sh|bat} that runs\nvacuumdb --analyze-only in three stages with different statistics target\nsettings to get a fresh cluster analyzed faster. I think this behavior\nis also useful for clusters or databases freshly created by pg_restore\nor any...
[ { "msg_contents": "Is there a reason why the programs in src/bin/scripts all put newlines\nat the end of the SQL commands they generate? This produces useless\nempty lines in the server log (and client output, if selected).\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo ma...
[ { "msg_contents": "Hello all:\n This is my first time mail to all, yesterday I tried to compile\npostgresin my linux, but an error keep bother me.\n\nenv:\n\nUbuntu 13.10\nLinux rugal-TM8473 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC\n2013 x86_64 x86_64 x86_64 GNU/Linux\ngcc version 4.8.1 (Ubuntu...
[ { "msg_contents": "Currently pg_basebackup is pretty invasive when using tablespaces, at\nleast using the plain format. This since it requires the tablespace to\nbe written to the same location as on the server beeing backed up. This\nboth breaks backing up locally using -Fp (since the tablespace would\nbe writ...
[ { "msg_contents": "Allow the default log_min_error_statement to be overridden per sqlstate \nto make it possible to filter out some error types while maintaining a \nlow log_min_error_statement or enable logging for some error types when \nthe default is to not log anything.\n\nI've tried to do something like t...
[ { "msg_contents": "The only useful feature of the uuid-ossp module in my opinion is the \nuuid_generate_v4 function and as uuid-ossp is more or less abandonware \npeople have had trouble building and installing it. This patch \nimplements an alternative uuid v4 generation function in pgcrypto which \ncould be ...
[ { "msg_contents": "ISTM that allowing users to pick arbitrary lower array bounds was a huge mistake. I've never seen anyone make use of it, can't think of any legitimate use cases for it, and hate the stupendous amount of extra code needed to deal with it.\n\nObviously we can't just drop support, but what about...
[ { "msg_contents": "Hello\n\nWe talked about enhancing a plpgsql plugin API to support more active\nplugins.\n\nI wrote a prototype based on function plpgsql_register_plugin instead\nrendezvous variable.\n\nThere are two basic questions:\n\na) will we support rendezvous variable still?\n\nb) will we support same...
[ { "msg_contents": "Hi,\n\nHere's a patch for $SUBJECT, displaying information which I find quite \ntedious to locate using alternative methods. Hopefully someone else \ndoes, too. Or doesn't. Not sure.\n\n\nRegards,\nMarko Tiikkaja\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org...