threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi, all\n\nRecently, I got a problem that the startup process of standby is stuck and keeps in a waiting state. The backtrace of startup process shows that it is waiting for a backend process which conflicts with recovery processing to exit, the guc parameters max_standby_streaming_delay and... |
[
{
"msg_contents": "While looking at the regexp code, I started to get uncomfortable\nabout the implications of commit 0c3405cf1: it means that not\nonly the cdissect() phase, but also the preceding DFA-check phase\n(longest()/shortest()) rely on saved subexpression match positions\nto be valid for the match we'... |
[
{
"msg_contents": "Hi\r\n\r\nThe customer reports a very slow query. I have a reproducer script. The\r\ndataset is not too big\r\n\r\npostgres=# \\dt+\r\n List of relations\r\n┌────────┬───────┬───────┬───────┬─────────────┬────────────┬─────────────┐\r\n│ Schema │ Name │ Type │ Ow... |
[
{
"msg_contents": "Included 蔡梦娟 and Jakub Wartak because they've expressed interest on\nthis topic -- notably [2] (\"Bug on update timing of walrcv->flushedUpto\nvariable\").\n\nAs mentioned in the course of thread [1], we're missing a fix for\nstreaming replication to avoid sending records that the primary has... |
[
{
"msg_contents": "Hi,\n\nEXPLAIN command doesn't show testexpr. Sometimes it is not easy to \nunderstand a query plan. That I mean:\n\nCREATE TABLE a (x integer, y integer);\nEXPLAIN (COSTS OFF, VERBOSE) SELECT x, y FROM a upper\n WHERE y IN (SELECT y FROM a WHERE upper.y = x);\nEXPLAIN (COSTS OFF, VERBOSE) ... |
[
{
"msg_contents": "Hello hackers,\n\nHere is a summary of what was implemented over the summer in PL/Julia:\n\n1. Added support for more datatypes as input and output:\nNULL, boolean, numeric types, composite types, arrays of base types can now\nbe passed as input arguments to PL/Julia functions. Users can also... |
[
{
"msg_contents": "Hello,\n\nI have implemented per query network stat collection for FDW. It is done \nin a similar way to how buffer and WAL stats are collected and it can be \nseen with a new NETWORK option for explain command:\n\nexplain (analyze, network) insert into itrtest values (2, 'blah');\n\n ... |
[
{
"msg_contents": "\nDuring the discussion on OpenSSL 3.0.0 support in pgcrypto [0], I \nstarted to wonder whether the \"internal\" code variants in pgcrypto (the \nones that implement the ciphers themselves instead of using OpenSSL) are \nmore trouble than they are worth. As discussed there, keeping this adds... |
[
{
"msg_contents": "Hi,\n\ntab completion for \"create unlogged\" gives this:\n\npostgres=# create unlogged \nMATERIALIZED VIEW TABLE \n\nGiven that a materialized table can not be unlogged:\n\npostgres=# create unlogged materialized view mv1 as select 1;\nERROR: materialized views cannot be unlogged\n\nShou... |
[
{
"msg_contents": "Avoid using ambiguous word \"positive\" in error message.\n\nThere are two identical error messages about valid value of modulus for\nhash partition, in PostgreSQL source code. Commit 0e1275fb07 improved\nonly one of them so that ambiguous word \"positive\" was avoided there,\nand forgot to i... |
[
{
"msg_contents": "While trying to refactor the node support in various ways, the Value \nnode is always annoying.\n\nThe Value node struct is a weird construct. It is its own node type,\nbut most of the time, it actually has a node type of Integer, Float,\nString, or BitString. As a consequence, the struct n... |
[
{
"msg_contents": "Hello all,\n\nI am going to refactor Greenplum backtraces for error messages and want to make it more compatible with PostgreSQL code. Backtraces in PostgreSQL were introduced by 71a8a4f6e36547bb060dbcc961ea9b57420f7190 commit (original discussion https://www.postgresql.org/message-id/CAMsr+Y... |
[
{
"msg_contents": "Hello\n\nWhile executing the regression tests for MobilityDB I load a predefined\ndatabase on which I run the tests and then compare the results obtained\nwith those expected. All the tests are driven by the following bash file\nhttps://github.com/MobilityDB/MobilityDB/blob/develop/test/scrip... |
[
{
"msg_contents": "log_autovacuum output looks like this (as of Postgres 14):\n\nLOG: automatic vacuum of table \"regression.public.bmsql_order_line\":\nindex scans: 1\npages: 0 removed, 8810377 remain, 0 skipped due to pins, 3044924 frozen\ntuples: 16819838 removed, 576364686 remain, 2207444 are dead but not\... |
[
{
"msg_contents": "Hello.\n\nI'm facing a difficulty on cloning a repository via ssh.\n\nI understand that git repository can be accessed via http, git and ssh\nprotocol, and ssh access uses the ssh public key registered in\ncommunity account profile. I registered one in ecdsa-sha2-nistp256\nthat I believe the ... |
[
{
"msg_contents": "Attached is the plain-text list of acknowledgments for the PG14 release \nnotes, current through today. Please check for problems such as wrong \nsorting, duplicate names in different variants, or names in the wrong \norder etc. (Note that the current standard is given name followed by \nsu... |
[
{
"msg_contents": "Hi,\nI have following case: local pg_dump (v15) connecting to remote\nPostgreSQL (v12).\n\nI'm trying to get just schema (pg_dump -s). It's taking very long, which\nis kinda OK given that there is long distance and latency, but I got\ncurious and checked queries that the pg_dump was running (... |
[
{
"msg_contents": "When using pg_basebackup with WAL streaming (-X stream), we have observed on a\nnumber of times in production that the streaming child exited prematurely (to\nno fault of the code it seems, most likely due to network middleboxes), which\ncause the backup to fail but only after it has run to c... |
[
{
"msg_contents": "Hi.\n\nIn the code in src/backend/replication/logical/origin.c,\nthe error code \"ERRCODE_CONFIGURATION_LIMIT_EXCEEDED\" is given\nwhen a checksum check results in an error,\nbut \"ERRCODE_ DATA_CORRUPTED\" seems to be more appropriate.\n\n====================\ndiff --git a/src/backend/replic... |
[
{
"msg_contents": "\nIs there a reason why contrib/amcheck/verify_heapam.c does not want to \nrun on sequences? If I take out the checks, it appears to work. Is \nthis an oversight? Or if there is a reason, maybe it could be stated in \na comment, at least.\n\n\n",
"msg_date": "Thu, 26 Aug 2021 12:03:48 ... |
[
{
"msg_contents": "Hi,\n\nWhile porting postgresql-odbc v13 to AIX, we have found that (at least) 2 symbols are missing in libpq.a provided by the port of PostgreSQL v13.1 to AIX 7.1 by the BullFreeware project :\n\npg_char_to_encoding\npg_encoding_to_char\n\nLooking at details, it appears that these symbols ar... |
[
{
"msg_contents": "I just noticed that the new heapam amcheck verification code can take\na very long time to respond to cancellations from pg_amcheck -- I saw\nthat it took over 2 minutes on a large database on my workstation.\n\nIt looks like we neglect to call CHECK_FOR_INTERRUPTS() anywhere\ninside verify_h... |
[
{
"msg_contents": "Hi everyone,\n\nDo we already have a ${subject}? Otherwise I could offer my self.\nIf anyone agree, this would be my first time as CFM as I would\nappreciate some help.\n\n-- \nJaime Casanova\nDirector de Servicios Profesionales\nSystemGuards - Consultores de PostgreSQL\n\n\n",
"msg_date"... |
[
{
"msg_contents": "Hi Hackers,\n\nThere is a known bug in the query rewriter: if a query that has a modifying\nCTE is re-written, the hasModifyingCTE flag is not getting set in the\nre-written query. This bug can result in the query being allowed to execute\nin parallel-mode, which results in an error.\n\nFor m... |
[
{
"msg_contents": "In certain cases like with OpenID Connect, a different scope is needed. This\npatch adds an additional variable `OAUTH2_SCOPE` that can be used to configure\nthe appropriate scope for the deployment. Already there are runtime checks to\nensure that the email claim is included in the user prof... |
[
{
"msg_contents": "The SQL standard has been ambiguous about whether null values in\nunique constraints should be considered equal or not. Different\nimplementations have different behaviors. In the SQL:202x draft, this\nhas been formalized by making this implementation-defined and adding\nan option on unique... |
[
{
"msg_contents": "\nSomehow -hackers got left off the cc:\n\n\nOn 8/22/21 6:11 PM, Andrew Dunstan wrote:\n> On 8/22/21 5:59 PM, ldh@laurent-hasson.com wrote:\n>> > -----Original Message-----\n>> > From: Andrew Dunstan <andrew@dunslane.net>\n>> > Sent: Sunday, August 22, 2021 17:27\n>> > To: Tom Lane <tgl@sss.p... |
[
{
"msg_contents": "I noticed that for \\dP+ since 1c5d9270e, regclass is written without\n\"pg_catalog.\" (Alvaro and I failed to notice it in 421a2c483, too).\n\n+ if (showNested || pattern)\n+ appendPQExpBuffer(&buf,\n+ \",\\n c3.oid::regcla... |
[
{
"msg_contents": "Hi Everyone,\n\nI am Jianhui Lu, a student participating in GSoC 2021, and my project is\n'add monitoring to pg_stat_statements to pg_systat'. And following is a\nsummary of the work I have done during the past 10 weeks.\n\nThe first part is about adding new features to pg_systat. The first a... |
[
{
"msg_contents": "Hi,\n\nIt seems there's a redundant assignment statement conn = NULL in\npg_receivewal's StreamLog function. Attaching a tiny patch herewith.\nThoughts?\n\nRegards,\nBharath Rupireddy.",
"msg_date": "Sat, 28 Aug 2021 17:40:55 +0530",
"msg_from": "Bharath Rupireddy <bharath.rupireddyfo... |
[
{
"msg_contents": "commit a4d75c86bf15220df22de0a92c819ecef9db3849\nAuthor: Tomas Vondra <tomas.vondra@postgresql.org>\nDate: Fri Mar 26 23:22:01 2021 +0100\n\n Extended statistics on expressions\n\nThis commit added to psql/describe.c:\n\n+ /* statistics object name (... |
[
{
"msg_contents": "Hi,\n\nIt seems we have inconsistent behavior with the implementation of\n\"GENERATED BY DEFAULT AS IDENTITY\" constraint on a table column.\nHere we are not allowing(internally not replacing NULL with IDENTITY\nDEFAULT) the \"NULL\" insertion into the table column.\n\npostgres=# CREATE TABLE... |
[
{
"msg_contents": "Good day.\n\nCurrent checksum is not calculated in intended way and\nhas the flaw.\n\nSingle round function is written as:\n\n#define CHECKSUM_COMP(checksum, value) do {\\\n uint32 __tmp = (checksum) ^ (value);\\\n (checksum) = __tmp * FNV_PRIME ^ (__tmp >> 17);\\\n} while (0)\n\nAnd ... |
[
{
"msg_contents": "Hi,\n\nI see a couple of improvements to receivelog.c and pg_receivewal.c:\n\n1) ReceiveXlogStream in receivelog.c has a duplicate code to execute\nIDENTIFY_SYSTEM replication command on the server which can be\nreplaced with RunIdentifySystem().\n2) bool returning ReceiveXlogStream() in pg_r... |
[
{
"msg_contents": "Hi,\n\nI see there's a scope to do following improvements to pg_receivewal.c:\n\n1) Fetch the server system identifier in the first RunIdentifySystem\ncall and use it to identify(via pg_receivewal's ReceiveXlogStream) any\nunexpected changes that may happen in the server while pg_receivewal\n... |
[
{
"msg_contents": "Hi hackers,\nI wrote a patch to resolve the subtransactions concurrency performance\nproblems when suboverflowed.\n\nWhen we use more than PGPROC_MAX_CACHED_SUBXIDS(64) subtransactions per\ntransaction concurrency, it will lead to subtransactions performance\nproblems. \nAll backend will be s... |
[
{
"msg_contents": "Hi hackers,\n\nThere are several overloaded versions of timezone() function. One\nversion accepts timezone name and timestamptz and returns timestamp:\n\n=# show time zone;\n TimeZone\n---------------\n Europe/Moscow\n\n=# select timezone('MSK', '2021-08-30 12:34:56 MSK' :: timestamptz);\n ... |
[
{
"msg_contents": "Hi,\n\nOriginally I posted it on -general, but Joe Conway suggested I repost in\nhere for greater visibility...\n\nWe hit a problem with Pg 12.6 (I know, we should upgrade, but that will\ntake long time to prepare).\n\nAnyway - it's 12.6 on aarm64.\nCouple of days there was replication slot s... |
[
{
"msg_contents": "Hi,\n\nRelation invalidation was missing in case of create publication and\ndrop publication of \"FOR ALL TABLES\" publication, added so that the\npublication information can be rebuilt. Without these invalidation\nupdate/delete operations on the relation will be successful in the\npublisher ... |
[
{
"msg_contents": "Hi. I noticed some code that seems the same as the nearby function\nunpack_sql_state, and I wondered why it is not just calling it?\n\nFor example,\n\n\ndiff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c\nindex a3e1c59..d91ed98 100644\n--- a/src/backend/utils/error/e... |
[
{
"msg_contents": "Hi all,\n\nI found another pass where we report stats after the stats collector\nshutdown. The reproducer and the backtrace I got are here:\n\n1. psql -c \"begin; create table a (a int); select pg_sleep(30); commit;\" &\n2. pg_recvlogical --create-slot -S slot -d postgres &\n3. stop the serve... |
[
{
"msg_contents": "Hi Hackers,\n\nIn the current version, when GUC huge_pages=try, which is the default setting, no log is output regardless of the success or failure of the HugePages acquisition. If you want to output logs, you need to set log_min_messages=DEBUG3, but it will output a huge amount of extra logs... |
[
{
"msg_contents": "Hi All,\n\n I'm very happy to announce that I now work for Supabase [1]. They\nhave hired me so that I can participate in, and contribute to the\nPostgres community.\n\n I'm announcing it here in the hopes that more companies feel\nencouraged to contribute to Postgres. For those who do... |
[
{
"msg_contents": "Hello,\n\nWhile working through the documentation I found an empty cell in the \ntable for the large objects privilege display with the psql command [1]. \nAnd indeed the \\dl command does not show privileges. And there is no \nmodifier + for it.\n\nThis patch adds a + modifier to the \\dl co... |
[
{
"msg_contents": "Hi,\n\nThis patch adds a new log_destination, \"jsonlog\", that writes log entries\nas lines of JSON. It was originally started by David Fetter using\nthe jsonlog module by Michael Paquier (\nhttps://github.com/michaelpq/pg_plugins/blob/master/jsonlog/jsonlog.c) as a\nbasis for how to seriali... |
[
{
"msg_contents": "(Starting a new thread for greater visibility)\n\nThe attached is a fairly straightforward correction. I did want to make\nsure it was okay to bump the catversion in the PG14 branch also. I've seen\nfixes where doing that during beta was in question.\n\n-- \nJohn Naylor\nEDB: http://www.enter... |
[
{
"msg_contents": "Hello,\r\n\r\nThere was a brief discussion [1] back in February on allowing user\r\nmapping for LDAP, in order to open up some more complex authorization\r\nlogic (and slightly reduce the need for LDAP-to-Postgres user\r\nsynchronization). Attached is an implementation of this that separates\... |
[
{
"msg_contents": "Hi hackers,\n\nI'm not a perl specialist and it seems to me that the Win32 build is broken.\nThe Win32 build is still important because of the 32-bit clients still in\nuse.\nI'm investigating the problem.\n\n-------------------------------------------------------------------------------------... |
[
{
"msg_contents": "To who it may concern,\n\n\nI am trying to get a project completed to enhance PostgreSQL arithmetic and elementary functions\n\nprowess by means of two new High Precision mixed decimal number types in a self installing\n\nextension. Hopefully, I want this to be a free or low cost project.\n\... |
[
{
"msg_contents": "It is now 2021-09-01 Anywhere On Earth so I’ve set the September commitfest to\nIn Progress and opened the November one for new entries. Jaime Casanova has\nvolunteered for CFM [0], so let’s help him close the 284 still open items in\nthe queue.\n\n--\nDaniel Gustafsson\t\thttps://vmware.com... |
[
{
"msg_contents": "Hello,\n\nin psycopg 3 we are currently using PQexecParams - although with no\nparams - to send COPY commands. The reason is mostly to avoid people\nto send COPY together with other statements. Especially if other\noperations are chained after COPY: we would only notice them after\ncopy is fi... |
[
{
"msg_contents": "Hi,\n\nBack 2017, Michael and Magus apparently fixed a bug report[1] about\nfailing basebackups on Windows due to its concurrent file access\nsemantics:\n\ncommit 9951741bbeb3ec37ca50e9ce3df1808c931ff6a6\nAuthor: Magnus Hagander <magnus@hagander.net>\nDate: Wed Jan 4 10:48:30 2017 +0100\n\n... |
[
{
"msg_contents": "Hi,\n\nWhen reviewing other patches, I noticed two typos:\n\n1.\nsrc/backend/parser/gram.y\nALTER TABLE <name> ALTER [COLUMN] <colname> RESET ( column_parameter = value [, ... ] )\n\nRESET cannot specify value.\n\n2.\nsrc/backend/utils/adt/xid8funcs.c\n* Same as pg_current_xact_if_assigned() ... |
[
{
"msg_contents": "I had a customer point out to me that we're inconsistent in how we\nspell read-only. Turns out we're not as inconsistent as I initially\nthought :), but that they did manage to spot the one actual log\nmessage we have that writes it differently than everything else -- but\nthat broke their gr... |
[
{
"msg_contents": "Hello,\n\nLacking a tool to edit postgresql.conf programmatically, people resort \nto passing cluster options on the command line. While passing all \nnon-default options in this way may sound like an abuse of the feature, \nIMHO pg_ctl should not blindly truncate generated command lines at \... |
[
{
"msg_contents": "Few tap test files have the \"tempdir_short\" variable which isn't in\nuse. The attached patch removes the same\n\nRegards,\nAmul",
"msg_date": "Fri, 3 Sep 2021 10:53:19 +0530",
"msg_from": "Amul Sul <sulamul@gmail.com>",
"msg_from_op": true,
"msg_subject": "Unused variable in... |
[
{
"msg_contents": "Hi all\n\nI want to share a patch with you, in which I add a guc parameter 'enable_send_stop' to enable set the value of SendStop in postmaster.c more conveniently. SendStop enable postmaster to send SIGSTOP rather than SIGQUIT to its children when some backend dumps core, and this variable ... |
[
{
"msg_contents": "To who it may concern,\n\nI am trying to get a project completed to enhance PostgreSQL arithmetic and elementary functions\nprowess by means of two new High Precision mixed decimal number types in a self installing\nextension. Hopefully, I want this to be a free or low cost project.\n\nIs th... |
[
{
"msg_contents": "Set the volatility of the timestamptz version of date_bin() back to immutable\n\n543f36b43d was too hasty in thinking that the volatility of date_bin()\nhad to match date_trunc(), since only the latter references\nsession_timezone.\n\nBump catversion\n\nPer feedback from Aleksander Alekseev\n... |
[
{
"msg_contents": "Windows 10 supports Unix sockets as reported, e.g., here\nhttps://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/\n\nWe run the tests on MobilityDB using an ephemeral instance that is created\nby the test suite and torn down afterwards.\nhttps://github.com/MobilityDB/MobilityDB/b... |
[
{
"msg_contents": "Hi all,\n\nRunning the recovery tests in a parallel run, enough to bloat a\nmachine in resources, sometimes leads me to the following failure:\nok 19 - walsender termination logged\n# poll_query_until timed out executing this query:\n# SELECT wal_status FROM pg_replication_slots WHERE slot_na... |
[
{
"msg_contents": "Hi hackers,\n\nThere is an ongoing effort of cleaning up orphaned files using undo logs \n[1].\n\nUntil this get implemented and databases get upgraded to the version(s) \nthat will benefit from this ongoing work, one still need to handle \norphaned files (if any).\n\nI started to work on thi... |
[
{
"msg_contents": "Hi\n\nI met a problem when using logical replication. Maybe it's a bug in logical replication. \nWhen publishing a partition table without replica identity, update\nor delete operation can be successful in some cases.\n\nFor example:\ncreate table tbl1 (a int) partition by range ( a );\ncreat... |
[
{
"msg_contents": "Hi,\n\nSingle lines entered in PSQL interactive-mode, containing just\nwhitespace or an SQL comment (\"--...\"), don't seem to be stored\ncorrectly in the history.\nFor example, such lines are currently prepended to the history of the\nnext command entered, rather than having their own histor... |
[
{
"msg_contents": "With Letsencrypt now protecting web servers left and right, and it makes\nsense to me to just re-use the cert that the server may already have\ninstalled.\n\nI've tested this on debian with the client compiled from the master branch,\nagainst a 13.3 server.\n\nThis is my first patch to postgr... |
[
{
"msg_contents": "If we create a column name longer than 64 bytes, it will be truncated in\nPostgreSQL to max (NAMEDATALEN) length.\n\nFor example: \"\nVeryLongNameVeryLongNameVeryLongNameVeryLongNameVeryLongNameVeryLongName\"\nwill be truncated in database to \"\nVeryLongNameVeryLongNameVeryLongNameVeryLongNa... |
[
{
"msg_contents": "Hi,\n\nWhile working on [1], we found that EXPLAIN(VERBOSE) to CTE with SEARCH \nBREADTH FIRST ends up ERROR.\n\nThis can be reproduced at the current HEAD(4c3478859b7359912d7):\n\n =# create table graph0( f int, t int, label text);\n CREATE TABLE\n\n =# insert into graph0 values (1, 2,... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that `SET TIME ZONE` / `SET timezone TO` don't work with\nabbreviations:\n\n```\n# select * from pg_timezone_names where abbrev = 'MSK';\n name | abbrev | utc_offset | is_dst\n-------------------+--------+------------+--------\n Europe/Moscow | MSK ... |
[
{
"msg_contents": "Hi,\n\nIt seems like we use \"superuser\" as a standard term across the entire\ncode base i.e. error messages, docs, code comments. But there are\nstill a few code comments that use the term \"super user\". Can we\nreplace those with \"superuser\"? Attaching a tiny patch to do that.\n\nThough... |
[
{
"msg_contents": "Hi,\n\nI have a 13.4 based setup (physical streaming replication) where the \nreplica does the attach log upon startup, and when the first message is \nsent from the primary.\n\nThere is the FATAL from when the WAL receiver shuts down, but I think it \nwould be a benefit to have report_invali... |
[
{
"msg_contents": "In postgres.h, there are these macros for working with compressed\ntoast:\n\n vvvvvvvv\n/* Decompressed size and compression method of an external compressed Datum */\n#define VARDATA_COMPRESSED_GET_EXTSIZE(PTR) \\\n (((varattrib_4b *) (PTR)... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nI'd like to gauge interest in parallelizing the archiver process.\r\nFrom a quick scan, I was only able to find one recent thread [0] that\r\nbrought up this topic, and ISTM the conventional wisdom is to use a\r\nbackup utility like pgBackRest that does things in parallel b... |
[
{
"msg_contents": "Hi,\n\nI find a problem related to tablespace on win32(server2019).\n\n> postgres=# create tablespace tbs location 'C:\\Users\\postgres\\postgres_install\\aa\\..\\aa';\n> CREATE TABLESPACE\n> postgres=# create table tbl(col int) tablespace tbs;\n> ERROR: could not stat directory \"pg_tblspc/... |
[
{
"msg_contents": "Hi,\n\nWhile working on one of the internal features, we found that it is a\nbit difficult to run pg_waldump for a normal user to know WAL info and\nstats of a running postgres database instance in the cloud. Many a\ntimes users or DBAs or developers would want to get and analyze\nfollowing:\... |
[
{
"msg_contents": "Bom dia, \n\nEstou com um problema para realizar a migração utilizando o comando\npg_upgrade. \n\nAo executar ele está me mostrando um erro de incompatibilidade com o\nformato data/hora. \n\nPelo comando pg_controldata verifico que na base 8.3 o Tipo de data/hora\né : números de pontos fluant... |
[
{
"msg_contents": "Hi,\n\nWhile hacking on AIO I wanted to build the windows portion from linux. That\nworks surprisingly well with cross-building using --host=x86_64-w64-mingw32 .\n\nWhat didn't work as well was running things under wine. It turns out that the\nserver itself works ok, but that initdb hangs bec... |
[
{
"msg_contents": "Hi hackers,\n\nIn PG12 and PG13 LookupFuncName would return procedures as well as\nfunctions while in PG14 since commit e56bce5d [0] it would disregard\nall procedures\nand not return them as match.\n\nIs this intended behaviour or an unintended side effect of the refactoring?\n\nSven\n\n[0] ... |
[
{
"msg_contents": "Hello.\n\nSometimes, I needed to infer where a past checkpoint make wal segments\nunnecessary up to, or just to know the LSN at a past point in\ntime. But there's no convenient source for that.\n\nThe attached small patch enables me (or us) to do that by looking into\nserver log files.\n\n\n>... |
[
{
"msg_contents": "Hello hackers,\n\nIn pg_import_system_collations() there is this fragment of code:\n\nenc = pg_get_encoding_from_locale(localebuf, false);\nif (enc < 0)\n{\n\t/* error message printed by pg_get_encoding_from_locale() */\n\tcontinue;\n}\n\nHowever, false passed to pg_get_encoding_from_locale()... |
[
{
"msg_contents": "Hi,\n\nThe attached patch adds a small test for recovery_end_command execution.\n\nCurrently, patch tests execution of recovery_end_command by creating\ndummy file, I am not wedded only to this approach, other suggestions\nalso welcome.\n\nAlso, we don't have a good test for archive_cleanup_c... |
[
{
"msg_contents": "I was wondering what happens when the 32 TiB per table limit is\nreached, so I faked 32767 1 GiB sparse files using dd and then tried\ninserting more rows.\n\nOn a cassert-enabled build I got:\n\nTRAP: FailedAssertion(\"tagPtr->blockNum != P_NEW\", File: \"./build/../src/backend/storage/buffe... |
[
{
"msg_contents": "We don't actually prevent you from scrolling a NO SCROLL cursor:\n\nregression=# begin;\nBEGIN\nregression=*# declare c no scroll cursor for select * from int8_tbl;\nDECLARE CURSOR\nregression=*# fetch all from c;\n q1 | q2 \n------------------+-------------------... |
[
{
"msg_contents": "Revoke PUBLIC CREATE from public schema, now owned by pg_database_owner.\n\nThis switches the default ACL to what the documentation has recommended\nsince CVE-2018-1058. Upgrades will carry forward any old ownership and\nACL. Sites that declined the 2018 recommendation should take a fresh\n... |
[
{
"msg_contents": "Hi,\nI was looking at backend_progress.c and noticed that the filename and path\nwere wrong in the header.\n\nHere is patch which corrects the mistake.\n\nPlease take a look.\n\nThanks",
"msg_date": "Fri, 10 Sep 2021 10:11:34 -0700",
"msg_from": "Zhihong Yu <zyu@yugabyte.com>",
"m... |
[
{
"msg_contents": "I noticed that the new parameter remove_temp_files_after_crash is currently set to a default value of \"true\" in the version 14 release. It seems this was discussed in this thread [1], and it doesn't look to me like there's been a lot of stress testing of this feature.\r\n\r\nIn our fleet th... |
[
{
"msg_contents": "Hi,\n\nWe have two static check_permissions functions (one in slotfuncs.c\nanother in logicalfuncs.c) with the same name and same code for\nchecking the privileges for using replication slots. Why can't we have\na single function CheckReplicationSlotPermissions in slot.c? This way,\nwe can ge... |
[
{
"msg_contents": "Hi hackers!\n\nThere's a lot of compression discussions nowadays. And that's cool!\nRecently Naresh Chainani in private discussion shared with me the idea to compress temporary files on disk.\nAnd I was thrilled to find no evidence of implementation of this interesting idea.\n\nI've prototype... |
[
{
"msg_contents": "Hi,\n\nBTW, this only happens when the third parameter is large. Here is an\nexample that consistently crash here:\n\nselect regexp_count('jaime.casanova', 'valid', 102481);\n\n-- \nJaime Casanova\nDirector de Servicios Profesionales\nSystemGuards - Consultores de PostgreSQL\n\n\n",
"msg_... |
[
{
"msg_contents": "Hi everyone,\n\nI tried an old test that at some point crashed the database... that is\nalready fixed.\n\nSo now it gives a good ERROR message:\n\n\"\"\"\npostgres=# create table t1 (col1 text, col2 text);\nCREATE TABLE\npostgres=# create unique index on t1 ((col1 || col2));\nCREATE INDEX\npo... |
[
{
"msg_contents": "In commit aa769f80e, I back-patched the same postgres-fdw.sgml change,\nincluding $SUBJECT, to v12, but I noticed the type info on each FDW\noption is present in HEAD only. :-( Here is a patch to remove\n$SUBJECT from the back branches for consistency.\nBest regards,Etsuro Fujita",
"msg... |
[
{
"msg_contents": "Hello,\n\nI've created a Postgresql C/C++ Aggregate Extension implementing Private Information Retrieval (PIR) using Homomorphic Encryption. The open sourced version can be found here: https://github.com/ReverseControl/MuchPIR .\n\nIn essence, with PIR we can retrieve data from any row in a t... |
[
{
"msg_contents": "Hi Tomas,\n\nJust noted that this query crash the server. Execute it in the\nregression database:\n\n\"\"\"\nupdate brintest_multi set inetcol = '192.168.204.50/0'::inet;\n\"\"\"\n\nAttached is the backtrace. Let me know if you need something else to\ntrack it.\n\n-- \nJaime Casanova\nDirecto... |
[
{
"msg_contents": "Hello.\n\nAs reported in [1] it seems that walsender can suffer timeout in\ncertain cases. It is not clearly confirmed, but I suspect that\nthere's the case where LogicalRepApplyLoop keeps running the innermost\nloop without receiving keepalive packet for longer than\nwal_sender_timeout (not... |
[
{
"msg_contents": "Adding -hackers, sorry for the duplicate.\n\nThis seems to be deficient, citing\nhttps://www.postgresql.org/message-id/flat/0d1b394b-bec9-8a71-a336-44df7078b295%40gmail.com\n\nI'm proposing something like the attached. Ideally, there would be a central\nplace to put details, and the other pl... |
[
{
"msg_contents": "Hi all,\n\nI'm trying to execute a PROCEDURE (with COMMIT inside) called from a\nbackground worker using SPI but I'm always getting the error below:\n\n2021-09-13 09:36:43.568 -03 [23845] LOG: worker_spi worker 2 initialized\nwith schema2.counted\n2021-09-13 09:36:43.568 -03 [23846] LOG: wo... |
[
{
"msg_contents": "Hi,\n\nI was reading src/backend/utils/resowner/README today and noticed the\nfollowing paragraph that mentions the types of objects/resources\n*directly* supported by the module.\n\n===\nCurrently, ResourceOwners contain direct support for recording ownership of\nbuffer pins, lmgr locks, and... |
[
{
"msg_contents": "All,\n\nI'm considering a new design for a specialized table am. It would simplify\nthe design if TIDs grew forever and I didn't have to implement TID reuse\nlogic.\n\nThe current 48 bit TID is big, but I can see extreme situations where it\nmight not be quite big enough. If every row that ge... |
[
{
"msg_contents": "Hi,\n\nI noticed that postgres.h is included from relcache.h (starting in [1]) and\nwanted to fix that - it violates our usual policy against including postgres.h\nfrom within headers.\n\nBut then I noticed that that causes pg_upgrade/file.c to fail to compile:\n\nIn file included from /home/... |
[
{
"msg_contents": "Hi,\n\nI would like to propose a patch that removes the duplicate code\nsetting database state in the control file.\n\nThe patch is straightforward but the only concern is that in\nStartupXLOG(), SharedRecoveryState now gets updated only with spin\nlock; earlier it also had ControlFileLock in... |
[
{
"msg_contents": "Fellow Postgres Admins and Developers,\n\nWith the arrival of ARM compute nodes on AWS and an existing fleet of\nPostgres clusters running on x86_64 nodes the question arises how to\nmigrate existing Postgres clusters to ARM64 nodes, ideally with zero\ndowntime, as one is used to.\n\nInitial ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.