threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI've had to do quite a bit of performance investigation work this year\nand it seems that I only too often discover that the same problem is\nrepeating itself... A vacuum_cost_limit that is still set to the 200\ndefault value along with all 3 auto-vacuum workers being flat chat\ntrying...
[ { "msg_contents": "hi,\n\nI have researched buffer manager with postgresql9.4.18.\nFor exact result, I must change IO style to Direct IO.\nThen I changed the align and O_DIRECT flags according to the version, and\nset the options at compile time.\n\nHowever, when I run postgres with the modified version, I get ...
[ { "msg_contents": "Hi,\nI did upgrade of my test pg. Part of this is pg_dump -Fd of each\ndatabase, then upgrade binaries, then initdb, and pg_restore.\n\nBut - I can't restore any database that has any data - I get segfaults.\n\nFor example, with gdb:\n\n=$ gdb --args pg_restore -vvvvv -C -Fd backup-2019022507...
[ { "msg_contents": "Hi hackers,\n\nSmall issue with readir implementation for Windows.\nRight now it returns ENOENT in case of any error returned by FindFirstFile.\nSo all places in Postgres where opendir/listdir are used will assume \nthat directory is empty and\ndo nothing without reporting any error.\nIt is n...
[ { "msg_contents": "Greetings,\n\nI've been looking through the startup code for postmaster forks and\nsaw a couple of mechanisms used. Most forks seem to be using\nStartChildProcess with a MyAuxProc emumerator, but then some\n(autovacuum launcher/worker, syslogger, bgworker, archiver) are forked\nthrough their ...
[ { "msg_contents": "Greetings,\n\nAttached is a patch which attempts to solve a few problems:\n\n1) Filtering out partitions flexibly based on the results of an\nexternal function call (supplied by an extension).\n2) Filtering out partitions from pg_inherits based on the same function call.\n3) Filtering out par...
[ { "msg_contents": "Hi, kirk-san.\n\n> From: Nagaura, Ryohei <nagaura.ryohei@jp.fujitsu.com>\n> This is my bad. I'll remake it.\n> Very sorry for the same mistake.\nI remade the patches and attached in this mail.\nIn socket_timeout patch, I replaced \"atoi\" to \"parse_int_param\" and inserted spaces just after ...
[ { "msg_contents": "pgbench has a strange restriction to only allow 10 arguments, which is too\nlow for some real world uses.\n\nSince MAX_ARGS is only used for an array of pointers and an array of\nintegers increasing this should not be a problem, so increase value to 255.\n\nWhile there, correct an off by one ...
[ { "msg_contents": "Hi hackers,\n\nWhile working on [1], I noticed $Subject, that is:\n\n /*\n * If we have grouping or aggregation to do, the topmost scan/join\n * plan node must emit what the grouping step wants; otherwise, it\n * should emit grouping_target.\n */\n ...
[ { "msg_contents": "Hi hackers,\n\nI am trying to figure out current cursors/portals management and life \ncycle in Postgres. There are two if conditions for autoHeld portals:\n\n- 'if (portal->autoHeld)' inside AtAbort_Portals at portalmem.c:802;\n- '|| portal->autoHeld' inside AtCleanup_Portals at portalmem.c:...
[ { "msg_contents": "Since my commits 9e138a401 et al on Saturday, buildfarm members\nblobfish, brotula, and wunderpus have been showing core dumps\nin the ecpg preprocessor. This seemed inexplicable given what\nthe commits changed, and even more so seeing that only HEAD is\nfailing, while the change was back-pa...
[ { "msg_contents": "Hi!\n\nI think Bitmap Index Scan should take advantage of B-tree INCLUDE columns, which it doesn’t at the moment (tested on master as of yesterday).\n\nConsider this (find the setup at the bottom of this mail).\n\nCREATE INDEX idx ON tbl (a, b) INCLUDE (c);\n\nEXPLAIN (analyze, buffers)\nSELE...
[ { "msg_contents": "Hi,\n\nI'm currently using a (very rough) scheme to retrieve relation names from a\nPlannerInfo, and a RelOptInfo struct:\n\nPlannerInfo *root\nRelOptInfo *inner_rel\n\n//...\n\nRangeTblEntry *rte;\nint x = -1;\nwhile ((x = bms_next_member(inner_rel->relids, x)) >= 0)\n{\n rte = root->simp...
[ { "msg_contents": "Hi :\n I run a query like \"select * from t\" and set the break like this:\n\nbreak exec_simple_query\nbreak MemoryContextDelete\n commands\n p context->name\n c\n end\n\nI can see most of the MemoryContext is relased, but never MessageContext,\nwhen will it be released?\n\n/*\n* Creat...
[ { "msg_contents": "Hi all,\n(CC-ing Joe as of dc7d70e)\n\nI was just looking at the offline checksum patch, and noticed some\nsloppy coding in controldata_utils.c. The control file gets opened in\nget_controlfile(), and if it generates an error then the file\ndescriptor remains open. As basic code rule in the...
[ { "msg_contents": "actually I'm hacking pg for a function like :\n1. define a select query.\n2. client ask for some data. and server reply some data. server will do\nNOTHING if client doesn't ask any more..\n3. client ask some data more data with a batch and SERVER reply some data\nthen. then do NOTHING.\n\nc...
[ { "msg_contents": "Hi,\n\nYet another thing I noticed while working on [1] is this in\ngrouping_planner:\n\n /*\n * If the input rel is marked consider_parallel and there's nothing\nthat's\n * not parallel-safe in the LIMIT clause, then the final_rel can be\nmarked\n * consider_parallel as well. ...
[ { "msg_contents": "Hi,\n\nI got a failure in pg_dump/pg_restore as below:\npg_dump/pg_restore fails with 'ERROR: schema \"public\" already exists' for\nTAR_DUMP and CUSTOM_DUMP from v94/v95/v96 to v11/master.\n\n-- Take pg_dump in v94/v95/v96:\n[prabhat@localhost bin]$ ./pg_dump -f /tmp/*tar_dump_PG94.tar* -Ft ...
[ { "msg_contents": "Hello hackers,\n\nThe type smgr has only one value 'magnetic disk'. ~15 years ago it\nalso had a value 'main memory', and in Berkeley POSTGRES 4.2 there was\na third value 'sony jukebox'. Back then, all tables had an associated\nblock storage manager, and it was recorded as an attribute rel...
[ { "msg_contents": "Dear hackers\n\nHi there !\nOne past thread about introducing CREATE OR REPLACE TRIGGER into the syntax\nhad stopped without complete discussion in terms of LOCK level.\n\nThe past thread is this. I'd like to inherit this one.\nhttps://www.postgresql.org/message-id/flat/0B4917A40C80E34BBEC4BE...
[ { "msg_contents": "Hackers,\n\nThe 2019-03 CF is almost upon us. The CF will officially start at 00:00 \nAoE (12:00 UTC) on Friday, March 1st.\n\nAny large, new patches submitted at the last moment will likely be \nlabelled as targeting PG13 and may be pushed off to the 2017-07 CF as \nwell. With the new labe...
[ { "msg_contents": "Hackers,\n\nIt has been noted on multiple threads, such as [1], that it would be \ngood to have additional notes in the documentation to explain why \nexclusive backups have been deprecated and why they should be avoided \nwhen possible.\n\nThis patch attempts to document the limitations of t...
[ { "msg_contents": "Greetings,\n\nI'm pleased to announce that we have been accepted by Google to\nparticipate in the Summer of Code (GSoC) 2019 program. This will be the\n12th time that the PostgreSQL Project will provide mentorship for\nstudents to help develop new features for PostgreSQL. We have the chance\n...
[ { "msg_contents": "Hi\n\none user of plpgsql_check reported interesting error message\n\ncreate or replace function omega.foo(a int)\nreturns int as $$\ndeclare offset integer := 0;\nbegin\n return offset + 1;\nend;\n$$ language plpgsql;\n\npostgres=# select omega.foo(10);\nERROR: query \"SELECT offset + 1\" ...
[ { "msg_contents": "Dear SMEs\n\nI have finally decided to move forward after great hospitality in Version\n9.2.24 :-)\n\nFirst i attempted to upgrade from 9.2.24 to 10.7, but its failed with\nfollowing error during Check Mode.\n\ncould not load library \"$libdir/hstore\": ERROR: could not access file\n\"$libdi...
[ { "msg_contents": "*We use logical replication from a PG version 10.6 to a 11.2. Both are Ubuntu\n16.04.We have a hundred schemas with more or less a hundred tables, so\nnumber of tables is about 10.000. All replication is ok but when we try to\ndo a REFRESH SUBSCRIPTION because we added a new schema, it takes ...
[ { "msg_contents": "Unfortunately, contrib/jsonb_plpython still contain a lot of problems in error\nhandling that can lead to memory leaks:\n - not all Python function calls are checked for the success\n - not in all places PG exceptions are caught to release Python references\nBut it seems that this errors ca...
[ { "msg_contents": "Hi all,\n\nJoe's message here has reminded me that we have lacked a lot of error\nhandling around CloseTransientFile():\nhttps://www.postgresql.org/message-id/c49b69ec-e2f7-ff33-4f17-0eaa4f2cef27@joeconway.com\n\nThis has been mentioned by Alvaro a couple of months ago (cannot find\nthe threa...
[ { "msg_contents": "Hi,\n\nRobert, I CCed you because you are the author of that commit. Before\nthat commit (\"Rewrite the code that applies scan/join targets to\npaths.\"), apply_scanjoin_target_to_paths() had a boolean parameter named\nmodify_in_place, and used apply_projection_to_path(), not\ncreate_project...
[ { "msg_contents": "for a createStmt, it will call transformCreateStmt, and then\nheap_create_with_catalog.\nbut looks it just check the if_not_exists in transformCreateStmt.\n\nso there is a chance that when the transformCreateStmt is called, the table\nis not created, but before the heap_create_with_catalog ...
[ { "msg_contents": "Hello,\r\n\r\nWe probably identified a bug in the pg_background implementation: https://github.com/vibhorkum/pg_background \r\nIt is a race condition when starting the process and BGWH_STOPPED is returned - see the pull request for more info: https://github.com/RekGRpth/pg_background/pull/1 \...
[ { "msg_contents": "Hello all!\n\nI am Sumukha PK a student of NITK. I am interested in the WAL-G backup tool. I haven’t been able to catch hold of anyone through the IRC channels so I need someone to point me to appropriate resources so that I can be introduced to it. I am proficient in Golang an would be inter...
[ { "msg_contents": "Dear PostgreSQL community:\n\nI am a MSc student in computer science working on data management research,\nand I will likely graduate this summer. I also was a participant of GSoC in\n2017 working with the NRNB organization on data standards conversion.\n\nI have been a user of pgAdmin 4 brie...
[ { "msg_contents": "Hello,\n\nPostgreSQL FLOAT appears to support +/-Infinity and NaN per the IEEE 754\nstandard, with expressions such as CAST('NaN' AS FLOAT) and CAST('Infinity'\nAS FLOAT) and even supports ordering columns of floats that contain NaN.\n\nHowever the query \"SELECT 1.0/0.0;\" produces an except...
[ { "msg_contents": "\n\nOn 2/28/19 10:13 AM, Christoph Berg wrote:\n> Re: Magnus Hagander 2016-04-13 <CABUevEzq8_nSq7fwe0-fbOAK8S2YNN-PkfsamfEvy2-d3dRUoA@mail.gmail.com>\n>>>>>> It's fairly common to see a lot of \"Incomplete startup packet\" in the\n>>>>>> logfiles caused by monitoring or healthcheck connection...
[ { "msg_contents": "_bt_lock_branch_parent() is used by VACUUM during page deletion, and\ncalls _bt_getstackbuf(), which always finishes incomplete page splits\nfor the parent page that it exclusive locks and returns. ISTM that\nthis may be problematic, since it contradicts the general rule that\nVACUUM isn't su...
[ { "msg_contents": "Hello everyone,\n\nI am currently writing my proposal for GSoC 2019 for the TOAST'ing in slices idea<https://wiki.postgresql.org/wiki/GSoC_2019#TOAST.27ing_in_slices_.282019.29>. I already have a sketch of the description and approach outline, which I am sending in this e-mail. I would be hap...
[ { "msg_contents": "Hello,\n\nWe corrected our previously held belief that it's safe to retry\nfsync(). We still haven't dealt with the possibility that some\nkernels can forget about write-back errors due to inode cache\npressure, if there is a time when no process has the file open. To\nprevent that we need ...
[ { "msg_contents": "Hello Hackers,\n\nI'm intending to optimize some varlena data types as my GSoC proposal. That would be done by a smarter way of splitting the TOAST table chunks, depending on its data type. A JSONB would be split considering its internal tree structure, keeping track of which keys are in each...
[ { "msg_contents": "Hi,\n\nDoc patch, against master. Documents encode() and decode() base64\nformat.\n\nBuilds for me.\n\nAttached: doc_base64_v1.patch\n\nReferences RFC2045 section 6.8 to define base64.\n\nBecause encode() and decode() show up in both the string\nfunctions section and the binary string functi...
[ { "msg_contents": "Hi,\n\nIn the pluggable storage patch [1], one thing that I'm wondering about\nis how exactly to inherit the storage AM across partitions. I think\nthat's potentially worthy of a discussion with a wider audience than I'd\nget in that thread. It seems also related to the recent discussion in ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15668\nLogged by: Alexander Lakhin\nEmail address: exclusion@gmail.com\nPostgreSQL version: Unsupported/Unknown\nOperating system: Ubuntu 18.04\nDescription: \n\nThe following query:\r\nCREATE TABL...
[ { "msg_contents": "1. Currently, cube extension has CUBE_MAX_DIM set as 100.\nA recent github issue. [1]\n2. To compile a custom version of the extension off the tree requires:\n```\n make -C contrib/custom_cube USE_PGXS=1\n```\n3. But utils/float.h required by cube.c and cubeparse.y is not installed.\nIt's n...
[ { "msg_contents": "currently there is one process per connection and it will not not very good\nfor some short time connection. In oracle database, it support shared\nserver which can serve more than 1 users at the same time.\n\nSee\nhttps://docs.oracle.com/cd/B28359_01/server.111/b28310/manproc001.htm#ADMI...
[ { "msg_contents": "\nWe don't currently have any buildfarm animals running 32 bit mingw\nbuilds for releases > 10. As part of my testing of msys 2 I thought I\nwould try its 32 bit compiler and got this regression diff on HEAD\n\n\ncheers\n\n\nandrew\n\n\ndiff -w -U3\nC:/tools/msys64/home/Administrator/bf/root/...
[ { "msg_contents": "Hi all,\n\nHere is my attempt to fix a 12-years old ltree bug (which is a todo item).\n\nI see it's not backward-compatible, but in my understanding that's\nwhat is documented. Previous behavior was inconsistent with\ndocumentation (where single asterisk should match zero or more\nlabels).\n\...
[ { "msg_contents": "It's possible I'm misreading this, but I'm thinking that commits\ncc5f8136 and ab9e0e71 added a few tranches which we need to add to the docs.\n\nsession_dsa, session_record_table, session_typmod_table, and\nshared_tuplestore\n\nhttps://www.postgresql.org/docs/current/monitoring-stats.html#WA...
[ { "msg_contents": "Way back in [1] I proposed that we allow NOT IN subqueries to be\nconverted into an anti-join where the subquery cannot return any NULL\nvalues. As Tom pointed out to me, I had neglected to consider that\nthe outer side producing NULLs can cause the anti-join plan to produce\nincorrect resu...
[ { "msg_contents": "Hi,\n\nI realized that the tab completions for SKIP_LOCKED option of both\nVACUUM and ANALYZE are missing. Attached patch adds them.\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center", "msg_date": "Wed, 6 Mar 2019 11:45:01 +090...
[ { "msg_contents": "Over on [1] Andres pointed out that the pg_dump support for the new to\nPG12 tablespace inheritance feature is broken. This is the feature\nadded in ca4103025dfe26 to allow a partitioned table to have a\ntablespace that acts as the default tablespace for newly attached\npartitions. The idea ...
[ { "msg_contents": "Hi,\n\nCommit bd7c95f0c1a38becffceb3ea7234d57167f6d4bf add DECLARE\nSTATEMENT support to ECPG. This introduced the new rule\nfor EXEC SQL CLOSE cur and with that it gets transformed into\nECPGclose().\n\nNow prior to the above commit, someone can declare the\ncursor in the SQL statement and ...
[ { "msg_contents": "Hi,\n\nApologies if this has been discussed before: When I run pg_basebackup in git\nhead against v11 server, it treats v11 as v12: Does not create recovery.conf, \nadds recovery parameters to postgresql.auto.conf, and also creates\nstandby.signal file. Is this expected, or a bug?\n\nRegards,...
[ { "msg_contents": "Hi,\n\n(added Fujita-san)\n\nI noticed a bug with how UPDATE tuple routing initializes ResultRelInfos\nto use for partition routing targets. Specifically, the bug occurs when\nUPDATE targets include a foreign partition that is locally modified (as\nopposed to being modified directly on the r...
[ { "msg_contents": "Hi,\n\nContext: I'm trying to compile the jsonpath v36 patches (these apply \nOK), and on top of those the jsonfunctions and jsontable patch series.\n\nThat fails for me (on \n0001-Implementation-of-SQL-JSON-path-language-v36.patch), and now I'm \nwondering why that does not agree with what t...
[ { "msg_contents": "... obviously due to commit c24dcd0. The following patch removes it.\n\ndiff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c\nindex ecd12fc53a..0fdd82a287 100644\n--- a/src/backend/access/transam/xlog.c\n+++ b/src/backend/access/transam/xlog.c\n@@ -771,13 +771,11...
[ { "msg_contents": "Hello, Postgres hackers,\n\nThe copy code has used batch insert with function heap_multi_insert() to\nspeed up. It seems that Create Table As or Materialized View could leverage\nthat code also to boost the performance also. Attached is a patch to\nimplement that. That was done by Taylor (cc-...
[ { "msg_contents": "Hi,\n\nSteps to reproduce on Master Sources -\n\n.) Perform initdb ( ./initdb -D data)\n\n.) set wal_level=logical in postgresql.conf file\n\n.)Connect to psql in single-user mode  ( ./postgres --single  -D data  \npostgres)\n\n.)Create logical replication slot followed by select * from \npg_...
[ { "msg_contents": "Removed unused variable, openLogOff.\n\nAntonin Houska\n\nDiscussion: http://postgr.es/m/30413.1551870730@localhost\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/93473c6ac805994a74e74ed13828c6c9433c8faf\n\nModified Files\n--------------\nsrc/backend/a...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15672\nLogged by: Jianing Yang\nEmail address: jianingy.yang@gmail.com\nPostgreSQL version: 11.2\nOperating system: Ubuntu 18.10\nDescription: \n\nReproduce steps:\r\n\r\n1. create a partition tabl...
[ { "msg_contents": "tableam: introduce table AM infrastructure.\n\nThis introduces the concept of table access methods, i.e. CREATE\n ACCESS METHOD ... TYPE TABLE and\n CREATE TABLE ... USING (storage-engine).\nNo table access functionality is delegated to table AMs as of this\ncommit, that'll be done in follo...
[ { "msg_contents": "Hi,\n\nAfter my tableam patch Andrew's buildfarm animal started failing in the\ncross-version upgrades:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=crake&dt=2019-03-06%2019%3A32%3A24\n\nBut I actually don't think that't really fault of the tableam patch. The\nreason for the asser...
[ { "msg_contents": "Hello hackers,\n\nIn some cases if PostgreSQL encounters with wraparound PostgreSQL might \nleave created temporary tables even after shutdown.\n\nThis orphan temporary tables prevent VACUUM to fix wraparound. It is \nbecause in single mode VACUUM considers orphan temp tables as temp \ntables...
[ { "msg_contents": "Currently building postgresql for Win32 with a mingw toolchain produces \nimport libraries with *.a extension, whereas the extension should be \n*.dll.a. There are various downstream workarounds for this, see i.e. [1] \nand [2]. The attached patch 0001-Fix-import-library-extension.patch \nadd...
[ { "msg_contents": "I noticed today that the signature for two functions is wrong\nin the documentation:\n\n- \"heap_page_item_attrs\" has the argument order and return type wrong\n and is lacking types\n\n- \"tuple_data_split\" is lacking the type for \"rel_oid\"\n\nPatch attached.\n\nThis should be backpatche...
[ { "msg_contents": "Alvaro has committed two of the patches in this CF entry[1], but the\nremaining two have yet to attract review.\n\nThis message contains only those two, just as before[2] except rebased\nover Alvaro's commits of the others.\n\n<confession>\n There are two new changes. The <ulink>s added in th...
[ { "msg_contents": "Hi hackers,\n\nThere is already a databases tap tests in pg_rewind, wonder if there is a\nneed for tablespace tap tests in pg_rewind.\nAttached is a initial patch from me.\n\nHere is a patch for runing pg_rewind, it is very similar to\nsrc/bin/pg_rewind/t/002_databases.pl, but there is no ma...
[ { "msg_contents": "Is it too soon for a PG12 open items wiki page?\n\nI've got a few things I need to keep track of. Normally writing a\npatch and putting on the next open CF is a good move, but since the\nnext one is not for PG12, it seems like not the best place.\n\nAny objections to me making one now?\n\n--...
[ { "msg_contents": "Referring to this thread:\n\nhttps://dba.stackexchange.com/questions/231647/why-are-partial-postgresql-hash-indices-not-smaller-than-full-indices\n\nWhen a hash index is created on a populated table, it estimates the number\nof buckets to start out with based on the number of tuples returned\...
[ { "msg_contents": "Hi,\n\nTom introduced supported functions for calculation function's selectivity.\nStill I have similar idea to use supported function for calculation\nfunction's parameter's types and function return type.\n\nMotivation:\n\nReduce a necessity of overloading of functions. My motivation is rel...
[ { "msg_contents": "for example:\nbegin;\ndeclare cur cursor for select * from t;\ninsert into t2 values(...);\nfetch next cur;\ncommit;\n\n// after this, I can't fetch cur any more.\n\nMy question are:\n1. Is this must in principle? or it is easy to implement as this in PG?\n2. Any bad thing would happen if...
[ { "msg_contents": "Include GUC's unit, if it has one, in out-of-range error messages.\n\nThis should reduce confusion in cases where we've applied a units\nconversion, so that the number being reported (and the quoted range\nlimits) are in some other units than what the user gave in the\nsetting we're rejecting...
[ { "msg_contents": "Hi, hackers.\n\nAttached patches add missing distance operator <->(box, point).\n\nWe already have reverse operator <->(point, box), but it can't be used for kNN\nsearch in GiST and SP-GiST. GiST and SP-GiST now support kNN searches over more\ncomplex polygons and circles, but do not support...
[ { "msg_contents": "Variables used after a longjmp() need to be declared volatile. In\ncase of a pointer, it's the pointer itself that needs to be declared\nvolatile, not the pointed-to value. So we need\n\n PyObject *volatile items;\n\ninstead of\n\n volatile PyObject *items; /* wrong */\n\nAttached pa...
[ { "msg_contents": "My code is based on commit\n\nzhifan@zhifandeMacBook-Pro ~/g/polardb_clean> git log\ncommit d06fe6ce2c79420fd19ac89ace81b66579f08493\nAuthor: Tom Lane <tgl@sss.pgh.pa.us>\nDate: Tue Nov 6 18:56:26 2018 -0500\n\nwhat I did includes:\n1. ./configure --enable-debug\n2. make world // doesn...
[ { "msg_contents": "Hi,\n\nI've been reading about TOASTing and would like to modify how the slicing works by taking into consideration the type of the varlena field. These changes would support future implementations of type specific optimized TOAST'ing functions. The first step would be to add information to t...
[ { "msg_contents": "Hi:\n I need some function which requires some message exchange among different\nback-ends (connections).\nspecially I need a shared hash map and a message queue.\n\nMessage queue: it should be many writers, 1 reader. Looks POSIX message\nqueue should be OK, but postgre doesn't use it. ...
[ { "msg_contents": "Hi Hackers,\n\nIn master branch, unaccent extension is having issue with the below python\nscript.This issue is only in windows 10 and python 3.\n\npython generate_unaccent_rules.py --unicode-data-file UnicodeData.txt\n--latin-ascii-file Latin-ASCII.xml > unaccent.rules\n\nI am getting the f...
[ { "msg_contents": "In the thread about vacuum_cost_delay vs vacuum_cost_limit,\nI wondered whether nanosleep(2) would provide any better\ntiming resolution than select(2). Some experimentation\nsuggests that it doesn't, but nonetheless I see a good reason\nwhy we should consider making pg_usleep use nanosleep(...
[ { "msg_contents": "Hi all,\r\n\r\nHere is a tiny patch removing repetitive characters [if] in fdwhandler.sgml.\r\n\r\nPage: https://github.com/postgres/postgres/blob/master/doc/src/sgml/fdwhandler.sgml\r\n\r\n---------------------------------------------------------------------------\r\n <para>\r\n This ...
[ { "msg_contents": "Sir/Madam\n\nI am Pavan_Gudivada.I have good knowledge in HTML, CSS,JAVASCRIPT,PYTHON\nand SQL.After i know about PostgreSQL and its contributions through open\nsource .i am also intersted to take part in Read/write transaction-level\nrouting in Odyssey (2019).\nLooking forward for quick re...
[ { "msg_contents": "I think pg_rewind's feature to rewind the promoted standby as a new\nstandby is broken in 11\n\nSTEPS:\n1. create master standby setup.\nUse below script for same.\n\n2. Promote the standby\n[mithuncy@localhost pgrewmasterbin]$ ./bin/pg_ctl -D standby promote\nwaiting for server to promote......
[ { "msg_contents": "Hi,\n\nGetting \"*ERROR: bogus varno: 2*\" and below is the sample SQL.\n\n - Create table \"test_bogus\" as below.\n\n CREATE TABLE test_bogus(\n id serial PRIMARY KEY,\n display_name text NOT NULL,\n ...
[ { "msg_contents": "Add support for hyperbolic functions, as well as log10().\n\nThe SQL:2016 standard adds support for the hyperbolic functions\nsinh(), cosh(), and tanh(). POSIX has long required libm to\nprovide those functions as well as their inverses asinh(),\nacosh(), atanh(). Hence, let's just expose t...
[ { "msg_contents": "Hello hackers,\n\nA user complained about CREATE DATABASE taking > 200ms even with fsync\nset to off. Andres pointed out that that'd be the clunky poll/sleep\nloops in checkpointer.c.\n\nHere's a draft patch to use condition variables instead.\n\nUnpatched:\n\npostgres=# checkpoint;\nCHECKPO...
[ { "msg_contents": "Hello,\n\nPostgres today doesn't support waiting for a condition variable with a \ntimeout, although the framework it relies upon, does. This change wraps \nthe existing ConditionVariableSleep functionality and introduces a new \nAPI, ConditionVariableTimedSleep, to allow callers to specify a...
[ { "msg_contents": "If a FOR ALL TABLES publication exists, unlogged tables are ignored\nfor publishing changes. But CheckCmdReplicaIdentity() would still\ncheck in that case that such a table has a replica identity set before\naccepting updates. That is useless, so check first whether the given\ntable is publ...
[ { "msg_contents": "(This seems to be the only occurrence of this error, after about 2\nminutes of git-grep-ing.)", "msg_date": "Wed, 13 Mar 2019 13:26:28 +0100", "msg_from": "Christoph Berg <myon@debian.org>", "msg_from_op": true, "msg_subject": "[PATCH] Remove stray comma from heap_page_item_at...
[ { "msg_contents": "(moving this over from pgsql-performance)\n\nA client had an issue with a where that had a where clause something like\nthis:\n\nWHERE 123456 = ANY(integer_array_column)\n\n\nI was surprised that this didn't use the pre-existing GIN index on\ninteger_array_column, whereas recoding as\n\nWHERE...
[ { "msg_contents": "Hi,\n\nIt seems to me that since the pg_stats view is supposed to be\nhuman-readable, it would make sense to show a human-readable version\nof n_distinct.\nCurrently, when the stats collector estimates that the number of\ndistinct values is more than 10% of the total row count, what is\nstore...
[ { "msg_contents": "Hi hackers,\n\nOver in the \"Include all columns in default names for foreign key\nconstraints\" thread[1], I noticed the patch added the following:\n\n+\t\tstrlcpy(buf + buflen, name, NAMEDATALEN);\n+\t\tbuflen += strlen(buf + buflen);\n\nSeeing as strlcpy() returns the copied length, this s...
[ { "msg_contents": "Hi,\n\nAmit Kapila pointed out to be that there are some buidfarm failures on\nhyrax which seem to have started happening around the time I committed\n898e5e3290a72d288923260143930fb32036c00c. It failed like this once:\n\n2019-03-07 19:57:40.231 EST [28073:11] DETAIL: Failed process was\nru...
[ { "msg_contents": "Hi,\n\nI was reviewing Andrey Borodin's patch for GiST VACUUM [1], which \nincludes a new \"block set\" data structure, to track internal and empty \npages while vacuuming a GiST. The blockset data structure was a pretty \nsimple radix tree, that can hold a set of BlockNumbers.\n\nThe memory ...
[ { "msg_contents": "Hi, hackers,\n\nAccording to the document, \"to_reg* functions return null rather than\nthrowing an error if the name is not found\", but this is not the case\nif the arguments to those functions are schema qualified and the\ncaller does not have access permission of the schema even if the ta...
[ { "msg_contents": "Hi, hackers\n\nI want to improve the generic plan mechanism and speed up the UPDATE/DELETE planning of a table partitioned into thousands.\nHowever, I am not sure if this is realistic, I would like advice.\n\nThe current generic plan creates access plans for all child tables without using the...
[ { "msg_contents": "Hi,\n\nI'm curious why DestroyPartitionDirectory doesn't do\nhash_destroy(pdir->pdir_hash)?\n\nThanks,\nAmit\n\n\n", "msg_date": "Thu, 14 Mar 2019 16:13:23 +0900", "msg_from": "Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>", "msg_from_op": true, "msg_subject": "why doesn't Dest...
[ { "msg_contents": "Hi\n\nI'm afraid that PREPARE of ecpglib is not thread safe.\nThe following global variables are modified without any locking system.\nIs it unnecessary worry?\n\n [interfaces/ecpg/ecpglib/prepare.c]\n static int nextStmtID = 1;\n static stmtCacheEntry *stmtCacheEntries = NULL;\n static ...
[ { "msg_contents": "It seems this is a leftover from commit 578b229718e8. Patch attached.\n\n-- \nJohn Naylor https://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "msg_date": "Thu, 14 Mar 2019 15:49:40 +0800", "msg_from": "John Naylor <john....
[ { "msg_contents": "Hello Moodle Team,\n\nI am a student who is currently take computer science classes at Glendale Community College, AZ who wants to take this new knowledge to the next. Since I’m so new to programming and software development I need some hands on experience beyond academic curriculum. So plea...
[ { "msg_contents": "Hi,\n\nWhile running sqlsmith against 12devel, got the the following \nassertion-  (issue is reproducible  on v10/v11 as well)\n\nTRAP: FailedAssertion(\"!(bms_is_subset(appendrel->lateral_relids, \nrequired_outer))\", File: \"relnode.c\", Line: 1521)\n\nstack trace -\n\n#0  0x00007f2a2f34927...
[ { "msg_contents": "Hi,\n\nThere seems to be a bug in pgbench when used with '-R' option, resulting\nin stuck pgbench process. Reproducing it is pretty easy:\n\necho 'select 1' > select.sql\n\nwhile /bin/true; do\n pgbench -n -f select.sql -R 1000 -j 8 -c 8 -T 1 > /dev/null 2>&1;\n date;\ndone;\n\nI do get a s...