threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "Hi,\n\nWhile investigating a bug report [1] I wanted to find all the pieces\nof code that form PqMsg_DataRow messages and couldn't easily do it.\nThis is because one authors prefer writing:\n\npq_beginmessage(buf, 'D');\n\n.. while others:\n\npq_beginmessage(buf, PqMsg_DataRow);\n\nThe propos... |
[
{
"msg_contents": "Hello,\n\nOne of our customer is facing an issue regarding a prepared statement \nand a gin index.\nAn important gap between execution times can be shown when using execute \nor plain literals.\n\nHere is the test that shown this issue :\n\nInit table :\n\ncreate table tmp_tk_test_index\n(\n ... |
[
{
"msg_contents": "The IMMUTABLE marker for functions is quite simple on the surface, but\ncould be interpreted a few different ways, and there's some historical\nbaggage that makes it complicated.\n\nThere are a number of ways in which IMMUTABLE functions can change\nbehavior:\n\n1. Updating or moving to a dif... |
[
{
"msg_contents": "\nAs I was trying out the libpq perl wrapper on Windows, I encountered a \nfailure in recovery test 002_archiving.pl from this query:\n\nSELECT size IS NOT NULL FROM \npg_stat_file('c:/prog/postgresql/build/testrun/recovery/002_archiving/data/t_002_archiving_primary_data/archives/00000002.his... |
[
{
"msg_contents": "Hello.\n\nI'd like to make MergeAppend node Async-capable like Append node. \nNowadays when planner chooses MergeAppend plan, asynchronous execution \nis not possible. With attached patches you can see plans like\n\nEXPLAIN (VERBOSE, COSTS OFF)\nSELECT * FROM async_pt WHERE b % 100 = 0 ORDER ... |
[
{
"msg_contents": "Over on [1], there's a complaint about a query OOMing because the use\nof enable_partitionwise_aggregate caused a plan with 1000 Hash\nAggregate nodes.\n\nThe only mention in the docs is the additional memory requirements and\nCPU for query planning when that GUC is enabled. There's no mentio... |
[
{
"msg_contents": "In create_gather_merge_path, we should always guarantee that the\nsubpath is adequately ordered, and we do not add a Sort node in\ncreateplan.c for a Gather Merge node. Therefore, the 'else' branch in\nthe snippet from create_gather_merge_path is redundant.\n\n if (pathkeys_contained_in(p... |
[
{
"msg_contents": "*The Current Situation*\nAs a long-time PostgreSQL user, I've increasingly run into issues with the\n63-byte limit for identifiers, particularly table names. This limit, while\nhistorically sufficient, is becoming a significant pain point in modern\ndatabase design and usage.\n\n*Real-World E... |
[
{
"msg_contents": "Hi,\n\nWhile answering one of the recent questions [1] I wanted to use\ncrc32(text) and discovered that it's missing out-of-the box. Of\ncourse, one can use `substr(md5(x), 1, 8)` with almost the same effect\nbut it's less convenient and could be slower (I didn't do actual\nbenchmarks though)... |
[
{
"msg_contents": "Hi,\n\nFor utility statements defined within a function, the queryTree is\ncopied to a plannedStmt as utility commands don't require planning.\nHowever, the queryId is not propagated to the plannedStmt. This leads\nto plugins relying on queryId like pg_stat_statements to not be able\nto track... |
[
{
"msg_contents": "Hi all,\n\nI've been optimizing queries for a long time, and I don't think I've\never seen something more surprising to me than this -- sufficiently so\nthat I wanted to ask if others thought it implied a bug. It's possible\nmy mental model for the planner is broken in some significant way, o... |
[
{
"msg_contents": "There are currently 124 commitfest entries needing a reviewer.\nOf those, 38 have activity this month, and the other 86 are a bit more\nstale, some going back to last year.\n\nWe're already past the halfway point of this commitfest, so we need to get\nreviewers on these.\n\nIf you know your p... |
[
{
"msg_contents": "Hi hackers,\r\nI am trying to design a new \"pg_get_functiondef\" function extension, like this:\r\n\r\n\r\nCREATE FUNCTION pg_get_functiondef(OID, VARIADIC OID[]) RETURNS TABLE (OID oid, pg_get_functiondef text)\r\nAS 'pg_get_functiondef', 'pg_get_functiondef_mul'\r\nLANGUAGE C;\r\n\r\n\r\n\... |
[
{
"msg_contents": "Hi hackers,\nI'm doing work related to creating an index with parallel workers. I found\nthat SnapshotAny\nis used in table_beginscan_parallel() when indexInfo->ii_Concurrent Is set\nto false. So can we\nnot pass the snapshot from the parallel worker creator to the parallel\nworker? like this... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 18545\nLogged by: Andrey Rachitskiy\nEmail address: therealgofman@mail.ru\nPostgreSQL version: 16.3\nOperating system: Debian 12\nDescription: \n\n\\dt breaks transaction, calling error when execut... |
[
{
"msg_contents": "Hackers,\n\nI wanted to surface a discussion in [1] regarding the expected behavior of\nGROUP BY with VOLATILE expressions. There seems to be a discrepancy between\nhow volatile functions (RANDOM(), also confirmed with TIMEOFDAY()) and\nsubqueries are evaluated in groups. In the examples belo... |
[
{
"msg_contents": "Hackers,\n\nI’m trying to understand the standard terms for extension libraries. There seem too a bewildering number of terms used to refer to a shared object library, for example:\n\n* LOAD[1]:\n * “shared library”\n * “shared library file”\n* dynamic_library_path[2]:\n * “dynamically loa... |
[
{
"msg_contents": "You're right, thanks!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nWen Yi\r\nwen-yi@qq.com\r\n\r\n\r\n\r\n\r\n\r\n\r\n---Original---\r\nFrom: \"David G. Johnston\"<david.g.johnston@gmail.com>\r\nDate: Fri, Jul 19, 2024 21:04 PM\r\nTo: \"Wen Yi\"<wen-yi@qq.com>;\r\nCc: \"pgsql-hackers\"<pgsql... |
[
{
"msg_contents": "Hi hackers.\n\nRecently I came to an issue about logical replicating very big\ntransactions. Since we already have logical_decoding_work_mem to keep\nthe memory usage, there is no risk of OOM during decoding. However, the\nmemory usage still goes out of control in 'Tuples' memory context of\n... |
[
{
"msg_contents": "\nI noticed this when working on the PostgreSQL::Test::Session project I \nhave in hand. All the tests pass except occasionally the xid_wraparound \ntests fail. It's not always the same test script that fails either. I \ntried everything but couldn't make the failure stop. So then I switched ... |
[
{
"msg_contents": "I saw a database recently where some app was inserting the source port into\nthe application_name field, which meant that pg_stat_statements.max was\nquickly reached and queries were simply pouring in and out of\npg_stat_statements, dominated by some \"SET application_name = 'myapp\n10.0.0.1:... |
[
{
"msg_contents": "I see that there'd been some chatter but not a lot of discussion about\na GROUP BY ALL feature/functionality. There certainly is utility in\nsuch a construct IMHO.\n\nThe grammar is unambiguous, so can support this construct in lieu of\nthe traditional GROUP BY clause. Enclosed is a patch w... |
[
{
"msg_contents": "Currently, the new fields are only supported at the end, Cancannot move the location of the field when editing the table, This does not seem to be an elegant approach\nCurrently, the new fields are only supported at the end, Cancannot move the location of the field when editing the table, Thi... |
[
{
"msg_contents": "Hi!\n\nThe permissions given by GRANT and POLICY statements seem to always be\ncombined \"permissively\". In other words, if role `foo` inherits from roles\n`can_access_all_columns_but_no_rows` and\n`can_access_all_rows_but_no_columns`, then `foo` would be able to access\nall rows and all col... |
[
{
"msg_contents": "On 23 Jul 2024, at 00:40, Isaac Morland <isaac.morland@gmail.com> wrote:odyssey=> select (uw_term).*, count(*) from uw_term group by uw_term;ERROR: column \"uw_term.term_id\" must appear in the GROUP BY clause or be used in an aggregate functionLINE 1: select (uw_term).*, count(*) from uw_te... |
[
{
"msg_contents": "Using version 16, seems strange when toast needs to be created. Tested with\ndomain being numeric or varchar(10) with the same results.\n\nAnd If that domain is integer then no toast is created.\n\nI think none of these tables should have a toast, right ?\n\npostgres=# create domain mynum as ... |
[
{
"msg_contents": "Hello hackers,\n\nA recent buildfarm failure [1] shows that the test 031_recovery_conflict.pl\ncan fail yet another way:\n 23/296 postgresql:recovery / recovery/031_recovery_conflict ERROR 11.55s exit status 1\n\n[07:58:53.979](0.255s) ok 11 - tablespace conflict: logfile contai... |
[
{
"msg_contents": "Hi hackers,\n\nWhile creating a patch which allows ALTER SUBSCRIPTION SET (two_phase) [1],\nwe found some issues related with logical replication and two_phase. I think this\ncan happen not only HEAD but PG14+, but for now I shared patches for HEAD.\n\nIssue #1\n\nWhen handling a PREPARE mess... |
[
{
"msg_contents": "Today I compiled PostgreSQL master branch with -fno-strict-aliasing\r\ncompile option removed (previous discussions on the $subject [1]). gcc\r\nversion is 9.4.0.\r\n\r\nThere are a few places where $subject warning printed.\r\n\r\nIn file included from ../../../src/include/nodes/pg_list.h:42... |
[
{
"msg_contents": "Hello everyone,\n\nIn src/backend/utils/adt/formatting.c:1516, there is a get_th() function utilized to return ST/ND/RD/TH suffixes for simple numbers.\nUpon reviewing its behavior, it appears capable of receiving non-numeric inputs (this is verified by a check at formatting.c:1527).\n\nGiven... |
[
{
"msg_contents": "Hello\n\nA couple of days ago, PG buildfarm member cisticola started failing:\nhttps://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=cisticola&br=HEAD\n\nThe failures[1] are pretty mysterious:\n\nmake[3]: \\347\\246\\273\\345\\274\\200\\347\\233\\256\\345\\275\\225\\342\\200\\234/home/p... |
[
{
"msg_contents": "Hello hackers,\n\nA recent lorikeet (a Cygwin animal) failure [1] revealed one more\nlong-standing (see also [2], [3], [4]) issue related to Cygwin:\n SELECT dblink_connect('dtest1', connection_parameters());\n- dblink_connect\n-----------------\n- OK\n-(1 row)\n-\n+ERROR: could not establi... |
[
{
"msg_contents": "I've noticed that after running `pg_upgrade` that my `pg_depend` table\ncontains unexpected dependencies for sequences. Before the upgrade\nfrom PostgreSQL 15.7:\n\n```\n% psql -d gitlabhq_production\npsql (16.3, server 15.7)\nType \"help\" for help.\n\ngitlabhq_production=# SELECT seq_pg_cla... |
[
{
"msg_contents": "Neon added a t_cid field to heap WAL records https://github.com/yibit/neon-postgresql/blob/main/docs/core_changes.md#add-t_cid-to-heap-wal-records.\n\nHowever, when replaying the delete log record, it is discarding the combo flag and storing the raw cmax on the old tuple https://github.com/ne... |
[
{
"msg_contents": "Hi,\n\nWhile preparing for my presentation on PostgreSQL Wait Events at\nPgConf India, I was trying to understand *IPC:XactGroupUpdate* in more\ndetail. PostgreSQL documentation [1] mentions:\n\n> A process is waiting for the group leader to update the transaction status at the end of a _para... |
[
{
"msg_contents": "Hello all,\n\nMessage Id:\nhttps://www.postgresql.org/message-id/flat/3808dc548e144c860fc3fe57de013809%40xs4all.nl#72629a188e99e14387230fccc8eef518\n\nActually I'm also facing this issue. Any solution regarding this? .Kindly\ngive me the explanation of why this error occurs.\n\nThanks and reg... |
[
{
"msg_contents": "Hi,\n\nWhen reviewing the code in logical/worker.c, I noticed that when applying a\ncross-partition update action, it scans the old partition twice.\nI am attaching the patch 0001 to remove this duplicate table scan.\n\nThe test shows that it brings noticeable improvement:\n\nSteps\n-----\nPu... |
[
{
"msg_contents": "Hi, I see that materialized view cannot be unlogged now, but when I use\npsql and type CREATE UNLOGGED, pressing the Tab key for auto-completion\nsuggests `TABLE` and MATERIALIZED VIEW.\nShouldn't `MATERIALIZED VIEW ` be suggested?\n\nHi, I see that materialized view cannot be unlogged now, b... |
[
{
"msg_contents": "Hello hackers,\n\nPlease take a look at today's failure [1], that raises several questions\nat once:\n117/244 postgresql:pg_upgrade / pg_upgrade/002_pg_upgrade TIMEOUT 3001.48s exit status 1\n180/244 postgresql:pg_amcheck / pg_amcheck/005_opclass_damage TIMEOUT 3001.43s exit... |
[
{
"msg_contents": "Hello everyone,\n\nIn src/backend/commands/trigger.c:4031, there is an afterTriggerAddEvent() function. The variable chunk is assigned the value of events->tail at line 4050. Subsequently, chunk is compared to NULL at lines 4051 and 4079, indicating that events->tail could potentially be NULL... |
[
{
"msg_contents": "Definitions:\n\n - collation is text ordering and comparison\n - ctype affects case mapping (e.g. LOWER()) and pattern\n matching/regexes\n\nCurrently, there is only one version field, and it represents the\nversion of the collation. So, if your provider is libc and datcollate\nis \"C\" ... |
[
{
"msg_contents": "I wrote a simple script to get all issues from the pgsql-bugs list that are\nreported by the form (basically getting just the issues without any replies\nto them) and now while searching through these issues I can't know directly\nwhether it is solved or not, just a workaround is checking any... |
[
{
"msg_contents": "Hi,\n\nWe got some trouble when using bulk_insert of COPY FROM around CopyMultiInsertInfoFlush(), the target table is our own access method storage.\n\nThe reason is we mistakenly set am routine finish_bulk_insert() to clean some resources or context. We thought it’s used as normal insert_fi... |
[
{
"msg_contents": "Hi,\n\nWhile looking into the commit b4da732fd64e936970f38c792f8b32c4bdf2bcd5,\nI noticed that we can create a materialized view using Ephemeral Named\nRelation in PostgreSQL 16 or earler. \n\n\npostgres=# create table tbl (i int);\nCREATE TABLE\n ... |
[
{
"msg_contents": "I'm now using version 14 and planning to update to 17 as soon as it comes\navailable. Then looking carefully to release notes to see exactly what I'll\nget when updated I see lots of unexplained features. Just because release\nnotes does not explain exactly what that change does. And I don't ... |
[
{
"msg_contents": "Hi,\n\nI have a prototype for an ALL_CANDIDATES option for EXPLAIN. The goal\nof this option is to print all plan candidates instead of only the\ncheapest plan. It will output the plans from the most expensive at the\ntop to the cheapest. Here's an example:\n\nexplain (all_candidates) select ... |
[
{
"msg_contents": "Hi,\n\nI work on a driver for Postgres that utilizes the extended query protocol\nand have a question about the row description message for interval types.\n\nI am trying to use the type modifier value from the message to determine\nthe precision of the interval. This is something I can do fo... |
[
{
"msg_contents": "Hi PostgreSQL community,\n\nI wanted to modify the SQL script of an extension by creating multiple\nobjects within it.\nMy aim is to make minimal changes to the existing script. To achieve this,\nI have created an\nexternal script and am attempting to run it within the extension script\nusing... |
[
{
"msg_contents": "\nAs part of its 002_pgupgrade.pl, the pg_upgrade tests do a rerun of the \nnormal regression tests. That in itself is sad, but what concerns me \nhere is why it's so much slower than the regular run? This is apparent \neverywhere (e.g. on crake the standard run takes about 30 to 90 s, but \n... |
[
{
"msg_contents": "Hello,\n\nI hope this message finds you well. I am currently working on a PostgreSQL extension and have encountered an issue where a static pointer becomes null between different AM routines. My problem is as follows:\n\nI am working with a few AM routines, specifically “ambuild” and “amresca... |
[
{
"msg_contents": "Hi all,\n\nAttached is a patch that resolves an overflow in pg_size_pretty() that\nresulted in unexpected behavior when PG_INT64_MIN was passed in as an\nargument.\n\nThe pg_abs_s64() helper function is extracted and simplified from patch\n0001 from [0]. I didn't add similar functions for oth... |
[
{
"msg_contents": "Hello Tomas,\n\nPlease take a look at a recent dikkop's failure [1]. The\nregress_log_006_db_file_copy file from that run shows:\n[02:08:57.929](0.014s) # initializing database system by copying initdb template\n...\n[02:09:22.511](24.583s) ok 1 - full backup\n...\n[02:10:35.758](73.247s) not... |
[
{
"msg_contents": "Prior to PG16, postmaster children would manually detach from shared memory\nif it was not needed. However, this behavior was removed in fork mode in\ncommit aafc05d.\nDetaching shared memory when it is no longer needed is beneficial, as \npostmaster children (like syslogger) don't wish to ta... |
[
{
"msg_contents": "Today I was busy rebasing my Greenplum-related Extendable SMGR\npatches on Cloudberry, and I faced some conflicts.\nWhile resolving them I noticed code & comments inconsistency in smgr.c\nin smgrtruncate function, which tracks down to\nc5315f4f44843c20ada876fdb0d0828795dfbdf5. In this commit,... |
[
{
"msg_contents": "These programs in src/backend/utils/mb/ are unused, and have been unused \nand unusable since 2003:\n\niso.c\nwin1251.c\nwin866.c\n\nAttached patch removes them. See commit message for a little more \ndetailed analysis.\n\n-- \nHeikki Linnakangas\nNeon (https://neon.tech)",
"msg_date": "M... |
[
{
"msg_contents": "Fix double-release of spinlock\n\nCommit 9d9b9d46f3 added spinlocks to protect the fields in ProcSignal\nflags, but in EmitProcSignalBarrier(), the spinlock was released\ntwice. With most spinlock implementations, releasing a lock that's not\nheld is not easy to notice, because most of the ti... |
[
{
"msg_contents": "Hi,\n\nAs part of [1] I was staring at the assembly code generated for\nSpinLockAcquire(), fairly randomly using GetRecoveryState() as the example.\n\nOn master, in an optimized build this generates the following code (gcc 12 in\nthis case, but it doesn't really matter):\n\n0000000000004220 <... |
[
{
"msg_contents": "Hello hackers,\n\nI would like your help to collectively try to answer these three questions:\n\n1. Who are the current users of 32-bit PostgreSQL?\n\n2. Among these users, how many are upgrading to new major versions?\n\n3. For how many of these users is performance critical?\n\nThis came up... |
[
{
"msg_contents": "When deparsing queries or expressions, ruleutils.c has to generate\nunique names for RTEs and columns of RTEs. (Often, they're unique\nalready, but this isn't reliably true.) The original logic for that\ninvolved just strcmp'ing a proposed name against all the ones already\nassigned, which ... |
[
{
"msg_contents": "Hi, all\n\nI got a crash when copy partition tables with mass data in Cloudberry DB[0](based on Postgres14.4, Greenplum 7).\n\nI have a test on Postgres and it has the similar issue(different places but same function).\n\nHowever it’s a little hard to reproduce because it happened when insert... |
[
{
"msg_contents": "*Description:*The connection fails with a non-blocking socket error when\nusing psql on\nWindows to connect to a PostgreSQL server with GSSAPI enabled. The error is\nbecause the socket error code is obtained by WSAGetLastError() instead of\nerrno. This causes the value of errno to be incorrec... |
[
{
"msg_contents": "Hi,\n\nI noticed $SUBJECT while working on something else:\n\n /*\n * Where we store tuples for a held cursor or a PORTAL_ONE_RETURNING or\n * PORTAL_UTIL_SELECT query. (A cursor held past the end of its\n * transaction no longer has any active executor state.)\n */\n T... |
[
{
"msg_contents": "As part of the multithreading work, it'd be nice to get rid of as many \nglobal or static variables as possible. Remaining ones can be converted \nto thread locals as appropriate, but where possible, it's better to just \nget rid of them.\n\nHere are patches to get rid of a few static variabl... |
[
{
"msg_contents": "Hi,\n\nWhile working on rebasing the patches of Neon's fork onto the\nREL_17_STABLE branch, I noticed that the nblocks arguments of various\nsmgr functions have inconsistent types: smgrzeroextend accepts\n`nblocks` as signed integer, as does the new signature for\nsmgrprefetch, but the new ve... |
[
{
"msg_contents": "Sometime in the last month or so, flaviventris's bleeding-edge\nversion of gcc has started whining[1] about truncation of a\nstring literal's implicit trailing '\\0' in contexts like this:\n\n../pgsql/src/backend/commands/copyto.c:106:41: warning: initializer-string for array of 'char' is too... |
[
{
"msg_contents": "Hi hackers,\n\nAfter the patch [1] that adds a path column to pg_backend_memory_context,\nthe parent context can also be found in the path array. Since there are\ncurrently two ways to retrieve information related to the parent of a\ncontext, I wonder whether we still want to keep the parent ... |
[
{
"msg_contents": "While looking into converting pgssEntry->mutex to an LWLock (per a\nsuggestion elsewhere [0]), I noticed that pg_stat_statements uses\n\"volatile\" quite liberally. IIUC we can remove these as of commit 0709b7e\n(like commits 8f6bb85, df4077c, and 6ba4ecb did in other areas). All of\nthe us... |
[
{
"msg_contents": "I noticed this comment in selfuncs.c regarding strxfrm():\n\n /* \n * Some systems (e.g., glibc) can return a smaller value from the \n * second call than the first; thus the Assert must be <= not ==. \n */\n\nSome ... |
[
{
"msg_contents": "\nSeveral years ago, an EDB customer complained that if they used a \nfunctional index involving upper(), lower(), or textlike(), where RLS \nwas involved, the indexes were not used because these functions are not \nmarked leakproof. We presented the customer with several options for \naddres... |
[
{
"msg_contents": "Hi,\n\nI think the forward declaration for heapam_methods variable in heapam_handler.c\nis unnecessary, right?\n\n-- \nRegrads,\nJapin Li",
"msg_date": "Wed, 31 Jul 2024 10:36:11 +0800",
"msg_from": "Japin Li <japinli@hotmail.com>",
"msg_from_op": true,
"msg_subject": "Remove ... |
[
{
"msg_contents": "Hello, hackers,\n\nI think there may be some duplicated codes.\nFunction smgrDoPendingDeletes() calls both smgrdounlinkall() and\nsmgrclose().\nBut both functions would close SMgrRelation object, it's dupliacted\nbehavior?\n\nSo I make this patch. Could someone take a look at it?\n\nThanks fo... |
[
{
"msg_contents": "I propose to rename the pg_createsubscriber option --socket-directory to \n--socketdir. This would make it match the equivalent option in \npg_upgrade. (It even has the same short option '-s'.) \npg_createsubscriber and pg_upgrade have a lot of common terminology and \na similar operating m... |
[
{
"msg_contents": "I have noticed $subj while working with other unrelated patches.\nThe question is, why there is no CREATE TABLE AS .... USING\n(some_access_method)?\nThis feature looks straightforward, and lack of it is a bit of\ninconsistency from my point of view.\nMaybe there are some unobvious caveats wi... |
[
{
"msg_contents": "Hello hackers,\n\nYesterday, the buildfarm animal sungazer was benevolent enough to\ndemonstrate a rare anomaly, related to old stats collector:\ntest stats ... FAILED 469155 ms\n\n========================\n 1 of 212 tests failed.\n========================\n\n--- /ho... |
[
{
"msg_contents": "I've reached the limit of my understanding and attempts at correcting my\ncode/use of temporary tables in the face of multixact members and have come\nto ask for your help! Here's a brief description of my software;\n\nPool of N connection sessions, persistent for the duration of the program\... |
[
{
"msg_contents": "Hello hackers,\n\nI've repeated the performance measurement for REL_17_STABLE (1e020258e)\nand REL_16_STABLE (6f6b0f193) and found several benchmarks where v16 is\nsignificantly better than v17. Please find attached an html table with\nall the benchmarking results.\n\nI had payed attention to... |
[
{
"msg_contents": "Hi,\n\nWe are seeing a gradual growth in the memory consumption of our process on\nWindows. Ours is a C++ application that directly loads libpq.dll and\nhandles the queries and functions. We use setSingleRowMethod to limit the\nnumber of rows returned simultaneously to the application. We do ... |
[
{
"msg_contents": "While working on the grouping sets patches for queries with GROUP BY\nitems that are constants, I noticed $subject on master. As an\nexample, consider\n\nprepare q1(int) as\nselect $1 as c1, $1 as c2 from generate_series(1,2) t group by rollup(c1);\n\nset plan_cache_mode to force_custom_plan... |
[
{
"msg_contents": "Stack Overflow 2024 developer survey[1] said VSCode\nis the most used development environment.\n\nIn a PostgreSQL Hacker Mentoring discussion, we talked\nabout how to use vscode to debug and running postgres,\nAndrey(ccd) has tons of tips for new developers, and\nI post my daily used devconta... |
[
{
"msg_contents": "I've recently committed some optimizations for dumping sequences and\npg_class information (commits 68e9629, bd15b7d, and 2329cad), and I noticed\nthat we are also executing a query per function in pg_dump. Commit be85727\noptimized this by preparing the query ahead of time, but I found that... |
[
{
"msg_contents": "EXPLAIN ANALYZE CREATE MATERIALIZED VIEW doesn't go through\nExecCreateTableAs(), but does use CreateIntoRelDestReceiver().\n\nThat bypasses the SECURITY_RESTRICTED_OPERATION in ExecCreateTableAs().\nThat is *not* a security problem, because the\nSECURITY_RESTRICTED_OPERATION in CREATE MATERI... |
[
{
"msg_contents": "I complained in the discussion of bug #18564 [1] that it's quite\ninconsistent that you can cast a jsonb null to text and get\na SQL NULL:\n\n=# select ('{\"a\": null}'::jsonb)->>'a';\n ?column? \n----------\n \n(1 row)\n\nbut if you cast it to any other type it's an error:\n\n=# select (('{\... |
[
{
"msg_contents": "Hi,\n\nI found that pg_createsubscriber doesn't use NLS files. This is due to\nthe wrong reference name \"pg_createsubscriber\" being passed to\nset_pglocale_pgservice(). It should be \"pg_basebackup\" instead. See\nthe attached patch.\n\n# Sorry for being away for a while. I should be able t... |
[
{
"msg_contents": "Hi all,\n\nSome utility statements like Explain, CreateTableAs and DeclareCursor\ncontain a query which will be planned and executed. During post parse,\nonly the top utility statement is jumbled, leaving the contained query\nwithout a query_id set. Explain does the query jumble in ExplainQue... |
[
{
"msg_contents": "I hate to be \"that guy\", but there are many places in sources where we use\nLOCKMODE lockmode; variable and exactly one where we use LOCKMODE\nlmode: it is vacuum_open_relation function.\nIs it worth a patch?",
"msg_date": "Fri, 2 Aug 2024 13:25:25 +0500",
"msg_from": "Kirill Reshke... |
[
{
"msg_contents": "I propose to remove the obsolete RECHECK keyword completely. This used \nto be part of CREATE OPERATOR CLASS and ALTER OPERATOR FAMILY, but it \nhas done nothing (except issue a NOTICE) since PostgreSQL 8.4. Commit \n30e7c175b81 removed support for dumping from pre-9.2 servers, so this no \... |
[
{
"msg_contents": "Hi,\n\nI found a bug in the memory counter update in reorderbuffer. It was\nintroduced by commit 5bec1d6bc5e, so pg17 and master are affected.\n\nIn ReorderBufferCleanupTXN() we zero the transaction size and then\nfree the transaction entry as follows:\n\n /* Update the memory counter */\n... |
[
{
"msg_contents": "See\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ee219ee8c40d88e7a0ef52c3c1b76c90bbd0d164\n\nAs usual, please send corrections/comments by Sunday.\n\n\t\t\tregards, tom lane\n\n\n",
"msg_date": "Fri, 02 Aug 2024 16:26:08 -0400",
"msg_from": "Tom Lane <tgl@sss.... |
[
{
"msg_contents": "I noticed (during [0]) to some uses of the function atol() seem \ninappropriate. Either they assume that sizeof(long)==8 and so might \ntruncate data if not, or they are gratuitous because the surrounding \ncode does not use the long type. This patch fixes these, by using \natoll() or atoi(... |
[
{
"msg_contents": "I noticed in Commitfest App Add Review form's checkbox layout seems\nbroken as you can see in the attached snapshot. I see the same layout\nin Google Chrome and FireFox.\nFor Frequent Reviewers I guess it's fine as they can just guess how\nmany and which check boxes to click without a clear l... |
[
{
"msg_contents": "In our documentations, \"subquery\", \"sub-query\", \"sub-select\" and\n\"sub-SELECT\" are used. In English, are they interchangeable? I am\nasking because we are looking for Japanese translations for the\nwords. If they have the identical meaning in English, we can choose\nsingle Japanese w... |
[
{
"msg_contents": "Fixed a minor typo in src/include/storage/bufpage.h.\nPlease let me know if any further action is required.\n\n---\nBest regards,\nSenglee Choi",
"msg_date": "Mon, 5 Aug 2024 10:23:42 +0900",
"msg_from": "Senglee Choi <tmdfl1027@gmail.com>",
"msg_from_op": true,
"msg_subject":... |
[
{
"msg_contents": "The now preferred way to call realpath() is by passing NULL as the\nsecond argument and get a malloc'ed result. We still supported the\nold way of providing our own buffer as a second argument, for some\nplatforms that didn't support the new way yet. Those were only\nSolaris less than versi... |
[
{
"msg_contents": "Hi,\n\n(This discussion started on the security@ list, but was deemed\nsuitable for the -hackers@ list.)\n\nPostgreSQL supports RADIUS authentication[1]. It's probably not\nwidely used, and generally any security technology based on MD5 alone\nshould by now be considered weak and obsolete, b... |
[
{
"msg_contents": "Hello.\n\nAfter a recent commit f80b09bac8, make update-po fails with \"missing\nrequired files\". The commit moved some files to fe_utils but this\nchange was not reflected in pg_basebackup's nls.mk. The attached patch\nfixes this issue.\n\nregards.\n\n-- \nKyotaro Horiguchi\nNTT Open Source... |
[
{
"msg_contents": "Hi,\r\n\r\nAttached is the release announcement draft for the 2024-08-08 release. \r\nPlease review for accuracy and omissions, and provide feedback no later \r\nthan 2024-08-08 12:00 UTC.\r\n\r\nThanks!\r\n\r\nJonathan",
"msg_date": "Mon, 5 Aug 2024 23:24:46 -0400",
"msg_from": "\"Jo... |
[
{
"msg_contents": "Hi all,\n\ndikkop has reported a failure with the regression tests of pg_combinebackup:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=dikkop&dt=2024-08-04%2010%3A04%3A51\n\nThat's in the test 003_timeline.pl, from dc212340058b:\n# Failed test 'incremental backup from node1'\n# ... |
[
{
"msg_contents": "Hi Hackers,\n\nI use async commits. At some moment, I would like to make sure that all inserted WAL records are fsync-ed. I can use XLogFlush function but I have some doubts which LSN to specify. There is a number of functions which return write or insert LSNs but they are not applicable.\n\n... |
[
{
"msg_contents": "constexpr is a keyword in C23. Rename a conflicting identifier for\nfuture-proofing.\n\nObviously, C23 is way in the future, but this is a hard error that \nprevents any further exploration. (To be clear: This only happens if \nyou explicitly select C23 mode. I'm not aware of a compiler wh... |
[
{
"msg_contents": "Hi hackers,\n\nWhile working on [1], I came across what seems to be incorrect comments in\ninstr_time.h and an unneeded cast to int64.\n\nIndeed, 03023a2664 represented time as an int64 on all platforms but forgot to\nupdate the comment related to INSTR_TIME_GET_MICROSEC() and provided an inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.