threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nAttached is a patch to reorder header files in joinrels.c and pathnode.c\nin alphabetical order, removing unnecessary ones.\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....
[ { "msg_contents": "Hello!\nI've came across a weird bit in pg_upgrade/exec.c\n\nWe have a function check_bin_dir() which goes like this (old_cluster and \nnew_cluster are global variables):\nvoid check_bin_dir(ClusterInfo *cluster)\n{\n ...\n get_bin_version(&old_cluster);\n get_bin_version(&new_clu...
[ { "msg_contents": "There is a huge thread concerning pushing-down aggregates to FDW:\n\nhttps://www.postgresql.org/message-id/flat/CAFjFpRcnueviDpngJ3QSVvj7oyukr9NkSiCspqd4N%2BdCEdvYvg%40mail.gmail.com#CAFjFpRcnueviDpngJ3QSVvj7oyukr9NkSiCspqd4N+dCEdvYvg@mail.gmail.com\n\nbut as far as I understand nothing is do...
[ { "msg_contents": "Hi,\n\nOccasionally, when debugging issues, I find it quite useful to be able\nto do a heap_page_items() on a page that's actually locked exclusively\nconcurrently. E.g. investigating the recent multixact vacuuming issues,\nit was very useful to attach a debugger to one backend to step throug...
[ { "msg_contents": "All,\n\nAs we try and make PostGIS more \"parallel sensitive\" we have been added\ncosts to our functions, so that their relative CPU cost is more accurately\nreflected in parallel plans.\n\nThis has resulted in an odd side effect: some of our \"wrapper\" functions\nstop giving index scans in...
[ { "msg_contents": "Hi All,\n\nI am using PostgreSQL version *9.5.7* on Red hat enterprise Linux *7.2.*\n\n*OpenSSL version : * OpenSSL 1.0.1e-fips 11 Feb 2013.\n\nI have a requirement to enable the SSL in my environment with specific\ncipher suites,we want to restrict weak cipher suites from open SSL default\nl...
[ { "msg_contents": "Hi\n\nWe checked some check query based on some operations on pg_depend table.\nThis query did different result when database was migrated with pg_dump or\nwith pg_upgrade. I found so this query was broken, but I found interesting\nthing.\n\nThe count is 1 for any objid\n\nselect distinct cou...
[ { "msg_contents": "Add hash partitioning.\n\nHash partitioning is useful when you want to partition a growing data\nset evenly. This can be useful to keep table sizes reasonable, which\nmakes maintenance operations such as VACUUM faster, or to enable\npartition-wise join.\n\nAt present, we still depend on cons...
[ { "msg_contents": "Hi,\n\nWe are getting the bellow error while trying use Logical Replication \nwith user defined data types in a C program (when call elog function).\n\n ERROR: XX000: cache lookup failed for type XXXXX\n\n# XXXXX is remote type's oid\n\nIt occurs in worker.c:slot_store_error_callback functio...
[ { "msg_contents": "Hi\n\nI am sending some notes, experience about usage of pgAudit.\n\npgAudit provides basic functionality and usually is good enough. But it is\nnot good enough for some applications in financial services.\n\nThe requirements:\n\n1. structured output - attached query is not good enough - colu...
[ { "msg_contents": "Hi,\n\nHere is a small patch for $Subject.\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_date": "Fri, 10 Nov 2017 18:34:06 +0900...
[ { "msg_contents": "A patch to fix this is attached.\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 subscription:\nhttp://www.po...
[ { "msg_contents": "Hi hackers,\r\n\r\nThe thread for the recent change to allow setting the WAL segment size at\r\ninitdb time [0] included a bit of discussion regarding pg_upgrade [1],\r\nwhere it was suggested that relaxing an error check (presumably in\r\ncheck_control_data()) might be enough to upgrade serv...
[ { "msg_contents": "Hi all,\n\nCurrently neither the server side nor the client side SSL certificate verify callback does anything, leading to potential hair-tearing-out moments.\n\nThe following patch to master implements logging of all certificate verification failures, as well as (crucially) which certificate...
[ { "msg_contents": "Hi,\n\nJust to show comment from: gcc/gcc/testsuite/gcc.target/x86_64/abi/defines.h\n\n/* These defines control the building of the list of types to check. There\n    is a string identifying the type (with a comma after), a size of the \ntype\n    (also with a comma and an integer for adding ...
[ { "msg_contents": "Hello,\ni have a db with a couple of tables\n(enclosed the script to recreate it, please have a look before to proceed)\ni enabled the row level security and all seem to work fine\n\nif i do it (connected in as superuser like, usualy, postgres is):\n\nselect school, description, example\nfrom...
[ { "msg_contents": "Hi,\n\nCommit e2c79e14 prevented multiple cleanup process for pending list in\nGIN index. But I think that there is still possibility that vacuum\ncould miss tuples to be deleted if someone else is cleaning up the\npending list.\n\nIn ginInsertCleanup(), we lock the GIN meta page by LockPage ...
[ { "msg_contents": "Greetings,\n\nWe will be migrating these lists to pglister in the next few minutes.\n\nThis final email on the old list system is intended to let you know\nthat future emails will have different headers and you will need to\nadjust your filters.\n\nThe changes which we expect to be most signi...
[ { "msg_contents": "Greetings!\n\nThis list has now been migrated to new mailing list software known as\n'PGLister'. This migration will impact all users of this mailing list\nin one way or another.\n\nIf you would like to unsubscribe from this mailing list, please click on\n'Show Original' or 'Show Headers' in...
[ { "msg_contents": "Hi all,\n\nauth-scram.c is visibly not able to do things in a deterministic way,\nthat's more determinisitc:\n\n--- a/src/backend/libpq/auth-scram.c\n+++ b/src/backend/libpq/auth-scram.c\n@@ -1116,7 +1116,7 @@ build_server_final_message(scram_state *state)\n\n\n /*\n- * Determinisitcally gene...
[ { "msg_contents": "Hello,\n\nHow about your thought for support of half-precision floating point,\nFP16 in short?\n https://en.wikipedia.org/wiki/Half-precision_floating-point_format\n\nProbably, it does not make sense for most of our known workloads. Our supported\nhardware platform does not support FP16 oper...
[ { "msg_contents": "Dear Hackers.\n\nI'm studied PostgreSQL buffers for the development of new patches.\nIn particular, using pg_buffercache, is can easily check the status of actual buffer.\n\nBur there was one inconvenience.\nPg_buffercache was also to check only the dirty state of the buffer.\n\nState of the ...
[ { "msg_contents": "# I add [hacker] to the mail subject.\n\nDear Andres Freund.\n\nThank you for review!\n> I'm disinclined to exposing state that way. It's an internal representation that's not unlikely to change. Sure,\n> pg_buffercache is more of a debugging / investigatory tool, but I nevertheless see no re...
[ { "msg_contents": "Something that has been bothering me for a while, while we have neatly\norganized test files for plperl, plpython, pltcl, the plpgsql tests are\nall in one giant file in the main test suite, which makes development\nand testing of plpgsql cumbersome. It is by far the largest test file\nafter...
[ { "msg_contents": "Sorry, this is off topic, but since we've switched the mailing list to\nPGLister my inbox is getting every single message as a separate email. I\nused to get a digest once a day. Is there a way for me to change my\nsubscription settings to something like that?\n\nBest,\nRyan\n\nSorry, this ...
[ { "msg_contents": "Hi hackers,\n\nEXPLAIN can show per-worker information and aggregated information,\nbut doesn't show the leader's information individually. Should it?\n\nExample:\n\n Partial Aggregate [...]\n Output: PARTIAL count(*)\n Buffers: shared hit=476\n Worker 0: actual time=5.110..5.110 r...
[ { "msg_contents": "Hi,\n\nRecently, I found 'psql' is not rebuilt automatically after\nediting 'fe_utils/psqlscan.l'.\n\nThe detail is:\n'psqlscan.l' is part of 'libpgfeutils.a' which will be built\ninto 'psql' statically. But there is no dependency rule between\nthem.\n\nIt's OK for 'libpq' since 'libpq' is a ...
[ { "msg_contents": "Hi\n\nI finished new pager, that can be interesting for postgresql expert users.\n\nIt demonstrate some possibilities of TUI and I hope it shows some possible\ndirections of future possibilities of psql.\n\nIt is available as rpm from our repository or you can get source code from\ngithub\n\n...
[ { "msg_contents": "Hi hackers,\n\nI heard a report of an error like this from a user of openssl\n1.1.0f-3+deb9u on Debian:\n\npg_basebackup: could not receive data from WAL stream: SSL SYSCALL\nerror: Success\n\nI noticed that some man pages for SSL_get_error say this under\nSSL_ERROR_SYSCALL:\n\n Som...
[ { "msg_contents": "I would like somebody to consider Petr Jelineks patch for worker.c from \nhere \n(https://www.postgresql.org/message-id/619c557d-93e6-1833-1692-b010b176ff77%402ndquadrant.com)\n\nI'm was facing the same issue with 10.1 and BEFORE INSERT OR UPDATE \ntriggers.\n\nBR\nThomas Rosenstein\n\n", ...
[ { "msg_contents": "Add hooks for session start and session end\n\nThese hooks can be used in loadable modules. A simple test module is\nincluded.\n\nDiscussion: https://postgr.es/m/20170720204733.40f2b7eb.nagata@sraoss.co.jp\n\nFabrízio de Royes Mello and Yugo Nagata\nReviewed by Michael Paquier and Aleksandr...
[ { "msg_contents": "Yesterday's commit 91aec93e6 got rid of quite a bit of unprincipled cruft\nthat had accumulated in c.h's #include section. It occurs to me that we\ncould clean it up some more, eliminating almost all the Windows-specific\nhacking there, by doing this:\n\n1. Move what's currently in src/inclu...
[ { "msg_contents": "The stuff in contrib/start-scripts/osx/ does not, as far as I know,\nwork at all on any recent release of macOS, because SystemStarter\nis long gone. I propose replacing it with the attached, which\nI've tested on current-vintage Macs.\n\nIf anyone's interested in reviewing this, I'll stick ...
[ { "msg_contents": "Disable installcheck tests for test_session_hooks\n\nThe module requires a preloaded library and the defect can't be cured by\na LOAD instruction in the test script. To achieve this we override the\ninstallcheck target in the module's Makefile, and exclude ithe module in\nvcregress.pl.\n\nAlo...
[ { "msg_contents": "On Wed, Nov 15, 2017 at 1:06 PM, Thomas Munro\n<thomas.munro@enterprisedb.com> wrote:\n> In the old days, Oracle had only simple per-operation memory limits\n> too, and that applied to every operation in every thread just like our\n> work_mem. It's interesting that they had separate knobs fo...
[ { "msg_contents": "Hi\r\n\r\npostgres=# select i, i from generate_series(1,5) g(i);\r\n┌─[ RECORD 1 ]─┐\r\n│ i │ 1 │\r\n│ i │ 1 │\r\n╞═[ RECORD 2 ]═╡\r\n│ i │ 2 │\r\n│ i │ 2 │\r\n╞═[ RECORD 3 ]═╡\r\n│ i │ 3 │\r\n│ i │ 3 │\r\n╞═[ RECORD 4 ]═╡\r\n│ i │ 4 │\r\n│ i │ 4 │\r\n╞═[ RECORD 5 ]═╡\r\n│ i │ 5 │\r\n│ i │ 5 ...
[ { "msg_contents": "Hello, community.\n\nFollowing instructions on Wiki\nhttps://wiki.postgresql.org/wiki/Building_With_MinGW I was trying to\ncross compile PostgreSQL 10.1 from a Linux box (Ubuntu 16.04). But it\nalways fails on configure step. I tried two different systems, results\nare the same. \n\nLog att...
[ { "msg_contents": "Hi All,\n\nThe test_session_hooks--1.0.sql file in the newly added\n'test_session_hooks' module suggests to load the extension named\n'test_hook_session' instead of 'test_session_hooks' and i think it needs\nto be corrected. Here are the contents available in\ntest_session_hooks--1.0.sql fil...
[ { "msg_contents": "Hi,\n\nHere is a patch for fixing a comment typo: s/datum1/datums1/.\n\nBest regards,\nEtsuro Fujita", "msg_date": "Thu, 16 Nov 2017 20:53:33 +0900", "msg_from": "Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>", "msg_from_op": true, "msg_subject": "Typo in comment" }, { "...
[ { "msg_contents": "Sawada-san,\r\n\r\nThanks for your response.\r\n# And sorry again because I could not reply to your gmail \r\n# address from my environment due to security restriction.\r\n\r\n> >> We are getting the bellow error while trying use Logical Replication\r\n> >> with user defined data types in a C...
[ { "msg_contents": "Greetings all!\n\nJust a quick note to let you know I have updated and released a new version of pgMail for the community. The last time I posted to this list was in 2001, but not too much has changed! This little package gets tons of downloads and seems to be very helpful for those who want ...
[ { "msg_contents": "Checking the buildfarm to see if ed9b3606d broke anything, I notice\nthat woodlouse is producing stacks of warnings like this:\n\nsrc/port/thread.c(134): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated...
[ { "msg_contents": "GetTupleForTrigger seems to be a fairly important part of the trigger\nmachinery, yet it has no header comment. I think it should, although\nI don't understand it well enough at this point to write one. Right\nnow, one is left to guess at the overall purpose of the function and\nthe meaning...
[ { "msg_contents": "(My earlier post has been stuck in infinite moderation due to the use of a\ncommon 6 letter abbreviation for configuration, so I will try again without\nit)\n\n\nWith v10, commit 14ca9abfbe4643408a, the upper limit on\nbgwriter_lru_maxpages was changed from 1000 to INT_MAX / 2, but\nthe postg...
[ { "msg_contents": "Hello hackers,\n\nI'm porting Citus to Windows and found that we use some variables which PG\ndoesn't export; here is a patch which adds PGDLLIMPORT declarations to\nthose variables. This is unfortunately required on Windows for extensions\nto be able to use those variables, and appears to al...
[ { "msg_contents": "Hi.\n\nWhile working on the patch for partition pruning for declarative\npartitioned tables, I noticed that default range partition will fail to be\nincluded in a plan in certain cases due to pruning by constraint exclusion.\n\nConsider a multi-column range-partitioned table:\n\ncreate table ...
[ { "msg_contents": "Hello,\n\nThe attached patch speeds up the removal of WAL files in the old timelines. I'll add this to the next CF.\n\n\nBACKGROUND\n==================================================\n\nWe need to meet a severe availability requirement of a potential customer. They will use synchronous str...
[ { "msg_contents": "Hi,\n\nI found that the doc says in 19.6.4. Subscribers section that \"Note\nthat wal_receiver_timeout and wal_retrieve_retry_interval\nconfiguration parameters affect the logical replication workers as\nwell\" but subscriber actually uses wal_receiver_status_interval as\nwell. So I think we ...
[ { "msg_contents": "Hackers,\n\nCurrently the only way that I know of to consume async notifications\nvia SQL (as opposed to a client application) is via dblink_get_notify.\nThis method isn't very good; it requires some extra support coding,\neats a connection and a backend, and doesn't have any timeout\nfacilit...
[ { "msg_contents": "After adding extended/MV stats to a few of our tables a few days ago, it looks\nlike I wasn't been paying attention and this first crashed 2 nights ago. Why\nat 1am? not sure. I have an \"reindex\" job which runs at 1am, and an\nvacuum/analyze job which runs at 2am, but I don't use cron to...
[ { "msg_contents": "I started to look at handling multibyte data more sanely in formatting.c,\nand soon noticed that the treatment of literal substrings in\nparse_format() seemed overly complicated and underly correct, as well\nas inadequately documented. In particular, it can't make up its mind\nwhether backsl...
[ { "msg_contents": "Hi,\n\nI need to test a (user) given column type name, with one in the database\nfor equality. To this end, I have to do some kind of normalization (e.g.\n'timestamptz(2)' to 'timestamp (2) with time zone'.)\n\nComparing the name alone is possible with to_regtype(type_name) or\n::regtype. How...
[ { "msg_contents": "\n\n-----Original Message-----\nFrom: Jeremy Schneider [mailto:schneider@ardentperf.com] \nSent: Friday, November 17, 2017 5:47 PM\nTo: Tom Lane <tgl@sss.pgh.pa.us>\nCc: Michael Paquier <michael.paquier@gmail.com>; Andres Freund <andres@anarazel.de>; Bossart, Nathan <bossartn@amazon.com>; pgs...
[ { "msg_contents": "I tried to enter invalid percentile fractions, and was astonished that \nit seems to be checked after many work is done?\n\npsql (11devel)\nType \"help\" for help.\n\njotpe=# \\timing\nTiming is on.\njotpe=# select percentile_cont(array[0,0.25,0.5,1,1,null,2]) within \ngroup(order by txk) fro...
[ { "msg_contents": "[cid:image001.png@01D3608D.8F5DC9E0]\nDidier ROS\nDSP/CSP IT-DMA/Solutions Groupe EDF/Expertise Applicative\nExpertise SGBD\n32 Avenue Pablo Picasso\n92000 NANTERRE\nCe message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les i...
[ { "msg_contents": "Hi,\n\nwhile compiling on gcc 7.2.0 (on ARM), I got this warning:\n\n rangetypes_spgist.c: In function 'spg_range_quad_inner_consistent':\n rangetypes_spgist.c:559:29: warning: comparison between pointer and\n zero character constant [-Wpointer-compare]\n if (in->traversalVa...
[ { "msg_contents": "Hi, all\n\nThe attached patch trying to add dependency between client executes\nand static libraries.\n\nAs described in message:\nhttps://www.postgresql.org/message-id/flat/CAFmBtr1GDF%2BCpw%2B7SZF8jWGeazOd%3D%3DivRAg3rWhLaRXYCv83Vg%40mail.gmail.com#CAFmBtr1GDF+Cpw+7SZF8jWGeazOd==ivRAg3rWhLa...
[ { "msg_contents": "Hi,\n\nCompilation pass, make check passes.\n\nMotivations :\n\n- Reducing OpenBSD postfgresql maintainer internal changes bookeeping if\nthose small changes make sense for the PostgreSQL developers.\n\nHope it is good.\n\nThanks in advance.\n\nKind regards.", "msg_date": "Sun, 19 Nov 201...
[ { "msg_contents": "HI all,\n\nWhen a client connects during a SCRAM exchange, it has multiple ways\nto let the server know what the client supports or not when using\nchannel binding:\n- \"n\" -> client doesn't support channel binding.\n- \"y\" -> client does support channel binding but thinks the server does n...
[ { "msg_contents": "Hi,\n\nI put many queries into one transaction and made ReorderBuffer spill\ndata to disk, and sent SIGKILL to postgres before the end of the\ntransaction.\n\nAfter starting up postgres again, I observed the files spilled to\ndata wasn't deleted.\n\nI think these files should be deleted becau...
[ { "msg_contents": "unicode=# SET CLIENT_ENCODING TO UNICODE;\nSET\nunicode=# show client_encoding;\n client_encoding\n-----------------\n UTF8\n(1 row)\ninsert into person(name) values('ሳምሶን');when i insert From PGAdmin and when\ni want to SELECT FROM SQL SHELL(PSQL) i doesn't the normal value.how psql\nsuppor...
[ { "msg_contents": "Hi all,\n\nWhile I was looking through the indexes code I got confused by couple of \nmacros - IndexTupleSize() and IndexTupleDSize() - which seem to do the \nsame thing with only difference that the first one takes pointer as an \nargument while the second one takes struct. And in most cases...
[ { "msg_contents": "Hi,\n\nWhile following suggestions from Arthur Zakirov on a patch for\npg_basebackup I found that we are using isatty() in multiple places, but\nwe don't distinguish the WIN32 code which should use _isatty() as per [1].\n\nIt's true that isatty() is still supported by Visual C (else we'd fail...
[ { "msg_contents": "Traditionally, src/timezone/data/ contains the source files of the\nIANA timezone database. That currently amounts to just under 700KB,\nand it's growing all the time, mostly because they keep what amounts\nto their entire commit log in the comments :-(\n\nIANA have recently started distribu...
[ { "msg_contents": "Hi,\n\nSince\ncommit a7de3dc5c346e07e0439275982569996e645b3c2\nAuthor: Robert Haas <rhaas@postgresql.org>\nDate: 2016-01-20 13:46:50 -0500\n\n Support multi-stage aggregation.\n \n Aggregate nodes now have two new modes: a \"partial\" mode where they\n output the unfinalized tra...
[ { "msg_contents": "Hi All,\nWhile reviewing patch for similar problem in postgres_fdw [1], I\nnoticed that we don't use positional notation while creating the view.\nThis might introduced anomalies when GROUP BY entries are\nnon-immutable.\n\nE.g.\npostgres=# create view aggv as select c2 c21, c2 c22 from t1 gr...
[ { "msg_contents": "Hello,\n\nThis is my first small personal contribution.\n\nMotivation :\n- Using fail-safe, file descriptor free solution on *BSD and Darwin system\n- Somehow avoiding at the moment FreeBSD as it still uses RC4 (seemingly\nupdated to Chacha20 for FreeBSD 12.0 and eventually backported later o...
[ { "msg_contents": "Suppose I have a query that generates some XML content, and I want\nto do this on a periodic schedule and check the resulting XML into\na version control system.\n\nTo avoid spurious diffs, I know I can control the order of child\nelements generated by xmlagg by slipping an ORDER BY into the\...
[ { "msg_contents": "Hello all\n\n\nI am trying to compile pgRouting on appveyor CI when compiling with pg >= 9.5\n\n\nI am getting the following error:\n\n\nC:\\Program Files\\PostgreSQL\\9.5\\include\\server\\port/atomics/generic-msvc.h(91): error C2664: '__int64 _InterlockedCompareExchange64(volatile __int64 *...
[ { "msg_contents": "Consider the below test:\n\nCREATE TABLE range_tab(a int, b int) PARTITION BY RANGE(a);\nCREATE TABLE range_tab_p1 PARTITION OF range_tab FOR VALUES FROM (minvalue)\nTO (10);\nCREATE TABLE range_tab_p2 PARTITION OF range_tab FOR VALUES FROM (10) TO\n(20);\nCREATE TABLE range_tab_p3 PARTITION ...
[ { "msg_contents": "All,\r\nI have high availability multi instance implementation of PostgreSQL using PgPooL v3.6. I am thinking of doing data separation and change data capture using logical replication . Any ideas?\r\n\r\n\r\nThank you\r\nDr. Nathaniel Taylor, Ph.D (Comp. Sci.),C|EH,CASP\r\nLM, CPO, DCPS2- En...
[ { "msg_contents": "Attached patch removes a stray word in a comment in pg_upgrade/relfilenode.c\nwhich got left behind back in commit 29add0de4920e4f448a30bfc35798b939c211d97.\n\ncheers ./daniel", "msg_date": "Wed, 22 Nov 2017 14:45:50 +0100", "msg_from": "Daniel Gustafsson <daniel@yesql.se>", "msg_...
[ { "msg_contents": "Hi!\n\nI've seen few letters like this on mailing list and for some reason thought\nthat probably it won't happen to us, but here I am lol.\n\nIt's \"nestloop hits again\" situation.\n\nI'll try to provide plan from 9.6 later, but right now I have only plan\nfrom 10.1.\n\nQuery: https://paste...
[ { "msg_contents": "I just noticed that has_sequence_privilege() never got the memo about\n\"WITH GRANT OPTION\". Any objections to the attached going back to all\nsupported versions?\n\nJoe\n\n-- \nCrunchy Data - http://crunchydata.com\nPostgreSQL Support for Secure Enterprises\nConsulting, Training, & Open Sou...
[ { "msg_contents": "Hi\n\nHere is a patch for fixing the function\nExecBuildSlotPartitionKeyDescription()\nprologue.\n\n\nThanks,\nRushabh Lathia\nwww.EnterpriseDB.com", "msg_date": "Thu, 23 Nov 2017 12:56:30 +0530", "msg_from": "Rushabh Lathia <rushabh.lathia@gmail.com>", "msg_from_op": true, "m...
[ { "msg_contents": "Hello hackers,\n\nI’m wondering how to build the debuginfo package from the PostgreSQL source.\n\nFor example to generate something like this one : postgresql91-debuginfo.x86_64.\n\nIs there existing support in the current PostgreSQL Makefiles to generate such debuginfo? I have searched in...
[ { "msg_contents": "Hi,\n\nWe are porting PostgreSQL v10.1 on AIX (7.2 for now).\nAnd we have several tests failures, in 32bit and 64bit.\nWe are using xlc 13.01.0003.0003 with -O2.\nTests were 100% OK with version 9.6.2 .\n\nAbout 32 bit failures within v10.1, we have 3 failures including:\n create_aggregat...
[ { "msg_contents": "The documentation sources are now DocBook XML, not SGML. (The files are\nstill named *.sgml. That's something to think about separately.)\n\nBesides the recent change to require full end tags, which is compatible\nbetween SGML and XML, being XML now requires empty-element tags to use\nthe X...
[ { "msg_contents": "Hi,\n\nup to parallel executions, when we had node in explain analyze showing\n\"loops=x\" with x more than 1, it meant that the \"actual time\" had to be\nmultiplied by loops to get real time spent in a node.\n\nFor example, check step 13 in https://explain.depesz.com/s/gNBd\n\nIt shows time...
[ { "msg_contents": "Peter,\n\nI built plpython with scan-build using Python 2.7.12 and Clang 3.8. On\nmaster, I got 13 warnings, and with your patches only one warning\n(report attached).\n\nMake installcheck passes.\nLet me know if I can test anything else.\n\n-John Naylor", "msg_date": "Fri, 24 Nov 2017 20...
[ { "msg_contents": "Adds RANGE BETWEEN with a start and end value, as well as an\nexclusions clause, to the window functions. This partially resolves\nTODO list item \"Implement full support for window framing clauses\".\n\n== Specification ==\n\nThe window functions already allow a \"ROWS BETWEEN start_value\nP...
[ { "msg_contents": "Hackers, Alvaro,\n\nIn src/backend/statistics/extended_stats.c, in statext_store, there is a section:\n\n Datum values[Natts_pg_statistic_ext];\n bool nulls[Natts_pg_statistic_ext];\n bool replaces[Natts_pg_statistic_ext];\n\n memset(nulls, 1, Natts_pg_statisti...
[ { "msg_contents": "This patch adds \\if support to pgbench, similar to psql's version added \nin March.\n\nThis patch brings a consistent set of features especially when combined \nwith two other patches already in the (slow) CF process:\n\n - https://commitfest.postgresql.org/10/596/ .. /15/985/\n adds sup...
[ { "msg_contents": "While doing some tests on REL_10_STABLE, I was getting run-time exceptions\nat int8_avg_combine() at the following line:\n\nstate1->sumX = state2->sumX;\n\nAfter some debugging, I noticed that palloc()’s alignment is 8-bytes, while\nthis statement (which moves a __int128 from one memory locat...
[ { "msg_contents": "Hackers,\n\n bool nulls[Natts_pg_replication_origin];\n...\n memset(&nulls, 0, sizeof(nulls));\n\naround lines 277 through 303. Patch below.\n\nmark\n\n\n\ndiff --git a/src/backend/replication/logical/origin.c b/src/backend/replication/logical/origin.c\nindex 55382b4...
[ { "msg_contents": "Hi,\n\nThere is a --with-tls in the comments in config_default.pl which should \nbe --with-tcl.\n\nAndreas", "msg_date": "Mon, 27 Nov 2017 02:21:18 +0100", "msg_from": "Andreas Karlsson <andreas@proxel.se>", "msg_from_op": true, "msg_subject": "Typo in config_default.pl commen...
[ { "msg_contents": "Hi All,\n\nThis is a patch for current_database working on ALTER ROLE/GRANT/REVOKE\nstatements which should be applied after the previous patch\n\"comment_on_current_database_no_pgdump_v4.4.patch\".\n\nBy using the patch the CURRENT_DATABASE can working in the following SQL\nstatements:\n\nAL...
[ { "msg_contents": "Hi!\n\nIt's assumed in PostgreSQL codebase that pgrename atomically replaces\ntarget file with source file even if target file is open and being read by\nanother process. And this assumption is true on Linux, but it's false on\nWindows. MoveFileEx() triggers an error when target file is ope...
[ { "msg_contents": "Hi,\nI started seeing those errors on Postgresql 10.1 running on Ubuntu 16.04.3\n(64GB/8CPU) server.\nThe DB enters recovery mode after that.\n\n2017-11-23 07:20:39 CET::@:[24823]: ERROR: could not attach to dynamic\nshared area\n2017-11-23 07:20:39 CET::@:[24822]: ERROR: could not map dyna...
[ { "msg_contents": "-hackers,\n\n\nI don't recall, do we allow non-bug fix (or what constitutes a bug) for \nback branches with docs? I have been reviewing the logical replication \ndocs and they could use some love but I need to know which branch I \nshould start work on.\n\n\nThanks,\n\n\nJD\n\n-- \nCommand Pr...
[ { "msg_contents": "Hi,\n\nI'm a bit puzzled by this code in SH_COMPUTE_PARAMETERS:\n\n if (tb->size == SH_MAX_SIZE)\n tb->sizemask = 0;\n else\n tb->sizemask = tb->size - 1;\n\nDoesn't that mean that with SH_MAX_SIZE we end up with sizemask being 0\n(i.e. no bits set)? At least that's what I...
[ { "msg_contents": "The complaint in bug #14927 that heap_drop_with_catalog is not bothering\nto check for SearchSysCache lookup failure (in code evidently newly added\nfor the partition feature) seems to me to be only scratching the surface\nof what's wrong with that code. In particular, I do not understand ho...
[ { "msg_contents": "Hi,\n\nthis is part of my work to make expression evaluation JITable. In a lot\nof analytics queries the major bottleneck is transition function\ninvocation (makes sense, hardly anyone wants to see billions of\nrows). Therefore for JITing to be really valuable transition function\nstuff needs...
[ { "msg_contents": "Hi,\n\nAttached patch for $subject.\n\ns/recoreds/record/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center", "msg_date": "Tue, 28 Nov 2017 10:29:28 +0900", "msg_from": "Masahiko Sawada <sawada.mshk@gmail.com>", "msg_fr...
[ { "msg_contents": "[trying again for 2018-01]\r\n\r\nThis patch enables building pgbench to use ppoll() instead of select()\r\nto allow for more than (FD_SETSIZE - 10) connections. As implemented,\r\nwhen using ppoll(), the only connection limitation is system resources.\r\n\r\nThe patch has been implemented t...
[ { "msg_contents": "\n\nWhile reading copy.c I noticed this line:\n\n\n#define RAW_BUF_SIZE 65536        /* we palloc RAW_BUF_SIZE+1 bytes */\n\n\nDoesn't that seem rather odd? If we're adding 1 wouldn't it be better as\n65535 so we palloc a power of 2?\n\n\nI have no idea if this affects performance, but it did...
[ { "msg_contents": "Hello\nI write patch to speed up ALTER TABLE SET NOT NULL by check existed check constraints or indexes. Huge phase 3 with verify table data will be skipped if table has valid check constraint cover \"alteredfield IS NOT NULL\" condition or by SPI query if found index with compatible conditio...
[ { "msg_contents": "If nobody minds too much, I'd like to update typedefs.list and\npgindent the whole tree again. We've generally done a pretty good job\nwith pgindenting patches as they are committed this cycle, but we're\nstarting to accumulate things here and there that are not indented\naccording to what p...
[ { "msg_contents": "On a server with a very frequent xid wraparound I can see that the\nanti-wraparound vacuum is finished very quickly with the heap, yet it still\nscans all the indexes, which causes it to still have to read a lot of data,\nwhich takes a considerable amount of time.\n\nI dove into the code a bi...
[ { "msg_contents": "Hi hackers,\n\nAndrew Gierth complained off-list that TupleDescCopy() doesn't clear\natthasdef. Yeah, that's an oversight. The function is new in commit\ncc5f81366c36 and was written by me to support \"flat\" (pointer-free)\ntuple descriptors for use in DSM. Following the example of\nCreat...