threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi\n\nIn multixact.c I found some comments like the following:\n\n*\t\tSimilar to AtEOX_MultiXact but for COMMIT PREPARED\n* Discard the local MultiXactId cache like in AtEOX_MultiXact\n\nSince there's no function called \"AtEOX_MultiXact\" in the code,\nI think the \"AtEOX_MultiXact\" may be... |
[
{
"msg_contents": "I want to progress work on stored procedures returning multiple result \nsets. Examples of how this could work on the SQL side have previously \nbeen shown [0]. We also have ongoing work to make psql show multiple \nresult sets [1]. This appears to work fine in the simple query \nprotocol.... |
[
{
"msg_contents": "@@ -1432,7 +1432,7 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb,\nReorderBufferTXN *txn)\n ReorderBufferCleanupTXN(rb, subtxn);\n }\n\n- /* cleanup changes in the toplevel txn */\n+ /* cleanup changes in the txn */\n dlist_foreach_modify(iter, &txn->changes)\n {\n ReorderBufferChange *ch... |
[
{
"msg_contents": "Hi:\n\n I found the following code in gen_partprune_steps_internal, which\nlooks the if-statement to be always true since list_length(results) > 1;\nI added an Assert(step_ids != NIL) and all the test cases passed.\nif the if-statement is always true, shall we remove it to avoid confusion?... |
[
{
"msg_contents": "Hi,\n\nI hit an assertion failure. When asserts disabled, it works fine even with more tables (>5000).\n\nSteps to reproduce:\n\nCREATE TABLE users_table (user_id int, time timestamp, value_1 int, value_2 int, value_3 float, value_4 bigint);\n\n250 relations work fine, see the query (too lon... |
[
{
"msg_contents": "Over in the thread at [1], we've tentatively determined that the\nreason buildfarm member lorikeet is currently failing is that its\nnetwork stack returns ECONNABORTED for (some?) connection failures,\nwhereas our code is only expecting ECONNRESET. Fujii Masao therefore\nproposes that we tre... |
[
{
"msg_contents": "On Thu, Oct 8, 2020 at 10:13:53AM -0700, John W Higgins wrote:\n\n>It's not going to win a Turing award - but I thought this project was a\n>little more friendly then what I've seen in this thread towards a first\n>time contributor.\n\nInstead, it is unfriendly.\n\nIt takes a lot of motivatio... |
[
{
"msg_contents": "Hi\r\n\r\nI found some likely unnecessary if-condition in code.\r\n\r\n1. Some check in else branch seems unnecessary.\r\n\r\nIn (/src/backend/replication/logical/reorderbuffer.c) \r\n① @@ -4068,7 +4068,7 @@ ReorderBufferToastAppendChunk(ReorderBuffer *rb, ReorderBufferTXN *txn,\r\n> bool ... |
[
{
"msg_contents": "Hello hackers,\r\n\r\nWe know that pg_waldump can statistics size for every kind of records. When I use\r\nthe feature I find it misses some size for XLOG_SWITCH records. When a user does\r\na pg_wal_switch(), then postgres will discard the remaining size in the current wal\r\nsegment, and th... |
[
{
"msg_contents": "During the discussion on Unix-domain sockets on Windows, someone pointed \nout[0] abstract Unix-domain sockets. This is a variant of the normal \nUnix-domain sockets that don't use the file system but a separate \n\"abstract\" namespace. At the user interface, such sockets are \nrepresented... |
[
{
"msg_contents": "Hi,\n\nRegarding the toast_tuple_target parameter of CREATE TABLE, the \ndocumentation says that it only affects External or Extended, but it \nactually affects the compression of Main as well.\n\nThe attached patch modifies the document to match the actual behavior.\n\nRegards,\n\n-- \nShiny... |
[
{
"msg_contents": "At function NIImportAffixes (src/backend/tsearch/spell.c).\n\nIf option \"flag\" is not handled, variable char flag[BUFSIZE] will remain\nuninitialized.\n\nregards,\nRanier Vilela",
"msg_date": "Fri, 9 Oct 2020 09:36:42 -0300",
"msg_from": "Ranier Vilela <ranier.vf@gmail.com>",
"m... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 16663\nLogged by: Denis Patron\nEmail address: denis.patron@previnet.it\nPostgreSQL version: 11.9\nOperating system: CentOS 7\nDescription: \n\nI have an index, which at the file system level, is m... |
[
{
"msg_contents": "I think that TupIsNull macro is no longer appropriate, to protect\nExecCopySlot.\n\nSee at tuptable.h:\n#define TupIsNull(slot) \\\n((slot) == NULL || TTS_EMPTY(slot))\n\nIf var node->group_pivot is NULL, ExecCopySlot will\ndereference a null pointer (first arg).\n\nMaybe, this can be related... |
[
{
"msg_contents": "-hackers,\n\nEnclosed find a patch to add a “truncate” option to subscription commands.\n\nWhen adding new tables to a subscription (either via `CREATE SUBSCRIPTION` or `REFRESH PUBLICATION`), tables on the target which are being newly subscribed will be truncated before the data copy step. ... |
[
{
"msg_contents": "Hi\n\nI found some code places call list_delete_ptr can be replaced by list_delete_xxxcell which can be faster.\n\ndiff --git a/src/backend/optimizer/path/joinpath.c b/src/backend/optimizer/path/joinpath.c\nindex db54a6b..61ef7c8 100644\n--- a/src/backend/optimizer/path/joinpath.c\n+++ b/src/... |
[
{
"msg_contents": "A sub-patch extracted from the bigger patch in thread \"SQL-standard \nfunction body\"[0]: Make LANGUAGE SQL the default in CREATE FUNCTION and \nCREATE PROCEDURE, per SQL standard.\n\n[0]: \nhttps://www.postgresql.org/message-id/flat/1c11f1eb-f00c-43b7-799d-2d44132c02d7@2ndquadrant.com\n\n--... |
[
{
"msg_contents": "Hi\n\nInline handler creates simple_eval_resowner (without parent).\n\nInside plpgsql_estate_setup this value is assigned to\nestate->simple_eval_resowner\n\n<-->if (simple_eval_resowner)\n<--><-->estate->simple_eval_resowner = simple_eval_resowner;\n<-->else\n<--><-->estate->simple_eval_reso... |
[
{
"msg_contents": "Would someone explain to me why assign_recovery_target_lsn and related GUC\nassign hooks throw errors, rather than doing so in the associated check\nhooks? An assign hook is not supposed to throw an error. Full stop, no\nexceptions. We wouldn't bother to separate those hooks otherwise.\n\n... |
[
{
"msg_contents": "Hackers,\n\nOver in general [1] Robert Inder griped about the not-so-recent change to\nour automatic checkpointing, and thus archiving, behavior where\nnon-activity results in nothing happening. In looking over the\ndocumentation I felt a few changes could be made to increase the chance\ntha... |
[
{
"msg_contents": "Hackers,\n\nOver in Bug# 16652 [1] Christoph failed to recognize the fact that signal\nsending functions are inherently one-way just as signals are. It seems\nworth heading off this situation in the future by making it clear how\nsignals behave and, in the specific case of pg_reload_conf, th... |
[
{
"msg_contents": "> I found some code path use list_delete_ptr while the loop of foreach() is\n> iterating.\n> \n> List_delete_ptr seems search the list again to find the target cell and\n> delete it.\n> >\tforeach(cell, list)\n> >\t{\n> >\t\tif (lfirst(cell) == datum)\n> >\t\t\treturn list_delete_cell(list, c... |
[
{
"msg_contents": "Hi,\n\nWhile developing some improvements for TPC-DS queries I found out that with\nUNION ALL partial paths are not emitted. Whilst fixing that I also came across\nthe subquery costing which does not seem to consider parallelism when doing\nthe costing.\n\nI added a simplified testcase in pg-... |
[
{
"msg_contents": "I have some code that I've been using that supports adding and\nauthenticating Windows groups via the pg_ident file. This is useful for\nsysadmins as it lets them control database access outside the database\nusing Windows groups. It has a new\nindicator (+), that signifies the identifier is ... |
[
{
"msg_contents": "Hi,\n\nI found in guc-file.l we can omit the else branch in AbsoluteConfigLocation().\n\ndiff --git a/src/backend/utils/misc/guc-file.l b/src/backend/utils/misc/guc-file.l\nindex c98e220295..9d4b3d7236 100644\n--- a/src/backend/utils/misc/guc-file.l\n+++ b/src/backend/utils/misc/guc-file.l\n@... |
[
{
"msg_contents": "Hi\n\nOne customer reports issue related to pg_upgrade.\n\nI found a thread\nhttps://www.postgresql-archive.org/Upgrade-and-re-synchronization-with-logical-replication-pglogical-and-PG-10-td6001990.html\n\nBut I didn't find documentation of this limitation?\n\nRegards\n\nPavel\n\nHiOne custom... |
[
{
"msg_contents": "I grow quite weary of the number of buildfarm failures we see as a\nconsequence of the Linux PPC64 bug discussed in [1]. Although we can\nanticipate that the fix will roll out into new kernel builds before much\nlonger, that will have very little effect on the buildfarm situation,\ngiven tha... |
[
{
"msg_contents": "Hi there, it's my first email, so I’d like to first thanks everyone working on this, using pgadmin had made a huge difference for me! I’m using it with serverless PostgreSQL databases on AWS, and for at the first one I went through the work of creating an EC2 instance I could ssh tunnel to so... |
[
{
"msg_contents": "Commit 464824323e has added the support of the streaming of\nin-progress transactions into the built-in logical replication. The\nattached patch adds the statistics about transactions streamed to the\ndecoding output plugin from ReorderBuffer. Users can query the\npg_stat_replication_slots vi... |
[
{
"msg_contents": "Hi all,\n\nSince 510b8cbf, we have in-core equivalents for htonl(), ntohl() & co\nthrough pg_bswap.h that allows to compile with a built-in function if\nthe compiler used has one.\n\nAll the existing calls in the code tree have been changed with\n0ba99c84 for performance reasons (except the l... |
[
{
"msg_contents": "As for the initscan, It looks to me that the codes and comments\ndon't match (obviously I'm wrong, this is why I'm asking).\n\n /*\n * Determine the number of blocks we have to scan.\n *\n * It is sufficient to do this once at scan start, since any tuples\nadded\n * while... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: RIPEMD160\n\n\nImprove psql \\df to choose functions by their arguments\n\n== OVERVIEW\n\nHaving to scroll through same-named functions with different argument types \nwhen you know exactly which one you want is annoying at best, error causing \nat wo... |
[
{
"msg_contents": "Having committed the optimization for unicode normalization quick check,\nMichael Paquier suggested I might do the same for decomposition as well. I\nwrote:\n\n> I'll\n> do some performance testing soon. Note that a 25kB increase in size could\n> be present in frontend binaries as well in thi... |
[
{
"msg_contents": "I noticed that chipmunk failed [1] with a rather interesting log:\n\n2020-10-14 08:57:01.661 EEST [27048:6] pg_regress/prepared_xacts LOG: statement: UPDATE pxtest1 SET foobar = 'bbb' WHERE foobar = 'aaa';\n2020-10-14 08:57:01.721 EEST [27048:7] pg_regress/prepared_xacts LOG: statement: SEL... |
[
{
"msg_contents": " /* don't print information if no JITing happened */\n if (!ji || ji->created_functions == 0)\n return;\n\nThis applies even when (es->format != EXPLAIN_FORMAT_TEXT), which I think is\nwrong. Jit use can be determined by cost, so I think jit details should be\nsh... |
[
{
"msg_contents": "As already noted in another thread, buildfarm member chipmunk\nfailed today with an unexpected Assert [1]. I've now reproduced\nthis by manually killing the postmaster during the regression\ntests. The stack trace looks like\n\n#0 0x0000ffff91507598 in raise () from /lib64/libc.so.6\n#1 0... |
[
{
"msg_contents": "Restore replication protocol's duplicate command tags\n\nI removed the duplicate command tags for START_REPLICATION inadvertently\nin commit 07082b08cc5d, but the replication protocol requires them. The\nfact that the replication protocol was broken was not noticed because\nall our test case... |
[
{
"msg_contents": "Hi all,\n\nIt happens that pgcrypto has the following leak if a digest cannot be\ninitialized:\n--- a/contrib/pgcrypto/openssl.c\n+++ b/contrib/pgcrypto/openssl.c\n@@ -202,6 +202,7 @@ px_find_digest(const char *name, PX_MD **res)\n }\n if (EVP_DigestInit_ex(ctx, md, NULL) == 0)\n {\n... |
[
{
"msg_contents": "In cached_plan_cost, we do consider the cost of planning, with the following\nalgorithm.\n\nint nrelations = list_length(plannedstmt->rtable);\n\nresult += 1000.0 * cpu_operator_cost * (nrelations + 1);\n\nI run into a case where 10 relations are joined, 3 of them have\nhundreds of partition... |
[
{
"msg_contents": "Hi Hackers,\n\nFirst, thanks for working on such a great database! :)\n\nWe're currently trying to automate our PostgreSQL setup by using Ansible.\nWe have an Ansible role for which we can specify supplemental extensions\nfor which a deployment must install.\n\nTo keep it simple across deploy... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: RIPEMD160\n\n\nImprove psql \\df to choose functions by their arguments\n\n== OVERVIEW\n\nHaving to scroll through same-named functions with different argument types\nwhen you know exactly which one you want is annoying at best, error causing\nat wors... |
[
{
"msg_contents": "Hi\n\nI am playing with fixing the speed of CALL statement in a non atomic\ncontext, and when I tested my patch I found another issue of CALL statement\n- an invalidation of plans doesn't work for CALL statement (in atomic\ncontext).\n\nCREATE OR REPLACE FUNCTION public.fx(a integer)\n RETURN... |
[
{
"msg_contents": "Hi,\n\nThere will be a breaking API change for JIT related API in LLVM\n12. Mostly about making control over various aspects easier, and then\nbuilding on top of that providing new features (like JIT compiling in\nthe background and making it easier to share JIT compiled output between\nproce... |
[
{
"msg_contents": "Hi!\n\nOn PgCon 2020 we had been discussing some caveats of synchronous replication [0] related to data durability in HA postgres installations.\n\nBut also there was raised important concern about streaming logical replication only after it \"actually happened\" for HA cluster.\nIs anyone wo... |
[
{
"msg_contents": "Hi All,\n Logical replication protocol uses single byte character to identify\ndifferent chunks of logical repliation messages. The code uses\ncharacter literals for the same. These literals are used as bare\nconstants in code as well. That's true for almost all the code that\ndeals with wire... |
[
{
"msg_contents": "Hi, hackers.\nFor some distributions of data in tables, different loops in nested loop \njoins can take different time and process different amounts of entries. \nIt makes average statistics returned by explain analyze not very useful \nfor DBA.\nTo fix it, here is the patch that add printing... |
[
{
"msg_contents": "Hi\n\nIn /src/backend/executor/nodeAgg.c\n\nI found the following comment still use work mem,\nSince hash_mem has been introduced, Is it more accurate to use hash_mem here ?\n\n@@ -1827,7 +1827,7 @@ hash_agg_set_limits(double hashentrysize, double input_groups, int used_bits,\n \t/*\n \t * Do... |
[
{
"msg_contents": "In px_crypt_md5() we have this section, with the second assignment to err being\nunchecked:\n\n /* */\n err = px_find_digest(\"md5\", &ctx);\n if (err)\n return NULL;\n err = px_find_digest(\"md5\", &ctx1);\n\nEven though we know that the digest algorithm exists when we reach th... |
[
{
"msg_contents": "It occurs to mean that statistics collector stats such as\npg_statio_*_tables.idx_blks_hit are highly misleading in practice\nbecause they fail to take account of the difference between internal\npages and leaf pages in B-Tree indexes. These two types of pages are\nin fundamentally different ... |
[
{
"msg_contents": "Forgetting to assign the return value of list APIs such as lappend() is \na perennial favorite. The compiler can help point out such mistakes. \nGCC has an attribute warn_unused_results. Also C++ has standardized \nthis under the name \"nodiscard\", and C has a proposal to do the same \n[0]... |
[
{
"msg_contents": "While reviewing what became commit fe4d022, I was surprised at the sequence of\nrelfilenode values that RelationInitPhysicalAddr() computed for pg_class,\nduring ParallelWorkerMain(), when running the last command of this recipe:\n\n begin;\n cluster pg_class using pg_class_oid_index;\n se... |
[
{
"msg_contents": "[doc] improve tableoid description\n\nHi\n\nAttached patch aims to improve the description of the tableoid system column [1]\nby:\n\n- mentioning it's useful for determining table names for partitioned tables as\n well as for those in inheritance hierarchies\n- mentioning the possibility of ... |
[
{
"msg_contents": "I overflowed my homedir while testing with pg_reload, and got:\n|pg_restore: error: could not write to large object (result: 18446744073709551615, expected: 30)\n\nsrc/bin/pg_dump/pg_backup_archiver.c\n\n f (res != AH->lo_buf_used)\n fatal(\"could not write to large object (r... |
[
{
"msg_contents": "If you go into src/test/thread/ and type \"make\", you get\na bunch of \"undefined reference to `pg_fprintf'\" failures.\nThat's because thread_test.c #include's postgres.h but\nthe Makefile doesn't bother to link it with libpgport,\narguing (falsely) that that might not exist yet.\n\nPresuma... |
[
{
"msg_contents": "Hi\r\n\r\nFound one more place needed to be changed(long -> int64).\r\n\r\nAlso changed the output for int64 data(Debug mode on & define EXEC_SORTDEBUG )\r\n\r\nAnd, maybe there's a typo in \" src\\backend\\executor\\nodeIncrementalSort.c\" as below.\r\nObviously, the \">=\" is meaningless, r... |
[
{
"msg_contents": "Hi\n\nThe errdetail emitted when creating/modifying an ENUM value is misleading:\n\n postgres=# CREATE TYPE enum_valtest AS ENUM (\n 'foo',\n 'ああああああああああああああああああああああ'\n );\n ERROR: invalid enum label \"ああああああああああああああああああああああ\"\n DETAIL: L... |
[
{
"msg_contents": "Hi\n\nI found some code like the following:\n\n> StringInfoData s;\n> ...\n> values[6] = CStringGetTextDatum(s.data);\n\nThe length of string can be found in ' StringInfoData.len', \nbut the macro CStringGetTextDatum will use strlen to count the length again.\nI think we can use PointerGetDat... |
[
{
"msg_contents": "In [0] it was discussed that hash support for row types/record would be \nhandy. So I implemented that.\n\nThe implementation hashes each field and combines the hash values. Most \nof the code structure can be borrowed from the record comparison \nfunctions/btree support. To combine the ha... |
[
{
"msg_contents": "A follow-up to the recently added support for OUT parameters for \nprocedures. The JDBC driver sends OUT parameters with type void. This \nmakes sense when calling a function, so that the parameters are ignored \nin ParseFuncOrColumn(). For a procedure call we want to treat them as \nunkno... |
[
{
"msg_contents": "Hi,\n\nAssertion added in commits 6b2c4e59d016 is failing with following test:\n\nCREATE TABLE sales\n(\n prod_id int,\n prod_quantity int,\n sold_month date\n) PARTITION BY RANGE(sold_month);\n\nCREATE TABLE public.sales_p1 PARTITION OF public.sales\nFOR VALUES FROM (... |
[
{
"msg_contents": "Hello,\n\nWe have an interface to pause the WAL replay (pg_wal_replay_pause) and\nto know whether the WAL replay pause is requested\n(pg_is_wal_replay_paused). But there is no way to know whether the\nrecovery is actually paused or not. Actually, the recovery process\nmight process an extra... |
[
{
"msg_contents": "Hi hackers,\r\nI write a path for soupport parallel distinct, union and aggregate using batch sort.\r\nsteps:\r\n 1. generate hash value for group clauses values, and using mod hash value save to batch\r\n 2. end of outer plan, wait all other workers finish write to batch\r\n 3. echo worker g... |
[
{
"msg_contents": "Hackers,\n\nPlease find access/xlog_internal.h refactored in the attached patch series. This header is included from many places, including external tools. It is aesthetically displeasing to have something called \"internal\" used from so many places, especially when many of those places do... |
[
{
"msg_contents": "Hi,\n\nI think we need to add some statistics to pg_stat_wal view.\n\nAlthough there are some parameter related WAL,\nthere are few statistics for tuning them.\n\nI think it's better to provide the following statistics.\nPlease let me know your comments.\n\n```\npostgres=# SELECT * from pg_st... |
[
{
"msg_contents": "While working on another patch, I figured adding a \nselect_common_typmod() to go along with select_common_type() and \nselect_common_collation() would be handy. Typmods were previously \ncombined using hand-coded logic in several places, and not at all in \nother places. The logic in selec... |
[
{
"msg_contents": "Hello,\nAfter restoring 'directory' backup with pg_restore (PostgreSQL 10.6) I've\ngot a message:\npg_restore: [directory archiver] could not close data file: Success\npg_restore: [parallel archiver] a worker process died unexpectedly\nIn this thread:\nhttps://www.postgresql.org/message-id/CA... |
[
{
"msg_contents": "I noticed a few days ago that method backup() in PostgresNode uses\npg_basebackup without specifying a checkpoint mode -- and the default is\na spread checkpoint, which may cause any tests that use that to take\nslightly longer than the bare minimum.\n\nI propose to make it use a fast checkpo... |
[
{
"msg_contents": "A recent user complaint [1] led me to investigate what ECPG does with\nembedded quotes (that is, quotes-meant-to-be-data) in SQL identifiers\nand strings. AFAICS, it gets it wrong. For example, if you write\nthe literal 'abc''def' in an EXEC SQL command, that will come out the\nother end as... |
[
{
"msg_contents": "Hi,\n\nI was running “make installcheck” with the following settings:\n\nSET geqo_threshold=2;\nSET geqo_generations=1000;\nSETT geqo_pool_size=1000;\nSET enable_partitionwise_join to true;\n\nAnd, realized that “partition_join” test crashed. It is reproducible for both 12.3 and 13.0 (I’ve n... |
[
{
"msg_contents": "Hi,\n\nCurrently pg_terminate_backend(), sends SIGTERM to the backend process but\ndoesn't ensure it's exit. There are chances that backends still are\nrunning(even after pg_terminate_backend() is called) until the interrupts\nare processed(using ProcessInterrupts()). This could cause problem... |
[
{
"msg_contents": "Hackers,\n\nRe-sending from -docs [1] with attachment in order to add to commitfest.\n\nDavid J.\n\n[1]\nhttps://www.postgresql.org/message-id/flat/159981394174.31338.7014519396749859167%40wrigleys.postgresql.org\n\nHackers,Re-sending from -docs [1] with attachment in order to add to commitfe... |
[
{
"msg_contents": "Hackers,\n\nOver in -docs [1], where I attached the wrong patch anyway, the poster\nneeded some clarity regarding view updating. A minor documentation patch\nis attached providing just that.\n\nDavid J.\n\n[1] https://www.postgresql.org/message-id/20200303174248.GB5019%40panix.com",
"msg... |
[
{
"msg_contents": "Hackers,\n\nBug # 16519 [1] is another report of confusion regarding trying to use\nparameters in improper locations - specifically the SET ROLE command within\npl/pgsql. I'm re-attaching the doc patch and am adding it to the\ncommitfest.\n\nDavid J.\n\n[1]\nhttps://www.postgresql.org/messag... |
[
{
"msg_contents": "Hackers,\n\nMoving this over from -general [1]\n\nDavid J.\n\n[1]\nhttps://www.postgresql.org/message-id/CAKFQuwaM1K%3DprJNwKnoaC2AyDFn-7OvtCpmQ23bcVe5Z%3DLKA3Q%40mail.gmail.com",
"msg_date": "Wed, 21 Oct 2020 08:29:26 -0700",
"msg_from": "\"David G. Johnston\" <david.g.johnston@gmail... |
[
{
"msg_contents": "While working on commit 85c54287a, I noticed a few things I did not\nmuch care for in do_connect(). These don't quite seem to rise to\nthe level of back-patchable bugs, but they're still not great:\n\n* The initial stanza that complains about\n\n\tif (!o_conn && (!dbname || !user || !host ||... |
[
{
"msg_contents": "Background:\nWe have an installer for our application as part of which we are planning to include archive\npostgresql-13.0-1-windows-x64-binaries.zip which will be extracted along with the installation of our application.\n\nWhen the archive is extracted the folder's permission will belong to... |
[
{
"msg_contents": "As discussed in [0], here are patches to move the system catalog toast \ntable and index declarations from catalog/toasting.h and \ncatalog/indexing.h to the respective parent tables' catalog/pg_*.h \nfiles. I think it's clearly better to have everything together like this.\n\nThe original r... |
[
{
"msg_contents": "Hi\n\n From time to time I find myself in a situation where it would be very useful to\nbe able to programatically determine whether a particular library is included in\n\"shared_preload_libraries\", which accepts a comma-separated list of values.\n\nUnfortunately it's not as simple as splitt... |
[
{
"msg_contents": "Currently when people want to review a patch, they have to download / apply\n/\nmaintain the branch manually. Would it be helpful that the reviewer can\njust\ngit fetch a remote branch where all the things have been done already. I\nknow\nthat such cost saving is small, but it is a startup c... |
[
{
"msg_contents": "Hi\n\nNot that I've ever had to do this (or would want to do it on a production\nsystem), but this error message seems incorrect:\n\n postgres=# ALTER SYSTEM SET unix_socket_directories =\n'/tmp/sock1','/tmp/sock2';\n ERROR: SET unix_socket_directories takes only one argument\n\nTrivi... |
[
{
"msg_contents": "Hi, hackers\r\n\r\nI find that ALTER TABLE xxx FORCE/NO FORCE ROW LEVEL SECURITY cannot support tab complete.\r\nThe attached add the tab complete for rls.\r\n\r\ndiff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c\r\nindex 561fe1dff9..b2b4f1fd4d 100644\r\n--- a/src/bin/psq... |
[
{
"msg_contents": "Since this commit, pg_dump CREATEs tables and then ATTACHes them:\n\n|commit 33a53130a89447e171a8268ae0b221bb48af6468\n|Author: Alvaro Herrera <alvherre@alvh.no-ip.org>\n|Date: Mon Jun 10 18:56:23 2019 -0400\n|\n| Make pg_dump emit ATTACH PARTITION instead of PARTITION OF (reprise)\n|...... |
[
{
"msg_contents": "Am trying to clone postgresql git, getting error\n\nD:\\sridhar>git clone https://git.postgresql.org/git/postgresql.git\nCloning into 'postgresql'...\nremote: Enumerating objects: 806507, done.\nremote: Counting objects: 100% (806507/806507), done.\nremote: Compressing objects: 100% (122861/1... |
[
{
"msg_contents": "Hi!\n\nI'm working on providing smooth failover to a CDC system in HA cluster.\nCurrently, we do not replicate logical slots and when we promote a replica. This renders impossible continuation of changed data capture (CDC) from new primary after failover.\n\nWe cannot start logical replicatio... |
[
{
"msg_contents": "Hello,\n\nI've found a behavior change with pg_class.reltuples on btree index. With only\ninsert activity on a table, when an index is processed, its related reltuples\nis set to 0. Here is a demo script:\n\n -- force index cleanup\n set vacuum_cleanup_index_scale_factor to 0;\n\n drop tab... |
[
{
"msg_contents": "I've been wondering recently why the external canonical form of types\nlike char and varchar doesn't match the typname in pg_type.\nAdditionally, the alternative/extended names are hardcoded in\nformat_type.c rather than being an additional column in that catalog\ntable.\n\nI would have assum... |
[
{
"msg_contents": "Hi\n\n\n\nI noticed that when casting a string to boolean value with input 'of' it still cast it to 'f'. I think with 'of', it should give an error because 'off' is the expected candidate. This may not be intended so I made a simple patch to address this. \n\n\n```\n\npostgres=# select cast('... |
[
{
"msg_contents": "Hi\n\nI found the comment of function get_attgenerated(Oid relid, AttrNumber attnum) seems wrong.\nIt seems the function is given the attribute number not the name.\n\n/*\n * get_attgenerated\n *\n- *\t\tGiven the relation id and the attribute name,\n+ *\t\tGiven the relation id and the att... |
[
{
"msg_contents": "Hello,\n\nA french user recently complained that with an index created using\ngin_trgm_ops (or gist_trgm_ops), you can use the index with a clause\nlike\n\ncol LIKE 'something'\n\nbut not\n\ncol = 'something'\n\neven though both clauses are technically identical. That's clearly\nnot a high p... |
[
{
"msg_contents": "I find I am allowed to create an ordered-set aggregate with a non-empty\ndirect argument list and no finisher function. Am I right in thinking\nthat's kind of nonsensical, as nothing will ever look at the direct args?\n\nAlso, the syntax summary shows PARALLEL = { SAFE | RESTRICTED | UNSAFE }... |
[
{
"msg_contents": "During the discussion on dynamic result sets[0], it became apparent that \nthe current way binary results are requested in the extended query \nprotocol is too cumbersome for some practical uses, and keeping that \nstyle around would also make the proposed protocol extensions very \ncomplicat... |
[
{
"msg_contents": "Hi hackers,\n\n It seems the function `get_variable_numdistinct` ignore the case when stanullfrac is 1.0:\n\n# create table t(a int, b int);\nCREATE TABLE\n# insert into t select i from generate_series(1, 10000)i;\nINSERT 0 10000\ngpadmin=# analyze t;\nANALYZE\n# explain analyze select b, c... |
[
{
"msg_contents": "Greetings hackers,\n\nI have I hope interesting observation (and nano patch proposal) on system where statistics freshness is a critical factor. Autovacuum/autogathering statistics was tuned to be pretty very aggressive:\nautovacuum_vacuum_cost_delay=0 (makes autovacuum_vacuum_cost_limit irre... |
[
{
"msg_contents": "The attached patches propose new interfaces for exposing more configuration\nand versioning information from libpq at runtime. They are to be used by\napplications to obtain finer grained information about libpq's\nconfiguration (SSL, GSSAPI, etc), to identify libpq binaries, and for\napplica... |
[
{
"msg_contents": "Hello, hackers!\n\nNovember commitfest will start just in a few days.\nI'm happy to volunteer to be the CFM for this one. With a help of \nGeorgios Kokolatos [1].\n\nIt's time to register your patch in the commitfest, if not yet.\n\nIf you already have a patch in the commitfest, update its st... |
[
{
"msg_contents": "Hi all,\n\nAs you all already know Postgres supports functions in index expressions\n(marked as immutable ofc) and for this special index the ANALYZE command\ncreates some statistics (new pg_statistic entry) about it.\n\nThe problem is just after creating a new index or rebuilding concurrentl... |
[
{
"msg_contents": "Forking this thread:\nhttps://www.postgresql.org/message-id/fd93f1c5-7818-a02c-01e5-1075ac0d4def@iki.fi\n\nThey have been deprecated for a Long Time, so finally remove them for v14.\nFour fewer exclamation marks makes the documentation less exciting, which is a\ngood thing.",
"msg_date": ... |
[
{
"msg_contents": "Over in the thread at [1] it's discussed how our code for making\nselectivity estimates using knowledge about FOREIGN KEY constraints\nis busted in the face of EquivalenceClasses including constants.\n\nThat is, if fktab(a,b) is a 2-column FK reference to pktab(a,b)\nand we have a query like\... |
[
{
"msg_contents": "Hi hackers,\n\nLibpq has supported to specify multiple hosts in connection string and enable auto failover when the previous PostgreSQL instance cannot be accessed.\nBut when I tried to enable this feature for a non-hot standby, it cannot do the failover with the following messages.\n\npsql: ... |
[
{
"msg_contents": "Hi hackers.\n\nThe example of test coverage in the documentation [1] works as advertised.\n\nBut I wanted to generate test coverage results only of some TAP tests\nin src/test/subscription.\n\nThe documentation [1] also says \"The make commands also work in\nsubdirectories.\" so I tried runni... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.