threads
listlengths
1
2.99k
[ { "msg_contents": "All,\n\nAttached is a stripped-down version of the default roles patch which\nincludes only the 'pg_signal_backend' default role. This provides the\nframework and structure for other default roles to be added and formally\nreserves the 'pg_' role namespace. This is split into two patches, t...
[ { "msg_contents": "Hi All,\n\nDuring the testing of parallel query (with force_parallel_mode = regress),\nnoticed random server crash with the below stack:\n\n#0 0x0000003fc84896d5 in memcpy () from /lib64/libc.so.6\n#1 0x0000000000a36867 in SerializeSnapshot (snapshot=0x1e49f40,\nstart_address=0x7f391e9ec728...
[ { "msg_contents": "Hi all,\n\nOne year and a half ago Heikki has reported that libpq could run on an\ninfinite loop in a couple of code paths should an OOM happen in\nPQExec():\nhttp://www.postgresql.org/message-id/547480DE.4040408@vmware.com\nThe code paths are:\n- BIND messages for getRowDescriptions(), or 'T...
[ { "msg_contents": "Hi,\n\nTransaction function call sequence description in transam/README is slightly outdated. Select now handled by PortalRunSelect instead of ProcessQuery. It is also hard to follow what tabulation there means — sometimes that means “function called by function”, sometimes it isn't. So I’ve ...
[ { "msg_contents": "Hi,\n\nI have the following strange phenomena using postgresql 9.5 using\nofficial packages from both of\n * the debian repository \n http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg/main\n * and the centos repository\n http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-cen...
[ { "msg_contents": "Hi all,\n\nAs of now the MSVC scripts control if TAP tests are enabled or not\nusing a boolean flag as $config->{tap_tests}. However, this flag is\njust taken into account in vcregress.pl, with the following issues:\n1) config_default.pl does not list tap_tests, so it is unclear to\nusers to ...
[ { "msg_contents": "Hi all\n\nPer discussion on the failover slots thread (\nhttps://commitfest.postgresql.org/9/488/) I'm splitting timeline following\nfor logical slots into its own separate patch.\n\nThe attached patch fixes an issue I found while testing the prior revision:\nit would read WAL from WAL segmen...
[ { "msg_contents": "Hi all,\n\nI guess that commit fest 2016-03 is going to begin soon, at which\npoint nobody will be able to add new patches because\n1) already closed CF don't accept them.\n2) A CF currently running neither.\nI propose to create an extra CF, called \"Future\" or similar where\npeople will be ...
[ { "msg_contents": "Hi all,\n\nI have found incorrect error message in InitializeSessionUserId function \nif you try to connect to database by role Oid (for example BackgroundWorkerInitializeConnectionByOid).\nIf role have no permissions to login, you will see error message like this:\nFATAL:  role \"(null)\" is...
[ { "msg_contents": "Hi all\n\nI've been working with the new TAP tests for recovery and have a number of\nenhancements I'd like to make to the tooling to make writing tests easier\nand nicer. I've also included two improvements proposed by Kyotaro\nHORIGUCHI in the prior thread about the now-committed TAP recove...
[ { "msg_contents": "Hi\n\nI don't understand how is possible to get more rows from Sort node than in\nnested seq scan?\n\n http://explain.depesz.com/s/568O\n\nSec scan returns 1.6M rows, Sort returns 2.7M rows\n\nRegards\n\nPavel\n\nHiI don't understand how is possible to get more rows from Sort node than in ne...
[ { "msg_contents": "Hello\n\nThere are applications that create and delete a lot of temporary\ntables. Currently PostgreSQL doesn't handle such a use case well.\nConsider the following benchmark/example.\n\npostgresql.conf:\n\n```\nautovacuum = on\nlog_min_messages = debug2\n```\n\ntemp-table.pgbench:\n\n```\ncr...
[ { "msg_contents": "Hi all,\n\nIssue:\nI use hot standby stream replication in PostgreSQL 9.2.X.\nAnd after i shut down the master server in fast stop mode, i compared the\nxlog dump files between the master and slave and found that the shutdown\ncheckpoint was not replicated to the slave。\nThen i check the pg_l...
[ { "msg_contents": "I volunteered a while back to be the CFM and I haven't seen any other\nvolunteers or objections to my offer.\n\nI am still ready, eager, and willing!\n\n-- \n-David\ndavid@pgmasters.net", "msg_date": "Tue, 1 Mar 2016 14:39:45 -0500", "msg_from": "David Steele <david@pgmasters.net>", ...
[ { "msg_contents": "I'd always sort of assumed that the UTF_U2E() / UTF_E2U() macros in\npltcl.c were enabled by default. I just realized that that isn't so:\nthey're enabled by a test\n\n#if defined(UNICODE_CONVERSION) && HAVE_TCL_VERSION(8,1)\n\nUNICODE_CONVERSION is defined nowhere in our sources, and I can ...
[ { "msg_contents": "Hi all,\n\nI have enabled yesterday the recovery test suite on hamster, and we\ndid not have to wait long before seeing the first failure on it, the\nmachine being slow as hell so it is quite good at catching race\nconditions:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hamster&dt...
[ { "msg_contents": "The 2016-03 commitfest is officially in progress!\n\nThere are currently a lot of patches waiting for review but with no\nreviewers:\n\nNeeds review: 97\nNeeds *reviewer*: 58\n\nPlease check the \"needs reviewer\" list\n(https://commitfest.postgresql.org/9/?reviewer=-2) for patches to\nreview...
[ { "msg_contents": "Attached patches add SP-GiST support to the inet datatypes. The operator\nclass comes with a small change on the SP-GiST framework to allow fixed\nnumber of child nodes.\n\nThe index is like prefix tree except that it doesn't bother to split the\naddresses into parts as text is split. It al...
[ { "msg_contents": "Placing this specific message onto -bugs while keeping -hackers and\nremoving -novice.\n\nEditing subject to include version and remove list identifiers.\n\nThere is continuing discussion on -hackers though mostly about how to do\nthis right in the future. The specific problem stems from an ...
[ { "msg_contents": "Hi all\n\nI've prepared a Dockerfile that produces a canned Perl 5.8.8 environment\nbased on CentOS 5 on any host with Docker. It has ccache installed and\nenabled, git installed, IPC::Run installed, all the mess required to make\nCPAN work sensibly done, etc.\n\nOnce you build the container ...
[ { "msg_contents": "Hi\n\nWe have not autocomplete for casting introduced by symbol \"::\". A\nimplementation should not be hard.\n\nRegards\n\nPavel\n\nHiWe have  not autocomplete for casting introduced by symbol \"::\". A implementation should not be hard.RegardsPavel", "msg_date": "Thu, 3 Mar 2016 10:05:...
[ { "msg_contents": "\nHello everyone, I'm Eduardo Morras from Spain.\n\nMy company is developing code for Postgresql for another company and want to communicate, debate and share the results with the community.\n\nThe objetives are upgrade the network backend and frontend of Postgresql:\n\na) Add support for Lib...
[ { "msg_contents": "Hi,\n\n How do I push a branch to git.postgresql.org/git/pgrpms.git ?\n\nHi,  How do I push a branch to git.postgresql.org/git/pgrpms.git ?", "msg_date": "Thu, 3 Mar 2016 11:11:44 +0000", "msg_from": "\"Maton, Brett\" <matonb@ltresources.co.uk>", "msg_from_op": true, "msg_sub...
[ { "msg_contents": "Hi all,\n\nMicrosoft provides a set of VMs that one can use for testing and\nWindows 10 is in the set:\nhttps://dev.windows.com/en-us/microsoft-edge/tools/vms/windows/\nI have grabbed one and installed the community version of Visual\nStudio 2015 so I think that I am going to be able to compi...
[ { "msg_contents": "Since SSL compression seems to be a busted flush, I would like to see\npg_basebackup be able to do compression on the server end, not just\nthe client end, in order to spare network bandwidth.\n\nAny comments on how hard this would be, or why we don't want it?\n\nCheers,\n\nJeff\n\n\n-- \nSen...
[ { "msg_contents": "Hello,\n\n\nLong time no see. I'm back.\n\nAlthough you may not remember me, I was certainly here more than a year ago, submitting tiny patches for bug fixes and trivial functionalities, and reviewing/testing patches from others. That was a fruitful and fun time for me. Thank you a lot for...
[ { "msg_contents": "Hi\n\nHere is a patch to fix a typo in a comment in timestamp.c.\n\n-- \nThomas Munro\nhttp://www.enterprisedb.com\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": "JPUG (Japan PostgreSQL Users Group) would like to add a copyright\nntice to the Japanese translated docs.\n\nhttp://www.postgresql.jp/document/9.5/html/\n\nCurrently \"Copyright 1996-2016 The PostgreSQL Global Development\nGroup\" is showed on the translated doc (of course in Japanese). What\...
[ { "msg_contents": "I think the answer to this question is NO, but thought I'd ask. \n\nA lot of folks in PostGIS land are suffering from restore issues,\nmaterialized view issues etc. because we have functions such as\n\nST_Intersects\n\nWhich does _ST_Intersects AND && \n\nSince _ST_Intersects is not schema q...
[ { "msg_contents": "Interesting article in latest issue of subject titled:\n\n \"A Differential Approach to Undefined Behavior Detection\"\n\nwhich may describe procedures not used in other static analysis programs.\n\nArticle references the authors' website here:\n\n http://css.csail.mit.edu/stack\n\nwhich co...
[ { "msg_contents": "Hello,\n\nAs I said in the previous greeting mail, I'd like to discuss how to expand PostgreSQL ecosystem. Here, ecosystem means \"interoperability\" -- the software products and cloud services which use/support PostgreSQL. If pgsql-advocacy or somewhere else is better for this topic, just ...
[ { "msg_contents": "Hi,\n\nWhile translating the 9.5 ref/psql-ref.sgml, I found this:\n\nand <literal>variables</> shows help about about\n<application>psql</application> configuration variables\n\nThe word \"about\" is written twice. Sounds like a nice typo to me :)\n\nSee attached patch (for 9.5 and HEAD).\n\n...
[ { "msg_contents": "So there's an ISO error 22021 \"character not in repertoire\" and\na PostgreSQL error 22P05 \"untranslatable character\" that seem\nvery similar.\n\nIf I look in backend/utils/mb/wchar.c, it looks as if PostgreSQL\nuses the first for the case of a corrupted encoding (bytes that\ncan't be deco...
[ { "msg_contents": "My attention was drawn to the log_error() stuff in controldata_utils.c by\nthe fact that buildfarm member pademelon spit up on it. The reason for\nthat compile failure is that pademelon's dinosaur of a compiler doesn't\nsupport __VA_ARGS__. I do not feel a need to get into a discussion abou...
[ { "msg_contents": "Hi all,\n\nI'm facing with a strange error message during a failed pg_restore:\n\npg_restore: processing data for table \"historicopesquisaitem\"\npg_restore: [directory archiver] could not close data file: Success\n\nI got this error trying to restore from a directory dump file.\n\nLooking a...
[ { "msg_contents": "Hi.\n\nI am testing the pgaudit(https://commitfest.postgresql.org/9/463/).\n(use \"http://www.postgresql.org/message-id/56B0101B.6070704@pgmasters.net\" attached patch on 9.6-devel)\n\n\nI found strange thing.\n\n- After SET ROLE, part of the SQL is not the audit log output.\n- SQL comprising...
[ { "msg_contents": "There are very lengthy (over 10k lines, for example) SGML files in\ndocs. While working on translating docs using GitHub, I noticed that\nsometimes diffs are not showed in pull requests due to the limitation\nof GitHub, which makes me pretty difficult to review PR. Any chance to\nsplit those ...
[ { "msg_contents": "THE ISSUE:\n\nIn JDBC there is a flag called RETURN_GENERATED_KEYS -- \nhttps://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#RETURN_GENERATED_KEYS\n\nWhich is left quite ambiguous, but in general it is used to return the \n\"generated\" Primary Key on INSERT/UPDATE/DELETE -- whic...
[ { "msg_contents": "All,\n\nhttp://blogs.microsoft.com/?p=67248\n\nOnce SQL Server is available on Linux, we're going to see more people \nusing it as an alternative to PostgreSQL. Especially since they're \npicking up a lot of our better features, like R support.\n\n-- \n--\nJosh Berkus\nRed Hat OSAS\n(any opi...
[ { "msg_contents": "Attached patch fixes a bug reported privately by Stephen this morning.\nHe complained about deadlocking ON CONFLICT DO NOTHING statements.\nThere were no exclusion constraints involved, and yet they were\nincorrectly indicated as being involved in log messages that related\nto these deadlocks...
[ { "msg_contents": "The attached fixes a small spelling error in a comment.\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subsc...
[ { "msg_contents": "The attached fixes a small error in the logicaldecoding docs.\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your...
[ { "msg_contents": "Hi,\n\nI'm setting up a buildfarm animal that runs under\nvalgrind. Unfortunately there's not really any good solution to force\nmake check et al. to start postgres wrapped in valgrind. For now I've\nresorted to adding something like\n\nsub replace_postgres\n{\n my $srcdir=$use_vpath ? \"...
[ { "msg_contents": "Hi,\n\nPer the new valgrind animal we get:\n\nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=skink&dt=2016-03-08%2004%3A22%3A00\n2016-03-08 05:56:05.566 UTC [56de6971.723:5] LOG: statement: select plperl_sum_array('{}');\n==1827== Invalid write of size 4\n==1827== at 0x14E35DD1: plperl_ref...
[ { "msg_contents": "Hi all.\n \nIs there a way to exclude pg_largeobject from pg_dump? -T pg_largeobject \ndoesn't work. I've tried to exclude tables using OID-datatype also but that \ndidn't work either.\n \nThanks.\n \n-- Andreas Joseph Krogh\nCTO / Partner - Visena AS\nMobile: +47 909 56 963\nandreas@visena.c...
[ { "msg_contents": "Hi All,\n\nWhile testing a parallel scan feature on standby server, it is found that\nthe parallel query fails with an error \"*ERROR: failed to initialize\ntransaction_read_only to 0*\".\n\nFollowing are the steps used to reproduce the issue:\n\n*Master :-*\n\nedb=# create table ert(n int);...
[ { "msg_contents": "In connection with a question on -general, I tried this:\n\n$ pg_dump -n '*' regression >regression.dump\npg_dump: WARNING: typtype of data type \"any\" appears to be invalid\npg_dump: WARNING: typtype of data type \"anyarray\" appears to be invalid\npg_dump: WARNING: typtype of data type \"a...
[ { "msg_contents": "I am attempting to upgrade my organization's database cluster from 9.1.19 to 9.5.1 using the pg_upgrade utility. After some processing, the tool bails out with the following error in the log:\n\npg_restore: creating OPERATOR \"public.=>\"\npg_restore: [archiver (db)] Error while PROCESSING TO...
[ { "msg_contents": "OK, so I made a pass through the \"Ready for Committer\" patches in the\ncurrent CF. One I committed, several I replied to the thread with\nreview comments and set back to \"Waiting on Author\". Here's where we\nare with the rest:\n\nSilent data loss with ext4 / all current versions - It loo...
[ { "msg_contents": "When PL/Java is told to map a PostgreSQL composite type to a certain\nJava class, on its first use of the type mapping it calls\nlookup_rowtype_tupdesc_noerror and then creates a PL/Java UDT structure\nthat retains a reference to the TupleDesc. This seems to be what is leading\nto a TupleDesc...
[ { "msg_contents": "HI, pgsql-hackers\r\n\r\nThe include-timestamp data returned by pg_logical_slot_peek_changes() is always 2000-01-01 in 9.5.1, is it not normal?\r\n\r\n\r\n\r\nThe following is the test:\r\n\r\n[postgres@pgtest ~]$ cat /etc/issue\r\nCentOS release 6.4 (Final)\r\nKernel \\r on an \\m\r\n\r\n[p...
[ { "msg_contents": "Hi All,\n\nExplain [Analyze] Select Into table..... produces the plan which uses\nparallel scans.\n\n*Test:*\n\ncreate table table1 (n int);\ninsert into table1 values (generate_series(1,5000000));\nanalyze table1;\n\nset parallel_tuple_cost=0;\n\nset max_parallel_degree=3;\n\npostgres=# expl...
[ { "msg_contents": "Hi!\n\nRight now it is not possible to rename an enum value.\nAre there plans to implement this anytime soon?\nI had a bit of a discussion on the IRC channel and it seems it shouldn't be\nthat hard to implement this.\nAgain, I am talking about renaming the values, not the enum itself.\n\nThan...
[ { "msg_contents": "Hi all,\n\nI faced suspicious behaviour on hot standby server related to visibility map.\nThe scenario is,\n\n1. Create table and check internal of visibility map on master server.\npostgres(1)=# create table hoge (col int);\nCREATE TABLE\npostgres(1)=# insert into hoge select generate_series...
[ { "msg_contents": "Hi,\n\nHere is a patch that is supposed to solve the remaining problem to\nfind the current log file used by the log collector after a rotation.\nThere is lot of external command to try to find this information but\nit seems useful to have an internal function to retrieve the name\nof the cur...
[ { "msg_contents": "Currently we don't have a way to create a GIN index on an array of \nenums, or to use an enum field in a GIST index, so it can't be used in \nan exclusion constraint, among other things.\n\nI'd like to work on fixing that if possible. Are there any insuperable \nbarriers? If not, what do we n...
[ { "msg_contents": "Hi,\n\nhow come that the only comment in pg_rewind about fsyncing is '\nvoid\nclose_target_file(void)\n{\n...\n\t/* fsync? */\n}\n\nIsn't that a bit, uh, minimal for a utility that's likely to be used in\nfailover scenarios?\n\nI think we might actually be \"saved\" due to\nhttp://git.postgre...
[ { "msg_contents": "I am encountering, here and there, an idiom like\n\n pstrdup(TextDatumGetCString(foo))\n\nor a pre-8.4 version,\n\n pstrdup(DatumGetCString(DirectFunctionCall1(textout, foo)))\n\nIt's leading me to question my sanity because it appears to me\nthat both text_to_cstring (underlying TextDatumG...
[ { "msg_contents": "Hello,\n\nAttached patch provides trivial simplification of the search of end of\nthe argv[] area by replacing for() loop with calculation based on\nargc.\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgres...
[ { "msg_contents": "Hi,\n\nIs the plan to remove support for floating point timestamps at some\nstage? If so, what is that waiting on, and would it provide\nsufficient warning if (say) 9.6 were documented as the last major\nrelease to support that build option?\n\nThanks!\n\n-- \nThomas Munro\nhttp://www.enterp...
[ { "msg_contents": "Hello\n\nI noticed:\n\nhttp://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b6fb6471f6afaf649e52f38269fd8c5c60647669\n\n... that comments for procedures pgstat_progress_update_param and\npgstat_progress_end_command are identical. Here is a patch that fixes\nthis. Also one empty l...
[ { "msg_contents": "Hello\n\nI noticed that master branch of PostgreSQL currently compiles with\nwarnings on FreeBSD 10.2 RELEASE:\n\n```\npg_locale.c:1290:12: warning: implicit declaration of function\n'wcstombs_l' is invalid in C99 [-Wimplicit-function-declaration]\n\nresult = wcstombs_l(to, from, tolen, local...
[ { "msg_contents": "Hello\n\nThere is a bug in implementation of set-returning functions in PL/Python.\nWhen you call the same set-returning function twice in a single query, the\nexecutor falls to infinite loop which causes OOM. Here is a simple\nreproduction for this issue:\n\nCREATE OR REPLACE FUNCTION func(i...
[ { "msg_contents": "Hi.\n\nHere is proof-of-concept version of two phase commit support for logical replication. There are some changes in core postgres, pglogical_output and pglogical extensions. I’ve used version from 2nd Quadrant repo, pglogical branch and rebased it to current head. Some notes about this pat...
[ { "msg_contents": "Over in the \"Optimizer questions\" thread, it's become apparent that\nwe need to fix pull_var_clause() to offer multiple behaviors for\nWindowFunc nodes that are parallel to the ones it has for Aggrefs\n(viz, reject, recurse, or include in result). This should've been\ndone when window func...
[ { "msg_contents": "Provide much better wait information in pg_stat_activity.\n\nWhen a process is waiting for a heavyweight lock, we will now indicate\nthe type of heavyweight lock for which it is waiting. Also, you can\nnow see when a process is waiting for a lightweight lock - in which\ncase we will indicate...
[ { "msg_contents": "\n> Hmm. The meaning of funcs.inline depends on the search_path, not just during dump restoration but all the time. So anything uses it under a different search_path setting than the normal one will have this kind of problem; not just \n\n> dump/restore.\n\n> I don't have a very good idea w...
[ { "msg_contents": "Hi all\n\nI think I found a couple of logical decoding issues while writing tests for\nfailover slots.\n\nDespite the docs' claim that a logical slot will replay data \"exactly\nonce\", a slot's confirmed_lsn can go backwards and the SQL functions can\nreplay the same data more than once.We d...
[ { "msg_contents": "At the recent Dev Meeting in Brussels we discussed release management\nprocesses and schedules. The recommendation from the meeting was to explore\nthe creation of a Release Management Team (RMT) with the skills and\nauthority to keep us on schedule. That has now been discussed and agreed by\...
[ { "msg_contents": "pg_upgrade: Convert old visibility map format to new format.\n\nCommit a892234f830e832110f63fc0a2afce2fb21d1584 added a second bit per\npage to the visibility map, but pg_upgrade has been unaware of it up\nuntil now. Therefore, a pg_upgrade from an earlier major release of\nPostgreSQL to any...
[ { "msg_contents": "Hi,\n\nWe now have \"Provide much better wait information in pg_stat_activity\"\nand \"Add a generic command progress reporting facility\" making it easier\nto provide insight into the system.\n\n\nWhile working on the writeback control / checkpoint sorting patch I'd\nthe following statement ...
[ { "msg_contents": "The hstore module uses elog() to default to ERRCODE_INTERNAL_ERROR\n(SQLSTATE XX000) when the error message reads \"Syntax error near '%c' at\nposition %d\".\n\nI propose to switch to ereport() to return ERRCODE_SYNTAX_ERROR (SQLSTATE\n42601), on the grounds that it's more transparent. It too...
[ { "msg_contents": "Hi,\n\nI have implemented a SRF[*] that returns rows one by one (using \nExprMultipleResult). But now I need to save somewhere some context \ninformation between calls pertaining to the same result set and I am \nunable to find a proper place for that.\n\nI have seen that cfinfo->flinfo->fn_e...
[ { "msg_contents": "Hi,\n\nDoes someone know how to prepare a synamic SQL statement in plpgsql?\n\nAll the examples, PG documents describe only about preparing static SQL\nstatement.\n\nThank you;\n------\nKoichi Suzuki\n\nHi,Does someone know how to prepare a synamic SQL statement in plpgsql?All the examples, P...
[ { "msg_contents": "Anybody know what will happen when passing a uint64 to newSViv()?\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers\n", "msg_date": "Fri, 11 Mar 2...
[ { "msg_contents": "Hello friends,\n\ntoday, I built PG 9.5.1 on my Mac. Everything went fine with the build, as usual but after installing everything, psql did nothing but give a 'bus error: 10'. Loading it into gdb gave me more details: \n\nProgram received signal SIGBUS, Bus error.\n0x000000010001be6c in refr...
[ { "msg_contents": "Hello all,\n\nAttached patch simplifies the MemoryContextAllocZero() and\nMemoryContextAllocZeroAligned().\nThe MemoryContextAllocZero() and MemoryContextAllocZeroAligned()\nfunctions does almost the\nsame that MemoryContextAlloc() does. Additionally these functions\nfills allocated memory co...
[ { "msg_contents": "Hi,\n\nOn the spanish list, Felipe de Jesús Molina Bravo, reported a few days\nback that a query that worked well in 9.4 consume all memory in 9.5.\nWith the self contained test he provided us i reproduced the problem\nin 9.5 and 9.6dev.\n\nTo test, execute:\n\npba.sql -- to create the tables...
[ { "msg_contents": "Getting lots of POSTGRESQL_TRACE_... undefined.\n\nAny hints ?\nDave Cramer\n\nGetting lots of POSTGRESQL_TRACE_... undefined.Any hints ?Dave Cramer", "msg_date": "Sat, 12 Mar 2016 20:07:08 -0500", "msg_from": "Dave Cramer <davecramer@gmail.com>", "msg_from_op": true, "msg_sub...
[ { "msg_contents": "Per a comment from Petr Jelinek, I added this in commit 23a27b039d94ba35:\n\n#ifdef WIN32\n return _strtoui64(str, endptr, base);\n#else ...\n\nSeveral of the Windows buildfarm members are good with that, but\nnarwhal is not:\n\nnumutils.c: In function `pg_strtouint64':\nnumutils.c:406: war...
[ { "msg_contents": "The comment in hv_store_string() says that negative key length to\nhv_store() for UTF-8 is not documented, and mentions that 5.6 doesn't\ntrack UTF-8-ness of keys. However, the negative length convention has\nbeen documented since 5.16¹, and 5.6 is no longer supported. The\nattached patch u...
[ { "msg_contents": "Hi\n\nI guess pg_stat_get_progress_info should either be strict (see\nattached) or check for NULL.\n\n-- \nThomas Munro\nhttp://www.enterprisedb.com\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org...
[ { "msg_contents": "Hi,\n\nHere is the comments for foreign_join_ok in postgres_fdw.c:\n\n/*\n * Assess whether the join between inner and outer relations can be\npushed down\n * to the foreign server. As a side effect, save information we obtain\nin this\n * function to PgFdwRelationInfo passed in.\n *\n * Join...
[ { "msg_contents": "Hi hackers,\n\nCommit 23a27b039d94ba359286694831eafe03cd970eef changed the type of\nnumbers-of-tuples-processed counters to uint64 and adjusted various PLs\nto cope with this. I noticed the PL/Perl changes did not take full\nadvantage of what Perl is capable of handling, so here's a patch th...
[ { "msg_contents": "In view of some rather important recent fixes such as commits\nbf7ced5e2dc8622f and 301cc3549c29aaa5, the release team has decided\nthat it'd be a good thing to schedule a set of minor releases in\nthe near future. The nearest convenient time seems to be week after\nnext, that is, wrap Monda...
[ { "msg_contents": "> On Sun, Mar 13, 2016 at 9:53 PM, Kouhei Kaigai <kaigai@ak.jp.nec.com> wrote:\r\n> > OK, I split the previous small patch into two tiny patches.\r\n> > The one is bugfix around max length of the extnodename.\r\n> > The other replaces Assert() by ereport() according to the upthread discussion...
[ { "msg_contents": "Over in [1] James mentioned about wanting more to be able to have more\ninfluence over the partial path's parallel_degree decision. At risk\nof a discussion on that hijacking the parallel aggregate thread, I\nthought I'd start this for anyone who would want to discuss making\nchanges to that...
[ { "msg_contents": "Hi, hackers.\n\nI had a error message while using PostgreSQL.\n\n\"ERROR: 42804: column \"a\" is of type boolean but expression is of type\ninteger at character 25\nLOCATION: transformAssignedExpr, parse_target.c:529\"\n\nThis error is a java jdbc binding error.\ncolumn type is boolean but ...
[ { "msg_contents": "Petr,\r\n\r\nThe attached patch is the revised one that follows the new extensible-\r\nnode routine.\r\n\r\nIt is almost same the previous version except for:\r\n- custom-apis.[ch] was renamed to custom-node.[ch]\r\n- check for the length of custom-scan-method name followed\r\n the manner of...
[ { "msg_contents": "Hi,\n\nI noticed that this in make_tuple_from_result_row does conversion error\nhandling only for the ordinary-column case (ie, errpos.cur_attno is set\nfor that case, but not for the ctid case).\n\n /* convert value to internal representation */\n if (i > 0)\n {\n ...
[ { "msg_contents": "At the recent PostgreSQL developer meeting in Brussels, a consensus\nwas reached that an early beta, leading to an on-time release, would\nbe very desirable. In particular, it was suggested that we should\nattempt to release PostgreSQL 9.6beta1 in May. The release management\nteam has deter...
[ { "msg_contents": "Over the past few months, I've been familiarizing myself with postgres\nserver side programming in C.\n\nMy attempts to educate myself were slow and halting. The existing server\nside programming documentation has some examples, but those examples didn't\nshow me how do what I wanted to do, a...
[ { "msg_contents": "Hi,\n\nWhen trying pgbench with -C -M prepared gives an error (see log below).\n\nIt probably doesn't make sense (to have both options together), but\nshouldn't it still PREPARE per connection, or exit gracefully / document\nthis?\n\nrobins@pi2:/opt/postgres/master/bin $ ./createdb pgbench\nr...
[ { "msg_contents": "I was looking into some issues we recently had when dropping db users \nand was surprised to see that dropped users' sessions and transactions \ncontinue to work after the role is dropped.\n\nSince dropping a role requires dropping all grants it has (using DROP \nOWNED BY ...) the dropped rol...
[ { "msg_contents": "Attached a patch to fix a bunch of typos in comments.\n\n/ Oskari\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, 15 Mar 2016 23:48:22 +0200", "m...
[ { "msg_contents": "I noticed index support for NOT LIKE is missing. Is there a special reason\nfor that, or would a patch be accepted?\n\nA use case would be:\n\n... WHERE url NOT LIKE 'http%'\n\nOr\n\n... WHERE path NOT LIKE '/%'\n\nI noticed index support for NOT LIKE is missing. Is there a special reason for...
[ { "msg_contents": "Attached fixes a minor typo as follows:\n\ns/index vacuums cycles/index vacuum cycles/g\n\nThanks,\nAmit\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": "W...
[ { "msg_contents": "On Wed, Mar 9, 2016 at 11:58 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n>\n> On Wed, Mar 9, 2016 at 12:33 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> >\n> > Gather is a bit weird, because although it can project (and needs to,\n> > per the example of needing to compute a non-parallel-safe...
[ { "msg_contents": "Hi,\n\nPG9.5 allows us to add an oid system column to foreign tables, using\nALTER FOREIGN TABLE SET WITH OIDS, but currently, that column reads as\nzeroes in postgres_fdw. That seems to me like a bug. So, I'd like to\npropose to fix that, by retrieving that column from the remote server\nw...
[ { "msg_contents": "Hello\n\nI discovered a pretty weird code.\n\npolicy.c:1083\n\n```\nchar\t *qual_value;\nParseState *qual_pstate = make_parsestate(NULL);\n\n/* parsestate is built just to build the range table */\nqual_pstate = make_parsestate(NULL);\n```\n\npolicy.c:1125\n\n```\nchar\t *with_check_value...