threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nOn my buildfarm host (for all my animals) I noted that slapd was by far the\nbiggest contributor to syslog. Even though there's not normally slapd\nrunning. It's of course the slapds started by various tests.\n\nWould anybody mind if I add 'logfile_only' to slapd's config in LdapServer...
[ { "msg_contents": "Sehr geehrte Damen und Herren,\n \nich bitte um Löschung meines Accountes mit dem Benutzername Korayili2001@gmx.de. Ich bitte um Bestätigung. Vielen Dank. \n \nMit freundlichen Grüßen,\n\nKoray Ili\n\nEmail: Korayili2001@gmx.de\nTel.: +49 (0) 179 3474321\nAdresse: Hansaring 21, 46483 Wesel, D...
[ { "msg_contents": "Hi,\n\nCurrently we don't support \"IF NOT EXISTS\" for Create publication and\nCreate subscription, I felt it would be useful to add this \"IF NOT\nEXISTS\" which will create publication/subscription only if the object\ndoes not exist.\nAttached patch for handling the same.\nThoughts?\n\nReg...
[ { "msg_contents": "Hi all,\n\nI was looking for a way to track actual schema changes after database migrations\nin a VCS. Preferably, the schema definition should come from a trusted source\nlike pg_dump and should consist of small files.\nThis patch was born out of that need.\n\nThis patch adds the structured ...
[ { "msg_contents": "Hi,\n\nOver in [1], I thought for a moment that a new function\nWaitLatchUs(..., timeout_us, ...) was going to be useful to fix that\nbug report, at least in master, until I realised the required Linux\nsyscall is a little too new (for example RHEL 9 shipped May '22,\nDebian 12 is expected to...
[ { "msg_contents": "Hi!\n\nI found a bug in jsonb_in function (it converts json from sting representation\n into jsonb internal representation).\n\nTo reproduce this bug (the way I found it) you should get 8bit instance of postgres db:\n\n1. add en_US locale (dpkg-reconfigure locales in debian)\n2. initdb with l...
[ { "msg_contents": "Hi,\n\nI want to suggest a patch against master (it may also be worth backporting\nit) that makes it possible to use longer filenames (such as those with\nabsolute paths) in `BackgroundWorker.bgw_library_name`.\n\n`BackgroundWorker.bgw_library_name` currently allows names up to\nBGW_MAXLEN-1,...
[ { "msg_contents": "\nIn ICU 54 and earlier, if ucol_open() is unable to find a matching\nlocale, it will fall back to the *environment*.\n\nUsing ICU 54:\n\n initdb -D data -N --locale=\"en_US.UTF-8\"\n pg_ctl -D data -l logfile start\n psql postgres -c \"create collation asdf(provider=icu, locale='asdf')\"\...
[ { "msg_contents": "Hello all,\n\nAs highlighted in [1] fseek() might fail to error even when accessing\nunseekable streams.\n\nPFA a patch that checks the file type before the actual fseek(), so only\nsupported calls are made.\n\n[1]\nhttps://www.postgresql.org/message-id/flat/b1448cd7-871e-20e3-8398-895e2d1d3b...
[ { "msg_contents": "Hi,\n\n\nUnfortunately DROP DATABASE does not hold interrupt over its crucial steps. If\nyou e.g. set a breakpoint on DropDatabaseBuffers() and then do a signal\nSIGINT, we'll process that interrupt before the transaction commits.\n\nA later connect to that database ends with:\n2023-03-14 10:...
[ { "msg_contents": "I have identified several open issues with the documentation build under \nMeson (approximately in priority order):\n\n1. Image files are not handled at all, so they don't show up in the \nfinal product.\n\n2. Defaults to website stylesheet, no way to configure. This should be \nadjusted to ...
[ { "msg_contents": "While comparing the .pc (pkg-config) files generated by the make and \nmeson builds, I noticed that the Requires.private entries use different \ndelimiters. The make build uses spaces, the meson build uses commas. \nThe pkg-config documentation says that it should be comma-separated, but \na...
[ { "msg_contents": "Hi,\n\nI noticed that there are some duplicated codes in pgoutput_change() function\nwhich can be simplified, and here is an attempt to do that.\n\nBest Regards,\nHou Zhijie", "msg_date": "Wed, 15 Mar 2023 08:29:54 +0000", "msg_from": "\"houzj.fnst@fujitsu.com\" <houzj.fnst@fujitsu.co...
[ { "msg_contents": "Hi,\n\nWhile working on something else, I noticed that the “if (entry->conn\n== NULL)” test after doing disconnect_pg_server() when re-establishing\na given connection in GetConnection() is pointless, because the former\nfunction ensures that entry->conn is NULL. So I removed the if-test.\nA...
[ { "msg_contents": "Hi Everyone,\r\n\r\nI am working on the initial schema sync for Logical replication. Currently, user have to\r\nmanually create a schema on subscriber side. Aim of this feature is to add an option in\r\ncreate subscription, so that schema sync can be automatic. I am sharing Design Doc below,\...
[ { "msg_contents": "I've downloaded the PostgreSQL 14.7 source and building it on Windows 64bit and 32bit.\n\nI'm using the Visual Studio tools in the src/tools/msvc folder.\n\nI'm trying to build with the uuid extension but it looks like I need uuid-ossp installed in order\nto get it to work.\n\nThe source down...
[ { "msg_contents": "Hi everyone,\n\nI'm Tej, a grad student poking around postgres for a project.\n\nFor my use case, I'm trying to ascertain if there are any in-flight\ntransactions that are yet to be replicated to synchronous standbys (in a\nsynchronous streaming replication setting)\n\nThe first way to do thi...
[ { "msg_contents": "Hi hackers,\n\nIt is well known fact that queries using sequential scan can not be used \nto prewarm cache, because them are using ring buffer\neven if shared buffers are almost empty.\nI have searched hackers archive but failed to find any discussion about it.\nWhat are the drawbacks of usin...
[ { "msg_contents": "Hello.\n\nWhen I ran pg_ls_dir('..'), the error message I received was somewhat\ndifficult to understand.\n\npostgres=> select * from pg_ls_dir('..');\nERROR: path must be in or below the current directory\n\nAs far as I know the concept of a \"current directory\" doesn't apply to\nthe serve...
[ { "msg_contents": "Hi all,\n\nlibpq has kept some code related to the support of authentication with\nSCM credentials for some time now, code dead in the backend since\n9.1. Wouldn't it be time to let it go and remove this code entirely,\nerroring in libpq if attempting to connect to a server that supports\nth...
[ { "msg_contents": "When looking at the report in [0] an API choice in the relevant pg_upgrade code\npath stood out as curious. check_is_install_user() runs this query to ensure\nthat only the install user is present in the cluster:\n\n res = executeQueryOrDie(conn,\n \"SELECT COUN...
[ { "msg_contents": "Hi\n\nsee\n\n[504/2287] Compiling C object\nsrc/backend/postgres_lib.a.p/access_transam_xlogrecovery.c.o\nIn function ‘recoveryStopsAfter’,\n inlined from ‘PerformWalRecovery’ at\n../src/backend/access/transam/xlogrecovery.c:1749:8:\n../src/backend/access/transam/xlogrecovery.c:2737:42: wa...
[ { "msg_contents": "I notice a number of places in fe-connect.c have copied this idiom\nwhere if an option is present they validate the legal options and\notherwise they strdup a default value. This strdup of the default\noption I think is being copied from sslmode's validation which is a\nbit special but afaics...
[ { "msg_contents": "Hi\n\nand queryjumblefuncs.switch.c files.\n\nRegards\n\nPavel\n\nHiand queryjumblefuncs.switch.c files.RegardsPavel", "msg_date": "Fri, 17 Mar 2023 21:11:53 +0100", "msg_from": "Pavel Stehule <pavel.stehule@gmail.com>", "msg_from_op": true, "msg_subject": "meson issue? ninja ...
[ { "msg_contents": "Hi,\n\nAs evidenced by the bug fixed in be504a3e974, vacuum_defer_cleanup_age is not\nheavily used - the bug was trivial to hit as soon as vacuum_defer_cleanup_age\nis set to a non-toy value. It complicates thinking about visibility horizons\nsubstantially, as vacuum_defer_cleanup_age can mak...
[ { "msg_contents": "Hi,\n\nPeter Smith has recently reported a BF failure [1]. AFAICS, the call\nstack of failure [2] is as follows:\n\n0x1e66644 <ExceptionalCondition+0x8c> at postgres\n0x1d0143c <pgstat_release_entry_ref+0x4c0> at postgres\n0x1d02534 <pgstat_get_entry_ref+0x780> at postgres\n0x1cfb120 <pgstat_...
[ { "msg_contents": "Hi,\n\nI'm attaching a patch to do $subject in autoprewarm.c and worker_spi\nextensions. The way it is right now doesn't hurt anyone, but why to\nfail after defining custom GUCs if we aren't loading them via\nshared_preload_libraries.\n\nThoughts?\n\n-- \nBharath Rupireddy\nPostgreSQL Contrib...
[ { "msg_contents": "Hi hackers,\n\n In heap_create_with_catalog, the Relation new_rel_desc is created\nby RelationBuildLocalRelation, not table_open. So it's better to\ncall RelationClose to release it.\n\nWhat's more, the comment for it seems useless, just delete it.\n\nThanks!", "msg_date": "Sat, 18 Mar 20...
[ { "msg_contents": "Hi,\nPostgreSQL passes bytea arguments to PL/Perl functions as hexadecimal strings, which is not only inconvenient, but also memory and time consuming.\nSo I decided to propose a simple transform extension to pass bytea as native Perl octet strings.\nPlease find the patch attached.\n \nRegard...
[ { "msg_contents": "Hello everyone and Tom.\n\nTom, this is about your idea (1) from 2010 to replace spinlock with a\nmemory barrier in a known assignment xids machinery.\n\nIt was mentioned by you again in (2) and in (3) we have decided to\nextract this change into a separate commitfest entry.\n\nSo, creating i...
[ { "msg_contents": "Hi,\n\nI observed absurd behaviour while using pg_logical_slot_peek_changes()\nand pg_logical_slot_get_changes(). Whenever any of these two functions\nare called to read the changes using a decoder plugin, the following\nmessages are printed in the log for every single such call.\n\n2023-03-1...
[ { "msg_contents": "Hi all,\n\n$subject has been discussed here, still seems worth its own thread for\nclarity:\nhttps://www.postgresql.org/message-id/4037249.1679011812@sss.pgh.pa.us\n\nSupport for Kerberos v4 has been removed in a159ad3 (2005) and the\nsame happened for v5 in 98de86e (2014, meaning that this i...
[ { "msg_contents": "Hello all,\nThis PostgreSQL version is 11.9.\nIn LockAcquireExtended(), why if lock requested conflicts with locks requested by waiters, must join\nwait queue. Why does the lock still check for conflict with the lock requested, \nrather than check for directly with conflict with the already-h...
[ { "msg_contents": "Hi all,\n\nNathan has reported to me offlist that maintainer-clean was not doing\nits job for the files generated by gen_node_support.pl in\nsrc/backend/nodes/ for the query jumbling. Attached is a patch to\ntake care of this issue.\n\nWhile on it, I have found a comment in the related READM...
[ { "msg_contents": "I found an error message added by de4d456b406bf502341ef526710d3f764b41e2c8.\n\nWhen I incorrectly configured the primary_conninfo with the wrong\nuser, I received the following message on the server logs of both\nservers involved in a physical replcation set.\n\n[27022:walsender] FATAL: perm...
[ { "msg_contents": "After the discussion in [0] ff., I was looking around in pg_attribute \nand noticed that we could possibly save 4 bytes. We could change both \nattstattarget and attinhcount from int4 to int2, which together with \nsome reordering would save 4 bytes from the fixed portion.\n\nattstattarget i...
[ { "msg_contents": "Dear hackers,\n\nWhile checking documentations, I found that one line notes our product as\n\"<productname>PostgreSQL</productname>\", whereas another line notes as just\n\"PostgreSQL\". For example, in bgworker.sgml:\n\n```\nPostgreSQL can be extended to run user-supplied code in separate pr...
[ { "msg_contents": "Hi, all\n\nFound several typos like plgsql, I think it should be plpgsql.\n\n\nRegards,\nZhang Mingli", "msg_date": "Tue, 21 Mar 2023 00:26:17 +0800", "msg_from": "Zhang Mingli <zmlpostgres@gmail.com>", "msg_from_op": true, "msg_subject": "Fix typo plgsql to plpgsql." }, {...
[ { "msg_contents": "Hi all,\n\nWe have a situation where we need to revoke SELECT on a table that\nbelongs to our extension, and we also need to let less privileged users\ndump the extension's external config tables. (The restricted table's\ncontents are exposed through a security_barrier view, and it's a cloud\...
[ { "msg_contents": "Yesterday, in 785f70957, I adjusted the Memoize costing code to\naccount for the size of the cache key when estimating how many cache\nentries can exist at once in the cache. That effectively makes\nMemoize a less likely choice as fewer entries will be expected to fit\nin work_mem now.\n\nBe...
[ { "msg_contents": "Hi,\n\nWhile hacking on my relation extension patch I found two issues with WAL_LOG:\n\n1) RelationCopyStorageUsingBuffer() doesn't free the used strategies. This\n means we'll use #relations * ~10k memory\n\n2) RelationCopyStorageUsingBuffer() gets the buffer for the target relation\n wi...
[ { "msg_contents": "Hi,\nHash table scans (seq_scan_table/level) are cleaned up at the end of a\ntransaction in AtEOXact_HashTables(). If a hash seq scan continues\nbeyond transaction end it will meet \"ERROR: no hash_seq_search scan\nfor hash table\" in deregister_seq_scan(). That seems like a limiting\nthe has...
[ { "msg_contents": "Hi,\n\nI have noticed a rather odd behaviour that is not strictly a bug, but is\nunexpected.\n\nIt is when a immutable (or stable) PG function is returning results in a\nrecord structure a select on these calls the function repeatedly for each\nelement in the output record.\n\nSee below for a...
[ { "msg_contents": "While working on something else, I noticed $SUBJECT added by commit 86dc90056:\n\n * For UPDATE and DELETE queries, the targetlist must also contain \"junk\"\n * tlist entries needed to allow the executor to identify the rows to be\n * updated or deleted; for example, the ctid of a heap row. ...
[ { "msg_contents": "Hi all,\n\nI started this new thread from another thread[1] where we're\ndiscussing a new storage for TIDs, TidStore, since we found a\ndifficulty about the memory usage limit for TidStores on DSA.\n\nTidStore is a new data structure to efficiently store TIDs, backed by\na radix tree. In the ...
[ { "msg_contents": "Hi,\r\n\r\nWe are pleased to announce the Release Management Team (RMT) (cc'd) for\r\nthe PostgreSQL 16 release:\r\n\r\n - Alvaro Herrera\r\n - Amit Kapila\r\n - Jonathan Katz\r\n\r\nYou can find information about the responsibilities of the RMT here:\r\n\r\n https://wiki.postgres...
[ { "msg_contents": "So back in 2002 in 7.3 there was a commit 2c6b34d9598 which added a\nGUC db_user_namespace which is stored in a variable Db_user_namespace.\nAll that seems fine except...\n\nThe variable this GUC is stored in is Db_user_namespace which... is\nactually declared in pqcomm.h which is intended to...
[ { "msg_contents": "The -isysroot options should only be added if the sysroot resolved to a \nnonempty string. This matches the behavior in src/template/darwin (also \ndocumented in installation.sgml).", "msg_date": "Wed, 22 Mar 2023 08:34:00 +0100", "msg_from": "Peter Eisentraut <peter.eisentraut@enter...
[ { "msg_contents": "Hi!\n\nComments in src/backend/libpq/auth.c [1] say:\n(after successfully finding the final DN to check the user-supplied\npassword against)\n/* Unbind and disconnect from the LDAP server */\nand later\n/*\n* Need to re-initialize the LDAP connection, so that we can bind to\n* it with a diffe...
[ { "msg_contents": "Hi,\n\nCommit dee663f7 made WAIT_EVENT_SLRU_FLUSH_SYNC redundant, so here's a\npatch to remove it.\n\nIn case it's useful again, here's how I noticed:\n\nfor X in ` grep WAIT_EVENT_ src/include/utils/wait_event.h |\n sed '/^#/d;s/,//;s/ = .*//' `\ndo\n if ! ( git grep $X |\n ...
[ { "msg_contents": "Dear hackers, (CC: reviewers of copy-binary patch)\n\nThis is an follow-up thread of [1]. PSA patch that adds an attributes.\n\nBy ecb6965, an XML ID attribute is added only one varlistentry in create_subscription.sgml.\nBut according to the commit 78ee60 and related discussions [2], [3], it ...
[ { "msg_contents": "Hi, hackers\n\nI propose to slightly improve the performance of nested loop join in the\ncase of partitioned inner table.\nAs I see in the code, the backend looks for the partition of the inner\ntable each time after fetch a new row from the outer table.\nThese searches can take a significant...
[ { "msg_contents": "Looks like we need a little magic to allow pg_bsd_indent to be part of a \nvpath build:\n\n\n<https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=fairywren&dt=2023-03-23%2014%3A21%3A08&stg=module-pg_bsd_indent-check>\n\n\nIt succeeded if I added this to the Makefile:\n\n\nCFLAGS += ...
[ { "msg_contents": "Hi hackers,\n\nWhile reviewing another thread [1] I could not find the function\n'pg_get_publication_tables' described anywhere in the PG\ndocumentation.\n\nShould it be mentioned somewhere like the \"System Catalog Information\nFunctions\" table [2], or was this one deliberately omitted for ...
[ { "msg_contents": "%s/pg_current_xact/pg_current_xact_id\n\n-- \nRegards\nJunwang Zhao", "msg_date": "Fri, 24 Mar 2023 15:16:01 +0800", "msg_from": "Junwang Zhao <zhjwpku@gmail.com>", "msg_from_op": true, "msg_subject": "fix a typo in file src/backend/utils/adt/xid8funcs.c comment" }, { ...
[ { "msg_contents": "> But why are there no anchors next to> <h3> items on that page?  For example,> how do I get the link for the> \"Meta Commands\" subsection?I can't look at the code right now, but I suspect the headers are refsections (not sections) which this patch does not add links for yet.I already have p...
[ { "msg_contents": "amcheck: Fix verify_heapam for tuples where xmin or xmax is 0.\n\nIn such cases, get_xid_status() doesn't set its output parameter (the\nthird argument), so we shouldn't fall through to code which will test\nthe value of that parameter. There are five existing calls to\nget_xid_status(), thre...
[ { "msg_contents": "It looks like cfbot is stuck since 13h ago.\n\nhttps://cirrus-ci.com/github/postgresql-cfbot/postgresql\n\n\n", "msg_date": "Fri, 24 Mar 2023 14:23:20 -0500", "msg_from": "Justin Pryzby <pryzby@telsasoft.com>", "msg_from_op": true, "msg_subject": "cfbot stuck" }, { "ms...
[ { "msg_contents": "Ever since 27b62377b47f9e7bf58613, I have been getting \"ERROR: mergejoin\ninput data is out of order\" for the attached reproducer.\n\nI get this on Ubuntu 20.04 and 22.04, whether initdb was run under LC_ALL=C\nor under LANG=en_US.UTF-8.\n\nIt is not my query, I don't really know what its ...
[ { "msg_contents": "Hi,\n\nWhen building the pdf docs, fop emits a line for each page of the docs:\n> ...\n> [INFO] FOUserAgent - Rendered page #2931.\n\nwhich, given the length of our docs, makes the output pretty pointless. Even\nif there are warnings, one likely won't notice them.\n\nI just figured out that o...
[ { "msg_contents": "Hello,\n\nRecently I have been trying to use libpq's pipeline mode in a project,\nand in the process I have noticed that the PQpipelineSync() function\nhas a deficiency (which, to be fair, could be an advantage in other\nsituations): It combines the establishment of a synchronization point\ni...
[ { "msg_contents": "Hi,\n\nStarting with\n\ncommit 7db0cd2145f2bce84cac92402e205e4d2b045bf2\nAuthor: Tomas Vondra <tomas.vondra@postgresql.org>\nDate: 2021-01-17 22:11:39 +0100\n\n Set PD_ALL_VISIBLE and visibility map bits in COPY FREEZE\n\nRelationGetBufferForTuple does\n\n\t/*\n\t * The page is empty, pi...
[ { "msg_contents": "I happened to notice a constant-TRUE clause with is_pushed_down being\ntrue while its required_relids not including the OJ being formed, which\nseems abnormal to me. It turns out that this clause comes from\nreconsider_outer_join_clauses(), as a dummy replacement if we've\ngenerated a derive...
[ { "msg_contents": "Hi,\n\nThis small patch proposes the implementation of the standard SQL/XML \nfunction XMLText (X038). It basically converts a text parameter into an \nxml text node. It uses the libxml2 function xmlEncodeSpecialChars[1] to \nescape possible predefined entities.\n\nThis patch also contains do...
[ { "msg_contents": "Hi,\n\n\nconfig/perl.m4 contains this:\n\n\n AC_MSG_CHECKING(for flags to link embedded Perl)\n if test \"$PORTNAME\" = \"win32\" ; then\n perl_lib=`basename $perl_archlibexp/CORE/perl[[5-9]]*.lib .lib`\n if test -e \"$perl_archlibexp/CORE/$perl_lib.lib\"; then\n ...
[ { "msg_contents": "Hi,\n\nA question by Justin made me wonder what the right behaviour for world,\ninstall-world should be when the docs tools aren't available. I'm wondering\nfrom the angle of meson, but it also seems something we possibly should think\nabout for autoconf.\n\nRight now if one does install-worl...
[ { "msg_contents": "Currently pg_test_timing utility measures its timing overhead in\nmicroseconds, giving results like this\n\n~$ /usr/lib/postgresql/15/bin/pg_test_timing\nTesting timing overhead for 3 seconds.\nPer loop time including overhead: 18.97 ns\nHistogram of timing durations:\n < us % of total ...
[ { "msg_contents": "When a parallel query gets cancelled on a standby due to\nmax_standby_streaming_delay, it happens rather awkwardly. I get two errors\nstacked up, a query cancellation followed by a connection termination.\n\nI use `pgbench -R 1 -T3600 -P5` on the master to generate a light but\nsteady stream...
[ { "msg_contents": "Andres,\n Apologies to pick on you directly.\n But it appears that sites are refusing HTTP requests,\nand it's affecting compilation of docs in a new configuration.\n\n I was surprised to see NON-HTTPS references in 2023, tbh...\nI cannot even curl these references.\n\n Maybe I am missing...
[ { "msg_contents": "Hi,\n\nI recently observed an assertion failure [1] a few times on my dev\nsetup during initdb. The code was built with --enable-debug\n--enable-cassert CFLAGS=\"-ggdb3 -O0\". The assertion was gone after I\ndid make distclean and built the source code again. It looks like the\nsame relation ...
[ { "msg_contents": "Hi hackers,\n\nI wonder why while calculating cost of parallel scan we divide by \nparallel_divisor only CPU run cost,\nbut not storage access cost? So we do not take in account that reading \npages is also performed in parallel.\nActually I observed strange behavior when increasing work_mem ...
[ { "msg_contents": "Hi hackers!\n\nI've got a question on the JsonPath header - currently the header size\nis 4 bytes, where there are version and mode bits. Is there somewhere\na defined size of the version part? There are some extensions working\nwith JsonPath, and we have some too, thus it is important how ma...
[ { "msg_contents": "Hey Everyone,\n\nI am Parth Ratra from India majoring in CSE. I have *hands-on experience\nwith HTML/Vanilla CSS/ JS, Reactjs and CI/CD pipelines through various\nprojects. I am proficient in C/C++, Python, and Django* as well.\n\n\n*I am super excited to work with PostgreSQL and would like t...
[ { "msg_contents": "Hi,\n\nvisibilitymap.c currently marks empty pages as all visible, including WAL\nlogging them:\n\n if (PageIsEmpty(page))\n...\n /*\n * Empty pages are always all-visible and all-frozen (note that\n * the same is currently not true for new pages, see abo...
[ { "msg_contents": "While working on [0], I was wondering why the collations ucs_basic and \nunicode are not in pg_collation.dat. I traced this back through \nhistory, and I think this was just lost in a game of telephone.\n\nThe initial commit for pg_collation.h (414c5a2ea6) has only the default \ncollation in...
[ { "msg_contents": "I have to run now so can't dissect it, but while running sqlsmith on the\nSQL/JSON patch after Justin's report, I got $SUBJECT in this query:\n\nMERGE INTO public.target_parted as target_0\n USING (select \n subq_0.c5 as c0, \n subq_0.c0 as c1, \n ref_0.a as c2,...
[ { "msg_contents": "Hello,\n\nAttached patch introduces a function pg_column_toast_chunk_id\nthat returns a chunk ID of a TOASTed value.\n\nRecently, one of our clients needed a way to show which columns\nare actually TOASTed because they would like to know how much\nupdates on the original table affects to its ...
[ { "msg_contents": "Hello,\n\n\nTemporary tables are often used to store transient data in\nbatch processing and the contents can be accessed multiple\ntimes. However, frequent use of temporary tables has a problem\nthat the system catalog tends to bloat. I know there has been\nseveral proposals to attack this p...
[ { "msg_contents": "Hi,\n\nI would like to suggest a patch against master (although it may be worth\nbackporting it) that makes it possible to listen on any unused port.\n\nThe main motivation is running colocated instances of Postgres (such as\ntest benches) without having to coordinate port allocation in an\nu...
[ { "msg_contents": "Hi,\n\nPreviously, we read int this mailing list some controversial opinions on \nqueryid generation and Jumbling technique. Here we don't intend to solve \nthese problems but help an extension at least don't conflict with others \non the queryId value.\n\nExtensions could need to pass some q...
[ { "msg_contents": "Hi hackers,\n\nIn another thread [1], Thomas had the idea to $SUBJECT in a similar way\nto what is currently done with src/backend/storage/lmgr/lwlocknames.txt.\n\nDoing so, like in the attached patch proposal, would help to avoid:\n\n- wait event without documentation like observed in [2]\n-...
[ { "msg_contents": "Hi hackers,\n\nA while back we added support for completing time zone names after SET\nTIMEZONE, but we failed to do the same for the AT TIME ZONE operator.\nHere's a trivial patch for that.\n\n- ilmari", "msg_date": "Wed, 29 Mar 2023 11:28:00 +0100", "msg_from": "=?utf-8?Q?Dagfinn_Il...
[ { "msg_contents": "Hi,\n\nWhilst reading up on the transaction commit code, I noticed the following lines:\n\n /* Tell bufmgr and smgr to prepare for commit */\n BufmgrCommit();\n\nBufmgrCommit does exactly nothing; it is an empty function and has\nbeen since commit 33960006 in late 2008 when it stopped calli...
[ { "msg_contents": "Good evening,\nI'm a Master degree student at University of Padua in Italy and I'm\ndeveloping a web application as assignment for the Web application course.\n\nContext: the Web application that my group is developing would ideally be\nused to manage county side fairs where there would be f...
[ { "msg_contents": "Dear hackers,\n\nThis thread is motivated from [1]. This patch adds some links that refer publication options.\n\nWhile adding missing ID attributes to create_subscription.sgml, we found that\nthis could extend to create_publication.sgml. In the file no entries have an XML\nID attribute, but ...
[ { "msg_contents": "The pg_basebackup code has WalSegSz as uint32, whereas the rest of the \ncode has it as int. This seems confusing, and using the extra range \nwouldn't actually work. This was in the original commit (fc49e24fa6), \nbut I suppose it was an oversight.", "msg_date": "Thu, 30 Mar 2023 08:24...
[ { "msg_contents": "Hi Reid!\nSome thoughts\nI was looking at lmgr/proc.c, and I see a potential integer overflow - both max_total_bkend_mem and result are declared as “int”, so the expression “max_total_bkend_mem * 1024 * 1024 - result * 1024 * 1024” could have a problem when max_total_bkend_mem is set to 2G or...
[ { "msg_contents": "Is there a barrier to us using non-core perl modules, in this case\nText::Template?\n\nI think it would be a tremendous improvement in readability and\nmaintainability over our current series of print statements, some\nmultiline, some not.\n\nThe module itself works like this https://www.perl...
[ { "msg_contents": "Clean up role created in new subscription test.\n\nThis oversight broke repeated runs of \"make installcheck\".\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/e9d202a1499d6a70e80d080fcdba07fe6707845d\n\nModified Files\n--------------\nsrc/test/regress/...
[ { "msg_contents": "Hi,\n\nI was working on committing patch 0001 from [1] and was a bit confused about\nsome of the changes to the WAL format for gist and hash index vacuum. It\nlooked to me that the changed code just flat out would not work.\n\nTurns out the problem is that we don't reach deletion for hash and...
[ { "msg_contents": "Hi, hackers\n\nWhen I exec a sql SELECT INTO without columns or * by mistake, it succeeds:\n\nselect * from t1;\n a | b\n---+---\n 1 | 2\n 2 | 3\n 3 | 4\n(3 rows)\n\nselect into t2 from t1;\nSELECT 3\n\n \\pset null '(null)'\nNull display is \"(null)\".\n\nselect * from t2;\n--\n(3 rows)\n\nI...
[ { "msg_contents": "Hi,\n\nI think that commit f0d65c0\n<https://github.com/postgres/postgres/commit/f0d65c0eaf05d6acd3ae05cde4a31465eb3992b2>\nhas an oversight.\n\nAttnum == 0, is system column too, right?\n\nAll other places at tablecmds.c, has this test:\n\nif (attnum <= 0)\n ereport(ERROR,\n\nregards,\nRa...
[ { "msg_contents": "Hello,\n\nPatch attached below. TLDR, I'd like to add \"host\" to the startup packet.\n\nI'm trying to run multiple Postgres servers in a multi-tenant environment\nbehind a pooler <https://github.com/postgresml/pgcat>. Currently, the only\nway to differentiate Postgres databases is with the u...
[ { "msg_contents": "Hi,\n\nCommit 7389aad6 started using WaitEventSetWait() to wait for incoming\nconnections. Before that, we used select(), for which we have our own\nimplementation for Windows.\n\nWhile hacking on patches to rip a bunch of unused Win32 socket wrapper\ncode out, I twigged that the old pgwin32...
[ { "msg_contents": "hi hackers,\n\nnow that the heap relation is passed down to vacuumRedirectAndPlaceholder()\nthanks to 61b313e47e, we can also pass it down to GlobalVisTestFor() too (to\nallow more pruning).\n\nPlease find attached a tiny patch to do so.\n\nRegards,\n\n-- \nBertrand Drouvot\nPostgreSQL Contri...
[ { "msg_contents": "Hi,\n\nIt looks like comments in make file and meson file about not running\nbasic_archive tests in NO_INSTALLCHECK mode are wrong. The comments say the\nmodule needs to be loaded via shared_preload_libraries=basic_archive, but\nit actually doesn't. The custom file needs archive related param...
[ { "msg_contents": "Hi,\n\nI found that the enable_hashjoin disables HashJoin completely.\nIt's in the function add_paths_to_joinrel:\n\nif (enable_hashjoin || jointype == JOIN_FULL)\n\thash_inner_and_outer(root, joinrel, outerrel, innerrel,\n\t\t\t\tjointype, &extra);\n\nInstead, it should add a disable cost to...
[ { "msg_contents": "Dear hackers,\n\nWhile reading codes, I noticed that pg_upgrade/t/001_basic.pl and\npg_upgrade/t/002_pg_upgrade.pl do not contain the copyright.\n\nI checked briefly and almost all files have that, so I thought they missed it.\nPSA the patch to fix them.\n\nBest Regards,\nHayato Kuroda\nFUJIT...
[ { "msg_contents": "Hello hackers.\n\nThis patch adds the backend's statement_timeout value to pg_stat_activity.\n\nThis would provide some insights on clients that are disabling a default\nstatement timeout or overriding it through a pgbouncer, messing with other\nsessions.\n\npg_stat_activity seemed like the b...
[ { "msg_contents": "Hi,\n\nLooks like fairywren is possibly seeing something I saw before and spent many\ndays looking into:\nhttps://postgr.es/m/20220909235836.lz3igxtkcjb5w7zb%40awork3.anarazel.de\nwhich led me to add the following to .cirrus.yml:\n\n # Cirrus defaults to SetErrorMode(SEM_NOGPFAULTERRORBOX ...