threads
listlengths
1
2.99k
[ { "msg_contents": "Clarify use of temporary tables within partition trees\n\nSince their introduction, partition trees have been a bit lossy\nregarding temporary relations. Inheritance trees respect the following\npatterns:\n1) a child relation can be temporary if the parent is permanent.\n2) a child relation ...
[ { "msg_contents": "The pg_stat_statements contains the statistics of the queries that are\ncumulative.\nI find that any optimizations that are done to improve the performance of a\nquery\nare not be visible clearly until the stats are reset. Currently there is a\nfunction to\nreset all the statistics, I find it...
[ { "msg_contents": "Hi,\n\nBelow test case is failing with ERROR: ORDER/GROUP BY expression not found\nin targetlist. this issue is reproducible from PGv10.\n\npostgres=# CREATE TABLE test(c1 int, c2 text, c3 text);\nCREATE TABLE\npostgres=# INSERT INTO test SELECT i % 10, i % 250, to_char(i % 4,\n'FM0000000') ...
[ { "msg_contents": "Hi folks\n\nI recently needed a way to get backtraces from errors in a convenient,\nnon-interactive and indescriminate way. The attached patch is the result.\nIt teaches Pg to use libunwind to self-backtrace in elog/ereport.\n\nAnyone think this is useful/interesting/worth pursuing?\n\n(Patch...
[ { "msg_contents": "Hi,\n\nI'm fairly frequently annoyed that when I see an error message in the\nlog, I can't just generally set a breakpoint on the included line\nnumber. That's because the line number in the error message is from the\n*end* of the message:\n\n2018-06-20 09:02:39.226 PDT [21145][3/2] LOG: 000...
[ { "msg_contents": "Good afternoon, all.\n\nIn trying to troubleshoot the source of a recent connection storm, I was\nfrustrated to find that the app name was not included in the connection\nmessages. It is there in the log_line_prefix on the disconnection messages\nbut I would prefer it be directly visible with...
[ { "msg_contents": "Hi,\n\nWhile rebasing the logical replication patches on top of PG11, I've \nnoticed that ReorderBufferSerializeChange claims this:\n\n case REORDER_BUFFER_CHANGE_TRUNCATE:\n ...\n /* ReorderBufferChange contains everything important */\n\nThat is not quite correct, though...
[ { "msg_contents": "Hello Team,\n\nI am trying to use the PLV8 via function and while using the function\ncreated via PLV8 in one of the create materialized view, postgres crashes,\nattached is the log file with DEBUG5 turned on.\n\nSQL which is breaking the code and SQL function is attached.\n\nCreating materia...
[ { "msg_contents": "Currently, the planner always first decides the scan/join order, and \nadds Group/Agg nodes on top of the joins. Sometimes it would be legal, \nand beneficial, to perform the aggregation below a join. I've been \nhacking on a patch to allow that.\n\nFor example:\n\ncreate temp table a (id int...
[ { "msg_contents": "Hello\n\nPer discussion at\nhttps://postgr.es/m/0684A598-002C-42A2-AE12-F024A324EAE4@winand.at\nI intend to change xpath() and xpath_exists() in a subtly backwards-\nincompatible way, so that they match the behavior of SQL-standard-\nspecified XMLTABLE. It seems sane to keep them in sync. A...
[ { "msg_contents": "Hi Hackers,\n We encounter one problem happened while we try to promote standby postgres(version 9.6.9) server to active. From the trace(we triggered the process abort). We can see the process was hang in syslog() while handling SIGTERM. According to below article. Looks it is risky to wri...
[ { "msg_contents": "Hi.\n\nI noticed a bug with creating an expression index on a partitioned table.\nThe fact that a partition may have differing attribute numbers is not\naccounted for when recursively *creating* the index on partition. The\npartition index gets created but is unusable.\n\ncreate table p (a i...
[ { "msg_contents": "Hi all,\n\nSome of your may have noticed, but the buildfarm has thrown up the\nfollowing failure today:\nhttps://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=gull&br=HEAD\n\nThe failure is the following one:\n-- ALTER TABLE OWNER TO\n\\c -\n! \\connect: FATAL: could not read block 3 i...
[ { "msg_contents": "I was looking at the COPY FROM performance gap between bulk loads with\npartitioned tables vs non-partitioned tables. There's quite a gap!\nAlmost twice as slow in my test.\n\nIt seems to be mostly down to lack of usage of heap_multi_insert() for\nthe partitioned table case, which I guess is ...
[ { "msg_contents": "Hi,\n\nI am getting different output for stddev/variance functions with partition\ntables.\n\n\nCREATE TABLE part (c1 INT,c2 INT) PARTITION BY RANGE (c1);\nCREATE TABLE part_p1 PARTITION OF part FOR VALUES FROM (1) TO (3);\nCREATE TABLE part_p2 PARTITION OF part FOR VALUES FROM (3) TO (5);\n\...
[ { "msg_contents": "I recently migrated over from SQL Server to Postgres (through Amazon\nAurora) for the cost.\n\nI have been working with the full-text search functions for quite some\ntime, but have encountered a few major roadblocks in my quest to use\npostgres full-text search functionality to its fullest. ...
[ { "msg_contents": "Hi hackers,\n\nI hope that somebody understand postgres_fdw cost calculation magic \nbetter than I;)\nThe following very simple test reduce the problem with wrong cost \nestimation:\n\n\ncreate table t1(x integer primary key, y integer);\ncreate index on t1(y);\ninsert into t1 values (generat...
[ { "msg_contents": "Hello all\nI would like to continue work on new recovery api proposed in thread [1]. We have some form of consensus but thread has been inactive for a long time and i hope i can help.\n\nI start from last published patch [2] and make some changes:\n- updated to current HEAD\n- made the patch ...
[ { "msg_contents": "I've been poking at why coverage.postgresql.org shows that the second\nstanza in int8_avg_combine isn't exercised, when it clearly should be.\nI can reproduce the problem here, so it's fairly robust. Eventually\nit occurred to me to try a straight EXPLAIN ANALYZE VERBOSE, and what\nI find is...
[ { "msg_contents": "Hi,\r\n\r\nHere is the comment for CommitTsPagePrecedes in commit_ts.c\r\n/*\r\n* Decide which of two CLOG page numbers is \"older\" for truncation purposes.\r\n…\r\n*/\r\nI think there is some mistake for this comment. It should be ‘commitTS page’, not ‘CLOG page’.\r\n\r\nThanks,\r\nBr.\r\n...
[ { "msg_contents": "Hi all,\n\nI have been reviewing the use of errno in the backend code when %m is\nused in the logs, and found more places than when I looked at improving\nthe error messages for read() calls which bloat the errno value because\nof intermediate system calls. As the problem is separate and sho...
[ { "msg_contents": "Hi,\n\nAs part of my efforts to make partitioning scale better for larger\nnumbers of partitions, I've been looking at primarily INSERT VALUES\nperformance. Here the overheads are almost completely in the\nexecutor. Planning of this type of statement is very simple since\nthere is no FROM cl...
[ { "msg_contents": "Hello.\n\nI don't find any description in the documentation about the\nguaranteed lifetime of commit timestamps. I think they are\npreserved until corresponding xid goes beyond the freeze horizen,\neven though they are actually preserved longer for several\nreasons.\n\nIf it is not, I think s...
[ { "msg_contents": "Before we reinvent the wheel here, does anyone know of utilities to build\ncommit logs from wal segments? Or even to just fill with commits?\n\nI figure it is worth asking before I write one.\n\nBefore we reinvent the wheel here, does anyone know of utilities to build commit logs from wal se...
[ { "msg_contents": "Hello!\n\nThere are command in psql to list access methods, but there are no fast\nway to look detailed info about them. So here a patch with new\ncommands:\n\n\\dAp     [PATTERN]           list access methods with properties (Table\npg_am)\n\\dAf[+]  [AMPTRN [OPFPTRN]]  list operator familie...
[ { "msg_contents": "(continuing an old thread from\nhttps://www.postgresql.org/message-id/CAMsr%2BYEtamQYZ5EocsuthQCvyvmRnQrucDP6GZynPtf0gsMbuw%40mail.gmail.com\n)\n\nCraig Ringer <craig(at)2ndquadrant(dot)com>, 2018-02-26:\n\n> On 26 February 2018 at 04:05, Anthony Communier\n<anthony(dot)communier(at)gmail(dot...
[ { "msg_contents": "Hi\n\nI try to measure effect of JIT tuple deform and I don't see any possible\neffect.\n\nIs it this feature active in master branch?\n\nIs possible to see this feature in EXPLAIN ANALYZE?\n\nRegards\n\nPavel\n\nHiI try to measure effect of JIT tuple deform and I don't see any possible effec...
[ { "msg_contents": "Hi\n\nI have a table boo\n\ncreate table boo(id serial primary key, inserted date default current_date,\nv varchar);\n\nI imported this table via simple\n\nIMPORT FOREIGN SCHEMA public FROM SERVER foreign_server INTO public;\n\n\nThe command insert into boo(v) values('ahoj'); is working in or...
[ { "msg_contents": "\nI'm new at this.\n\nI looked at the TODO list and saw the issue of using comma to delimit \nfractional seconds.\n\nI looked at the parser stuff and I think I have at least a start on the \nissue.\n\nIs there anything more to it than allowing HH:MM:SS,####### as well as \nHH:MM:SS.##### ?\n\...
[ { "msg_contents": "Hello all\nWe already have feature to logging query parameters. If we use log_statement = 'all' we write parameters before execution and all is fine here. If we use log_min_duration_statement statement is logged obviously after execution, but currently we have no parameters if query was termi...
[ { "msg_contents": "Hello,\n\nI would like to be able to retrieve the size of memory internally\nallocated by libpq for a result. The reason is that we have a Ruby\nwrapper that exposes libpq in Ruby. The problem is that Ruby's GC\ndoesn't know how much memory has been allocated by libpq, so no pressure\nis appl...
[ { "msg_contents": "in pg10:\n\n\tts=# begin;VACUUM FULL pg_toast.pg_toast_2619;\n\tBEGIN\n\tERROR: 25001: VACUUM cannot run inside a transaction block\n\tLOCATION: PreventTransactionChain, xact.c:3167\n=> sounds fine\n\n\t$ psql postgres -c 'SELECT 1; VACUUM pg_statistic'\n\tERROR: VACUUM cannot be executed ...
[ { "msg_contents": "Hi mentors and hackers,\n\n One question about array processing in postgresql. Assume my input is a\nDatum (which contains an array). Are there any examples to loop through the\narray and operates on each element? feel like it is not that straight-ford.\n\nThanks Charles\n\nHi mentors and ...
[ { "msg_contents": "Hi mentors and hackers,\n\n Here is my current working status. Resolved all warnings found by\nAleksander previously. Having two threads in parallel. One is the thrift\nbinary type implementation, the other is thrift compact byte interface\nimplementation. For these two threads, simple data...
[ { "msg_contents": "nbtsort.c has a comment block from the Berkeley days that reads:\n\n * This code is moderately slow (~10% slower) compared to the regular\n * btree (insertion) build code on sorted or well-clustered data. On\n * random data, however, the insertion build code is unusable -- the\n * difference ...
[ { "msg_contents": "Checking my understanding as in $subject:\n\nA TIMESTAMP WITH TIME ZONE has had its specified time zone used at the point\nof entry to convert it to Z time, and then discarded. If I have to map one\nof these to a date/time-with-time-zone datatype in another language, I may\nas well unconditio...
[ { "msg_contents": "C99 finally pinned down what / does on signed ints, truncating toward zero.\n\nBefore that, it could truncate toward zero, or floor toward -inf.\n\nIs PostgreSQL built on any compilers/platforms that have the floor\nbehavior?\n\n-Chap\n\n", "msg_date": "Sun, 24 Jun 2018 22:42:49 -0400", ...
[ { "msg_contents": "Hi all,\n\nI was just looking at the code of pg_basebackup, and noticed that we\ndon't actually check if the two last empty blocks of any tar file\nproduced are correctly fsync'd or not:\n@@ -957,7 +957,10 @@ tar_finish(void)\n\n /* sync the empty blocks as well, since they're after the last ...
[ { "msg_contents": "Hi,\n\nThe code in convert_tuples_by_name_map() could be made a bit smarter\nto speed up the search for the column with the same name by first\nlooking at the same attnum in the other relation rather than starting\nthe search from the first attnum each time.\n\nI imagine most people are going...
[ { "msg_contents": "Hello,\n\nI was trying to do auto partitioning in PostgreSQL 10.\nFirst of all, I created 2 tables t_dossier_bac_history_insert_table and t_dossier_bac_history_sensor_collections.\nAnd then, I created a trigger which would execute a function (which would create my partitions) before inputting...
[ { "msg_contents": "Hi folks ,\n\nI have developed a new data type in PostgreSQL. The handler associated with\nthis data type is written in C language. This handler encrypts the column\ndata. I need help on figuring out how to get the table name when my\nhandler code is called during CRUD and Alter table operati...
[ { "msg_contents": "Hi ,\n\nI have developed a new data type in PostgreSQL. The handler associated with\nthis data type is written in C language. This handler encrypts the column\ndata. I need help on figuring out how to get the table name when my\nhandler code is called during CRUD and Alter table operations.\n...
[ { "msg_contents": "I am hoping someone here can shed some light on this issue - I apologize if\nthis isn't the right place to ask this but I'm almost some of you all were\ninvolving in pgq's dev and might be able to answer this.\n\nWe are actually running 2 replication technologies on a few of our dbs,\nskytool...
[ { "msg_contents": "Hi, I'm a newbie to the hackers but I'd like to propose the \"automatic restore point\" feature. \nThis feature automatically create backup label just before making a huge change to DB. It's useful when this change is accidental case.\n\nThe following is a description of \"automatic restore p...
[ { "msg_contents": "Hi.\n\nAs discussed a little while back [1] and also recently mentioned [2], here\nis a patch that adds a set of functions to inspect the details of a\npartition tree. There are three functions:\n\npg_partition_parent(regclass) returns regclass\npg_partition_root_parent(regclass) returns reg...
[ { "msg_contents": "Hi,\n\nI have taken pg_dumpall in pg-master and after restoring the dump I am not\nable to see the \"Access privileges\" as below:\nSame is reproducible in back branches as well, is this fine ?\n\n\nCREATE ROLE user1 PASSWORD 'user1' SUPERUSER LOGIN;\nCREATE DATABASE db1 OWNER=user1;\nGRANT A...
[ { "msg_contents": "Hi, hackers!\n\nMy customer created hundreds of thousands of partition tables and tried to select data from hundreds of applications,\nwhich resulted in enormous consumption of memory because it consumed # of backend multiplied by # of local memory (ex. 100 backends X 1GB = 100GB).\nRelation ...
[ { "msg_contents": "Hi all,\n\nI have been chewing for the last couple of days on this email from\nHoriguchi-san:\nhttps://www.postgresql.org/message-id/20180622.163312.254556300.horiguchi.kyotaro@lab.ntt.co.jp\n\nAs summarized, it is actually strange to be able to advance a slot which\nhas a non-reserved restar...
[ { "msg_contents": "Hi,\n\nWhile looking into the backup and recovery code, I found small documentation bugs. \nThe documatation says that the backup history files can be requested for recovery, \nbut it's not used by the system and not requested anymore since PG 9.0 \n(commit 06f82b29616cd9effcaefd99c6b6e2e8069...
[ { "msg_contents": "Extracted from the GnuTLS thread/patch, here is a patch to add a\nserver-side read-only parameter ssl_library, which currently reports\neither 'OpenSSL' or an empty string, depending on what SSL library was\nbuilt with. This is analogous to the libpq function call\nPQsslAttribute(conn, \"lib...
[ { "msg_contents": "Hi,\nThere seems to be a thinko/typo in ExecSimpleRelationInsert(). A tuple\ncan never store a slot, but a comment in that function says so. Tried\nto fix it in the patch attached.\n\n-- \nBest Wishes,\nAshutosh Bapat\nEnterpriseDB Corporation\nThe Postgres Database Company", "msg_date": ...
[ { "msg_contents": "Hi,\n\nI am getting \"ERROR: unexpected relkind: 73\" when trying to rename\npartition table index with below test case.\n\ncreate user u1 superuser;\ncreate user u2 nosuperuser login;\n\\c postgres u1\n\ncreate table public.part(c1 int, c2 int) partition by range(c1);\ncreate table public.p...
[ { "msg_contents": "Hello hackers,\n\nI'd like to propose the patch which syncs PostgreSQL snowball stemmers.\nAs Tom pointed [1] stemmers haven't synced for a very long time.\n\nI copied all source files without changes, except replacing '#include\n\"../runtime/header.h\"' with '#include \"header.h\"' and remov...
[ { "msg_contents": "Hello All,\n\nAttached is a patch to provide an option to disable WAL recycling. We have\nfound that this can help performance by eliminating read-modify-write\nbehavior on old WAL files that are no longer resident in the filesystem\ncache. The is a lot more detail on the background of the mo...
[ { "msg_contents": "Hi,\nI want to delete a table X, that may not exist, hence I execute\n\n\tDROP TABLE IF EXISTS X;\n\nHowever, if X is a view, I get an error\n\n\tERROR: \"X\" is not a table\n\tHINT: Use DROP VIEW to remove a view.\n\tSQL state: 42809\n\nThat is unexpected and also difficult to handle, if I w...
[ { "msg_contents": "Hi,\n\nI found the below query which returns the wrong output\nwhen jit_above_cost= 0 is set.\n\nSteps to reproduce:\n\nCREATE TABLE emp (\n epno NUMERIC(4),\n ename VARCHAR(10),\n job VARCHAR(9),\n mgr NUMERIC(4),\n hiredate D...
[ { "msg_contents": "Fix \"base\" snapshot handling in logical decoding\n\nTwo closely related bugs are fixed. First, xmin of logical slots was\nadvanced too early. During xl_running_xacts processing, xmin of the\nslot was set to the oldest running xid in the record, but that's wrong:\nactually, snapshots which...
[ { "msg_contents": "Hi,\n\nI noticed on two of my postgres servers, one has \"postmaster\" for the main\nprocess, and the other has \"postgres\". My question is - why is this? For\nexample:\n\nServer1:\npostgres 909 1 0 May08 ? 00:03:55\n/usr/pgsql-9.6/bin/postmaster -D /var/lib/pgsql/9.6/data/\...
[ { "msg_contents": "Hi,\n\n(sorry if I CCed the wrong folks, the code has changed a fair bit)\n\nI noticed that several places in the partitioning code look like:\n\n /*\n * If the tuple has been routed, it's been converted to the\n * partition's rowtype, which might differ from the root\n * table...
[ { "msg_contents": "Hi,\n\nThere is multiple return statement in llvm_function_reference\nand that's definitely looks typo. Here is the patch to fix the\nsame.\n\nThanks,\nRushabh Lathia\nwww.EnterpriseDB.com", "msg_date": "Wed, 27 Jun 2018 10:46:35 +0530", "msg_from": "Rushabh Lathia <rushabh.lathia@gma...
[ { "msg_contents": "I tried to move a patch from 2018-07 to 2018-09 and got this error:\n\n\"Cannot move patch to the same commitfest, and multiple future\ncommitfests exist!\"\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services...
[ { "msg_contents": "Hi, \n\nWhen I tried to use libpq, I found that libpq example[1] does not work.\nThat's because SELECT pg_catlog.set_config() never returns PGRES_COMMAND_OK which is expected,\nbut actually returns PGRES_TUPLES_OK.\n\nPatch attached. \nI changed both src/test/example and document.\n\n[1] http...
[ { "msg_contents": "Hi All,\n\nCurrently, get_page_from_raw() is not used in the pageinspect\nfunctions for btree and heap to fetch a page image from raw page.\nHowever, the pageinspect for gin and hash is using it to avoid server\ncrash on alignment picky machines with MAXALIGN = 8. Shouldn't we\nstart using it...
[ { "msg_contents": "Hi,\n\nI have created partition table index with some storage_parameter like\nexample given below, I am not able to reset/modify it from partition table.\nIs this fine.\n\npostgres=# create table part(a int) PARTITION BY RANGE(a);\nCREATE TABLE\npostgres=# create table part_p partition of par...
[ { "msg_contents": "Hi,\nI am performing a bulk insert of 1TB TPC-DS benchmark data into PostgreSQL\n9.4. It's taking around two days to insert 100 GB of data. Please let me\nknow your suggestions to improve the performance. Below are the\nconfiguration parameters I am using:\nshared_buffers =12GB\nmaintainence_...
[ { "msg_contents": "Hi,\n\nAccording to the syntax in ALTER INDEX doc, a column should be specified by\ncolumn number as discussed in [1]. However, the current code still allows to\nuse an internal column name like \"expr\". Is this intentional?\n\nAlthough it is harmless, how about forbiding this undocumented a...
[ { "msg_contents": "Hi,\n\nI found that there isn't explanation about EXCLUDING in CREATE TABLE doc.\nAttached is a patch to add this. I would appreciate it if a native English\nspeaker comments on this.\n\nRegards,\n\n-- \nYugo Nagata <nagata@sraoss.co.jp>", "msg_date": "Thu, 28 Jun 2018 01:02:26 +0900", ...
[ { "msg_contents": "I wonder why we are monitoring time of writing to WAL, but not time of \nfsyncing WAL segments?\nIs there are principle reason for it or just because nobody added it yet?\nIf so, please find very small patch which adding WAIT_EVENT_WAL_FSYNC \nevent type.\n\nOur engineers in PgPro complain me...
[ { "msg_contents": "Hi,\n\nA couple times, one very recently, I've encountered btrees that somehow\nhad corrupted right links. The links formed a cycle, involving a number\nof pages. As of yet it's unclear to me where the corruption is\noriginating from - could be a storage issue or a postgres issue.\n\n\nWhat ...
[ { "msg_contents": "ALTER TABLE on system catalogs is occasionally useful, for example\n\n ALTER TABLE pg_attribute SET (autovacuum_vacuum_scale_factor=0);\n\nHowever, this doesn't actually work. The above command produces\n\n ERROR: AccessExclusiveLock required to add toast table.\n\nIf it's a shared ca...
[ { "msg_contents": "Skimming over SSL code and docs I noticed that we almost always properly\ncapitalize “OpenSSL\" when referring to the name of the library, using \"openssl”\nfor when referring to the cli application. The attached patch fixes the few\noccurrences where the name is referred to, but which aren’...
[ { "msg_contents": "Attached patch with draft of SQL/JSON documentation written by\nLiudmila Mantrova, Oleg Bartunov and me.\n\nAlso it can be found in our sqljson repository on sqljson_doc branch:\nhttps://github.com/postgrespro/sqljson/tree/sqljson_doc\n\nWe continue to work on it.\n\n-- \nNikita Glukhov\nPost...
[ { "msg_contents": "While grepping logs, I came across this crash, which I caused while adding many\nindices in a test environment. I don't know that there's any reason to believe\none way or the other if this is specific to running on pg11b1.\n\n< 2018-06-17 11:38:45.465 CDT pryzbyj >FATAL: the database syste...
[ { "msg_contents": "Hi,\n\nI'd like to propose a copy function for logical replication slots.\nCurrently when we create a new logical replication slot it starts to\nread WAL from an LSN of the current insert. This function copies a\nexisting logical replication slot while changing output plugin and\npersistence....
[ { "msg_contents": "Hi mentors and hackers,\n\n The thrift compact protocol has been implemented. Right now there are\ntwo protocols supported in my plugin(binary and compact). I have added\nseveral tests and did some bug fixing. At the same time updated the\ndocuments in my repo (\nhttps://github.com/charles...
[ { "msg_contents": "Hi,\n\nAccording to the error message, it is not allowed to alter statistics on\nincluded column because this is \"non-expression column\".\n\n postgres=# create table test (i int, d int);\n CREATE TABLE\n postgres=# create index idx on test(i) include (d);\n CREATE INDEX\n postgres=# alter i...
[ { "msg_contents": "Hi,\n\nI am getting server crash with below test case, logfile message and core\ndump details in the mail.\n\npostgres=# CREATE TABLE part_tbl (a INT, b TEXT, c INT) PARTITION BY\nRANGE(a);\nCREATE TABLE\npostgres=# CREATE TABLE part_tbl_p PARTITION OF part_tbl FOR VALUES FROM\n(minvalue) TO ...
[ { "msg_contents": "Hi,\n\nI found that both key columns and included columns are checked when analyze \nis run on indexes. This is almost harmless because non-expression columns\nare not processed. However, this check is obviously unnecessary and we\ncan fix this to not check included columns. If we decide to s...
[ { "msg_contents": "With seven new committers, I thought it would be good for me to give\nsome tips I use in committing. I use a standard template that is this:\n\n 1 |--- gitweb/email subject limit -----------------|-------------|\n\n\n 2 Reported-by:\n\n 3 Bug:\n\n 4 Discussion:\n\n 5 ...
[ { "msg_contents": "Hi!\n\nCurrent estimation of sort cost has following issues:\n - it doesn't differ one and many columns sort\n - it doesn't pay attention to comparison function cost and column width\n - it doesn't try to count number of calls of comparison function on per column\n basis\n\nAt least [1]...
[ { "msg_contents": "Hello.\n\nThis is intended to provide more stats like the following thread.\n\nhttps://www.postgresql.org/message-id/20171010.192616.108347483.horiguchi.kyotaro@lab.ntt.co.jp\n\nMost major obstracle for having more items in statistics\ncollector views comes from the mechanism to share the val...
[ { "msg_contents": "On June 26th, our PostGIS debian bot started failing on PostgreSQL 10 with\none of our regression tests for topology.\n\nIt started erroring out with \n\nORDER/GROUP BY expression not found in targetlist\n\nRelated ticket here: https://trac.osgeo.org/postgis/ticket/4111\n\nI think the exact q...
[ { "msg_contents": "Hi,\n\nI am getting assertion failure in StartTransaction() on the latest\nmaster when procedure having SECURITY DEFINER called, here is the\nscript to reproducible this crash:\n\n--create procedure\nCREATE PROCEDURE transaction_test1() LANGUAGE plpgsql SECURITY DEFINER\nAS $$ BEGIN\n ...
[ { "msg_contents": "Hello,\n\nOn a pG10.4 instance, my query ( a simple select from a view) throw this error:\nERROR: cannot start subtransactions during a parallel operation\nCONTEXT: PL/pgSQL function check_validity(ltree[]) line 4 during statement block entry\n\nBut prefixing this query by \"set max_paralle...
[ { "msg_contents": "Fix crash when ALTER TABLE recreates indexes on partitions\n\nThe skip_build flag was not being passed correctly when recursing to\nindexes on partitions, leading to attempts to rebuild indexes when they\nwere not yet ready to be rebuilt.\n\nReported-by: Rajkumar Raghuwanshi\nDiscussion: http...
[ { "msg_contents": "It looks to me like we're missing a trick in CancelVirtualTransaction --\nthere's a loop to compare all VXIDs, and we break as soon as find a\nperfect match in (backendid, localTransactionId). However, once we've\nfound the backendId that matches, it's not possible for there to be\nanother e...
[ { "msg_contents": "While trying to figure out this code I found\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/replication/logical/logical.c;h=61588d626f608006196c769ad9807f1d3ac592e9;hb=HEAD#l913\n\nWhat function should it be referring to ?\n\nThanks,\n\nDave Cramer\n\nWhile trying...
[ { "msg_contents": "\nHi\n\n\nCommitfest 2018-07, the first of the release 12 development cycle, is \nunderway. New patches will need to be submitted to the next commitfest, \n2018-09.\n\n\nPatch authors are reminded of the very useful patch tester too at \n<http://commitfest.cputube.org/>. You should check regu...
[ { "msg_contents": "\nThis file on the buildfarm server is used to tell clients which branches \nwe'd like built. When a new stable branch is created it's added manually \nto this file, and when one gets to EOL it's removed from the file. This \nis a rather cumbersome process, and it occurred to me that it could...
[ { "msg_contents": "So I have this immediate problem: a PGXS build of a module, specifically\nan hstore transform for a non-core PL, is much harder than it should be\nbecause it has no way to get at hstore.h since that file is never\ninstalled anywhere.\n\nShould that be changed?\n\n-- \nAndrew (irc:RhodiumToad)...
[ { "msg_contents": "There has been some discussion around excluding large items from the\ncurrent commitfest, for several reasons. However I don't recall ever\nseeing a definition of a large item. It seems to be a bit like \"I know\nit when I see it.\" I've been looking at the current commitfest\nentries. Base...
[ { "msg_contents": "I see d692308cf494f6126 mentions mxid_age() in passing, but there\nappears to be no formal definition of either of these functions.\n\nShould there be?\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n", "ms...
[ { "msg_contents": "The pg_stat_statements_reset() function can be executed by super and\nmembers of the role pg_read_all_stats, but document doesn't say that.\nThis is found during the code review of another patch in [1].\n\nPatch attached. This needs a backpatch till 10 where the default roles are\nadded.\n\n[...
[ { "msg_contents": "Hi,\n\nI use tab-completion in psql quite often and I find that I can't complete\n\"FROM\" for SELECT query.\n\nSo I try to create a patch for it.\n\nI download the source code from GitHub master branch and modify the file to\ncreate the patch.\n\nI compile the code and my code change works l...
[ { "msg_contents": "Hello. I found that the CF-bot is complaining on one of my patch.\n\nhttp://cfbot.cputube.org/patch_18_931.log\n\n> === applying patch ./v4-0001-Remove-entries-that-haven-t-been-used-for-a-certain-.patch\n...\n> |Date: Tue, 26 Dec 2017 17:43:09 +0900\n...\n> Patching file src/backend/utils/ca...
[ { "msg_contents": "Hi All,\n\nCurrently, I could see only one test-case for deferred constraints in\nplpgsql_transaction.sql file which tests if the constraint checking is\nhappening during commit time or not with the help of COMMIT statement.\nShouldn't we add some more test-cases to test ROLLBACK and SET\nCON...
[ { "msg_contents": "psql's \\df command current has options a/n/t/w to show\naggregates/normal/trigger/window functions. Do we want to add something\nfor procedures?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services\n\n", ...
[ { "msg_contents": "Add wait event for fsync of WAL segments\n\nThis has been visibly a forgotten spot in the first implementation of\nwait events for I/O added by 249cf07, and what has been missing is a\nfsync call for WAL segments which is a wrapper reacting on the value of\nGUC wal_sync_method.\n\nReported-by...
[ { "msg_contents": "Andres talked about us concentrating on old items and very small\nitems. Here's a list of items that are both old and small (FSVO\n\"small\"):\n\nThe first number is the CF item number, the second the patch line count:\n\n528 1146 Fix the optimization to skip WAL-logging on table created in\n...
[ { "msg_contents": "The attached patch fixes Bug #15259 [1] in the intarray module, making the\n'&' array intersection operator return proper zero-dimensional empty arrays\ninstead of one-dimensional, zero-length \"empty\" arrays.\n\nIn [2] this problem was addressed by changing the behaviour of\nconstruct_[md_]...