threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nWhile reviewing the area, I have bumped into the following bit in\nfe-secure-openssl.c and be-secure-openssl.c:\n- /* OpenSSL 0.96 does not support X509_V_FLAG_CRL_CHECK */\n-#ifdef X509_V_FLAG_CRL_CHECK\n[... stuff ...]\n\nI think that this did not get removed because of t...
[ { "msg_contents": "Hi,\n\nUnfortunately I found a performance regression for JITed query\ncompilation introduced in 12, compared to 11. Fixed in one of the\nattached patches (v1-0009-Fix-determination-when-tuple-deforming-can-be-JIT.patch\n- which needs a better commit message).\n\nThe first question is when to...
[ { "msg_contents": "On Thu, Sep 26, 2019 at 2:57 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:\n> Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru> writes:\n> > On Thu, Sep 26, 2019 at 2:12 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:\n> >> The proximate problem seems to be that compareI...
[ { "msg_contents": "Hackers,\n\nIn versions < PG12 recovery_target_action has a behavior that appears to\nbe a bug, or is at least undocumented. If hot_standby = off and\nrecovery_target_action is not specified then the cluster will promote\nwhen the target is found rather than shutting down as the documentatio...
[ { "msg_contents": "Over in the incremental sort patch discussion we found [1] a case\nwhere a higher cost plan ends up being chosen because a low startup\ncost partial path is ignored in favor of a lower total cost partial\npath and a limit is a applied on top of that which would normal favor\nthe lower startup...
[ { "msg_contents": "https://www.postgresql.org/docs/12/release-12.html\n\n|Allow modifications of system catalogs' options using ALTER TABLE (Peter Eisentraut)\n|Modifications of catalogs' reloptions and autovacuum settings are now supported.\n\nI wonder if that should say: \"... WHEN ALLOW_SYSTEM_TABLE_MODS IS ...
[ { "msg_contents": "Hackers,\n\nRestoring these files could cause surprising behaviors so it seems best\nto let the restore process create them when needed.\n\nPatch is attached.\n\n-- \n-David\ndavid@pgmasters.net", "msg_date": "Fri, 27 Sep 2019 14:52:54 -0400", "msg_from": "David Steele <david@pgmaster...
[ { "msg_contents": "The current docs for max_parallel_workers start out:\n\n\"Sets the maximum number of workers that the system can support for\nparallel operations...\"\n\nIn my interpretation, \"the system\" means the entire cluster, but the\nmax_parallel_workers setting is PGC_USERSET. That's a bit confusing...
[ { "msg_contents": "My Valgrind test script reports the following error, triggered from\nwithin contrib/bloom's regression test suite on master as of right\nnow:\n\n\"\"\"\"\"\"\n2019-09-27 20:53:50.910 PDT 9740 DEBUG: building index \"bloomidx\" on\ntable \"tst\" serially\n2019-09-27 20:53:51.049 PDT 9740 DEBU...
[ { "msg_contents": "postgres=# CREATE TABLE t(i int)PARTITION BY RANGE(i);\nCREATE TABLE\npostgres=# CREATE TABLE t0 PARTITION OF t DEFAULT PARTITION BY RANGE(i);\nCREATE TABLE\npostgres=# CREATE TABLE t00 PARTITION OF t0 DEFAULT; -- oh yes\nCREATE TABLE\n...\n\nNot sure how it could be useful to partition defau...
[ { "msg_contents": "Hi all,\n\nI noticed this strange behaviour whilst trying to write a function for Postgres 11.5 (PostgreSQL 11.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36), 64-bit) and reduced it to this minimal example. Using a function parameter in the window frame def...
[ { "msg_contents": "Hi,all\n\n\nIn our PostgreSQL 10.7(rhel 6.3) database, autovacuum process and many insert processes blocked in gin index's LWLock:buffer_content for long time. \n\n\nIn other words, the following gin index lwlock deadlock phenomenon has occurred again. Since the following bug in 10.7 has been...
[ { "msg_contents": "Hi,\n\nI got the following assertion failure when I enabled recovery_min_apply_delay\nand started archive recovery (i.e., I put only recovery.signal not\nstandby.signal).\n\nTRAP: FailedAssertion(\"latch->owner_pid == MyProcPid\", File:\n\"latch.c\", Line: 522)\n\nHere is the example to repro...
[ { "msg_contents": "\nI just tried building with Python on msys2. However, the setup of the\nlatest python doesn't fit our detection code. I see this:\n\n\n# /c/Python37/python -c 'import distutils.sysconfig;\nprint(distutils.sysconfig.get_config_vars());'\n\n{'LIBDEST': 'C:\\\\Python37\\\\Lib', 'BINLIBDEST': 'C...
[ { "msg_contents": "\nThe configure code currently has this:\n\n\n# readline on MinGW has problems with backslashes in psql and other bugs.\n# This is particularly a problem with non-US code pages.\n# Therefore disable its use until we understand the cause. 2004-07-20\nif test \"$PORTNAME\" = \"win32\"; then\n  ...
[ { "msg_contents": "$ git grep Postger\nsrc/backend/po/tr.po:\"Bu durum, sistemin semaphore set (SEMMNI) veya semaphore (SEMMNS) sayı sınırlaması aşmasında meydana gelmektedir. Belirtilen parametrelerin değerleri yükseltmelisiniz. Başka seçeneğiniz ise PostgerSQL sisteminin semaphore tütekitimini max_connectio...
[ { "msg_contents": " From looking around the code, I've made these tentative observations\nabout TupleDescs:\n\n1. If the TupleDesc was obtained straight from the relcache for some\n relation, then all of its attributes should have nonzero attrelid\n identifying that relation, but in (every? nearly every?) o...
[ { "msg_contents": "Hi,\n\nThe documentation for CREATE TYPE has this to say about alignment:\n\n\"The alignment parameter specifies the storage alignment required for the\ndata type. The allowed values equate to alignment on 1, 2, 4, or 8 byte\nboundaries.\"\n\n... while the documentation for pg_type has:\n\n ...
[ { "msg_contents": "Hello.\n\nWhile I looked around shutdown sequence, pmdie() uses\n\"BACKEND_TYPE_AUTOVAC | BACKEND_TYPE_BGWORKER\" for sending signal\nand PostmasterStateMachine counts them using\nBACKEND_TYPE_WORKER. It is the only usage of the combined one. It\nseems to me just a leftover of da07a1e856.\n\n...
[ { "msg_contents": "Detach partition does not remove the partition trigger dependency as seen\nin below scenario.\n\nrm44010_p had 2 partition p1 and p2 and p2 was detached.\n\nA. Description of a partitioned table\n\\d+ rm44010_p\n Partitioned table \"public.rm44010_p\"\n Column | Typ...
[ { "msg_contents": "So we now support `ANALYZE partitioned_table` which will gather statistics\nfor the main table by gathering stats from all the partitions.\n\nHowever as far as I can tell autovacuum will never actually trigger this\nanalyze. Because we never generate any update records for the parent table\ni...
[ { "msg_contents": "Instead of AC_STRUCT_TIMEZONE we use our own variant called\nPGAC_STRUCT_TIMEZONE that checks for tzname even if other variants were\nfound first. But since 63bd0db12199c5df043e1dea0f2b574f622b3a4c we\ndon't use tzname anymore, so we don't need this anymore.\n\nThe attached patches revert ba...
[ { "msg_contents": "We rely on pexports to extract exported symbols from DLL files (e.g. for\nlinking in PLs) when building with mingw. However, this program isn't\npresent in msys2. Instead the approved way is apparently to call\n\"gendef\" from the appropriate toolset (e.g. /mingw64/bin). I have worked\naround...
[ { "msg_contents": "For full-cluster Transparent Data Encryption (TDE), the current plan is\nto encrypt all heap and index files, WAL, and all pgsql_tmp (work_mem\noverflow). The plan is:\n\n\thttps://wiki.postgresql.org/wiki/Transparent_Data_Encryption#TODO_for_Full-Cluster_Encryption\n\nWe don't see much valu...
[ { "msg_contents": "For plan for full-cluster Transparent Data Encryption (TDE) is here:\n \n\thttps://wiki.postgresql.org/wiki/Transparent_Data_Encryption#TODO_for_Full-Cluster_Encryption\n\nThe values it has, I think, are:\n\n* encrypts data for anyone with read-access to the file system (but not\n me...
[ { "msg_contents": "I work for YugaByte, Inc (www.yugabyte.com <http://www.yugabyte.com/>). YugabyteDB re-uses the source code that implements the “upper half” of PostgreSQL Version 11.2. See here:\n\nhttps://blog.yugabyte.com/distributed-postgresql-on-a-google-spanner-architecture-query-layer/\n\nThis means tha...
[ { "msg_contents": "Hello,\r\n\r\nget_relkind_objtype(...) was introduced as part of 8b9e9644dc, and it doesn't include\r\nRELKIND_TOASTVALUE. As a result when a user who has usage rights on schema pg_toast\r\nand attempts to reindex a table it is not the owner of it fails with the wrong error\r\nmessage.\r\n\r\...
[ { "msg_contents": "Hi,\n\n\nWe spend a surprising amount of time during expression evaluation to reevaluate whether input to a strict function (or similar) is not null, even though the value either comes from a strict function, or a column declared not null.\n\nNow you can rightfully say that a strict function ...
[ { "msg_contents": "Dear Hackers,\n\nI have identified some OSS code which maybe can make use of C99 designated initialisers for nulls/values arrays.\n\n~\n\nBackground:\nThere are lots of tuple operations where arrays of values and flags are being passed.\nTypically these arrays are being previously initialised...
[ { "msg_contents": "Greetings,\nI am Sakshi Munjal and I would like to know how I can apply to google\ncode-in as mentor with your organization.\n\nI have great interest in coding and I like to spend my free time learning\nnew things. I have developed my skills in full stack web development, I\nhave knowledge ab...
[ { "msg_contents": "Collegues,\n\nI've encountered following problem on some old Sparc64 machine running\nsolaris 10:\n\nWhen I compile postgresql 12 with --enable-tap-tests and run make check\nin src/bin, test src/bin/pg_basebackup/t/010_pg_basebackup.pl\nhangs and hangs infinitely. \n\nI've tried to attach gdb...
[ { "msg_contents": "My Buildfarm animal (peripatus) has been failing check since yesterday. \nCan someone look at it?\n\n\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 214-642-9640 E-Mail: ler@lerctr.org\nUS Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106\n\n\n",...
[ { "msg_contents": "FreeBSD SVN rev:\nr352600 - - 1.69G 2019-09-22 13:13\nr352873 NR / 43.1G 2019-09-29 16:36\n\nI went from r352600 to r352873 and now I'm getting PostgreSQL permission \ndenied\nerrors on the check phase of the build.\n\nFreeBSD folks: Any ideas?\nPostgreSQL folks...
[ { "msg_contents": "Dear Hackers\r\n\r\nI am using PostgreSQL's SPI to execute a simple SQL query (SELECT * FROM \r\n...) via SPI_exec. As a a result, I get an SPITupleTable with the \r\nresults of my query.\r\n\r\nNow that I have the SPITupleTable, I was wondering if it would be \r\npossible to later query over...
[ { "msg_contents": "Hi, \n\nI found wrong message output when ECPG preprocessed some SQL commands . \nFor example, ECPG application has following command, ECPG outputs \"unsupported feature will be passed to server\". \n-----------\nEXEC SQL CREATE SCHEMA IF NOT EXISTS hollywood;\n-----------\nI attached sample ...
[ { "msg_contents": "Hi,\n\nI noticed that some of the header files inclusion is not ordered as\nper the usual standard that is followed.\nThe attached patch contains the fix for the order in which the header\nfiles are included.\nLet me know your thoughts on the same.\n\nRegards,\nVignesh\nEnterpriseDB: http://w...
[ { "msg_contents": "Regarding the previous thread and commit here:\nhttps://www.postgresql.org/message-id/flat/20180713162815.GA3835%40momjian.us\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=60e3bd1d7f92430b24b710ecf0559656eb8ed499\n\nI'm suggesting to reformat the warning, which I found t...
[ { "msg_contents": "Hi team,\n\nI am creating sample extension in postgres, For that \"During PG_INIT, i\nwant to get the list of database Id's in which my extension is installed\".\nIs there a way to get this?\n\nand also another one.\n\nHow to have trigger for create extension?\n\nThanks in advance.\n\nHi team...
[ { "msg_contents": "With AIX xlc v16.1.0, various compilations get internal errors:\n\n/opt/IBM/xlc/16.1.0/bin/xlc_r -qmaxmem=33554432 -qnoansialias -g -O2 -qsrcmsg -I/scratch/nm/farmlike/../cmpx/src/interfaces/libpq -I../../../src/include -I/scratch/nm/farmlike/../cmpx/src/include -c -o pg_backup_utils.o /sc...
[ { "msg_contents": "Hi,\n\nIt is been observed that when we define the generated columns in WHEN\ncondition for BEFORE EACH ROW trigger then server throw an error from\nCreateTrigger().\n\ne.g:\ncreate table bar(a int PRIMARY KEY, b int GENERATED ALWAYS AS (a * 2)\nSTORED);\n\nCREATE OR REPLACE FUNCTION test() R...
[ { "msg_contents": "\nMy new msys2 animal fairywren has had 3 recent failures when checking\npg_upgrade. The failures have been while running the regression tests,\nspecifically the interval test, and they all look like this:\n\n\n2019-10-03 05:36:00.373 UTC [24272:43] LOG: server process (PID 23756) was termin...
[ { "msg_contents": "Hello,\n\nI stumbled on a windows-only bug in pg_basebackup which I've reported as \n#16032 \n(https://www.postgresql.org/message-id/16032-4ba56823a2b2805f%40postgresql.org).\n\nI'm pretty sure I've fixed it in the attached patch.\n\nMany Thanks,\nRob", "msg_date": "Thu, 03 Oct 2019 18:27...
[ { "msg_contents": "explain(SETTINGS) was implemented to show relevant settings for which an odd\nvalue could affect a query but could be forgotten during troubleshooting.\n\nThis is a \"concept\" patch to show the version, which is frequently requested on\n-performance list and other support requests. If someo...
[ { "msg_contents": "Why postgres not providing freeing shared memory?\n\nWhy postgres not providing freeing shared memory?", "msg_date": "Fri, 4 Oct 2019 15:20:49 +0530", "msg_from": "Natarajan R <nataraj3098@gmail.com>", "msg_from_op": true, "msg_subject": "Shared memory" }, { "msg_conte...
[ { "msg_contents": "typedef struct HashTableKey\n{\n Oid dbId; // 4 bytes\n int64 productid; // 8 bytes\n}HashTableKey; (total size - 12 bytes)\n\ntypedef struct HashTableEntry\n{\n HashTableKey key;\n ProductInfo *pdt;\n}HashTableEntry;\n\nHASHCTL hashInfo;\nhashInfo.keysize = sizeof(HashTableKey);\nhashInf...
[ { "msg_contents": "As of d9dd406fe281d22d5238d3c26a7182543c711e74, we require MSVC 2013,\nwhich means _MSC_VER >= 1800. This means that conditionals about\nolder versions of _MSC_VER can be removed or simplified.\n\nPrevious code was also in some cases handling MinGW, where _MSC_VER is\nnot defined at all, inc...
[ { "msg_contents": "skink just found what seems like a serious problem with commit\nc477f3e44:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2019-10-04%2010%3A15%3A05\n\nperforming post-bootstrap initialization ... TRAP: FailedAssertion(\"newlist == list\", File: \"/home/andres/build/buildf...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16040\nLogged by: Jeremy Smith\nEmail address: jeremy@musicsmith.net\nPostgreSQL version: 12.0\nOperating system: Official Docker Image, CentOS7\nDescription: \n\nI have also tried this with 11.3, ...
[ { "msg_contents": "Hi,\n\nThere are some links referred in the source files which are currently\nnot working.\n\nThe below link:\n<http://www.UNIX-systems.org/online.html>\nis updated with:\n<http://www.unix.org/online.html>\n\nThe below links:\nhttp://www-01.ibm.com/support/knowledgecenter/SSGH2K_11.1.0/com.ib...
[ { "msg_contents": "Hi,\n\nYesterday we (that's me and my colleague Ricardo Gomez) were working on\nan issue where a monitoring script was returning increasing lag\ninformation on a primary instead of a NULL value.\n\nThe query used involved the following functions (the function was\namended to work-around the i...
[ { "msg_contents": "Report test_atomic_ops() failures consistently, via macros.\n\nThis prints the unexpected value in more failure cases, and it removes\nforty-eight hand-maintained error messages. Back-patch to 9.5, which\nintroduced these tests.\n\nReviewed (in an earlier version) by Andres Freund.\n\nDiscus...
[ { "msg_contents": "This thread is a follow up to the thread https://www.postgresql.org/message-id/2620882.s52SJui4ql@x200m where I've been trying to remove StdRdOptions \nstructure and replace it with unique structure for each relation kind.\n\nI've decided to split that patch into smaller parts.\n\nThis part a...
[ { "msg_contents": "Hello\n\nWhile playing around I noticed that depending on the number of parallel\nworkers in pg_restore compared to the number of partitions a table has,\nrestoring an FK fails because the FK itself is restored before the index\npartitions have completed restoring. The exact conditions to ca...
[ { "msg_contents": "Hi,\n\nThere are few links present in our source files for which the web links are no more active.\nDetails for the same is given below:\n\nSl No\nLink\nReferred File\n1\nhttp://h21007.www2.hp.com/portal/download/files/unprot/Itanium/inline_assem_ERS.pdf <http://h21007.www2.hp.com/portal/down...
[ { "msg_contents": "As per docs [1] (see maintenance_work_mem), the maximum amount of memory\nused by the Vacuum command must be no more than maintenance_work_mem.\nHowever, during the review/discussion of the \"parallel vacuum\" patch [2],\nwe observed that it is not true. Basically, if there is a gin index\nd...
[ { "msg_contents": "Hi!\n\nThis message is follow up to the \"Get rid of the StdRdOptions\" patch thread:\nhttps://www.postgresql.org/message-id/2620882.s52SJui4ql@x200m\n\nI've split patch into even smaller parts and commitfest want each patch in \nseparate thread. So it is new thread.\n\nThe idea of this patch...
[ { "msg_contents": "Hi! I am starting a new thread as commitfest wants new thread for new patch.\n\nThis new thread is a follow up to an https://www.postgresql.org/message-id/\n2620882.s52SJui4ql%40x200m thread, where I've been trying to get rid of \nStdRdOpions structure, and now I've splitted the patch into sm...
[ { "msg_contents": "Over in [1] we have a report of a postmaster shutdown that seems to\nhave occurred because some client logic was overaggressively spawning\nconnection requests, causing the postmaster's child-process arrays to\nbe temporarily full, and then some parallel query tried to launch a\nnew bgworker ...
[ { "msg_contents": "This is a \"heads up\" for others upgrading to v12. I found a solution for our\nuse case, but it'd be easy to miss this, even if you read the release notes.\n\nI saw this and updated our scripts with pg_restore -f-\nhttps://www.postgresql.org/docs/12/release-12.html\n|In pg_restore, require ...
[ { "msg_contents": "One cannot currently add partitioned tables to a publication.\n\ncreate table p (a int, b int) partition by hash (a);\ncreate table p1 partition of p for values with (modulus 3, remainder 0);\ncreate table p2 partition of p for values with (modulus 3, remainder 1);\ncreate table p3 partition ...
[ { "msg_contents": "Hello,\n\nThis is to introduce a patch to lower the memory footprint of JITed\ncode by optimizing functions at the function level (i.e. with\nfunction-level optimization passes) as soon as they are generated.\nThis addresses the code comment inside llvm_optimize_module():\n\n/*\n * Do functio...
[ { "msg_contents": "Hello\n\nAttached is a patch for adding uri as an encoding option for\nencode/decode. It uses what's called \"percent-encoding\" in rfc3986\n(https://tools.ietf.org/html/rfc3986#section-2.1).\n\nThe background for this patch is that I could easily build urls in\nplpgsql, but doing the actual ...
[ { "msg_contents": "Hi,\n\nsome days ago I ran into a problem with the to_date() function. I \noriginally described it on StackExchange:\nhttps://dba.stackexchange.com/questions/250111/unexpected-behaviour-for-to-date-with-week-number-and-week-day\n\nThe problem:\n\nIf you want to parse a date string with year, ...
[ { "msg_contents": "I want to read pg_database from pg_init...\n\nIs using heap_open() is possible? or else any other way is there ?\n\nI want to read pg_database from pg_init...Is using heap_open() is possible? or else any other way is there ?", "msg_date": "Tue, 8 Oct 2019 22:03:03 +0530", "msg_from": ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16045\nLogged by: Hans Buschmann\nEmail address: buschmann@nidsa.net\nPostgreSQL version: 12.0\nOperating system: Windows 10 64bit\nDescription: \n\nI just did a pg_upgrade from pg 11.5 to pg 12.0 ...
[ { "msg_contents": "Hi,\n\nCan someone let me know when you're doing a pg_dump, can you specify not to use the view rules so that the statement in the pg_dump file uses create view instead of create table/create rule? We are not using anything specific to 9.5 like jsonb columns, so the DDL should be compatible b...
[ { "msg_contents": "Hi all,\n\nALTER SYSTEM currently does not raise error upon invalid entry. Take for example:\n\nalter system set superuser_reserved_connections = 10;\n> ALTER SYSTEM\nalter system set max_connections = 5;\n> ALTER SYSTEM\n\nThe database will now fail to restart without manual intervention by ...
[ { "msg_contents": "Hi,\n\nThere is the following description in wal.sgml.\n\n Segment\n files are given ever-increasing numbers as names, starting at\n <filename>000000010000000000000000</filename>.\n\nBut the first WAL segment file that initdb creates is 000000010000000000000001\nnot 00000001000000000...
[ { "msg_contents": "Hi all,\n\nAfter the set of issues discussed here, it seems to me that it would\nbe a good thing to have some safeguards against incorrect flags when\nopening a fd which would be used for fsync():\nhttps://www.postgresql.org/message-id/16039-196fc97cc05e141c@postgresql.org\n\nAttached is a pa...
[ { "msg_contents": "When dealing with a case where a 2TB table had 3 billion dead tuples I\ndiscovered that vacuum currently can't make use of more than 1GB of\nmaintenance_work_mem - 179M tuples. This caused excessive amounts of index\nscanning even though there was plenty of memory available.\n\nI didn't see a...
[ { "msg_contents": "Dear all postgresql developers,\n\nI have tested postgres v11 against TCP Wrappers but it does not respond \nto TCP wrappers port blocking.\n\nMay I suggest the community to have postgres to work with TCP wrappers.?? \nIts security will be better.\n\n\nRegards,\nTimmy\n\n\n\n\n", "msg_dat...
[ { "msg_contents": "Hello, While I'm moving to CentOS8 environment, I got stuck at\n./configure with the following error.\n\nconfigure: error: libperl library is requred for Perl\n\nIt complains that it needs -fPIC.\n\nConfigure uses only $Config{ccflags}, but it seems that\n$Config{cccdlflags} is also required....
[ { "msg_contents": "Hi,\n\nWhile digging through the archives, I found a thread from a couple\nyears back about syscache performance. There was an idea [1] to\ngenerate the cache control data at compile time. That would to remove\nthe need to perform database access to complete cache initialization,\nas well as ...
[ { "msg_contents": "Hello,\n\nWhile giving assistance to some customer with their broker procedure, I found a\nscenario where the subscription is failing but the table are sync'ed anyway.\nHere is bash script to reproduce it with versions 10, 11 and 12 (make sure\nto set PATH correctly):\n\n # env\n PUB=/tmp/p...
[ { "msg_contents": "Hi hackers,\n\nI've been experimenting with pluggable storage API recently and just\nfeel like I can share my first experience. First of all it's great to\nhave this API and that now community has the opportunity to implement\nalternative storage engines. There are a few applications that com...
[ { "msg_contents": "Update query stuck in a loop. Looping in _bt_moveright().\n\nExecInsertIndexTuples->btinsert->_bt_doinsert->_bt_search->_bt_moveright\n\nMid Tree Node downlink path taken by _bt_search points to a BTP_DELETED Leaf.\n\nbtpo_next is also DELETED but not in the tree.\n\nbtpo_next->btpo_next is ...
[ { "msg_contents": "Good Afternoon,\n\nI posted about this on another thread here\n<https://www.postgresql.org/message-id/CAMa1XUiH3hL3KGwdKGjnJdJeo2A5H1o1uhtXWBkmMqixrDCWMA@mail.gmail.com>,\nbut the topic was not precisely planner issues, so I wanted to post it here.\n\nI am running Postgres 11.5. I have a tab...
[ { "msg_contents": "I´ve written some PostgreSQL C-Extensions (for the first time...) and they\nwork as expected.\n\nBut now I want to call other functions from inside the C-Extensions (but not\nvia SPI_execute),\nfor example \"regexp_match()\" or from other extensions like PostGIS\n\"ST_POINT\" etc...\n\nI thin...
[ { "msg_contents": "Hi,\n\n\n\nI am having issues with PAM auth :\n\nit works, password are correctly checked, unknown users cannot access,\nknown user can, everything looks good\n\n\n\nBut, it always log an error by default even if auth is succesful:\n\n2019-10-10 15:00:46.481 CEST [6109] LOG: pam_authenticate ...
[ { "msg_contents": "Dear Hackers,\n\nThis propose a way to develop global temporary tables in PostgreSQL.\n\nI noticed that there is an \"Allow temporary tables to exist as empty by default in all sessions\" in the postgresql todolist.\nhttps://wiki.postgresql.org/wiki/Todo <https://wiki.postgresql.org/wiki/Todo...
[ { "msg_contents": "I've reduced the failing query as much as possible to this:\n\n-- This is necessary to fail:\nSET enable_nestloop=off;\n\nSELECT * FROM\n (SELECT start_time, t1.site_id\n FROM pgw_kpi_view t1\n -- Apparently the where clause is necessary to fail...\n WHERE (start_t...
[ { "msg_contents": "I have some JS middleware that needs to securely connect to the \npostgresql back end.  Any number of different users may connect via \nwebsocket to this middleware to manage their connection to the \ndatabase.  I want the JS process to have a client certificate \nauthorizing it to connect to...
[ { "msg_contents": "I'm not sure why we have that index, and my script probably should have known\nto choose a better one to cluster on, but still..\n\nts=# CLUSTER huawei_m2000_config_enodebcell_enodeb USING huawei_m2000_config_enodebcell_enodeb_coalesce_idx ;\nDEBUG: 00000: building index \"pg_toast_184015131...
[ { "msg_contents": "One of our servers crashed last night like this:\n\n< 2019-10-10 22:31:02.186 EDT postgres >STATEMENT: REINDEX INDEX CONCURRENTLY child.eric_umts_rnc_utrancell_hsdsch_eul_201910_site_idx\n< 2019-10-10 22:31:02.399 EDT >LOG: server process (PID 29857) was terminated by signal 11: Segmentati...
[ { "msg_contents": "Hi,\n\nover in pgsql-bugs [1] we got a report about CREATE TEXT SEARCH\nDICTIONARY causing segfaults on 12.0. Simply running\n\n CREATE TEXT SEARCH DICTIONARY hunspell_num (Template=ispell,\n DictFile=hunspell_sample_num, AffFile=hunspell_sample_long);\n\ndoes trigger a crash, 100% of t...
[ { "msg_contents": "I ran into this while trying to trigger the previously-reported segfault. \n\nCREATE TABLE t(i) AS SELECT * FROM generate_series(1,9);\nCREATE INDEX ON t(i);\n\n[pryzbyj@database ~]$ for i in `seq 1 9`; do PGOPTIONS='-cstatement_timeout=9' psql postgres --host /tmp --port 5678 -c \"REINDEX IN...
[ { "msg_contents": "Hi,\n\n[1] made me look at tuplesorts test coverage at\nhttps://coverage.postgresql.org/src/backend/utils/sort/tuplesort.c.gcov.html\nWe don't have coverage for a quite a number of things:\n- cluster for expression indexes (line 935)\n- sorts exceeding INT_MAX / 2 memory (line 1337), but that...
[ { "msg_contents": "During the cleanup of the _MSC_VER versions (commit\n38d8dce61fff09daae0edb6bcdd42b0c7f10ebcd), I found it useful to use\n-Wundef, but that resulted in a bunch of gratuitous warnings. Here is a\npatch to fix those. Most of these are just stylistic cleanups, but the\nchange in pg_bswap.h is ...
[ { "msg_contents": "Attached is a v1 patch to add a Glossary to the appendix of our current\ndocumentation.\n\nI believe that our documentation needs a glossary for a few reasons:\n\n1. It's hard to ask for help if you don't know the proper terminology of\nthe problem you're having.\n\n2. Readers who are new to ...
[ { "msg_contents": "I propose this patch to remove the information schema tables\nSQL_LANGUAGES, which was eliminated in SQL:2008, and SQL_PACKAGES, which\nwas eliminated in SQL:2011. Since they were dropped by the SQL\nstandard, the information in them was no longer updated and therefore no\nlonger useful.\n\n...
[ { "msg_contents": "Hi hackers,\n\nErrors in selectivity estimations is one of the main reason of bad plans \ngeneration by Postgres optimizer.\nPostgres estimates selectivity based on the collected statistic \n(histograms).\nWhile it is able to more or less precisely estimated selectivity of \nsimple predicate ...
[ { "msg_contents": "ProcArrayGroupClearXid() has this:\n\n\twhile (true)\n\t{\n\t\tnextidx = pg_atomic_read_u32(&procglobal->procArrayGroupFirst);\n\n\t\t...\n\n\t\tif (pg_atomic_compare_exchange_u32(&procglobal->procArrayGroupFirst,\n\t\t\t\t\t\t\t\t\t\t &nextidx,\n\t\t\t\t\t\t\t\t\t\t (uint32) proc->pgproc...
[ { "msg_contents": "While reviewing a parallel vacuum patch [1], we noticed a few things\nabout $SUBJECT implemented in commit -\n7df159a620b760e289f1795b13542ed1b3e13b87.\n\n1. A new memory context GistBulkDeleteResult->page_set_context has\nbeen introduced, but it doesn't seem to be used.\n2. Right now, in gis...
[ { "msg_contents": "I was mystified by this comment in Makefile.shlib:\n\n# We need several not-quite-identical variants of .DEF files to build\n# DLLs for Windows. These are made from the single source file\n# exports.txt. Since we can't assume that Windows boxes will have\n# sed, the .DEF files are always bu...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16059\nLogged by: Steven Winfield\nEmail address: steven.winfield@cantabcapital.com\nPostgreSQL version: 11.5\nOperating system: Linux\nDescription: \n\nAs per the documentation[1], the COPY comman...
[ { "msg_contents": "I have been looking at PostgreSQL's Tuple Queue \r\n(/include/executor/tqueue.h) which provides functionality for queuing \r\ntuples between processes through shm_mq. I am still familiarising myself \r\nwith the bigger picture and TupTableStores. I can see that a copy (not a \r\nreference) of...
[ { "msg_contents": "Hi hackers,\n\nIn recently, I discovered a postgres bug, and I hope I can ask you for the best solution.\nThe problem is as follows:\n\npostgres=# explain analyze select * from xxx where a=500;\nERROR: could not open relation with OID 25989\nThe structure of my table is as follows:\npostgres=...
[ { "msg_contents": "Hello everybody,\n\nOur company was in desperate need of portals in async interface of libpq,\nso we patched it.\n\nWe would be happy to upstream the changes.\n\nThe description of changes:\n\nTwo functions in libpq-fe.h:\nPQsendPortalBindParams for sending a command to bind a portal to a\npr...
[ { "msg_contents": "Hi all,\n\nI have just bumped into $subject, and we now use the table_*\nequivalents in the code. Any objections to the simple patch attached\nto clean up that?\n\nThanks,\n--\nMichael", "msg_date": "Thu, 17 Oct 2019 10:47:06 +0900", "msg_from": "Michael Paquier <michael@paquier.xyz>...
[ { "msg_contents": "Hi Folks,\n\n\nI am doing some development for Enduro/X distributed transaction \nmiddleware XA driver emulation, so that it would be suitable for ecpg \napps too, and so the program opens the connection with help of \nECPGconnect() with assigned connection id, .e.g:\n\n/**\n  * Perform conne...