threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "The use of the --echo-hidden flag in psql is used to show people the way\npsql performs its magic for its backslash commands. None of them has more\nmagic than \"\\d relation\", but it suffers from needing a lot of separate\nqueries to gather all of the information it needs. Unfortunately, th... |
[
{
"msg_contents": "Not sold on the name, but --check is a combination of --silent-diff and \n--show-diff. I envision --check mostly being used in CI environments. \nI recently came across a situation where this behavior would have been \nuseful. Without --check, you're left to capture the output of \n--show-dif... |
[
{
"msg_contents": "Hi all,\n\nAs the comment of ReorderBufferLargestTXN() says, it's very slow with\nmany subtransactions:\n\n/*\n * Find the largest transaction (toplevel or subxact) to evict (spill to disk).\n *\n * XXX With many subtransactions this might be quite slow, because we'll have\n * to walk through... |
[
{
"msg_contents": "Hi hackers,\n\n6af1793954 added a new field namely \"isCatalogRel\" in some WAL records\nto help detecting row removal conflict during logical decoding from standby.\n\nPlease find attached a patch to add this field in the related rmgrdesc (i.e\nall the ones that already provide the snapshotC... |
[
{
"msg_contents": "Dear Hackers,\n\nI've come across a behaviour of the planner I can't explain.\nAfter a migration from 11 to 15 (on RDS) we noticed a degradation in \nresponse time on a query, it went from a few seconds to ten minutes.\nA vacuum(analyze) has been realized to be sure that all is clean.\nThe 'e... |
[
{
"msg_contents": "build system using configure set VAL_CFLAGS with debug and\noptimization flags, so pg_config will show these infos. Some\nextensions depend on the mechanism.\n\nThis patch exposes these flags with a typo fixed together.\n\n-- \nRegards\nJunwang Zhao",
"msg_date": "Tue, 12 Dec 2023 18:40:1... |
[
{
"msg_contents": "Hi hackers,\n\nCurrently walrcv->walRcvState is set to WALRCV_STREAMING at the\nbeginning of WalReceiverMain().\n\nBut it seems that after this assignment things could be wrong before the\nwalreicever actually starts streaming (like not being able to connect\nto the primary).\n\nIt looks to m... |
[
{
"msg_contents": "Prevent tuples to be marked as dead in subtransactions on standbys\n\nDead tuples are ignored and are not marked as dead during recovery, as\nit can lead to MVCC issues on a standby because its xmin may not match\nwith the primary. This information is tracked by a field called\n\"xactStarted... |
[
{
"msg_contents": "The script was using a few deprecated things according to POSIX:\n\n- -o instead of ||\n- egrep\n- `` instead of $()\n\nI removed those for their \"modern\" equivalents. Hopefully no buildfarm \nmember complains. I can remove any of those patches though. I did go \nahead and remove egrep usag... |
[
{
"msg_contents": "Can postgres client send subsequent requests without receiving response? If\nso, how does the postgres client correlate between a request and its\nresponse? Where can I get more hints about it?\n\nCan postgres client send subsequent requests without receiving response? If so, how does the pos... |
[
{
"msg_contents": "Hi, Thomas Munro and Laurenz Albe.\n\nSince I didn't subscribe to the psql-hackers mailing list before this bug\nwas raised, please forgive me for not being able to reply to this email by\nplacing the email message below.\nhttps://www.postgresql.org/message-id/flat/e48a5d9a2d3d72985d61ee25431... |
[
{
"msg_contents": "I noticed that Logical Streaming Replication Protocol documentation\n[1] is missing the options added to \"pgoutput\" since version 14. A\npatch is attached to fix it together with another small one to give a\nnice error when \"proto_version\" parameter is not provided.\n\n[1] https://www.po... |
[
{
"msg_contents": "By chance I discovered that checks on large object ownership\nare broken in v16+. For example,\n\nregression=# create user alice;\nCREATE ROLE\nregression=# \\c - alice\nYou are now connected to database \"regression\" as user \"alice\".\nregression=> \\lo_import test\nlo_import 40378\nregre... |
[
{
"msg_contents": "Hi,\r\n\r\nA recent case in the field in which a database session_authorization is\r\naltered to a non-superuser, non-owner of tables via alter database .. set session_authorization ..\r\ncaused autovacuum to skip tables.\r\n\r\nThe issue was discovered on 13.10, and the logs show such messag... |
[
{
"msg_contents": "Hi,\n\nIn all releases, if bootstrap mode's checkpoint gets an error (ENOSPC,\nEDQUOT, EIO, ...) or a short write in md.c, ERROR is promoted to FATAL\nand the shmem_exit resowner machinery reaches this:\n\nrunning bootstrap script ... 2023-12-14 10:38:02.320 NZDT [1409162]\nFATAL: could not ... |
[
{
"msg_contents": "The newNode() macro can be turned into a static inline function, which \nmakes it a lot simpler. See attached. This was not possible when the \nmacro was originally written, as we didn't require compiler to have \nstatic inline support, but nowadays we do.\n\nThis was last discussed in 2008, ... |
[
{
"msg_contents": "Hi, all\n\nBy reading the codes, I found that we process limit option as LIMIT_OPTION_WITH_TIES when using WITH TIES\nand all others are LIMIT_OPTION_COUNT by commit 357889eb17bb9c9336c4f324ceb1651da616fe57.\nAnd check actual limit node in limit_needed().\nThere is no need to maintain a usel... |
[
{
"msg_contents": "Hi,\n\nOur pg_serial truncation logic is a bit broken, as described by the\ncomments in CheckPointPredicate() (a sort of race between xid cycles\nand checkpointing). We've seen a system with ~30GB of files in there\n(note: full/untruncated be would be 2³² xids × sizeof(uint64_t) =\n32GB). I... |
[
{
"msg_contents": "Hi Richard Guo I see that the test samples are all (exists)\nsubqueries ,I think semi join should also support ( in) and ( any)\nsubqueries. would you do more test on ( in) and ( any) subqueries?\n\n\nBest whish\n\nHi Richard Guo I see that the test samples are all (exists) subq... |
[
{
"msg_contents": "Hi,\n\nWhen I am working on \"shared detoast value\"[0], where I want to avoid\ndetoast the same datum over and over again, I have to decide which\nmemory context should be used to hold the detoast value. later I \nfound I have to use different MemoryContexts for the OuterTuple and\ninnerTupl... |
[
{
"msg_contents": "Hello. I'm working on the support of autonomous transactions in Postgres.\nCould you please make a preliminary review and give advices (see section \n#TODO)\n\n# Patch\nv0001-Autonomous-transactions.patch\n\n# Introduction\nThis patch implements Autonomous Transactions for PL/pgSQL.\nAutonomo... |
[
{
"msg_contents": "Hello!\n\nInspired by Simon Riggs' keynote talk at PGCounf.eu 2023 sharing list\nof ideas for PostgreSQL\n(https://riggs.business/blog/f/postgresql-todo-2023), I have crafted a\nquick patch to do SQL syntax validation.\n\nIt is also heavily inspired by the \"ruby -c\" command, useful to check... |
[
{
"msg_contents": "Hello, hackers!\n\nI think about revisiting (1) ({CREATE INDEX, REINDEX} CONCURRENTLY\nimprovements) in some lighter way.\n\nYes, a serious bug was (2) caused by this optimization and now it reverted.\n\nBut what about a more safe idea in that direction:\n1) add new horizon which ignores PROC... |
[
{
"msg_contents": "Hi,\n\nFYI, it looks like there is a big jump in CPU time to compile preproc.c at -O2:\n\nclang15: ~16s\nclang16: ~211s\nclang17: ~233s\n\nFirst noticed on FreeBSD (where the system cc is now clang16), but\nreproduced also on Debian (via apt.llvm.org packages).\n\n\n",
"msg_date": "Sat, 1... |
[
{
"msg_contents": "Hi\n\nI have made some documentation enhancements for PL/pgSQL and PL/Python\nsections. The changes include the addition of a Quick Start Guide to\nfacilitate a smoother onboarding experience for users.\n\nPatch File Name:\n0001-plpyhton-plpgsql-docu-changes.patch\n\nPatch Description:\nThis ... |
[
{
"msg_contents": "Respected sir/madam,\r\nI am Sukhbir Singh, a B.Tech undergraduate, and I am in my pre-final year at Punjab Engineering College (PEC). I am new to open source but know Python, PostgreSQL, C, Javascript and node.js. I would love to contribute to your organization, but could you please tell me ... |
[
{
"msg_contents": "Hey Hackers,\n\nQuick follow-up to my slew of questions back in [September][1]. I wanted to update [my patch][2] to note that only JSON Path equality operators are supported by indexes, as [previously discussed][3]. I thought perhaps adding a note to this bit of the docs would be useful:\n\n>... |
[
{
"msg_contents": "I noticed psql was lacking JSON formatting of query results which I\nneed for a follow-up patch. It also seems useful generally, so here's\na patch:\n\npostgres=# \\pset format json\nOutput format is json.\npostgres=# select * from (values ('one', 2, 'three'), ('four', 5, 'six')) as sub(a, b,... |
[
{
"msg_contents": "Hi,\n\nPFA a patch that attempts to fix the bug that \\. on a line\nby itself is handled incorrectly by COPY FROM ... CSV.\nThis issue has been discussed several times previously,\nfor instance in [1] and [2], and mentioned in the\ndoc for \\copy in commit 42d3125.\n\nThere's one case that wo... |
[
{
"msg_contents": "By chance I discovered that the comment for the typedefs of \"double\"s\ndoes not cover Cardinality. Should we update that comment accordingly,\nmaybe something like below?\n\n- * Typedefs for identifying qualifier selectivities and plan costs as such.\n- * These are just plain \"double\"s, ... |
[
{
"msg_contents": "Hi,\nIs it possible to visualize the DDL with the pg_waldump tool. I created a\npostgres user but I cannot find the creation command in the wals\n\nThanks for help\n\nFabrice\n\nHi,Is it possible to visualize the DDL with the pg_waldump tool. I created a postgres user but I cannot find the cr... |
[
{
"msg_contents": "Hi hacker,\n\nAt the moment the only requirement for custom parameter names is that they\nshould have one or more dots.\nFor example:\ntest5=# set a.b.c.d = 1;\nSET\ntest5=# show a.b.c.d;\n a.b.c.d\n---------\n 1\n(1 row)\n\nBut, Postgres fails to start if such parameters are set in the\nconf... |
[
{
"msg_contents": "Hi hackers,\n\nI noticed that the documentation of extension building infrastructure [1]\nhas a paragraph about isolation tests since v12, but they actually can be\nrun since v14 only.\n\nActual isolation tests support for extensions built with PGXS was added\nin [2] and it was agreed there t... |
[
{
"msg_contents": "Hello PG developers!\n\nI would like to introduce an updated take on libpq protocol-level\ncompression, building off off the work in\nhttps://www.postgresql.org/message-id/aad16e41-b3f9-e89d-fa57-fb4c694bec25@postgrespro.ru\nand the followon work in\nhttps://www.postgresql.org/message-id/ABAA... |
[
{
"msg_contents": "Move src/bin/pg_verifybackup/parse_manifest.c into src/common.\n\nThis makes it possible for the code to be easily reused by other\nclient-side tools, and/or by the server.\n\nPatch by me. Review of this patch in particular by at least Peter\nEisentraut; reviewers for the patch series in gene... |
[
{
"msg_contents": "Here is a patch which adds support for the returns_nonnull attribute \nalongside all the other attributes we optionally support.\n\nI recently wound up in a situation where I was checking for NULL return \nvalues of a function that couldn't ever return NULL because the \ninability to allocate... |
[
{
"msg_contents": "Hello hackers,\n\nAttached is a patch which attempts to implement a new system function\npg_get_slot_invalidation_cause('slot_name') to get invalidation cause\nof a replication slot.\n\nCurrently, users do not have a way to know the invalidation cause. One\ncan only find out if the slot is i... |
[
{
"msg_contents": "I would like to be able to add backtraces to all ERROR logs. This is\nuseful to me, because during postgres or extension development any\nerror that I hit is usually unexpected. This avoids me from having to\nchange backtrace_functions every time I get an error based on the\nfunction name lis... |
[
{
"msg_contents": "Hi,\n\nWe fairly regularly have commits breaking the generation of INSTALL. IIRC we\nrecently discussed building it locally unconditionally, but I couldn't\nimmediately find that discussion. Until then, I think we should at least\nbuild it in CI so that cfbot can warn.\n\nGreetings,\n\nAndre... |
[
{
"msg_contents": "While looking at something else I noticed that pg_dump performs strdup without\nchecking the returned pointer, which will segfault in hasSuffix() in case of\nOOM. The attached, which should be backpatched to 16, changes to using\npg_strdup instead which handles it.\n\n--\nDaniel Gustafsson",... |
[
{
"msg_contents": "Hi.\n\nIn some cases, the planner underestimates FULL JOIN.\n\nExample:\n\npostgres=# CREATE TABLE t AS SELECT x AS a, null AS b FROM\ngenerate_series(1, 10) x;\npostgres=# ANALYZE;\npostgres=# EXPLAIN (ANALYZE, TIMING OFF) SELECT * FROM t t1 FULL JOIN t t2\nON t1.b = t2.b;\n ... |
[
{
"msg_contents": "Hi all,\n(Bertrand and Andres in CC.)\n\nWhile listening at Bertrand's talk about logical decoding on standbys\nlast week at Prague, I got surprised by the fact that we do not\nreflect in the catalogs the reason why a conflict happened for a slot.\nThere are three of them depending on Replica... |
[
{
"msg_contents": "I was surprised to learn that 2 is a valid boolean (thanks Berge):\n\n# select 2::boolean;\n bool\n──────\n t\n\n... while '2' is not:\n\n# select '2'::boolean;\nERROR: 22P02: invalid input syntax for type boolean: \"2\"\nLINE 1: select '2'::boolean;\n ^\nLOCATION: boolin, boo... |
[
{
"msg_contents": "Here is a patch to implement this.\nBeing stuck behind a lock for more than a second is almost\nalways a problem, so it is reasonable to turn this on by default.\n\nYours,\nLaurenz Albe",
"msg_date": "Thu, 21 Dec 2023 14:29:05 +0100",
"msg_from": "Laurenz Albe <laurenz.albe@cybertec.a... |
[
{
"msg_contents": "Attached is a patch that adds 3 SQL-callable functions to return\nrandom integer/numeric values chosen uniformly from a given range:\n\n random(min int, max int) returns int\n random(min bigint, max bigint) returns bigint\n random(min numeric, max numeric) returns numeric\n\nThe return val... |
[
{
"msg_contents": "I happened to notice this stuff getting added to my .psql_history:\n\n\\echo background_psql: ready\nSET password_encryption='scram-sha-256';\n;\n\\echo background_psql: QUERY_SEPARATOR\nSET scram_iterations=42;\n;\n\\echo background_psql: QUERY_SEPARATOR\n\\password scram_role_iter\n\\q\n\nA... |
[
{
"msg_contents": "Problem\n-------\n\nWe are using junk columns for (at least) two slightly different purposes:\n\n1. For passing row IDs and other such data from lower plan nodes to \nLockRows / ModifyTable.\n\n2. To represent ORDER BY and GROUP BY columns that don't appear in the \nSELECT list. For example, ... |
[
{
"msg_contents": "I found the following message introduced by a recent commit.\n\n> errdetail(\"The first unsummarized LSN is this range is %X/%X.\",\n\t \nShouldn't the \"is\" following \"LSN\" be \"in\"?\n\n\ndiff --git a/src/backend/backup/basebackup_incremental.c b/src/backend/backup/basebackup_incremental... |
[
{
"msg_contents": "On 21/12/2023 12:10, Alexander Korotkov wrote:\n > I took a closer look at the patch in [9]. I should drop my argument\n > about breaking the model, because add_path() already considers other\n > aspects than just costs. But I have two more note about that patch:\n >\n > 1) It seems that yo... |
[
{
"msg_contents": "Hello.\nThere is date_trunc(interval, timestamptz, timezone) function.\nFirst parameter can be '5 year', '2 month', '6 hour', '3 hour', '15 \nminute', '10 second' etc.\n-- \nPrzemysław Sztoch | Mobile +48 509 99 00 66",
"msg_date": "Fri, 22 Dec 2023 20:26:15 +0100",
"msg_from": "=?UTF... |
[
{
"msg_contents": "Hello,\n\npgbench mixes int and int64 to initialize the tables.\nWhen a large enough scale factor is passed, initPopulateTable\noverflows leading to it never completing, ie.\n\n2147400000 of 2200000000 tuples (97%) of\npgbench_accounts done (elapsed 4038.83 s, remaining 98.93 s)\n-2147400000 ... |
[
{
"msg_contents": "Hi,\n\nI didn't see anyone volunteering for the January Commitfest, so I'll\nvolunteer to be CF manager for January 2024 Commitfest.\n\nRegards,\nVignesh\n\n\n",
"msg_date": "Sat, 23 Dec 2023 08:52:38 +0530",
"msg_from": "vignesh C <vignesh21@gmail.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "pg_stat_statements has some significant gaps in test coverage, \nespecially around the serialization of data around server restarts, so I \nwrote a test for that and also made some other smaller tweaks to \nincrease the coverage a bit. These patches are all independent of each \nother.\n\nAf... |
[
{
"msg_contents": "I have recently, once again for the umpteenth time, been involved in \ndiscussions around (paraphrasing) \"why does Postgres leak the passwords \ninto the logs when they are changed\". I know well that the canonical \nadvice is something like \"use psql with \\password if you care about that\... |
[
{
"msg_contents": "I happened to notice that information_schema._pg_expandarray(),\nwhich has the nigh-unreadable definition\n\n AS 'select $1[s],\n s operator(pg_catalog.-) pg_catalog.array_lower($1,1) operator(pg_catalog.+) 1\n from pg_catalog.generate_series(pg_catalog.array_lower($1,1),\n ... |
[
{
"msg_contents": "I've got a small question about marking functions working with decimal\nnumber types as either IMMUTABLE or STABLE. Below are a pair of trivial\nfunctions that show what I'm guessing. An int8/int8[] seems like it's going\nto be immutable forever. However, decimal types aren't quite so crisp a... |
[
{
"msg_contents": "Coverity whinged this morning about the following bit in\nthe new pg_combinebackup code:\n\n644 unsigned rb;\n645 \n646 /* Read the block from the correct source, except if dry-run. */\n647 rb = pg_pread(s->fd, buffer, BLCKSZ, offsetmap[i... |
[
{
"msg_contents": "Hello hackers!\n\nI am an Oracle/PostgreSQL DBA, I am not a PG hacker. During my daily job,\nI find a pain that should be fixed.\n\nAs you know, we can use the UP arrow key to get the previous command to\navoid extra typing. This is a wonderful feature to save the lives of every\nDBA. Howeve... |
[
{
"msg_contents": "I came across the 'missing braces' warning again when building master\n(0a93f803f4) on old GCC (4.8.5).\n\nblkreftable.c: In function ‘BlockRefTableSetLimitBlock’:\nblkreftable.c:268:2: warning: missing braces around initializer\n[-Wmissing-braces]\n BlockRefTableKey key = {0}; /* make sure ... |
[
{
"msg_contents": "Hello.\n\npg_basebackup.c: got the following message lines:\n\n>\tprintf(_(\" -i, --incremental=OLDMANIFEST\\n\"));\n>\tprintf(_(\" take incremental backup\\n\"));\n\nI'd suggest merging these lines as follows (and the attached patch).\n\n> +\tprintf(_(\" -i, --incre... |
[
{
"msg_contents": "Hi PostgreSQL Community,\nRecently I have been working on pg_dump regarding my project and wanted to\nexclude an extension from the dump generated. I wonder why it doesn't have\n--exclude-extension type of support whereas --extension exists!\nSince I needed that support, I took the initiative... |
[
{
"msg_contents": "Since dc2123400, any \"make\" in src/bin/pg_combinebackup whines\n\ncat: ./po/LINGUAS: No such file or directory\n\nif you have selected --enable-nls. This is evidently from\n\nAVAIL_LANGUAGES := $(shell cat $(srcdir)/po/LINGUAS)\n\nI don't particularly care to see that warning until wheneve... |
[
{
"msg_contents": "Hi,\n\nWorking on Asymmetric Join, I found slight inconsistency in the \ndescription of SpecialJoinInfo: join type JOIN_ANTI can be accompanied \nby a zero value of the ojrelid if this join was created by the \ntransformation of the NOT EXISTS subquery.\n\n-- \nregards,\nAndrei Lepikhov\nPost... |
[
{
"msg_contents": "While reviewing Heikki's Omit-junk-columns patchset[1], I noticed that\nroot->upper_targets[] is used to set target for partial_distinct_rel,\nwhich is not great because root->upper_targets[] is not supposed to be\nused by the core code. The comment in grouping_planner() says:\n\n * Save th... |
[
{
"msg_contents": "Hi\n\nCommit cac169d686eddb277880a0d8a760ac3007b4846a updated the default value\nof fdw_tuple_cost from 0.01 to 0.2. The attached patch updates the docs to\nreflect this change.\n\n\nThanks!\n\nUmair Shahid | Founder\n\n\nProfessional Services for PostgreSQL\nhttps://stormatics.tech/",
"m... |
[
{
"msg_contents": "Quite a long time ago Robert asked me about the possibility of an \nincremental JSON parser. I wrote one, and I've tweaked it a bit, but the \nperformance is significantly worse that that of the current Recursive \nDescent parser. Nevertheless, I'm attaching my current WIP state for it, \nand... |
[
{
"msg_contents": "Hi,\n\nThe commit b437571 <http://b437571714707bc6466abde1a0af5e69aaade09c> I\nthink has an oversight.\nWhen allocate memory and initialize private spool in function:\n_brin_leader_participate_as_worker\n\nThe behavior is the bs_spool (heap and index fields)\nare left empty.\n\nThe code affec... |
[
{
"msg_contents": "I investigated the report at [1] about pg_file_settings not reporting\ninvalid values of \"log_connections\". It turns out it's broken for\nPGC_BACKEND and PGC_SU_BACKEND parameters, but not other ones.\nThe cause is a bit of premature optimization in this logic:\n\n * If a P... |
[
{
"msg_contents": "Hello Hackers,\n\nTo improve selectivities of queries I suggest to add support of\nmultidimensional histograms as described in paper [1].\n\nTo query multidimensional histograms efficiently we can use H-trees as\ndescribed in paper [2].\n\nPostgres has limited support of multivariate statisti... |
[
{
"msg_contents": "Hi hackers,\n\nI've attached a patch against master that addresses a small bug in pg_dump.\n\nPreviously, pg_dump would include CREATE STATISTICS statements for\ntables that were excluded from the dump, causing reload to fail if any\nexcluded tables had extended statistics.\n\nThe patch skips... |
[
{
"msg_contents": "The Asserts added to bitmapset.c by commits 71a3e8c43b and 7d58f2342b\ncontain some duplicates, such as in bms_difference, bms_is_subset,\nbms_subset_compare, bms_int_members and bms_join. For instance,\n\n@@ -953,6 +1033,15 @@ bms_int_members(Bitmapset *a, const Bitmapset *b)\n int ... |
[
{
"msg_contents": "Hello,\nHaving issues compiling PostgreSQL 16.1 targeting ARM32 architecture.\nUsing building, which currently has 15.5 version, and it compiles and runs well.\nCurrently using GCC 11 with binutils 2.39.\n\nDuring initdb, it gives error message:\n[356] FATAL: could not load library \"/pgsql1... |
[
{
"msg_contents": "Problem:\n--------\nToast works well for its claimed purposes. However the current detoast\ninfrastructure doesn't shared the detoast datum in the query's\nlifespan, which will cause some inefficiency like this:\n\nSELECT big_jsonb_col->'a', big_jsonb_col->'b', big_jsonb_col->'c'\nFROM t;\n... |
[
{
"msg_contents": "Postgres currently requires all variables to be declared at the top of\nthe function, because it specifies -Wdeclaration-after-statement. One\nof the reasons that we had this warning was because C89 required this\nstyle of declaration. Requiring it everywhere made backporting easier,\nsince s... |
[
{
"msg_contents": "Hi,\n\nSQLsmith found a failing Assertion in joininfo.c on master. I can\nreproduce it on an assertion-enabled build like this:\n\ncreate table t1(a int primary key);\ncreate table t2(a int);\n\nselect * from t2 right join\n (t1 as t1a inner join t1 as t1b on t1a.a = t1b.a)\n on... |
[
{
"msg_contents": "We had this:\n\n< 2023-12-25 04:06:20.062 MST telsasoft >ERROR: could not open file \"pg_tblspc/16395/PG_16_202307071/16384/121010871\": Input/output error\n< 2023-12-25 04:06:20.062 MST telsasoft >STATEMENT: commit\n< 2023-12-25 04:06:20.062 MST telsasoft >WARNING: AbortTransaction while ... |
[
{
"msg_contents": "hi.\nhttps://git.postgresql.org/cgit/postgresql.git/tree/src/test/regress/expected/strings.out#n928\n\nSELECT regexp_substr('abcabcabc', 'a.c');\nSELECT regexp_substr('abcabcabc', 'a.c', 2);\nSELECT regexp_substr('abcabcabc', 'a.c', 1, 3);\nSELECT regexp_substr('abcabcabc', 'a.c', 1, 4) IS NU... |
[
{
"msg_contents": "Hi,\n\nwe had a conversation with a customer about security compliance a while\nago and one thing they were concerned about was avoiding brute-force\nattemps for remote password guessing. This is should not be a big\nconcern if reasonably secure passwords are used and increasing SCRAM\niterat... |
[
{
"msg_contents": "Hi hackers,\n\nWe use postgres_fdw to connect two databases. Both DBs have an extension \ninstalled which provides a custom string data type. Our extension is \nknown to the FDW as we created the foreign server with our extension \nlisted in the \"extensions\" option.\n\nThe filter clause of ... |
[
{
"msg_contents": "Hi.\nsimilar to [1], add function argument names to the following functions:\nregexp_like, regexp_match,regexp_matches,regexp_replace,\nregexp_substr,regexp_split_to_array,regexp_split_to_table,regexp_count\n\nso I call these function in a different notation[2], like:\n\nSELECT regexp_like(st... |
[
{
"msg_contents": "Hi folks,\n\nI was playing around with the `typos` tool\n(https://github.com/crate-ci/typos), and thought I'd run it on the\nposgres repo for fun. After a bit of tweaking to get rid of most false\npositives (see separately attached .typos.toml file), it came up with a\nuseful set of suggesti... |
[
{
"msg_contents": "Hi,\n\nElsewhere [1] I required a way to estimate the time corresponding to a\nparticular LSN in the past. I devised the attached LSNTimeline, a data\nstructure mapping LSNs <-> timestamps with decreasing precision for\nolder time, LSN pairs. This can be used to locate and translate a\npartic... |
[
{
"msg_contents": "Dear Sir/Madam, \n \n \n \n \n \n\n I have used Pdadmin on my Macbook for a few days, then suddenly it can not be opened anymore(after i tried to force to exit it when i tried to turn off the laptop), I have tried many solution to try to fix this issue but none of them worked. Therefore, can... |
[
{
"msg_contents": "Hi,\n\nThe function heap_page_prune (src/backend/access/heap/pruneheap.c)\nHas a comment:\n\n\"/*\n * presult->htsv is not initialized here because all ntuple spots in the\n * array will be set either to a valid HTSV_Result value or -1.\n */\n\nIMO, this is a little bogus and does not make se... |
[
{
"msg_contents": "Hi,\n\nThe type of field fd_count is defined in winsock.h:\ntypedef unsigned int u_int;\n\nSo in the struct fd_set,\nthe field fd_count is unsigned int.\n\nThe pgwin32_select function has loops that use *int* as indices.\n\nQuestion: in Windows, the socket select function isn't missing so... |
[
{
"msg_contents": "Hello hackers,\n\nOur prod databases are still PG 9.6.24. We have one primary plus 3 stream\nreplications that are all working well for a long time. However, when I\npromoted one standby database to the primary role, we the the below error\nmessage from the PG log:\n=======================\n... |
[
{
"msg_contents": "This is not the right mailing list for your question. Try the\npgadmin-support [1] mailing list. You may also want to include more details\nin your question, because it's not really possible to tell what's going\nwrong from your description.\n\n[1]: https://www.postgresql.org/list/pgadmin-sup... |
[
{
"msg_contents": "Hi.\nhttps://coverage.postgresql.org/contrib/pg_prewarm/autoprewarm.c.gcov.html\nfunction autoprewarm_start_worker never gets tested, but\nautoprewarm_start_worker listed in our doc\n(https://www.postgresql.org/docs/16/pgprewarm.html)\nMaybe we should test it.\n\nalso this part in function au... |
[
{
"msg_contents": "Hi,\n\nCommitfest 2024-01 is starting in 3 days!\nPlease register the patches which have not yet registered. Also if\nsomeone has some pending patch that is not yet submitted, please\nsubmit and register for 2024-01 Commitfest.\nI will be having a look at the commitfest entries, correcting th... |
[
{
"msg_contents": "Hi!\n\nAs were discussed in [0] our overall goal is to make Postgres 64 bit XIDs.\nIt's obvious, that such a big patch set\ncouldn't possible to commit \"at once\". SLUR patch set [1] was committed a\nshort while ago as a first significant\nstep in this direction.\n\nThis thread is a next st... |
[
{
"msg_contents": "Hi!\n\nRecently, one of our customers came to us with the question: why do reindex\nutility does not support multiple jobs for indices (-i opt)?\nAnd, of course, it is because we cannot control the concurrent processing\nof multiple indexes on the same relation. This was\ndiscussed somewhere... |
[
{
"msg_contents": "Hi,\n\nThis idea first came from remove_useless_groupby_columns does not need to record constraint dependencie[0] which points out that\nunique index whose columns all have NOT NULL constraints could also take the work with primary key when removing useless GROUP BY columns.\nI study it and ... |
[
{
"msg_contents": "Currently the only way to set GUCs from a client is by using SET\ncommands or set them in the StartupMessage. I think it would be very\nuseful to be able to change settings using a message at the protocol\nlevel. For the following reasons:\n\n1. Protocol messages are much easier to inspect fo... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nThe function StartLogStreamer in (src/bin/pg_basebackup/pg_basebackup.c)\nHas a copy and paste error.\n\nThe commit affected is dc212340058b4e7ecfc5a7a81ec50e7a207bf288\n<http://dc21234>\n\nTrivial patch attached.\n\nBest regards,\nRanier Vilela",
"msg_date": "Sat,... |
[
{
"msg_contents": "Hi,\n\nPer Coverity.\n\nThe function scan_for_existing_tablespaces in\n(src/bin/pg_combinebackup/pg_combinebackup.c)\nHas a resource leak.\n\nThe function opendir opendir\n<https://pubs.opengroup.org/onlinepubs/009604599/functions/opendir.html>\nMust be freed with closedir\n<https://pubs.open... |
[
{
"msg_contents": "Hi,\n\nWhat do you think of adding a NO RESET option to the SET ROLE command?\n\nRight now Postgres can enforce data security with roles and RLS, but\nrole-per-end-user doesn't really scale: Db connections are per-role, so a\nconnection pooler can't share connections across users. We can wo... |
[
{
"msg_contents": "Hi,\n\nWhile investigating something, I noticed it's not really possible to\ndisable syncscans for a particular parallel scan.\n\nThat is, with serial scans, we can do this:\n\n table_index_build_scan(heap, index, indexInfo, false, true,\n callback, state, NULL);\... |
[
{
"msg_contents": "Hi,\n\nI think we need to add pgstat_wait_event.c, wait_event_types.h and\nwait_event_funcs_data.c to pgindent/exclude_file_patterns, otherwise,\npgindent on the entire source tree after the source code compilation\nshows up these generated files. I've attached a patch to fix it.\n\nThoughts?... |
[
{
"msg_contents": "Hi,\n\nSome of the TAP tests are explicitly setting PGDATABASE environment\nvariable to 'postgres', which isn't needed because the TAP test's perl\nlibrary PostgreSQL::Test::Cluster already sets it once and for all.\nI've attached a patch that removes all such unneeded PGDATABASE\nsettings.\n... |
[
{
"msg_contents": "Hi,\n\nIn order to ship libpq on Android, it needs to be built without a version\nsuffix on the .so file.\nThe attached patch will make sure that no version is added when built for\nAndroid.\nI was wondering if there are a) any comments on the approach and if I\nshould be handed in for a comm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.