threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nWhile creating subscription - if we press TAB button to see the \navailable parameters , synchronous_commit parameter is not visible.\n\npostgres=# CREATE SUBSCRIPTION sub123 CONNECTION 'dbname=postgres \nport=5000' PUBLICATION pub WITH (<Press TAB>\nCONNECT COPY_DATA CREATE_SL...
[ { "msg_contents": "Tag refs/tags/REL_10_BETA1 was created.\n\n-- \nSent via pgsql-committers mailing list (pgsql-committers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-committers\n", "msg_date": "Tue, 16 May 2017 22:14:25 +0000", "msg_from": "pgsql@po...
[ { "msg_contents": "Preventive maintenance in advance of pgindent run.\n\nReformat various places in which pgindent will make a mess, and\nfix a few small violations of coding style that I happened to notice\nwhile perusing the diffs from a pgindent dry run.\n\nThere is one actual bug fix here: the need-to-enlar...
[ { "msg_contents": "Hi,\n\nWhile reading documentation I found refresh_option syntax of ALTER\nSUBSCRIPTION in documentation is not correct.\n\nALTER SUBSCRIPTION ... REFRESH PUBLICATION WITH (refresh_option value [, ...] )\nshould be changed to\nALTER SUBSCRIPTION ... REFRESH PUBLICATION WITH (refresh_option [=...
[ { "msg_contents": "Hi,\n\nWhile browsing through the partitioning code, I noticed that a recent commit\nf8bffe9e6d700fd34759a92e47930ce9ba7dcbd5, which fixes multi-column range\npartitioning constraints, introduced a function make_partition_op_expr, that\ntakes keynum as a input parameter to identify the index ...
[ { "msg_contents": "Hi,\n\nAs discussed in default partition thread[1]\n<https://www.postgresql.org/message-id/CAFjFpRcvD-jf6z6-5mjx4tm-8NSj8Wnh%2B6%3DL6OB9Qy2yKX0HCg%40mail.gmail.com>,\nhere is the patch to remove\nhas_null from PartitionBoundInfoData structure.\nBasically flag has_null is not needed and null_i...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 14657\nLogged by: Sveinn Sveinsson\nEmail address: sveinn.sveinsson@gmail.com\nPostgreSQL version: Unsupported/Unknown\nOperating system: Linux x86_64\nDescription: \n\nThe following causes segment...
[ { "msg_contents": "Hi,\n\nI spent some time staring at TPC-DS benchmark's query 6. It contains a \nsomewhat complicated subquery, and most of the time spent on that query \nis currently spent on executing the subquery again and again. The \nessence of the query boils down to this:\n\nCREATE TABLE foo (i int4, j...
[ { "msg_contents": "The sequence regression tests are failing on Debian/sparc64:\n\n sequence ... FAILED\n polymorphism ... ok\n rowtypes ... ok\n returning ... ok\n largeobject ... ok\n with ... o...
[ { "msg_contents": "It is shipping collation-sensitive aggregates between servers which have\ndifferent collations.\n\ncommit 7012b132d07c2b4ea15b0b3cb1ea9f3278801d98\nAuthor: Robert Haas <rhaas@postgresql.org>\nDate: Fri Oct 21 09:54:29 2016 -0400\n\n postgres_fdw: Push down aggregates to remote servers.\n...
[ { "msg_contents": "Not sure if a lot of people still care about m68k, but it's still one\nof the unofficial Debian ports (it used to be the first non-x86 port\ndone decades ago):\n\ngcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-se...
[ { "msg_contents": "I would like to propose a patch to improve the cost of bitmap heap\nscan that is sensitive to work_mem. Currently, in bitmap scan, we\ndon't consider work_mem. Now, in cases when there are a lot of lossy\npages bitmap scan gets selected that eventually leads to degraded\nperformance.\n\nWhil...
[ { "msg_contents": "Spotted while reading code, patch attached.\n\ncheers ./daniel\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/pgsql-hackers", "msg_date": "Thu, 18 May 2017 09:17:10 +0200", "ms...
[ { "msg_contents": "Ahoj\n\nviz http://blog.cleverelephant.ca/2017/05/great-postgresql.html\n\nPavel\n\nAhojviz http://blog.cleverelephant.ca/2017/05/great-postgresql.htmlPavel", "msg_date": "Thu, 18 May 2017 09:56:33 +0200", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true,...
[ { "msg_contents": "I've been analyzing a reported regression case between a 9.5 plan and\na 9.6 plan. I tracked this down to the foreign key join selectivity\ncode, specifically the use_smallest_selectivity code which is applied\nto outer joins where the referenced table is on the outer side of the\njoin.\n\nA ...
[ { "msg_contents": "The PostgreSQL Global Development Group announces today that the first\nbeta release of PostgreSQL 10 is available for download. This release\ncontains previews of all of the features which will be available in\nthe final release of version 10, although some details will change\nbefore then. ...
[ { "msg_contents": "When you dump out the regression test database and load it back in, a\nfew tables end up with different column orders:\n\nOriginal:\n\n Table \"public.f_star\"\n Column | Type | Collation | Nullable | Default\n--------+--------------+-----------+----------+---------\n ...
[ { "msg_contents": "The issues with the different column orders in the regression test\ndatabase also revealed that logical replication table syncing was broken\nfor that case. Here is a fix and a test.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remo...
[ { "msg_contents": "Over in this thread:\nhttps://www.postgresql.org/message-id/flat/E1dAmxK-0006EE-1r%40gemulon.postgresql.org\nwe've been discussing switching to FreeBSD's version of \"indent\",\nspecifically the updated version that Piotr Stefaniak is working on,\nas the basis for pgindent. There seem to be ...
[ { "msg_contents": "Hello, \n\nI found a problem with libpq connection failover. \nIf primary_conninfo in recovery.conf has 'target_session_attrs=read-write', the standby fails to start. \n\nHow to reproduce the bug: \n1. Prepare two standby (standby_1, standby_2) for one master.\n On standby_1, primary_connin...
[ { "msg_contents": "Hi,\n\nWhile testing table synchronization in logical replication, I found\nthat multiple table synchronizations for a subscription are processed\nserially due to lock wait.\n\nI setup pgbench tables on publisher (scalefactor = 1000) and on\nsubscriber, and truncated these tables on subscribe...
[ { "msg_contents": "In match_eclasses_to_foreign_key_col(), there is this:\n\n if (em->em_is_child)\n continue; /* ignore children here */\n\nISTM, it might as well be:\n\n Assert(!em->em_is_child); /* no children yet */\n\nThat's because, I think it's still too earl...
[ { "msg_contents": "Hi,\n\nI tried to build PostgreSQL 10beta1 on OpenBSD -current and i have this error:\n\ngmake[3]: Entering directory '/usr/ports/pobj/postgresql-10beta1/postgresql-10beta1/src/backend/libpq'\ncc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing...
[ { "msg_contents": "Hi,\n\nThere is small issue in the HINT message which we provide at the time of \ndropping subscription ,where we are saying -WITH (slot_name) which need \nto change with SET (slot_name).\n\npostgres=# drop subscription sub;\nERROR: could not connect to publisher when attempting to drop the ...
[ { "msg_contents": "I propose to allow the `-` char in allowed label characters\n\nThe reason is to allow to use more easily base64 ids, (like\nhttps://github.com/dylang/shortid, ...), uuid's too in labels\n\n`-` is also not used as a query operator as a plus\n\n\n\nsource:\nhttps://doxygen.postgresql.org/ltree_...
[ { "msg_contents": "Hello everybody,\n\nWhile analysing the performance of TPC-H queries for the newly developed\nparallel-operators, viz, parallel index, bitmap heap scan, etc. we noticed\nthat the time taken by gather node is significant. On investigation, as per\nthe current method it copies each tuple to the...
[ { "msg_contents": "While reading some code, noticed that the headers of functions\npg_walfile_name_offset() and pg_walfile_name() incorrecty refer\npg_xlog_switch() since the inception of code in commit 704ddaaa.\n\nIn PG10 implementation, actual name of the referred function is\npg_switch_wal(). So either refe...
[ { "msg_contents": "Hi,\n\nThe item on hash indexes reminded me of an old comment from years\nago that I put in the code of the first custom PG datatype I ever\nbuilt at $work:\n\nCOMMENT ON OPERATOR CLASS puid_ops USING btree IS\n'As puids are only identifiers, there is no obvious reason to define\nordering ope...
[ { "msg_contents": "I propose to allow the `-` char in allowed label characters (currently\na-zA-Z0-9_ https://www.postgresql.org/docs/9.6/static/ltree.html)\n\nThe reason is to allow to use more easily base64 ids, (like\nhttps://github.com/dylang/shortid, ...), uuid's too in labels\n\n`-` is also not used as a ...
[ { "msg_contents": "A small patch for the release notes. The first hunk removes a duplicate\nitem. The second hunk adds another item to the incompatibility list.\n\nI can commit this myself but want to give Bruce a chance so I don't mess\nup his workflow.\n\n-- \nPeter Eisentraut http://www.2ndQua...
[ { "msg_contents": "I looked a bit more carefully at cash.c in the wake of bug #14663,\nhttps://www.postgresql.org/message-id/20170519164653.29941.19098%40wrigleys.postgresql.org\n\nIt seems to me that there are three different bugs in the multiplication\nand division operators:\n\n1. As noted in the bug thread,...
[ { "msg_contents": "Hi\n\nNow concat is 2x times slower than || operator. With cached FmgrInfo for\noutput function it will be only 5%.\n\nRegards\n\nPavel\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...
[ { "msg_contents": "It could be useful to allow the `-` char in allowed LTREE label\ncharacters (currently\na-zA-Z0-9_ https://www.postgresql.org/docs/9.6/static/ltree.html)\n\nThe reason is to allow to use more easily base64 ids, (like\nhttps://github.com/dylang/shortid, ...), uuid's too in labels\n\n`-` is al...
[ { "msg_contents": "Hi all,\n\n$subject has been raised in a recent thread here:\nhttps://www.postgresql.org/message-id/CAB7nPqTmym5t-X6hvMF_P-KRc=ndXtbQCTiU=NhS_jvL7x1kCA@mail.gmail.com\n\nThe idea is to make the replication protocol a bit more flexible, in a\nway similar to what 5c837dd has done, but for repl_...
[ { "msg_contents": "The proximate cause of bug #14662,\nhttps://www.postgresql.org/message-id/flat/20170519162316.29945.5021%40wrigleys.postgresql.org\nappears to be that SplitIdentifierString's isspace() checks are\nidentifying some bytes of a multibyte character as spaces. It's not\nquite clear to me whether ...
[ { "msg_contents": "Hello,\n\n\nBoth pg_aggregate.aggfnoid and pg_trigger.tgfoid references\npg_proc.oid, but the data types of them are regproc and oid\nrespectively. Is there any criterion on when to which in the system\ncatalog? Is the regproc choice just for readability of the catalog\nquery output? Shoul...
[ { "msg_contents": "I noticed this entry while updating the translation for 9.6:\n\n#: catalog/index.c:3456 commands/vacuumlazy.c:1345 commands/vacuumlazy.c:1421\n#: commands/vacuumlazy.c:1610 commands/vacuumlazy.c:1820\n#, c-format\nmsgid \"%s.\"\nmsgstr \"%s.\"\n\nAll of these correspond to errdetail printing ...
[ { "msg_contents": "Hackers,\n\nWhile doing some scripting around pg_recvlogical at $work, I found a need\nfor $subject. Attached, find a patch to that effect.\n\nI tried simply to mirror the logic used elsewhere. I don't think there's\nanything controversial here, but welcome any comments or suggestions.\n\nThi...
[ { "msg_contents": "Hello all\n\n\nThe postgreSQL version is needed internally in order to make the code work because for example the type of funcctx->max_calls changed on 9.6\n\n\n\nuint64_t result_count = 0;\n\n\n...\n\n\n#if PGSQL_VERSION > 95\n funcctx->max_calls = result_count;\n#else\n funcc...
[ { "msg_contents": "Hi,\n\nAttached patch for $subject.\n\ns/curent/current/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp:...
[ { "msg_contents": "Hello,\n\nMany were in favour of the default partition for tables partitioned by\nrange [1].\nPlease find attached the WIP patch for the same which can be applied over\nthe default_partition_v12.patch.\n\nSyntax: Same as agreed for list:\nCREATE PARTITION <part_name> PARTITION OF <parent_tbl>...
[ { "msg_contents": "Hi all,\n\nWhen attempting to connect using password authentication through SSL,\nthe backend will complain in its log with the following entry before\ncalling sendAuthRequest(), which asks the client for a password:\nLOG: could not receive data from client: Connection reset by peer\n\nAfter...
[ { "msg_contents": "Hi,\n\nI observed that - \"create publication..all tables\" ignore 'partition not \nsupported' error\n\n\\\\create a partition table\n\nYou are now connected to database \"s\" as user \"centos\".\ns=# CREATE TABLE measurement (\ns(# city_id int not null,\ns(# logdate d...
[ { "msg_contents": "Hi,\n\nI still have an issue with OpenBSD -current and PostgreSQL 10beta1.\nI tried to build it with these options: --with-openssl=/usr --with-perl --with-pam=no --with-uuid=bsd --enable-integer-datetimes --with-system-tzdata=/usr/share/zoneinfo --with-openssl --disable-thread-safety --with-l...
[ { "msg_contents": "Good day, everyone.\n\nIt is just proposal.\nMain concern: allow compressed toast to be seekable.\nSince every chunk compressed separately, toast_fetch_datum_slice can\nfetch each slice separately as with EXTERNAL storage.\n\nAttached patch is couple of new column storage types:\n- EXTSEEKABL...
[ { "msg_contents": "Hi,\n\npg_dump is ignoring tables which created under information_schema \nschema for CREATE PUBLICATION .\n\npostgres=# create database test;\nCREATE DATABASE\npostgres=# \\c test\nYou are now connected to database \"test\" as user \"centos\".\ntest=# create table information_schema.abc(n...
[ { "msg_contents": "Not that it is a useful use case, but I believe that this is\r\na bug that causes index corruption:\r\n\r\nCREATE TABLE mytable(\r\n id integer PRIMARY KEY,\r\n id2 integer NOT NULL\r\n);\r\n\r\nCREATE FUNCTION makeindex() RETURNS trigger\r\n LANGUAGE plpgsql AS\r\n$$BEGIN\r\n CREATE ...
[ { "msg_contents": "As per my understabding, current postgres server supports only three\nvalues for wal_level i.e. 'minimal' , 'replica' or 'logical'. But\nfollowing error message brought to notice that there are various code\nspots that try to look for wal_level >= WAL_LEVEL_LOGICAL:\n\n select * from pg_crea...
[ { "msg_contents": "Hi,\n\nWhile hacking a bit more on my JIT prototype (so I actually know what\nI'm talking about at pgcon), I encountered an interesting issue. To\nkeep track of the lifetime of JITed functions it seems natural to add\nsupport for that to resowners. Not that hard.\n\nAfter doing so, I got pr...
[ { "msg_contents": "Hello. Is it possible to get the currently executing query in an event\ntrigger, for example, a create table event trigger function firing after\nddl_command_end, aside from checking pg_stat_activity for the current\nprocess?\n\nWhen I am debugging the source code, after executing a statemen...
[ { "msg_contents": "Hi\n\nMaybe this question was already raised before, but I couldn't find a\ndiscussion. When I'm creating a subscription with `create_slot=false` looks\nlike it's possible to pass a slot name with invalid characters. In this\nparticular case both publisher and subscriber were on the same mach...
[ { "msg_contents": "\"The first variant of this command listed in the synopsis can change all of\nthe publication properties specified in CREATE PUBLICATION\n<https://www.postgresql.org/docs/devel/static/sql-createpublication.html>.\"\n\nThat referenced first variant no longer exists. I don't if that should\nju...
[ { "msg_contents": "If I create a publication FOR ALL TABLES and then change my mind, the only\nthing I can do is drop the publication and recreate it.\n\nSince \"ALTER PUBLICATION name SET TABLE\" allows you to replace the entire\ntable list, shouldn't it also let you change from the dynamic FOR ALL\nTABLES to ...
[ { "msg_contents": "On Mon, May 22, 2017 at 11:08 PM, Neha Khatri <nehakhatri5@gmail.com> wrote:\n\n> As per my understabding, current postgres server supports only three\n> values for wal_level i.e. 'minimal' , 'replica' or 'logical'. But\n> following error message brought to notice that there are various code\...
[ { "msg_contents": "Dear PostgreSQL hacker community,\n\nI am working on Foreign Key Arrays as part of the Google Summer of Code\n2017.\n\nI will be logging my progress on this thread as I progress, twice a week\n(Mondays and Fridays), so anyone who is willing to comment, please do.\n\n*The Problem*\nForeign Key...
[ { "msg_contents": "Translatability was turned on for pg_upgrade on pg10, but it needs some\nwork. The choices are we fix it now, or we revert the addition of NLS\nthere and we do it for PG11.\n\nI think the ugliest one is to change the messages about \"the %s server\",\nwhich are about a dozen -- things like:\...
[ { "msg_contents": "Hello,\n\nI am looking at ECPG source code. In the \"ecpg/ecpglib/pg_type.h\" file I \nhave seen following comment:\n\n** keep this in sync with src/include/catalog/pg_type.h*\n\nBut I think the \"ecpg/ecpglib/pg_type.h\" file is currently not synced \nwith the above file.\n\nI have added the...
[ { "msg_contents": "Hi,\n\nALTER SUBSCRIPTION ..SET PUBLICATION <no name> refresh is removing all \nthe attached subscription('s).\n\nX Machine -\n\ns=# create table t(n int);\nCREATE TABLE\ns=# create table t1(n int);\nCREATE TABLE\ns=# create publication pub for table t,t1;\nCREATE PUBLICATION\ns=#\n\nY Mach...
[ { "msg_contents": "Hi, hackers!\n\nHere's a small patch that implements fetch function necessary for\nIndex Only Scans that use cube data type.\nI reuse function g_cube_decompress() instead of creating new function\ng_cube_fetch().\nEssentially, they both have to detoast data.\n\nHow do you think, is it better ...
[ { "msg_contents": "Hello everyone,\n\nI'm building In-Memory index extension for Postgres, for which i'm trying\nto use DSA. But ended with some issues, as it is not allowing me to create\nDSA(Dynamic Shared Area) in _PG_init function.\n\nPlease refer my_PG_init code below:\n\n> void\n> _PG_init(void)\n> {\n> a...
[ { "msg_contents": "On Sat, May 20, 2017 at 5:56 PM, Noah Misch <noah@leadboat.com> wrote:\n> On Sat, Apr 15, 2017 at 02:30:18PM -0700, Andres Freund wrote:\n>> On 2017-04-15 17:24:54 -0400, Tom Lane wrote:\n>> > Andres Freund <andres@anarazel.de> writes:\n>> > > On 2017-04-15 17:09:38 -0400, Tom Lane wrote:\n>>...
[ { "msg_contents": "Hi hackers,\n\nWe have some problems on our production with hint bits and frozen tuples.\nMore and more following errors began to appear on master after switchover:\nERROR: 58P01: could not access status of transaction 1952523525\nDETAIL: Could not open file \"pg_clog/0746\": No such file o...
[ { "msg_contents": "Hi,\n\nFollowing code in function get_qual_for_list(partition.c) is not reachable.\n\nelse\nresult = list_make1(opexpr);\n\nAttached is the patch that removes this dead code.\n\nRegards,\nJeevan Ladhe\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make change...
[ { "msg_contents": "Looks like the upgrade of this machine to the inode64 commit of FreeBSD busted stuff. \n\nI’m rebuilding perl and all the ports to see if that fixes it. \n\n\n\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 214-642-9640 E-Mail: ler@lerctr.org\nU...
[ { "msg_contents": "Rebuilding Perl and all it’s related ports fixed it. \n\nDealing with the FreeBSD folks on what all we (FreeBSD) need to put in /usr/ports/UPDATING and / or \n/usr/src/UPDATING\n\n\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 214-642-9640 E-Ma...
[ { "msg_contents": "I have written the following sed script to convert regular Postgres\nemail message URLs to their shorter form for commit messages:\n\n sed 's;http\\(s\\?\\)://www\\.postgresql\\.org/message-id/;http\\1://postgr.es/m/;gi'\n\nin case this is helpful to anyone.\n\n-- \n Bruce Momjian <bruce@mo...
[ { "msg_contents": "Hi\n\n I have successfully built postgresql containers, that work on\nopenshift[1], available in my git repository[2]. These containers are\ncurrently building on CentOS Container Pipeline[3] and being delivered to\nregistry.centos.org.\n\nI am proposing that they be added to the postgresq...
[ { "msg_contents": "Hi\n\n I have successfully built postgresql containers, that work on\nopenshift[1], available in my git repository[2]. These containers are\ncurrently building on CentOS Container Pipeline[3] and being delivered to\nregistry.centos.org.\n\nI am proposing that they be added to the postgresq...
[ { "msg_contents": "Hi,\n\nI am getting server closed the connection message in the log file of \nstandby after 'logical replication synchronization worker finished \nprocessing' LOG message\n\n2017-05-24 08:58:04.451 BST [28496] LOG: logical replication sync for \nsubscription s_5434, table t1039 started\n2017...
[ { "msg_contents": "\nHi,\nI should say that I'm haviing this issue since 9.3.2 I though it would be resolved when I upgrade to 9.3.17 but this still appear.\nThis is a very wierd issue.\n \nI upload backups using pg_restore and\npsql -h SERVER -U USERNAME -f backup.sql -q -d databasename -pPORT 2>errors.txt >ou...
[ { "msg_contents": "The behaviour of generate_series seems to have changed a little, at least\nin conjunction w/ CTEs. Under 9.6 (and prior) this query returns 2127 rows,\nwith no nulls:\n\nwith\nij as ( select i, j from generate_series(1, 10) i, generate_series(1, 10)\nj),\niijj as (select generate_series(1, i)...
[ { "msg_contents": "Hi all,\n\nI have noticed today that the server ignores completely the contents\nof SASLInitialResponse. For example with the patch attached called\nscram-trick-server:\ndiff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c\nindex f4397afc64..8fe1c8edfb 100644\n--- a/sr...
[ { "msg_contents": "Hi all,\n\nFollowing the conclusions of the developer meeting whose minutes are here:\nhttps://wiki.postgresql.org/wiki/PgCon_2017_Developer_Meeting\nThe commit fest schedule has been decided as the same as 2016-2017,\nwith four commit fest entries, planned for one month each:\n- 2017-09\n- 2...
[ { "msg_contents": "Hi,\n\nWhile performing - Alter subscription..SET , I found that NOTICE \nmessage is coming duplicate next time , which is not needed anymore.\n\nX cluster=\ncreate 100 tables\ncreate publication ( create publication pub for all tables;)\n\nY cluster=\ncreate 100 tables\ncreate subscription...
[ { "msg_contents": "Hi, hackers!\n\nCurrently, GiST stores each attribute in a compressed form.\nThat is, each time attribute is written it's calling compress\nfunction, and when the attribute is accessed the decompress functions\nis called.\nSome types can't get any advantage out of this technique since the\nco...
[ { "msg_contents": "Good day, everyone.\n\nI've been played with pgbench on huge machine.\n(72 cores, 56 for postgresql, enough memory to fit base\nboth into shared_buffers and file cache)\n(pgbench scale 500, unlogged tables, fsync=off,\nsynchronous commit=off, wal_writer_flush_after=0).\n\nWith 200 clients per...
[ { "msg_contents": "Hi,\n\nWe usually check connection parameter values while creating create \nsubscription\n\n\\\\port is WRONG\n\npostgres=# create subscription c1 connection 'port=4000 ' publication pub;\nERROR: could not connect to the publisher: could not connect to server: \nNo such file or directory\n ...
[ { "msg_contents": "Hi,\n\nWe have had issue with walsender timeout when used with logical decoding\nand the transaction is taking long time to be decoded (because it\ncontains many changes)\n\nI was looking today at the walsender code and realized that it's because\nif the network and downstream are fast enough...
[ { "msg_contents": "The docs for CREATE STATISTICS does not say what happens if the\nstatistic_type clause is omitted. It should probably say that the default\naction is to create both ndistinct and dependencies.\n\nCheers,\n\nJeff\n\nThe docs for CREATE STATISTICS does not say what happens if the statistic_typ...
[ { "msg_contents": "Right now Postgres determines whether update operation touch index or \nnot based only on set of the affected columns.\nBut in case of functional indexes such policy quite frequently leads to \nunnecessary index updates.\nFor example, functional index are widely use for indexing JSON data: \n...
[ { "msg_contents": "In commit 9aa3c782c93, Tom fixed a bug in which creating a table _foo\nwhen an array type of that name already existed would make the array\ntype change its name to get out of the way. But it missed a trick in\nthat renaming a table would still cause a conflict.\n\nSteps to reproduce:\n\npost...
[ { "msg_contents": "Hi,\n\nWhile working on one of the crash reported on default partition for list\npartitioning table[1] I found some strange behavior in get_qual_for_list()\nwhile\nI tried to call it from the new code I wrote for default partition.\n\nAfter debugging, I noticed that the function get_qual_for_...
[ { "msg_contents": "Did something change with how exclusion constraints are handled? I'm trying\nto troubleshoot a regression we are having with PostGIS raster support.\n\nAs best I can guess, it's because exclusion constraints that used to work in\npast versions are failing in PostgreSQL 10 with an error somet...
[ { "msg_contents": "Hi all,\n\nPlease find attached a patch to add support for channel binding for\nSCRAM, to mitigate MITM attacks using this protocol. Per RFC5802\n(https://tools.ietf.org/html/rfc5802), servers supporting channel\nbinding need to add support for tls-unique, and this is what this\npatch does.\n...
[ { "msg_contents": "\n> Did something change with how exclusion constraints are handled? I'm\ntrying to troubleshoot a regression we are having with PostGIS raster\nsupport.\n\n> As best I can guess, it's because exclusion constraints that used to work\nin past versions are failing in PostgreSQL 10 with an erro...
[ { "msg_contents": "If you run a pgbench session of 1 minute over a logical replication \nconnection and repeat that 100x this is what you get:\n\nAt clients 90, 64, 8, scale 25:\n\n-- out_20170525_0944.txt\n 100 -- pgbench -c 90 -j 8 -T 60 -P 12 -n -- scale 25\n 93 -- All is well.\n 7 -- Not g...
[ { "msg_contents": "Most of the time in Vietnamese language, there are up to 2 accents in a\ncharacter. These unaccent rules are added to handle such cases (which are\nvery common).\n\nKha Nguyen | nlhkh@github\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your ...
[ { "msg_contents": "Several PgPro cstomers, which are evaluating our multimaster, are \ninterested in possibility to recover corrupted pages from other cluster \nnodes.\nThis task seems to be more general and is not multimaster specific. This \nis why I want to discuss it here.\n\nWith physical (streaming) repli...
[ { "msg_contents": "While hacking on pg_upgrade in downstream Greenplum I ran into an error which\nseems like an old, and obscure, bug in pg_dump (unrelated to pg_upgrade).\npg_dump generates incorrect SQL for an operator class which has no operators or\nprocedures, and which has the same column and storage type...
[ { "msg_contents": "Hi,\n\nAttached is a patch adds a --no-comments argument to pg_dump to skip\ngeneration of COMMENT statements when generating a backup. This is crucial\nfor non-superusers to restore a database backup in a Single Transaction.\nCurrently, this requires one to remove COMMENTs via scripts, which...
[ { "msg_contents": "When I create a subscription in the disabled state, and then later doing\n\"alter subscription sub enable;\", on the master I sometimes get a tight\nloop of the deadlock detector:\n\n(log_lock_waits is on, of course)\n\ndeadlock_timeout is set to 1s, so I don't know why it seems to be running...
[ { "msg_contents": "/* round up size to the next power of 2, that's the bucketing works */\n\n\nThat should probably be \"that's the **way** bucketing works\". Or maybe it\nis an idiom I don't grok.\n\nCheers,\n\nJeff\n\n    /* round up size to the next power of 2, that's the bucketing works  */That should pro...
[ { "msg_contents": "In BuildTupleHashTable\n\n\n /* Limit initial table size request to not more than work_mem */\n nbuckets = Min(nbuckets, (long) ((work_mem * 1024L) / entrysize));\n\n\nIs this a good idea? If the caller of this code has no respect for\nwork_mem, they are still going to blow it out of t...
[ { "msg_contents": "I noticed that gram.y has\n\nNumericOnly:\n FCONST { $$ = makeFloat($1); }\n | '-' FCONST\n {\n $$ = makeFloat($2);\n doNegateFloat($$);\n }\n | SignedIconst ...
[ { "msg_contents": "Code review focused on new node types added by partitioning support.\n\nFix failure to check that we got a plain Const from const-simplification of\na coercion request. This is the cause of bug #14666 from Tian Bing: there\nis an int4 to money cast, but it's only stable not immutable (becaus...
[ { "msg_contents": "Hello hackers,\n\nI am often frustrated by the default behaviour of the psql pager, which\nwill activate a pager if the output is deemed to be \"too wide\" for the\nterminal, regardless of the number of lines output, and of the\npager_min_lines setting.\n\nThis behaviour is sometimes desirabl...
[ { "msg_contents": "Would someone please defend the restrictions imposed by the\n\"seen_unbounded\" checks in transformPartitionBound\n(parse_utilcmd.c:3365..3396 in current HEAD)? They sure look to me like\nnothing but sloppy thinking, and/or protection of downstream sloppy\nthinking. Why should the boundedne...
[ { "msg_contents": "Hi,\nWe saw a handful bugs reported because RELKIND_PARTITIONED_TABLE was\nnot added to appropriate conditions on relkind. One such report is\n[1]. On that thread I suggested that we encapsulate these conditions\nas macros. Here's excerpt of my mail.\n\n--\nI noticed, that\nafter we introduce...
[ { "msg_contents": "Hi,\n\nI have installed PG v9.6 / v9.5 , if we run pg_resetwal from v10 \nbinaries against data directory of v9.6/9.5 ,getting this error -\n\ncentos@centos-cpula bin]$ ./pg_resetwal -D /tmp/pg9.6/bin/data/\npg_resetwal: pg_control exists but is broken or unknown version; ignoring it\npg_rese...
[ { "msg_contents": "The following makes an explicit reference to the simple query protocol\nbeing the only protocol allowed in walsender mode. It is my understanding\nthis is true for logical replication as well ??\n\n\n51.3. Streaming Replication Protocol\nTo initiate streaming replication, the frontend sends t...