threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "I've noticed that `meson test` logs the complete environment in \nmeson_logs/testlog.txt. That seems unnecessary and probably undesirable \nfor the buildfarm client. Is there any way to suppress that, or at least \nonly print some relevant subset? (The buildfarm client itself only \nreports a... |
[
{
"msg_contents": "I noticed that \\bind is leaking memory for each option.\n\n=# SELECT $1, $2, $3 \\ bind 1 2 3 \\g\n\nThe leaked memory blocks are comming from\npsql_scan_slash_option(). The attached small patch resolves that\nissue. I looked through the function's call sites, but I didn't find\nthe same mi... |
[
{
"msg_contents": "Over on [1], Benjamin highlighted that we don't do ordered partition\nscans in some cases where we could.\n\nBasically, what was added in 959d00e9d only works when at least one\nchild path has pathkeys that suit the required query pathkeys. If the\npartitions or partitioned table does not ha... |
[
{
"msg_contents": "llvm_release_context() calls llvm_enter_fatal_on_oom(), but it never \ncalls llvm_leave_fatal_on_oom(). Isn't that a clear leak?\n\n(spotted this while investigating \nhttps://www.postgresql.org/message-id/a53cacb0-8835-57d6-31e4-4c5ef196de1a@deepbluecap.com, \nbut it seems unrelated)\n\n- He... |
[
{
"msg_contents": "I thought I should be able to do this:\n\n=> create view testv as values (1, 'a'), (2, 'b'), (3, 'c');\nCREATE VIEW\n=> create table testt of testv;\nERROR: type testv is not a composite type\n\nBut as you can see I can’t. pg_type seems to think the type is composite:\n\nijmorlan=> select ty... |
[
{
"msg_contents": "Is anyone else itching to be CF manager for March? If anyone new wants\nto try it out that would be good.\n\nAssuming otherwise I'll volunteer.\n\n-- \ngreg\n\n\n",
"msg_date": "Tue, 21 Feb 2023 16:17:17 +0000",
"msg_from": "Greg Stark <stark@mit.edu>",
"msg_from_op": true,
"m... |
[
{
"msg_contents": "I have found that the per-column atttypmod tracking in pg_dump isn't \nactually used anywhere. (The values are read but not used for writing \nout any commands.) This is because some time ago we started formatting \nall types through format_type() on the server. So this dead code can be \n... |
[
{
"msg_contents": "Commit e4602483e95 accidentally introduced a situation where pgindent\ndisagrees with the git whitespace check. The code is\n\n conn = libpqsrv_connect_params(keywords, values,\n /* expand_dbname = */ false,\n ... |
[
{
"msg_contents": "Hi,\n\nWhile finalizing some fixes in BRIN, I decided to stress-test the\nrelevant part of the code to check if I missed something. Imagine a\nsimple script that builds BRIN indexes on random data, does random\nchanges and cross-checks the results with/without the index.\n\nBut instead of I a... |
[
{
"msg_contents": "Given its nature and purpose as a module we don't want to run against an \ninstalled instance, shouldn't src/test/modules/unsafe_tests have \nNO_INSTALLCHECK=1 in its Makefile and runningcheck:false in its meson.build?\n\n\ncheers\n\n\nandrew\n\n--\nAndrew Dunstan\nEDB:https://www.enterprised... |
[
{
"msg_contents": "The configure option --disable-rpath currently has no equivalent in \nmeson. This option is used by packagers, so I think it would be good to \nhave it in meson as well. I came up with the attached patch.",
"msg_date": "Wed, 22 Feb 2023 13:56:32 +0100",
"msg_from": "Peter Eisentraut... |
[
{
"msg_contents": "Hi hackers,\nI met a coredump when backend has no enough memory at dlopen which want to allocate memory for libLLVM-10.so.1.\n\n#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50\n#1 0x00007f10bde19859 in __GI_abort () at abort.c:79\n#2 0x00007f109c24cc33 in llvm::rep... |
[
{
"msg_contents": "Proposal: Simply add the %T (PROMPT variable) to output the current time\n(HH24:MI:SS) into the prompt. This has been in sqlplus since I can\nremember, and I find it really useful when I forgot to time something, or\nto review for Time spent on a problem, or for how old my session is...\n\n... |
[
{
"msg_contents": "I attached a simple patch that allows meson to find ICU in a non-\nstandard location if if you specify -Dextra_lib_dirs and\n-Dextra_include_dirs.\n\nI'm not sure it's the right thing to do though. One downside is that it\ndoesn't output the version that it finds, it only outputs \"YES\".",
... |
[
{
"msg_contents": "Here's a progress report on adapting the buildfarm client to meson\n\nThere is a development branch where I'm working on the changes. They can \nbe seen here:\n\n<https://github.com/PGBuildFarm/client-code/compare/main...dev/meson>\n\nOn my Linux box (Fedora 37, where crake runs) I can get a ... |
[
{
"msg_contents": "Hi,\n\nI was trying to implement ExtendRelationBufferedTo(), responding to a review\ncomment by Heikki, in\nhttps://www.postgresql.org/message-id/20230222203152.rh4s75aedj65hyjn@awork3.anarazel.de\n\nWhich lead me to stare at the P_NEW do while loop in\nXLogReadBufferExtended(). I first start... |
[
{
"msg_contents": "Here is a small patch to make some invalid-record error messages in \nxlogreader a bit more accurate (IMO).\n\nMy starting point was that when you have some invalid WAL, you often get \na message like \"wanted 24, got 0\". This is a bit incorrect, since it \nreally wanted *at least* 24, not ... |
[
{
"msg_contents": "Hey,\n\nIt depnends on scenario, but there is many use cases that hack data\nchange from somebody with admin privileges could be disaster.\nThat is the place where data history could come with help. Some basic\nsolution would be trigger which writes previous version of record\nto some other ... |
[
{
"msg_contents": "pg_rewind: Fix determining TLI when server was just promoted.\n\nIf the source server was just promoted, and it hasn't written the\ncheckpoint record yet, pg_rewind considered the server to be still on\nthe old timeline. Because of that, it would claim incorrectly that no\nrewind is required.... |
[
{
"msg_contents": "Refactor to add pg_strcoll(), pg_strxfrm(), and variants.\n\nOffers a generally better separation of responsibilities for collation\ncode. Also, a step towards multi-lib ICU, which should be based on a\nclean separation of the routines required for collation providers.\n\nCallers with NUL-ter... |
[
{
"msg_contents": "Add LZ4 compression to pg_dump\n\nExpand pg_dump's compression streaming and file APIs to support the lz4\nalgorithm. The newly added compress_lz4.{c,h} files cover all the\nfunctionality of the aforementioned APIs. Minor changes were necessary\nin various pg_backup_* files, where code for th... |
[
{
"msg_contents": "Hi,\n\nUsers may wish to speed up long-running vacuum of a large table by\ndecreasing autovacuum_vacuum_cost_delay/vacuum_cost_delay, however the\nconfig file is only reloaded between tables (for autovacuum) or after\nthe statement (for explicit vacuum). This has been brought up for\nautovacu... |
[
{
"msg_contents": "On Wed, Feb 22, 2023 at 09:48:10PM +1300, Thomas Munro wrote:\n> On Tue, Feb 21, 2023 at 5:50 PM Nathan Bossart <nathandbossart@gmail.com> wrote:\n>> I'm happy to create a new thread if needed, but I can't tell if there is\n>> any interest in this stopgap/back-branch fix. Perhaps we should j... |
[
{
"msg_contents": "Attached is a patch fixing a few doc omissions for MERGE.\n\nI don't think that it's necessary to update every place that could\npossibly apply to MERGE, but there are a few places where we give a\nlist of commands that may be used in a particular context, and I think\nthose should mention ME... |
[
{
"msg_contents": "I noticed that the commit e9960732a9 introduced the following message.\n\n+\tif (EndCompressFileHandle(ctx->dataFH) != 0)\n+\t\tpg_fatal(\"could not close blob data file: %m\");\n\nIt seems that we have removed the terminology \"blob(s)\" from\nuser-facing messages by the commit 35ce24c333 (d... |
[
{
"msg_contents": "I happened to notice that there were a few references to guc.c regarding\nvariables, which with the recent refactoring in 0a20ff54f have become stale.\nAttached is a trivial patch to instead point to guc_tables.c.\n\n--\nDaniel Gustafsson",
"msg_date": "Fri, 24 Feb 2023 14:15:55 +0100",
... |
[
{
"msg_contents": "Hi\n\nHacker from another open-source DB here (h2database.com).\n\nHow does postgresql handle the following situation?\n\n(1) a table containing a LOB column\n(2) a query that does\n ResultSet rs = query(\"select lob_column from table_foo\");\n while (rs.next())\n {\n retrieve_lob_da... |
[
{
"msg_contents": "Hi all,\n\nI noticed a very minor inconsistency in some ACL error messages. When\nyou are try and alter a role, it just says \"permission denied\":\n\n postgres=> ALTER ROLE bar NOCREATEDB;\n ERROR: permission denied\n postgres=> ALTER ROLE bar SET search_path TO 'foo';\n ERROR: permiss... |
[
{
"msg_contents": "Hi hackers,\n\nI have a question on the code below:\n\nDatum\nnumeric_cmp(PG_FUNCTION_ARGS)\n{\n Numeric num1 = PG_GETARG_NUMERIC(0);\n Numeric num2 = PG_GETARG_NUMERIC(1);\n int result;\n\n result = cmp_numerics(num1, num2);\n\n PG_FREE_IF_COPY(num1, 0);\n PG_FREE_IF_COPY(num2, 1);\n\n... |
[
{
"msg_contents": "This is a draft patch - review is welcome and would help to get this\nready to be considererd for v16, if desired.\n\nI'm going to add this thread to the old CF entry.\nhttps://commitfest.postgresql.org/31/2888/\n\n-- \nJustin",
"msg_date": "Fri, 24 Feb 2023 13:18:40 -0600",
"msg_from... |
[
{
"msg_contents": "Replacing constants in pg_stat_statements is on a best effort basis.\r\nIt is not unlikely that on a busy workload with heavy entry deallocation,\r\nthe user may observe the query with the constants in pg_stat_statements.\r\n\r\nFrom what I can see, this is because the only time an entry is n... |
[
{
"msg_contents": "Hi\n\ndiff --git a/src/backend/utils/adt/numeric.c\nb/src/backend/utils/adt/numeric.c\nindex a83feea396..12c6548675 100644\n--- a/src/backend/utils/adt/numeric.c\n+++ b/src/backend/utils/adt/numeric.c\n@@ -1233,7 +1233,7 @@ numeric_support(PG_FUNCTION_ARGS)\n * scale of the attribute have to... |
[
{
"msg_contents": "vcregress's installcheck_internal has \"--encoding=SQL_ASCII --no-locale\" \nhardcoded. It's been like that for a long time, for no good reason that \nI can see. The practical effect is to make it well nigh impossible to \nrun the regular regression tests against any other encoding/locale. Th... |
[
{
"msg_contents": "hi community\n\nThis is the first time for me to submit a patch to Postgres community.\n\ninstead of using for loop to find the most significant bit set. we could\nuse __builtin_clz function to first find the number of leading zeros for\nthe mask and then we can find the index by 32 - __built... |
[
{
"msg_contents": "Hi,\n\nAs suggested in [1], the attached patch adds shared buffer hits to\npg_stat_io.\n\nI remember at some point having this in the view and then removing it\nbut I can't quite remember what the issue was -- nor do I see a\nrationale mentioned in the thread [2].\n\nIt might have had somethi... |
[
{
"msg_contents": "Hi,\n\nAround\nhttps://www.postgresql.org/message-id/20230224015417.75yimxbksejpffh3%40awork3.anarazel.de\nI suggested that we should evaluate the arguments of correlated SubPlans as\npart of the expression referencing the subplan.\n\nHere's a patch for that.\n\nEnded up simpler than I'd thou... |
[
{
"msg_contents": "here are the source codes from src/include/access/htup_details.h.\r\n/*\r\n * information stored in t_infomask:\r\n */\r\n#define HEAP_HASNULL 0x0001 /* has null attribute(s) */\r\n#define HEAP_HASVARWIDTH 0x0002 /* has variable-width attribute(s) */\r\n#define HEAP_HASEXTERNAL 0x0004 /* has ... |
[
{
"msg_contents": "use these sqls below:\r\ncreate table t(a int);\r\ninsert into t values(1);\r\nselect lp,lp_off,lp_len,t_data from heap_page_items(get_raw_page('t',0));\r\n lp | lp_off | lp_len | t_data \r\n----+--------+--------+------------\r\n 1 | 8160 | 28 | \\x01000000\r\n--------------------... |
[
{
"msg_contents": "Hi,\n\nAs suggested in [1], the attached patch adds IO times to pg_stat_io;\n\nI added docs but haven't added any tests. The timings will only be\nnon-zero when track_io_timing is on, and I only see tests with track IO\ntiming on in explain.sql and the IO timings I added to pg_stat_io would\n... |
[
{
"msg_contents": "use these sqls:\r\ncreate table t(a text);\r\ninsert into t values('a');\r\nselect lp,lp_len,t_data from heap_page_items(get_raw_page('t',0));\r\nlp | lp_len | t_data \r\n----+--------+--------\r\n 1 | 26 | \\x0561\r\nas you can see, the 61 is 'a', so what's the 05??? strange.\r\n\r\n\r\... |
[
{
"msg_contents": "I noticed warnings:\nUse of uninitialized value $ENV{\"with_icu\"} in string eq at /home/pryzbyj/src/postgres/src/bin/pg_dump/t/002_pg_dump.pl line 56.\n\nand looked through: git grep ^export '*/Makefile'\n\nand found that:\nsrc/bin/pg_dump/meson.build is missing with_icu since 396d348b0\n\nA... |
[
{
"msg_contents": "Hi all,\n\nWhile doing something I should not have done, I have been able to\ntrigger latch.c with the error of $subject. Adding in the elog\ngenerated some information about the PID owning the latch and\nMyProcPid has made me understand immediately why I was wrong. Would\nthere be any obje... |
[
{
"msg_contents": "# I:\n (default target) (1) -> (Link target) ->\n libcrypto.lib(libcrypto-lib-e_capi.obj) : error LNK2019: __imp_CertOpenStore, capi_open_store \n libcrypto.lib(libcrypto-lib-e_capi.obj) : error LNK2019: __imp_CertCloseStore, capi_find_key \n libcrypto.lib(libcrypt... |
[
{
"msg_contents": "Hi all,\n\nBefore PG 14, walsender process has to handle invalid message in one\nXLOG (PG 14 provide a particular XLOG type: XLOG_XACT_INVALIDATIONS).\nThis may bring some problems which has been discussed in previous\nmail: https://www.postgresql.org/message-id/flat/CAM_vCufO3eeRZ_O04z9reiE%... |
[
{
"msg_contents": "Hello.\n\nI found it frustrating that the line \"shared_buffers = 0.1GB\" in\npostgresql.conf postgresql.conf was causing an error and that the\nvalue required (additional) surrounding single quotes. The attached\npatch makes the parser accept the use of non-quoted real values\nfollowed by a... |
[
{
"msg_contents": "Now that we have random_normal(), it seems like it would be useful to\nadd the error functions erf() and erfc(), which I think are\npotentially useful to the people who will find random_normal() useful,\nand possibly others.\n\nAn immediate use for erf() is that it allows us to do a\nKolmogor... |
[
{
"msg_contents": "Hi,\n\nIn order to compare pairs of XML documents for equivalence it is \nnecessary to convert them first to their canonical form, as described at \nW3C Canonical XML 1.1.[1] This spec basically defines a standard \nphysical representation of xml documents that have more then one \npossible r... |
[
{
"msg_contents": "Hi hackers,\n\nI'm sure I'm not the only one who can never remember which way around\nthe value and delimiter arguments go for string_agg() and has to look it\nup in the manual every time. To make it more convenient, here's a patch\nthat adds proargnames to its pg_proc entries so that it can ... |
[
{
"msg_contents": "I can't see an obvious way to run the regression tests via meson with \nthe --no-locale setting. This is particularly important on Windows. The \nbuildfarm client first runs the regression tests with this setting and \nthen tests (via installcheck) against instances set up with its \nconfigur... |
[
{
"msg_contents": "Attached is a patch to add nondecimal integer literals and underscores \nin numeric literals to the SQL JSON path language. This matches the \nrecent additions to the core SQL syntax. It follows ECMAScript in \ncombination with the current SQL draft.\n\nInternally, all the numeric literal p... |
[
{
"msg_contents": "Hi all,\n\nI have mentioned on a different thread of -docs that we have no\ndocumentation to achieve $subject, so attached is a patch to add\nsomething. This can be done with the following steps:\nmeson setup -Db_coverage=true .. blah\nninja\nmeson test\nninja coverage-html\n\nAs far as I ca... |
[
{
"msg_contents": "Hi hackers,\n When I was reading postgres code, I found there is a wierd type cast. I'm pondering if it is necessary.\n\n```\n /* Allocate a new typmod number. This will be wasted if we error out. */\n typmod = (int)\n pg_atomic_fetch_add_u32(&CurrentSession->shared_typmod_re... |
[
{
"msg_contents": "Intro==========\nThe main purpose of the feature is to achieve\nread-your-writes-consistency, while using async replica for reads and\nprimary for writes. In that case lsn of last modification is stored \ninside\napplication. We cannot store this lsn inside database, since reads are\ndistribu... |
[
{
"msg_contents": "Hi,\n\nMost of the multiplexed SIGUSR1 handlers are setting latch explicitly\nwhen the procsignal_sigusr1_handler() can do that for them at the end.\nThese multiplexed handlers are currently being used as SIGUSR1\nhandlers, not as independent handlers, so no problem if SetLatch() is\nremoved ... |
[
{
"msg_contents": "Hello all,\n\nA customer is facing out of memory query which looks similar to this situation:\n\n https://www.postgresql.org/message-id/flat/12064.1555298699%40sss.pgh.pa.us#eb519865575bbc549007878a5fb7219b\n\nThis PostgreSQL version is 11.18. Some settings:\n\n* shared_buffers: 8GB\n* work_... |
[
{
"msg_contents": "So I'm not sure if I'll be CFM this month but I'm assuming I will be\nat this point....\n\nRegardless, Commitfest 2023-03 starts tomorrow!\n\nSo this is a good time to check your submitted patches and ensure\nthey're actually in building and don't need a rebase. Take a look at\nhttp://cfbot.c... |
[
{
"msg_contents": "Today we have two fairly common patterns around extracting an attr from a\ncached tuple:\n\n a = SysCacheGetAttr(OID, tuple, Anum_pg_foo_bar, &isnull);\n Assert(!isnull);\n\n a = SysCacheGetAttr(OID, tuple, Anum_pg_foo_bar, &isnull);\n if (isnull)\n elog(ERROR, \"..\");\n\nThe error me... |
[
{
"msg_contents": "When I designed the Bitmapset module, I set things up so that an empty\nBitmapset could be represented either by a NULL pointer, or by an\nallocated object all of whose bits are zero. I've recently come to\nthe conclusion that that was a bad idea and we should instead have\na convention like... |
[
{
"msg_contents": "I cannot get the last email to show up for the commitfest.\nThis is version 2 of the original patch. [1]\nThanks Jim!\n\n[1]\nhttps://postgr.es/m/CACLU5mSRwHr_8z%3DenMj-nXF1tmC7%2BJn5heZQNiKuLyxYUtL2fg%40mail.gmail.com\n\nRegards Kirk.",
"msg_date": "Tue, 28 Feb 2023 19:59:48 -0500",
... |
[
{
"msg_contents": "Hello,\n\nWe are seeing an interesting STANDBY behavior, that’s happening once in 3-4 days.\n\nThe standby suddenly disconnects from the primary, and it throws the error “LOG: invalid record length at <LSN>: wanted 24, got0”.\n\nAnd then it tries to restore the WAL file from the archive. Due ... |
[
{
"msg_contents": "Hi,\n\nIn a recent discussion [1], Michael Paquier asked if we can combine\npg_walinspect till_end_of_wal functions with other functions\npg_get_wal_records_info and pg_get_wal_stats. The code currently looks\nmuch duplicated and the number of functions that pg_walinspect exposes\nto the user... |
[
{
"msg_contents": "\nHi all,\n\nIn pgql-general, I reported that the queue order changed in\nthe following cases. [1]\n・Multiple sessions request row locks for the same tuple\n・Update occurs for target tuple\n\nI would like to hear the opinion of experts on whether it is a\nspecification or a bug.\nI think row ... |
[
{
"msg_contents": "SQL:2023 should be published within the next 2 months, so I want to \nupdate our SQL conformance information for our PostgreSQL release later \nthis year.\n\nAttached are patches that update the keywords list and the features list \nas usual. (Some of the new features in the JSON area are st... |
[
{
"msg_contents": "The SQL standard defines several standard collations. Most of them are \nonly of legacy interest (IMO), but two are currently relevant: UNICODE \nand UCS_BASIC. UNICODE sorts by the default Unicode collation algorithm \nspecifications and UCS_BASIC sorts by codepoint.\n\nWhen collation supp... |
[
{
"msg_contents": "Hi,\n\nWhen using pg_walinspect, and calling functions like\npg_get_wal_records_info(), I often wish that the various information in\nthe block_ref column was separated out into columns so that I could\neasily access them and pass them to various other functions to add\ninformation -- like ge... |
[
{
"msg_contents": "Hi,\n\nDuring a recent code review, I noticed a lot of 'struct\nLogicalDecodingContext' usage.\n\nThere are many function prototypes where the params are (for no\napparent reason to me) a mixture of structs and typedef structs.\n\nAFAICT just by pre-declaring the typedef struct\nLogicalDecodi... |
[
{
"msg_contents": "Greetings,\n\nIn [1] I proposed a patch that used a GUC to request a list of OID's to be\nreturned in binary format.\nIn [2] Peter Eisentraut proposed a very similar solution to the problem.\n\nIn [2] there was some discussion regarding whether this should be set via\nGUC or a new protocol me... |
[
{
"msg_contents": "While preparing 3dfae91f7 I couldn't help noticing that what\npsql-ref.sgml has to say about \\df's \"function type\" column:\n\n ... and function types, which are classified as <quote>agg</quote>\n (aggregate), <quote>normal</quote>, <quote>procedure</quote>, <quote>trigger</qu... |
[
{
"msg_contents": "Harden new test case against force_parallel_mode = regress.\n\nPer buildfarm: worker processes can't see a role created in\nthe current transaction.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/98a88bc2bcd60e41ca70e2f1e13eee827e23eefb\n\nModified Fil... |
[
{
"msg_contents": "Hi,\n\nI wanted to use min/max aggregation functions for jsonb type and noticed\nthere is no functions for this type, meanwhile string/array types are\nsupported.\nIs there a concern about implementing support for jsonb in min/max?\n\njsonb is a byte array.\njson faces same limitations.\n\n\n... |
[
{
"msg_contents": "in src/include/access/htup_details.h, I find out this:\r\n#define HEAP_XMAX_IS_MULTI 0x1000 /* t_xmax is a MultiXactId */\r\nwhat's MultiXactId? Can you give me a scenario to make this bit as 1?\r\n\r\n\r\njacktby@gmail.com\r\n\n\nin src/include/access/htup_details.h, I find out this:\n#defin... |
[
{
"msg_contents": "Hi,\n\nHere's a patch against master for $SUBJECT. It lacks documentation\nchanges and might have bugs, so please review if you're concerned\nabout this issue.\n\nTo recap, under CVE-2020-14349, Noah documented that untrusted users\nshouldn't own tables into which the system is performing log... |
[
{
"msg_contents": "I realized that headerscheck is failing to enforce $SUBJECT.\nThis is bad, since we aren't really using libpq-fe.h ourselves\nin a way that would ensure that c.h symbols don't creep into it.\n\nWe can easily do better, as attached, but I wonder which other\nheaders should get the same treatme... |
[
{
"msg_contents": "Hi,\n\nI was debugging a planner problem on Postgres 14.4 the other day - and the\ninvolved \"bad\" plan was including Memoize - though I don't necessarily\nthink that Memoize is to blame (and this isn't any of the problems recently\nfixed in Memoize costing).\n\nHowever, what I noticed whils... |
[
{
"msg_contents": "Hi! I was running some benchmarks for PG driver built on top of libpq async functionality,and noticed that recv syscalls issued by the application are limited by 16Kb, which seems tobe inBufSize coming from makeEmptyPGconn in interfaces/libpq/fe-connect.c. Hacking that to higher values allowe... |
[
{
"msg_contents": "Hi,\n\nThis was noticed in \nhttps://www.postgresql.org/message-id/CAApHDvo2y9S2AO-BPYo7gMPYD0XE2Lo-KFLnqX80fcftqBCcyw@mail.gmail.com\n\nI am bringing it up again.\n\n\nConsider the following example:\n\nSetup (tuple should be in memory to avoid overshadowing of disk I/O in \nthe experimentat... |
[
{
"msg_contents": "Suppose there is a transaction running, how it knows the tuples that are\r\nvisible for it?\r\n\r\n\r\njacktby@gmail.com\r\n\n\n\nSuppose there is a transaction running, how it knows the tuples that arevisible for it?\njacktby@gmail.com",
"msg_date": "Sun, 5 Mar 2023 21:19:02 +0800",
... |
[
{
"msg_contents": "Hello hackers,\n\nI think we should extend the \"log\" directory the same courtesy as was\ndone for pg_wal (pg_xlog) in 0e42397f42b.\n\nToday, even if BOTH source and target servers have symlinked \"log\"\ndirectories, pg_rewind fails with:\n\nfile \"log\" is of different type in source and t... |
[
{
"msg_contents": "PSA patch to fix a comment inaccurate.\n\n-- \nRegrads,\nJapin Li.\nChengDu WenWu Information Technology Co.,Ltd.",
"msg_date": "Mon, 06 Mar 2023 13:54:27 +0800",
"msg_from": "Japin Li <japinli@hotmail.com>",
"msg_from_op": true,
"msg_subject": "Inaccurate comment for pg_get_p... |
[
{
"msg_contents": "Hi\n\nIn one query I can see very big overhead of memoize node - unfortunately\nwith hits = 0\n\nThe Estimate is almost very good. See details in attachment\n\nRegards\n\nPavel",
"msg_date": "Mon, 6 Mar 2023 08:33:42 +0100",
"msg_from": "Pavel Stehule <pavel.stehule@gmail.com>",
"... |
[
{
"msg_contents": "tender wang <tndrwang@gmail.com>\n[image: 附件]14:51 (2小时前)\n发送至 pgsql-hackers\nHi hackers.\n This query has different result on 16devel and 15.2.\nselect\n sample_3.n_regionkey as c0,\n ref_7.l_linenumber as c3,\n sample_4.l_quantity as c6,\n sample_5.n_nationkey as c7,\n samp... |
[
{
"msg_contents": "Hi, we got some problem with building PostgreSQL (version 15.1) on linux \r\nldd —version returns\r\nldd (Debian GLIBC 2.31-13+deb11u5.tmw1) 2.31\r\n\r\nwe can build it all right, however we want to use binaries on different glibc version\r\n\r\nso we’re detecting usage of the glibc version >... |
[
{
"msg_contents": "Hi,\n\n- How can I determine which format will be used for a numeric type?\n- What the precision and scale values should be for pgsql to use the long\nformat? Is there a threshold?\n\nHi,- How can I determine which format will be used for a numeric type?- What the precision and scale values s... |
[
{
"msg_contents": "When skimming through pg_rewind during a small review I noticed the use of\npipe_read_line for reading arbitrary data from a pipe, the mechanics of which\nseemed odd.\n\nCommit 5b2f4afffe6 refactored find_other_exec() and broke out pipe_read_line()\nas a static convenience routine for reading... |
[
{
"msg_contents": "PGDOCS - Replica Identity quotes\n\nHi,\n\nHere are some trivial quote changes to a paragraph describing REPLICA IDENTITY.\n\nThese changes were previously made in another ongoing R.I. patch\nv28-0001 [1], but it was decided that since they are not strictly\nrelated to that patch they should ... |
[
{
"msg_contents": "I noticed that several of the List functions do simple linear searches that\ncan be optimized with SIMD intrinsics (as was done for XidInMVCCSnapshot in\n37a6e5d). The following table shows the time spent iterating over a list\nof n elements (via list_member_int) one billion times on my x86 ... |
[
{
"msg_contents": "Allow tailoring of ICU locales with custom rules\n\nThis exposes the ICU facility to add custom collation rules to a\nstandard collation.\n\nNew options are added to CREATE COLLATION, CREATE DATABASE, createdb,\nand initdb to set the rules.\n\nReviewed-by: Laurenz Albe <laurenz.albe@cybertec.... |
[
{
"msg_contents": "Hi\n\nI try to write a safeguard check that ensures the expected extension\nversion for an extension library.\n\nSome like\n\nconst char *expected_extversion = \"2.5\";\n\n...\n\nextoid = getExtensionOfObject(ProcedureRelationId, fcinfo->flinfo->fn_oid));\nextversion = get_extension_version(e... |
[
{
"msg_contents": "Commit 7170f2159fb21b62c263acd458d781e2f3c3f8bb, which introduced\nin-place tablespaces, didn't make any adjustments to pg_basebackup.\nThe resulting behavior is pretty bizarre.\n\nIf you take a plain-format backup using pg_basebackup -Fp, then the\nfiles in the in-place tablespace are backed... |
[
{
"msg_contents": "Here is a feature idea that emerged from a pgsql-bugs thread[1] that I\nam kicking into the next commitfest. Example:\n\ns1: \\c db1\ns1: CREATE TABLE t (i int);\ns1: BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;\ns1: INSERT INTO t VALUES (42);\n\ns2: \\c db2\ns2: BEGIN TRANSACTION ISOLATI... |
[
{
"msg_contents": "In [1] I wrote:\n\n> PG Bug reporting form <noreply@postgresql.org> writes:\n>> The following script:\n>> [ leaks a file descriptor per error ]\n> \n> Yeah, at least on platforms where WaitEventSets own kernel file\n> descriptors. I don't think it's postgres_fdw's fault though,\n> but that o... |
[
{
"msg_contents": "Use ICU by default at initdb time.\n\nIf the ICU locale is not specified, initialize the default collator\nand retrieve the locale name from that.\n\nDiscussion: https://postgr.es/m/510d284759f6e943ce15096167760b2edcb2e700.camel@j-davis.com\nReviewed-by: Peter Eisentraut\n\nBranch\n------\nma... |
[
{
"msg_contents": "Hi,\n\nI think that 4753ef37e0ed undid the work caf626b2c did to support\nsub-millisecond delays for vacuum and autovacuum.\n\nAfter 4753ef37e0ed, vacuum_delay_point()'s local variable msec is a\ndouble which, after being passed to WaitLatch() as timeout, which is a\nlong, ends up being 0, so... |
[
{
"msg_contents": "Hi,\n\nDuring a recent code review, I was confused multiple times by the\ntoptxn member of ReorderBufferTXN, which is defined only for\nsub-transactions.\n\ne.g. txn->toptxn member == NULL means the txn is a top level txn.\ne.g. txn->toptxn member != NULL means the txn is not a top level txn\... |
[
{
"msg_contents": "I can use relation struct to get all attributes' typeoid, so which funcion I can use\r\nto get the real type.\r\n\r\n\r\njacktby@gmail.com\r\n\n\n\nI can use relation struct to get all attributes' typeoid, so which funcion I can useto get the real type.\njacktby@gmail.com",
"msg_date": ... |
[
{
"msg_contents": "Hi all,\n\nThis is a follow-up of the point I have made a few weeks ago on this\nthread of pgsql-bugs about $subject:\nhttps://www.postgresql.org/message-id/Y/Q/17rpYS7YGbIt@paquier.xyz\nhttps://www.postgresql.org/message-id/Y/v0c+3W89NBT/if@paquier.xyz\n\nHere is a short summary of what I th... |
[
{
"msg_contents": "Hi,\n With the redesign of the archive modules:\n35739b87dcfef9fc0186aca659f262746fecd778 - Redesign archive modules\n if we were to compile basic_archive module with USE_PGXS=1, we get\ncompilation error:\n\n[]$ make USE_PGXS=1\ngcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith\... |
[
{
"msg_contents": "While looking into issue [1], I came across $subject on master. Below\nis how to reproduce it.\n\nDROP TABLE IF EXISTS t1,t2,t3,t4 CASCADE;\nCREATE TABLE t1 AS SELECT true AS x FROM generate_series(0,1) x;\nCREATE TABLE t2 AS SELECT true AS x FROM generate_series(0,1) x;\nCREATE TABLE t3 AS ... |
[
{
"msg_contents": "Hi!\n\nI wonder why does ExecMergeMatched() determine the lock mode using\nExecUpdateLockMode(). Why don't we use lock mode set by\ntable_tuple_update() like ExecUpdate() does? I skim through the\nMERGE-related threads, but didn't find an answer.\n\nI also noticed that we use ExecUpdateLock... |
[
{
"msg_contents": "Hi all,\n\n(cc'ed Amit as he has the context)\n\nWhile working on [1], I realized that on HEAD there is a problem with the\n$subject. Here is the relevant discussion on the thread [2]. Quoting my\nown notes on that thread below;\n\nI realized that the dropped columns also get into the tuples... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.