threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": ">OTOH, when I execute ALTER SUBSCRIPTION ... SET (slot_name=''), it doesn't\ncomplain. However,\n>SELECT select pg_create_logical_replication_slot('', 'pgoutput') complains\nslot name is too\n>short. Although, the slot will be created at publisher, and validate the\nslot name, IMO, we\n>can a... |
[
{
"msg_contents": "Hello,\n\n(I hope it's okay to ask general internals questions here; if this list is\nstrictly for development, I'll keep my questions on -general but since I'm\nasking about internal behavior, this seemed more appropriate.)\n\nI was playing around with inspecting TOAST tables in order to und... |
[
{
"msg_contents": "Hi hackers,\n\nWe've had node-casting versions of the list extraction macros since\n2017, but several cases of the written-out version have been added since\nthen (even by Tom, who added the l*_node() macros).\n\nHere's a patch to convert the remaining ones. The macros were\nback-patched to ... |
[
{
"msg_contents": "Spotted a few random typos in comments while reading code, will apply these\ntomorrow or so unless there are objections.\n\n--\nDaniel Gustafsson\t\thttps://vmware.com/",
"msg_date": "Thu, 8 Jul 2021 00:12:19 +0200",
"msg_from": "Daniel Gustafsson <daniel@yesql.se>",
"msg_from_op"... |
[
{
"msg_contents": "This is a re-posting of my original mail from here [1]\nCreated this new discussion thread for it as suggested here [2]\n\n[1] https://www.postgresql.org/message-id/CAHut%2BPtT0--Tf%3DK_YOmoyB3RtakUOYKeCs76aaOqO2Y%2BJt38kQ%40mail.gmail.com\n[2] https://www.postgresql.org/message-id/CAA4eK1L0G... |
[
{
"msg_contents": "If the block size is 32k, the function page_header of the pageinspect \nmodule returns negative numbers:\n\npostgres=# select * from page_header(get_raw_page('t1',0));\n lsn | checksum | flags | lower | upper | special | pagesize | \nversion | prune_xid\n-----------+----------+-------+... |
[
{
"msg_contents": "Hello, hackers\n\n\nWhen the current HEAD fails during logical decoding, the failure\nincrements txns count in pg_stat_replication_slots - [1] and adds\nthe transaction size to the sum of bytes in the same repeatedly\non the publisher, until the problem is solved.\nOne of the good examples is... |
[
{
"msg_contents": "Hi all,\nI am a new maintainer of PostgreSQL in Fedora and RHEL. Currently, I am\nsolving usage SHA-1 for key-derivation in pgcrypto (the s2k-digest-algo).\nIn the documentation <https://www.postgresql.org/docs/8.3/pgcrypto.html>, I\nhave found that there are options SHA-1 or MD5. Unfortunat... |
[
{
"msg_contents": "Hi all,\n\nWhen reading the doc of ALTER SUBSCRIPTION I realized that 'refresh\noptions' in the following paragraph is not tagged:\n\n---\nAdditionally, refresh options as described under REFRESH PUBLICATION\nmay be specified, except in the case of DROP PUBLICATION.\n---\n\nWhen I read it for... |
[
{
"msg_contents": "Hi.\n\nThis is a proposal for a new feature in statistics collector.\nI think we need to add statistics about refresh matview to \npg_stat_all_tables view.\n\nWhen the \"REFRESH MATERIALIZED VIEW\" was executed, the number of times \nit was executed\nand date it took were not recorded anywher... |
[
{
"msg_contents": "Are we going to be forever explaining that enable_resultcache doesn't\ncache query results? Do we need a different name? \nenable_innerjoin_cache?\n\n-- \n Bruce Momjian <bruce@momjian.us> https://momjian.us\n EDB https://enterprisedb.com\n\n I... |
[
{
"msg_contents": "Hi hackers,\n\nDuring logical decoding, we have recently observed (and reported in [1]) \nerrors like:\n\nERROR: could not open relation with OID 0\n\nAfter investigating a recent issue on a PostgreSQL database that was \nencountering this error, we found that the logical decoding of relatio... |
[
{
"msg_contents": "I found that the psql tab auto-complete was not working for some cases\nof CREATE PUBLICATION [1].\n\nCREATE PUBLICATION name\n [ FOR TABLE [ ONLY ] table_name [ * ] [, ...]\n | FOR ALL TABLES ]\n [ WITH ( publication_parameter [= value] [, ... ] ) ]\n\n~~~\n\nFor example, the foll... |
[
{
"msg_contents": "Hi hackers,\n\nI'd like to add kerberos authentication support for postgres_fdw by adding two\noptions to user mapping: krb_client_keyfile and gssencmode.\n\nIn the backend we have krb_server_keyfile option to specify a keytab file to\nbe used by postgres server, krb_client_keyfile is doing m... |
[
{
"msg_contents": "Hi hackers,\n\nI'd like to add kerberos authentication support for postgres_fdw by adding two\noptions to user mapping: krb_client_keyfile and gssencmode.\n\nIn the backend we have krb_server_keyfile option to specify a keytab file to\nbe used by postgres server, krb_client_keyfile is doing m... |
[
{
"msg_contents": "Hi,\n\nAs suggested on a different thread [1], pg_receivewal can increase it's test\ncoverage. There exists a non trivial amount of code that handles gzip\ncompression. The current patch introduces tests that cover creation of gzip\ncompressed WAL files and the handling of gzip partial segmen... |
[
{
"msg_contents": "Hi,\nI was looking at find_hash_columns() in nodeAgg.c\n\nIt seems the first loop tries to determine the max column number needed,\nalong with whether all columns are needed.\n\nThe loop can be re-written as shown in the patch.\n\nIn normal cases, we don't need to perform scanDesc->natts iter... |
[
{
"msg_contents": "Hi,\n\nI've always had a hard time distinguishing various types of\nprocesses/terms used in postgres. I look at the source code every time\nto understand them, yet I don't feel satisfied with my understanding.\nI request any hacker (having a better idea than me) to help me with\nwhat each dif... |
[
{
"msg_contents": "Hi Hackers,\n\nI just noticed there's no tab completion for CREATE SCHEMA\nAUTHORIZATION, nor for anything after CREATE SCHEMA <name>.\n\nPlease find attached a patch that adds this.\n\n- ilmari",
"msg_date": "Fri, 09 Jul 2021 17:20:04 +0100",
"msg_from": "ilmari@ilmari.org (Dagfinn I... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 17098\nLogged by: Alexander Lakhin\nEmail address: exclusion@gmail.com\nPostgreSQL version: 14beta2\nOperating system: Ubuntu 20.04\nDescription: \n\nWhen trying to add to an extension a type that ... |
[
{
"msg_contents": "Fix numeric_mul() overflow due to too many digits after decimal point.\n\nThis fixes an overflow error when using the numeric * operator if the\nresult has more than 16383 digits after the decimal point by rounding\nthe result. Overflow errors should only occur if the result has too\nmany dig... |
[
{
"msg_contents": "Hi,\n\nWhile analyzing a possible use of an uninitialized variable, I checked that\n*_bt_restore_page* can lead to memory corruption,\nby not checking the maximum limit of array items which is\nMaxIndexTuplesPerPage.\n\nIt can also generate a dangling pointer by incrementing it beyond the\nli... |
[
{
"msg_contents": "Sorry I have sent a duplicate email. I will first continue discussion\nin the other thread and then submit it after we have a conclusion.\nThanks.\n\nPeifeng\n\n\n\n\n\n\n\n\n\nSorry I have sent a duplicate email. I will first continue discussion\n\nin the other thread and then submit it afte... |
[
{
"msg_contents": "Hi,\n\nWhile I’m reading source codes related to vacuum, I found comments which\ndon’t seem to fit the reality. I think the commit[1] just forgot to fix them.\nWhat do you think?\n\n[1] https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=dc7420c2c9274a283779ec19718d2d16323640c0\n\n... |
[
{
"msg_contents": "While looking into one of the pg_upgrade issue, I found it\n\nchallenging to find out the database that has the datallowconn set to\n\n'false' that was throwing following error:\n\n\n*\"All non-template0 databases must allow connections, i.e. their\npg_database.datallowconn must be true\"*\n\... |
[
{
"msg_contents": "Hackers,\n\nThe Commitfest 2021-07 is now in progress. It is one of the biggest one.\nTotal number of patches of this commitfest is 342.\n\nNeeds review: 204.\nWaiting on Author: 40.\nReady for Committer: 18.\nCommitted: 57.\nMoved to next CF: 3.\nWithdrawn: 15.\nRejected: 3.\nReturned with F... |
[
{
"msg_contents": "Over on [1], Ronan is working on allowing Datum sorts for nodeSort.c\nwhen we're just sorting a single Datum.\n\nI was looking at his v4 patch and noticed that he'd modified\nfree_sort_tuple() to conditionally only free the sort tuple if it's\nnon-NULL. Without this change, the select.sql re... |
[
{
"msg_contents": "Hi,\n\nAs suggested in [1], starting a new thread for discussing $subject\nseparately. {pre, post}_auth_delay waiting logic currently uses\npg_usleep which can't detect postmaster death. So, there are chances\nthat some of the backends still stay in the system even when a\npostmaster crashes... |
[
{
"msg_contents": "Autoconf's AC_CHECK_DECLS always defines HAVE_DECL_whatever\nas 1 or 0, but some of the entries in msvc/Solution.pm show\nsuch symbols as \"undef\" instead. Shouldn't we fix it as\nper attached? This is probably only cosmetic at the moment,\nbut it could bite us someday if someone wrote a c... |
[
{
"msg_contents": "Hello,\n\nDuring reading the documentation of libpq [1] , I found the following\ndescription:\n\n In the nonblocking state, calls to PQsendQuery, PQputline, PQputnbytes,\n PQputCopyData, and PQendcopy will not block but instead return an error\n if they need to be called again.\n\n[1] https:/... |
[
{
"msg_contents": "Hi all\n\nIf you're trying to build postgres with Visual Studio Build Tools 16 2019\nusing the optional v140 toolset that installs the Visual Studio 14 2019\nC/C++ toolchain to get binaries that're fully compatible with the EDB\npostgres builds, you may run into some confusing issues.\n\nUse ... |
[
{
"msg_contents": "Hi,\n\nI found a few functions making unnecessary repeated calls to\nPQserverVersion(conn); instead of just calling once and assigning to a\nlocal variable.\n\nPSA a little patch which culls those extra calls.\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Tue, 1... |
[
{
"msg_contents": "Hello,\n\nI would like to know if there is any interest in working to reduce the usage \nand propagation of resjunk columns in the planner.\n\nI think this topic is worth investigating, because most of the time when we \nrequest a sorted path without ever needing the sort key afterwards, we s... |
[
{
"msg_contents": "Hi,\nI was looking at index_drop() in PG 11 branch.\nIn if (concurrent)block, the heap and index relations are overwritten since\nthey were opened a few lines above the concurrent check.\n\nShouldn't the two relations be closed first ?\n\nthanks\n\ndiff --git a/src/backend/catalog/index.c b/s... |
[
{
"msg_contents": "\\db+ and \\l+ show sizes of tablespaces and databases, so I was surprised in the\npast that \\dn+ didn't show sizes of schemas. I would find that somewhat\nconvenient, and I assume other people would use it even more useful.\n\n\\db+ and \\l+ seem to walk the filesystem, and this is disting... |
[
{
"msg_contents": "Hi\n\nThe description for \"pg_database\" [1] mentions the function\n\"pg_encoding_to_char()\", but this is not described anywhere in the docs. Given\nthat that it (and the corresponding \"pg_char_to_encoding()\") have been around\nsince 7.0 [2], it's probably not a burning issue, but it seem... |
[
{
"msg_contents": "Hi,\n\nWhen reviewing some pg_dump related code, I found some existsing code\n(getTableAttrs() and dumpEnumType()) invoke PQfnumber() repeatedly which seems\nunnecessary.\n\nExample\n-----\n\t\tfor (int j = 0; j < ntups; j++)\n\t\t{\n\t\t\tif (j + 1 != atoi(PQgetvalue(res, j, PQfnumber(res, \... |
[
{
"msg_contents": "Hi all.\n\nI've come up with a proof-of-concept patch using the delegation/proxy approach.\n\nLet's say we have two DB, one for FDW and one for the real server. When client\nconnects to FDW server using kerberos authentication, we can obtain a \"proxy\"\ncredential and store it in the global ... |
[
{
"msg_contents": "Hi\r\n\r\nWhen reading the code FinishPreparedTransaction, I found that SI messages are sent \r\nwhen executing ROLLBACK PREPARED command.\r\n\r\nBut according to AtEOXact_Inval function, we send the SI messages only when committing the transaction .\r\n\r\nSo, I think we needn't send SI mess... |
[
{
"msg_contents": "Zhihong Yu <zyu@yugabyte.com> writes:\n> I was looking at fmgr_internal_validator().\n> It seems prosrc is only used internally.\n> The patch frees the C string prosrc points to, prior to returning.\n\nThere's really very little point in adding such code. Our memory\ncontext mechanisms take ... |
[
{
"msg_contents": "Hi,\n\nIt looks like the commit d75288fb [1] added an unnecessary\nAssert(PgArchPID == 0); in PostmasterStateMachine as the if block code\ngets hit only when PgArchPID == 0. PSA small patch.\n\n[1]\ncommit d75288fb27b8fe0a926aaab7d75816f091ecdc27\nAuthor: Fujii Masao <fujii@postgresql.org>\nD... |
[
{
"msg_contents": "Upgrading from\n10.5 to 13.3 using pg_upgrade -k\n\nThe following is the result of an upgrade\n\nselect * from pg_extension ;\n oid | extname | extowner | extnamespace | extrelocatable |\nextversion | extconfig | extcondition\n-------+--------------------+----------+-------------... |
[
{
"msg_contents": "Hi,\n\nThomas^WA bad person recently nerdsniped me (with the help of an accidental use\nof an SSL connection in a benchmark leading to poor results) into checking what\nwould be needed to benefit from SSL/TLS hardware acceleration (available with\nsuitable hardware, OS support (linux and free... |
[
{
"msg_contents": "I think it'd be useful to be able to identify exactly which git commit\nwas used to produce a tarball. This would be especially useful when\ndownloading snapshot tarballs where that's not entirely clear, but can\nalso be used to verify that the release tarballs matches what's\nexpected (in th... |
[
{
"msg_contents": "Hi,\n\n\nI noticed that COMMIT PREPARED command is slow in the discussion [1].\n\n\nFirst, I made the following simple script for pgbench.\n\n``` prepare.pgbench\n\\set id random(1, 1000000)\n\nBEGIN;\nUPDATE test_table SET md5 = md5(clock_timestamp()::text) WHERE id = :id;\nPREPARE TRANSACTI... |
[
{
"msg_contents": "Hi\n\nAttached a patch to improve the tab completion for backslash commands.\nI think it’s common for some people(I'm one of them) to use full-name commands than abbreviation.\nSo it's more convenient if we can add the full-name backslash commands in the tab-complete.c.\n\nWhen modify tab-com... |
[
{
"msg_contents": "Hi,\n\nI've been investigating hash indexes and have what I think is a clear\npicture in my head, so time for discussion.\n\nIt would be very desirable to allow Hash Indexes to become Primary Key\nIndexes, which requires both\n amroutine->amcanunique = true;\n amroutine->amcanmulticol = tru... |
[
{
"msg_contents": "Hackers,\n\nI believe there is a hazard in reorderbuffer.c if a call to write() buffers data rather than flushing it to disk, only to fail when flushing the data during close(). The relevant code is in ReorderBufferSerializeTXN(), which iterates over changes for a transaction, opening transi... |
[
{
"msg_contents": "Hello,\n\nI found that using \"BEGIN ISOLATINO LEVEL SERIALIZABLE\" in a pipline with\nprepared statement makes pgbench abort.\n\n $ cat pipeline.sql \n \\startpipeline\n begin isolation level repeatable read;\n select 1;\n end;\n \\endpipeline\n\n $ pgbench -f pipeline.sql -M prepared -t 1\n... |
[
{
"msg_contents": "While I looked into a .map file in src/backend/utils/mb/Unicode, I\nnotice of a typo in it.\n\n > static const pg_mb_radix_tree euc_jp_from_unicode_tree =\n > {\n > ..\n > 0x0000, /* offset of table for 1-byte inputs */\n > ...\n > 0x0040, /* offset of table for 2-byte inputs */\n > ...\n... |
[
{
"msg_contents": "\nOn Fri, 16 Jul 2021 at 16:26, Japin Li <japinli@hotmail.com> wrote:\n> Hi, hackers\n>\n> When I fix a bug about ALTER SUBSCRIPTION ... SET (slot_name) [1], Ranier Vilela\n> finds that ReplicationSlotValidateName() has redundant strlen() call, Since it's\n> not related to that problem, so I ... |
[
{
"msg_contents": "Hi,\n\nCascade and restrict options are supported for drop statistics syntax:\ndrop statistics stat1 cascade;\ndrop statistics stat2 restrict;\n\nThe documentation for this was missing, attached a patch which\nincludes the documentation for these options.\n\nRegards,\nVignesh",
"msg_date"... |
[
{
"msg_contents": "Hi Everyone,\n\nWe would like to propose the below 2 new plpgsql diagnostic items,\nrelated to parsing. Because, the current diag items are not providing\nthe useful diagnostics about the dynamic SQL statements.\n\n1. PG_PARSE_SQL_STATEMENT (returns parse failed sql statement)\n2. PG_PARSE_SQ... |
[
{
"msg_contents": "Hi,\n\nI just tried to use the slab allocator for a case where aset.c was\nbloating memory usage substantially. First: It worked wonders for memory\nusage, nearly eliminating overhead.\n\nBut it turned out to cause a *substantial* slowdown. With aset the\nallocator is barely in the profile. W... |
[
{
"msg_contents": "Hello,\n\nI found that any corruption of WAL page header found during recovery is never\nreported in log messages. If wal page header is broken, it is detected in\nXLogReaderValidatePageHeader called from XLogPageRead, but the error messages\nare always reset and never reported.\n\n i... |
[
{
"msg_contents": "Hi all,\n\nprairiedog has failed in a way that seems a bit obscure to me:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2021-07-18%2000%3A23%3A29\n\nHere are the details of the failure:\nserver signaled to rotate log file\ncould not read\n\"/Users/buildfarm/bf-data/HE... |
[
{
"msg_contents": "Hi.\n\nIt seems that only superusers can execute pg_import_system_collations(), \nbut this is not mentioned in the manual.\n\nSince other functions that require superuser privileges describe that in \nthe manual, I think it would be better to do the same for consistency.\n\nThoughts?\n\n-- \n... |
[
{
"msg_contents": "Hello,\n\nI found that the start section of the postgresql.conf file is missing a \ndescription of two units: bytes (appeared in version 11) and \nmicroseconds (in version 12).\n\nThe attached patch makes these changes to the postgresql.conf.sample file.\n\n-- \nPavel Luzanov\nPostgres Profes... |
[
{
"msg_contents": "Noob here.\n\nI'm trying to implement a new type of index access method. I don't think I\ncan use the built-in storage manager and buffer manager efficiently because\nfiles with 8k blocks aren't going to work. I really need to implement a\nlog-structured file.\n\nI'm confused on how to handle... |
[
{
"msg_contents": "Hi,\n\nWe have a few routines that are taking up a meaningful share of nearly all\nworkloads. They are worth micro-optimizing, even though they rarely the most\nexpensive parts of a profile. The memory allocation infrastructure is an\nexample of that.\n\nWhen looking at a profile one can ofte... |
[
{
"msg_contents": "Hi,\n\nThere are some places, where strlen can have an overhead.\nThis patch tries to fix this.\n\nPass check-world at linux ubuntu (20.04) 64 bits.\n\nregards,\nRanier Vilela",
"msg_date": "Mon, 19 Jul 2021 19:48:55 -0300",
"msg_from": "Ranier Vilela <ranier.vf@gmail.com>",
"msg_... |
[
{
"msg_contents": "Hi hackers.\n\nThis is the patch to add kerberos delegation support in libpq, which\nenables postgres_fdw to connect to another server and authenticate\nas the same user to the current login user. This will obsolete my\nprevious patch which requires keytab file to be present on the fdw\nserve... |
[
{
"msg_contents": "Hi,\n\nI think something is slightly off with pgbench (or libpq) pipelining. Consider\ne.g. the following pgbench workload:\n\n\\startpipeline\nSELECT 1;\nSELECT 1;\nSELECT 1;\nSELECT 1;\nSELECT 1;\nSELECT 1;\nSELECT 1;\n\\endpipeline\n\nA pgbench run using that results in in endless repetiti... |
[
{
"msg_contents": "For some queries PostgreSQL can spend most of its time creating the exact\nsame bitmap over and over. For example, in the below case: (also attached\nas a file because line-wrapping is going to make a mess of it)\n\ndrop table if exists foo;\ncreate table foo (x daterange, i int, t text);\ni... |
[
{
"msg_contents": "Hi, Heikki\r\n\r\n'noError' argument was added at commit ea1b99a661,\r\nbut it seems to be neglected in euc_tw_and_big5.c Line 289.\r\nplease see the attachment.\r\n\r\nRegards,\r\nYukun Wang",
"msg_date": "Wed, 21 Jul 2021 02:15:14 +0000",
"msg_from": "\"wangyukun@fujitsu.com\" <wang... |
[
{
"msg_contents": "I'm working on a patch [1] to get the planner to consider adding\nPathKeys to satisfy ORDER BY / DISTINCT aggregates. I think this has\nled me to discover some problems with postgres_fdw's handling of\npushing down ORDER BY clauses into the foreign server.\n\nThe following test exists in the... |
[
{
"msg_contents": "Hi,\n\nthis is a followup to a performance optimization during the conversion of a\ncolumn from a timestamp column to a \"timestamp with tz\" column. The initial\npatch I am referring to is this one:\n\nhttps://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=3c59263#patch4\n\nand t... |
[
{
"msg_contents": "Hi\n\nI found a problem when using tab-completion as follows:\n\nCREATE SUBSCRIPTION my_subscription \nCONNECTION 'host=localhost port=5432 dbname=postgres' [TAB]\n\nThe word 'PUBLICATION' couldn't be auto completed as expected.\n\nThe reason is that the equal sign in a single quote is taken ... |
[
{
"msg_contents": "Hi\n\nI tried to write test for plpgsql debug API, where I need to access to\nplpgsql.h\n\nI have line\n\nPG_CPPFLAGS = -I$(top_srcdir)/src/pl/plpgsql/src\n\nthat is working well on unix, but it do nothing on windows\n\n[00:05:14] Project \"C:\\projects\\postgresql\\pgsql.sln\" (1) is buildin... |
[
{
"msg_contents": "Should Arthur patch be included in PostgreSQL 14 - Beta 4?\n\nShould Arthur patch be included in PostgreSQL 14 - Beta 4?",
"msg_date": "Thu, 22 Jul 2021 11:23:34 +0200",
"msg_from": "Davide Fasolo <faze79@gmail.com>",
"msg_from_op": true,
"msg_subject": "Re: BUG #15293: Stored... |
[
{
"msg_contents": "Hi,\n\nWhen I was writing an extension which need to get the median of an array, I\ntried to find if postgres provide some api that can do that. I found all the\nplaces in postgres invoke qsort() and then get the median. I was thinking can\nwe do better by using \"quick select\" and is it wor... |
[
{
"msg_contents": "I noticed that get_agg_clause_costs still claims that it recursively\nfinds Aggrefs in the expression tree, but I don't think that's been\ntrue since 0a2bc5d61.\n\nI've attached a patch that adjusts the comment so it's more aligned to\nwhat it now does.\n\nDavid",
"msg_date": "Fri, 23 Jul... |
[
{
"msg_contents": "It seems to me that when using the pg_amcheck --startblock and \n--endblock options on platforms where sizeof(long) == 4, you cannot \nspecify higher block numbers (unless you do tricks with negative \nnumbers). The attached patch should fix this by using strtoul() instead \nof strtol(). I ... |
[
{
"msg_contents": "Hi hackers,\r\n\r\nAs previously discussed [0], canceling synchronous replication waits\r\ncan have the unfortunate side effect of making transactions visible on\r\na primary server before they are replicated. A failover at this time\r\nwould cause such transactions to be lost. The proposed... |
[
{
"msg_contents": "Hi\r\n\r\n\r\n\r\nWhen reading PG DOC, found some example code not correct as it said.\r\n\r\nhttps://www.postgresql.org/docs/devel/regress-run.html\r\n\r\n\r\n\r\nHere's a tiny fix in regress.sgml.\r\n\r\n\r\n\r\n-make check PGOPTIONS=\"-c log_checkpoints=on -c work_mem=50MB\"\r\n\r\n+make c... |
[
{
"msg_contents": "Hi!\n\nFrom time to time I observe $subj on clusters using logical replication.\nI most of cases there are a lot of other errors. Probably $subj condition should be kind of impossible without other problems.\nI propose to enhance error logging of XLogReadRecord() in ReadPageInternal().\n\nTha... |
[
{
"msg_contents": "Hi,\n\nThis is a minor leak, oversight in\nhttps://github.com/postgres/postgres/commit/4526951d564a7eed512b4a0ac3b5893e0a115690#diff-e399f5c029192320f310a79f18c20fb18c8e916fee993237f6f82f05dad851c5\n\nExplainPropertyText does not save the *relations->data* pointer and\nvar relations goes out ... |
[
{
"msg_contents": "This is a reply to an old thread with the same name:\nhttps://www.postgresql.org/message-id/1513971675.5870501.1439797066345.JavaMail.yahoo@mail.yahoo.com\nI was not able to do a proper reply since I cannot download the raw\nmessage: https://postgrespro.com/list/thread-id/2483942\n\nAnyway, t... |
[
{
"msg_contents": "Per the discussion at [1], users on Windows are seeing nasty performance\nlosses in v13/v14 (compared to prior releases) for hash aggregations that\nrequired somewhat more than 2GB in the prior releases. That's because\nthey spill to disk where they did not before. The easy answer of \"rais... |
[
{
"msg_contents": "Hi,\n\nAs an author of plpgsql_check, I permanently have to try to solve genetic\nproblems with the necessity of external information for successful static\nvalidation.\n\ncreate or replace function foo(tablename text)\nreturns void as $$\ndeclare r record;\nbegin\n execute format('select * ... |
[
{
"msg_contents": "When I am working on the UnqiueKey stuff, I find the following cases.\n\nSELECT * FROM (SELECT * FROM t offset 0) v ORDER BY a;\n// root->query_keys = A. root->order_pathkeys = A\n// Current: subroot->query_pathkeys = NIL.\n// Expected: subroot->xxxx_pathkeys = [A].\n\nSELECT * FROM (SELECT... |
[
{
"msg_contents": "Hi,\n\nI've been repeatedly confused by the the number of WAL files supposedly\nadded. Even when 100s of new WAL files are created the relevant portion\nof log_checkpoints will only ever list zero or one added WAL file.\n\nThe reason for that is that CheckpointStats.ckpt_segs_added is only\ni... |
[
{
"msg_contents": "Deduplicate choice of horizon for a relation procarray.c.\n\n5a1e1d83022 was a minimal bug fix for dc7420c2c92. To avoid future bugs of\nthat kind, deduplicate the choice of a relation's horizon into a new helper,\nGlobalVisHorizonKindForRel().\n\nAs the code in question was only introduced i... |
[
{
"msg_contents": "Hi all,\n\nWhile looking at the code areas of $subject, I got surprised about a\ncouple of things:\n- pgbench has its own parsing routines for int64 and double, with\nan option to skip errors. That's not surprising in itself, but, for\nstrtodouble(), errorOK is always true, meaning that the ... |
[
{
"msg_contents": "StartupXLOG() has code beginning around line 7900 of xlog.c that\ndecides, at the end of recovery, between four possible courses of\naction. It either writes an end-of-recovery record, or requests a\ncheckpoint, or creates a checkpoint, or does nothing, depending on the\nvalue of 3 flag varia... |
[
{
"msg_contents": "Hi, all\n\nRecently, I got a PANIC while restarts standby, which can be reproduced by the following steps, based on pg 11:\n1. begin a transaction in primary node;\n2. create a table in the transaction;\n3. insert lots of data into the table;\n4. do a checkpoint, and restart standby after che... |
[
{
"msg_contents": "Hi\n\nI got a report from Gabriele Bartolini and team that the pg_settings\nview does not get the pending_restart flag set when a setting's line is\nremoved from a file (as opposed to its value changed).\n\nThe explanation seems to be that GUC_PENDING_RESTART is set by\nset_config_option, but... |
[
{
"msg_contents": "Folks,\n\nPlease find attached a patch to do $subject. It's down to a one table\nlookup and 3 instructions.\n\nIn covering the int64 versions, I swiped a light weight division from\nthe Ryu stuff. I'm pretty sure that what I did is not how to do\n#includes, but it's a PoC. What would be a b... |
[
{
"msg_contents": "Hi,\n\nI noticed $subject while rebasing my patch at [1] to enable batching\nfor the inserts used in cross-partition UPDATEs.\n\nb676ac443b6 did this:\n\n- resultRelInfo->ri_PlanSlots[resultRelInfo->ri_NumSlots] =\n- MakeSingleTupleTableSlot(planSlot->tts_tupleDescript... |
[
{
"msg_contents": "Hello,\n\nI've notived that pg_receivewal logic for deciding which LSN to start \nstreaming at consists of:\n - looking up the latest WAL file in our destination folder, and resume from \nhere\n - if there isn't, use the current flush location instead.\n\nThis behaviour surprised me when us... |
[
{
"msg_contents": "Hi,\n\nthere is a typo in variable.c.\nAttached a small fix for this.\n\nRegards\nDaniel",
"msg_date": "Tue, 27 Jul 2021 10:04:36 +0000",
"msg_from": "\"Daniel Westermann (DWE)\" <daniel.westermann@dbi-services.com>",
"msg_from_op": true,
"msg_subject": "Small typo in variable... |
[
{
"msg_contents": ">On Tue, Jul 27, 2021 at 10:04:36AM +0000, Daniel Westermann (DWE) wrote:\n>> there is a typo in variable.c.\n>> Attached a small fix for this.\n\n>\"iff\" stands for \"if and only if\".\n\nAh, good to know. Thx\n\nRegards\nDaniel\n\n\n\n\n\n\n\n\n\n\n>On Tue, Jul 27, 2021 at 10:04:36AM +0000... |
[
{
"msg_contents": "The documentation for ALTER EVENT TRIGGER claims \"You must be superuser to alter an event trigger\" which is manifestly false, as shown below:\n\n+CREATE ROLE evt_first_owner SUPERUSER;\n+CREATE ROLE evt_second_owner SUPERUSER;\n+SET SESSION AUTHORIZATION evt_first_owner;\n+CREATE OR REPLACE... |
[
{
"msg_contents": "Hi hackers,\n\nIn the patches for improving the MSVC build process, I noticed a use of\n`map` in void context. This is considered bad form, and has a\nperlcritic policy forbidding it:\nhttps://metacpan.org/pod/Perl::Critic::Policy::BuiltinFunctions::ProhibitVoidMap.\n\nAttached is a patch th... |
[
{
"msg_contents": "The documentation for ALTER PUBLICATION ... OWNER TO ... claims the new owner must have CREATE privilege on the database, though superuser can change the ownership in spite of this restriction. No explanation is given for this requirement. It seems to just mirror the requirement that many t... |
[
{
"msg_contents": "The original import of the SSL tests saved the clientside log in /client-log,\nwhich was later removed in 1caef31d9. The test/ssl .gitignore didn't get the\nmemo though.\n\nThe attached trivial patch removes it from .gitignore, barring objections I'll\npush that.\n\n--\nDaniel Gustafsson\t\t... |
[
{
"msg_contents": "While cleaning out dead branches in my git repo, I came across an\nearly draft of what eventually became commit ffa2e4670 (\"In libpq,\nalways append new error messages to conn->errorMessage\"). I realized\nthat it contained a good idea that had gotten lost on the way to that\ncommit. Namel... |
[
{
"msg_contents": "IMO the PG code comments are not an appropriate place for leetspeak creativity.\n\nPSA a patch to replace a few examples that I recently noticed.\n\n\"up2date\" --> \"up-to-date\"\n\n------\nKind Regards,\nPeter Smith.\nFujitsu Australia",
"msg_date": "Wed, 28 Jul 2021 09:39:02 +1000",
... |
[
{
"msg_contents": "Hi all,\n\nIn commit 3f90ec85 we are trying to postpone gathering partial paths for\ntopmost scan/join rel until we know the final targetlist, in order to\nallow more accurate costing of parallel paths. We do this by the\nfollowing code snippet in standard_join_search:\n\n+ /*\n+ * Excep... |
[
{
"msg_contents": "While looking into issues with fairywren and pg_basebackup tests, I\ncreated a similar environment but with more modern Windows / msys2.\nBefore it even got to the test that failed on fairywren it failed the\nfirst TAP test for a variety of reasons, all connected to\nTestLib::perl2host.\n\nFi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.