threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,all\r\n\r\nOn website: https://wiki.postgresql.org/wiki/Todo#libpq\r\nI found that in libpq module,there is a todo case:\r\n-------------------------------------------------------------------------------\r\nPrevent PQfnumber() from lowercasing unquoted column names\r\nPQfnumber() should ne...
[ { "msg_contents": "Hi\n\nI propose mentioned functions without specified separator. In this case the\nstring is transformed to array of chars, in second case, the array of chars\nis transformed back to string.\n\nComments, notes?\n\nRegards\n\nPavel\n\nHiI propose mentioned functions without specified separator...
[ { "msg_contents": "Hi,\n\nI think ts_vector is a typo for tsvector.\n\nregards,\nSho Kato", "msg_date": "Fri, 15 Mar 2019 04:37:03 +0000", "msg_from": "\"Kato, Sho\" <kato-sho@jp.fujitsu.com>", "msg_from_op": true, "msg_subject": "Fix typo in test code comments" }, { "msg_contents": "Hel...
[ { "msg_contents": "Hello hackers,\n\nWhat exactly is a savepointLevel?\n\nThey seem to have been there for 15 years[1], diligently copied from\nparent transactions to children, fastidiously checked to avoid crossing\na level on rollback or release, but does anything ever change the level\nfrom its initial value...
[ { "msg_contents": "Hi all,\n\nFacing issue in using special characters. We are trying to insert records to a remote Postgres Server and our application not able to perform this because of errors.\nIt seems that issue is because of the special characters that has been used in one of the field of a row.\n\nRegard...
[ { "msg_contents": "Hi,all\r\n\r\nOn website: https://wiki.postgresql.org/wiki/Todo#libpq\r\nI found that in libpq module,there is a todo case:\r\n-------------------------------------------------------------------------------\r\nPrevent PQfnumber() from lowercasing unquoted column names\r\nPQfnumber() should ne...
[ { "msg_contents": "Hello\n\nPer discussion started here: https://www.postgresql.org/message-id/CA%2BTgmoZWSLUjVcc9KBSVvbn%3DU5QRgW1O-MgUX0y5CnLZOA2qyQ%40mail.gmail.com\n\nWe have INFO ereport messages in alter table attach partition like this:\n> partition constraint for table \\\"%s\\\" is implied by existing ...
[ { "msg_contents": "Hello hackers,\n\nFor a project of ours we need GTIN14 data type support. The isn \nextension already supports EAN13, and a '0' prefixed EAN13 is a valid \nGTIN14. The leftmost \"new\" 14th digit is a packaging level indicator \nwhich we need (= using EAN13 and faking a leading 0 in output do...
[ { "msg_contents": "Hello, I am inquiring into the program Parallel access. How do I eile it from my device/ data completetly.  I don't believe ir is reliable... a broken laptop might have had the harddrive taken by a \"friend\" and accessed my account through this avenue. I am also wondering what you know about...
[ { "msg_contents": "Hey pg developers,\n\nDo you think if we can add queryId into the pg_stat_get_activity function\nand ultimatly expose it in the view? It would be easier to track \"similar\"\nquery's performance over time easier.\n\nThanks a lot!\nYun\n\nHey pg developers,Do you think if we can add queryId in...
[ { "msg_contents": "Hi,\n\nPL/Java implements JDBC Savepoints using BeginInternalSubTransaction/\nReleaseCurrentSubTransaction/RollbackAndReleaseCurrentSubTransaction.\n\nThat seems to be the Accepted Way of Doing Things within backend PLs\nthat want control over error recovery, am I right?\n\nPL/Java also stric...
[ { "msg_contents": "Hi all,\n(related folks in CC)\n\nSergei Kornilov has reported here an issue with pg_checksums:\nhttps://www.postgresql.org/message-id/5217311552474471@myt2-66bcb87429e6.qloud-c.yandex.net\n\nIf the block size the tool is compiled with does not match the data\nfolder block size, then users wo...
[ { "msg_contents": "I noticed an odd buildfarm failure today:\n\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sungazer&dt=2019-03-16%2012%3A12%3A20\n\nof which the key bit seems to be\n\n2019-03-16 15:20:43.835 UTC [10879304] 003_promote.pl LOG: received replication command: BASE_BACKUP LABEL 'pg_bas...
[ { "msg_contents": "Hello all,\n\nWhile looking over the new jsonpath stuff I noticed the keyword table\nwasn't declared const. Shouldn't the table and the actual keyword\nstrings both be declared const? Perhaps something like the attached\n(untested) patch.\n\n-Mark", "msg_date": "Sat, 16 Mar 2019 14:54:18 ...
[ { "msg_contents": "Hi all,\n\nI'm investigating the issue I reported here:\nhttps://www.postgresql.org/message-id/flat/153478795159.1302.9617586466368699403%40wrigleys.postgresql.org\n\nAs Tom Lane mentioned there, the docs (8.13) indicate xmloption = CONTENT\nshould accept all valid XML. At this time, XML wit...
[ { "msg_contents": "Noob here. I'm getting started on building a Postgres extension.\n\nI'd like to add some keywords/clauses to the SELECT statement. For my\nparticular application, the syntax with new keywords would be way better\nthan trying to do it through functions alone. I would add some new keywords\nfol...
[ { "msg_contents": "So some PostGIS people were griping (on irc) about how the lack of\nCREATE OR REPLACE AGGREGATE made their life difficult for updates. It\nstruck me that aggregates have acquired a relatively large number of new\nattributes in recent years, almost all of which are applicable at\nexecution tim...
[ { "msg_contents": "Hi;\n\nAttached is my second attempt at the pg_rewind change which allows one to\ninclude only a minimal set. To my understanding, all past feedback has\nbeen addressed.\n\nThe current patch does not change default behavior at present. It does add\na --data-only flag which allows pg_rewind ...
[ { "msg_contents": "Hi,\n\nGiven a Portal, or an _SPI_plan, is there a practical way to tell whether\nit came from a query with FOR UPDATE or FOR SHARE?\n\nRegards,\n-Chap\n\n", "msg_date": "Sun, 17 Mar 2019 20:46:40 -0400", "msg_from": "Chapman Flack <chap@anastigmatix.net>", "msg_from_op": true, ...
[ { "msg_contents": "Hi all,\n\nI've discovered bug, when vacuum full fails with error, because it\ncouldn't find toast chunks deleted by itself. That happens because\ncluster_rel() sets OldestXmin, but toast accesses gets snapshot later\nand independently. That causes heap_page_prune_opt() to clean chunks,\nwh...
[ { "msg_contents": "Hi!\n\nThis patch introduce a dummy_index access method module, that does not do any \nindexing at all, but allow to test reloptions from inside of access method \nextension.\n\nThis patch is part of my bigger work on reloptions refactoring.\n\nIt came from \nhttps://www.postgresql.org/messag...
[ { "msg_contents": "While poking around trying to find an explanation for the pg_upgrade\nfailure described here:\nhttps://www.postgresql.org/message-id/flat/CACmJi2JUhGo2ZxqDkh-EPHNjEN1ZA1S64uHLJFWHBhUuV4492w%40mail.gmail.com\nI noticed a few things that seem a bit fishy about pg_upgrade.\nI can't (yet) connect...
[ { "msg_contents": "Hi folks,\n\nAfter months and years of really trying to make EXTENSIONs meet the\nrequirements of my machinations, I have come to the conclusion that either\na) I am missing something or b) they are architecturally flawed. Or\npossibly both.\n\nAdmittedly, I might be trying to push extension...
[ { "msg_contents": "Hello, Postgres hackers,\n\nPlease see the attached patches.\n\nThe first patch adds an option to automatically generate recovery conf\ncontents in related files, following pg_basebackup. In the patch,\nGenerateRecoveryConf(), WriteRecoveryConf() and escape_quotes() are almost\nsame as them o...
[ { "msg_contents": "Hi,all\r\n\r\nOn website: https://wiki.postgresql.org/wiki/Todo#libpq\r\nI found that in libpq module,there is a TODO case:\r\n-------------------------------------------------------------------------------\r\nConsider disallowing multiple queries in PQexec() as an additional barrier to SQL i...
[ { "msg_contents": "Greetings, i am interested in databases and would like to make a contribution to thePostgreSQL by participating in GSoC 2019. Currently i am studying in HSE[1],doing last year of master's program that mostly build on top of collaborationwith ISP RAS[2]. In the previous year i have been workin...
[ { "msg_contents": "PostgreSQL pollutes the file system with lots of binaries that it is\nnot obvious that they belong to PostgreSQL.\n\nSuch as \"/usr/bin/createdb\", etc.\n\nIt would be better if these files were renamed to be prefixed with\npg_, such as pg_createdb.\nOr even better postgresql-createdb then be...
[ { "msg_contents": "Hi all!\n\nWe are also facing some issues when using extensions. We are using\nthem quite intensively as a tool for maintaining our custom \"DB\napplications\" with versioning, all tables, data, regression tests...\nWe find extensions great! We do not need other tool like flyway. My\ncolleagu...
[ { "msg_contents": "Hi Hackers,\n\nI was going through the regression testing framework used in postgres. I\nwas trying to understand the custom functions written in perl for postgres.\n\nI could not find the perldoc for TestLib module in src/test/perl and found\nsome difficultly in understanding what each funct...
[ { "msg_contents": "I want to build automation to recover a database to a specific LSN\n*inclusive*, even if that LSN is from a subtransaction. The problem I am\nfacing is that I know what specific LSN wrote a row on a remote system, but\nif I create a recovery.conf file with:\n\nrecovery_target_lsn = '95F/BBA3...
[ { "msg_contents": "Hello,\n\nThere are many projects that use alternate QueryId \ndistinct from the famous pg_stat_statements jumbling algorithm.\n\nhttps://github.com/postgrespro/aqo\nquery_hash\n\nhttps://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Optimize.ViewPlans.html\nsql_hash\n...
[ { "msg_contents": "Hi,\n\nWhile looking at a partition pruning bug [1], I noticed something that\nstarted to feel like a regression:\n\nSetup:\n\ncreate table p (a int) partition by list (a);\ncreate table p1 partition of p for values in (1);\n\nIn PG 10:\n\nset constraint_exclusion to on;\nexplain select * fro...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15708\nLogged by: Daurnimator\nEmail address: quae@daurnimator.com\nPostgreSQL version: 11.2\nOperating system: linux\nDescription: \n\n(from https://gist.github.com/daurnimator/b1d2c16359e346a466b...
[ { "msg_contents": "Hi Hackers,\n\nHere I attached a patch that supports building of PostgreSQL with VS 2019.\nVS 2019 is going to release on Apr 2nd 2019, it will be good if version 12\nsupports compiling. The attached for is for review, it may needs some\nupdates\nonce the final version is released.\n\nCommit ...
[ { "msg_contents": "Hello hackers,\n\nPeter E added some nice tests for LDAP and Kerberos, but they assume\nyou have Homebrew when testing on a Mac. Here's a patch to make them\nwork with MacPorts too (a competing open source port/package\ndistribution that happens to be the one that I use). The third\n\"extra...
[ { "msg_contents": "Hi everyone,\n\nA very common question among new users is how wal_level works and it\nlevels. I heard about some situations like that, a user create a new\npublication in its master database and he/she simply does not change\nwal_level to logical, sometimes, this person lost maintenance windo...
[ { "msg_contents": "Lately, PostgreSQL has moved many defaults from \"bare minimum\" more to\nthe \"user friendly by default\" side, e.g. hot_standby & replication in\nthe default configuration, parallelism, and generally higher defaults\nfor resource knobs like *_mem, autovacuum_* and so on.\n\nI think, the nex...
[ { "msg_contents": "As noted by a PostgreSQL user to me, error messages for NOT NULL\nconstraints are inconsistent - they do not mention the relation name in the\nmessage, as all other variants of this message do. e.g.\n\npostgres=# create table nn (id integer not null);\nCREATE TABLE\npostgres=# insert into nn ...
[ { "msg_contents": "Hi all,\n\nBefore we introduce pg_lsn datatype the LSN was expressed as a TEXT type,\nso a simple query using MIN/MAX functions works as expected. Query like:\n\nSELECT min(restart_lsn) FROM pg_replication_slots;\nSELECT min(sent_lsn) FROM pg_stat_replication ;\n\nSo attached patch aims to in...
[ { "msg_contents": "Hi,\n\nFor the umpteenth time I was annoyed by the names of labels in\nheapam.c. It's really not useful to see a 'goto l1;' etc.\n\nHow about renaming l1 to retry_delete_locked, l2 to retry_update_locked,\nl3 to retry_lock_tuple_locked etc? Especially with the subsidiary\nfunctions for update...
[ { "msg_contents": "Yesterday while doing some tests, I noticed that the following doesn't work\nproperly:\n\ncreate role test_role with login;\ncreate table ref(a int primary key);\ngrant references on ref to test_role;\nset role test_role;\ncreate table t1(a int, b int) partition by list (a);\nalter table t1 a...
[ { "msg_contents": "When compiling on an AWS 64 bit Arm machine, I get this compiler warning:\n\nimath.c: In function 's_ksqr':\nimath.c:2590:6: warning: variable 'carry' set but not used\n[-Wunused-but-set-variable]\n carry;\n ^~~~~\n\nWith this version():\n\nPostgreSQL 12devel on aarch64-unknown-linu...
[ { "msg_contents": "Bonjour Michaᅵl,\n\nOn Sat, 23 Mar 2019, Michael Paquier wrote:\n> On Fri, Mar 22, 2019 at 03:18:26PM +0100, Fabien COELHO wrote:\n>> Attached is a quick patch about \"pg_rewind\", so that the control file \n>> is updated after everything else is committed to disk.\n>\n> Could you start a n...
[ { "msg_contents": "Hi all,\n\nThe attached patch just a very minor adjustment to\nsrc/bin/pg_checksums/pg_checksums.c to add new line between some IF\nstatements.\n\nRegards,\n\n-- \n Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/\n PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x...
[ { "msg_contents": "Hi,\n\nMarc (in Cc) reported me a problematic query using a GIN index hit in\nproduction. The issue is that even if an GIN opclass says that the\nindex can be used for an operator, it's still possible that some\nvalues aren't really compatible and requires a full index scan.\n\nOne simple ex...
[ { "msg_contents": "This results in an Assert failure on master and an elog ERROR prior to\nc2fe139c201:\n\ncreate role test_role with login;\ncreate table ref(a int primary key);\ngrant references on ref to test_role;\nset role test_role;\ncreate table t1(a int, b int);\ninsert into t1 values(1,1);\nalter table...
[ { "msg_contents": "Hi Robert! >On Tue, Mar 19, 2019 at 2:47 PM Robert Haas\n<robertmhaas(at)gmail(dot)com> wrote: >> how close you were getting to\nrewriting the entire heap. This is the >> one thing I found but did not\nfix; any chance you could make this >> change and update the documentation\nto match? > > >...
[ { "msg_contents": "Hi all,\r\n\r\nWhen I do the following:\r\npostgres=# create table t1 (a int);\r\npostgres=# insert into t1 values(1);\r\npostgres=# create unique index uniq_idx on t1(a);\r\npostgres=# alter table t1 add column b float8 not null default random(), add primary key using index uniq_idx;\r\nERRO...
[ { "msg_contents": "Hello all,\n\nLast November snowball added support for Greek language [1]. Following the\ninstructions [2], I wrote a patch that adds fulltext search for Greek in\nPostgres. The patch is attached.\nI would appreciate any feedback that will help in getting this merged.\n\nwith kind regards,\nP...
[ { "msg_contents": "Get rid of backtracking in jsonpath_scan.l\n\nNon-backtracking flex parsers work faster than backtracking ones. So, this\ncommit gets rid of backtracking in jsonpath_scan.l. That required explicit\nhandling of some cases as well as manual backtracking for some cases. More\nregression tests...
[ { "msg_contents": "When reading another codepath, I happened to notice a few codepaths where we do\npg_malloc() immediately followed by a memset( .. 0, ..), without there being a\njustification (that I can see) for not using pg_malloc0() instead. The attached\npatch changes to pg_malloc0(), and passes make che...
[ { "msg_contents": "Hi,\n\nWhile reviewing some zheap code last week, I noticed that the naming\nof the ExecStore*Tuple() functions seems a bit unfortunate. One\nreason is that we are now using slots in all kinds of places other\nthan the executor, so that the \"Exec\" prefix seems a bit out of place.\nHowever,...
[ { "msg_contents": "Hi,\n\nFor the tableam work I'd like to remove heapam.h from\nnodeModifyTable.c. The only remaining impediment to that is a call to\nsetLastTid(), which is defined in tid.c but declared in heapam.h.\n\nThat doesn't seem like a particularly accurate location, it doesn't\nreally have that much ...
[ { "msg_contents": "Hi all,\n\nI have just committed a fix for a crash with the handling of partition\nbounds using column references which has been discussed here:\nhttps://www.postgresql.org/message-id/15668-0377b1981aa1a393@postgresql.org\n\nAnd while discussing on the matter with Amit, the point has been\nra...
[ { "msg_contents": "Hi,\n\nOne of our clients suggested that the installation document[1] lacks description\nabout requriements of installing *-devel packages. For example, postgresqlxx-devel\nis required for using --with-pgsql, and openssl-devel for --with-openssl, and so on,\nbut these are not documented.\n\n[...
[ { "msg_contents": "As I mentioned in [1], I've had a few cases recently about auto-vacuum\nnot working. On the other thread, it was all about auto-vacuum being\nconfigured to run too slowly. The other culprit for auto-vacuum not\nworking is when people periodically use pg_stat_reset().\n\nThe problem with pg_s...
[ { "msg_contents": "Good morning everyone,\n\nI am Ilaria Battiston, an aspiring GSoC student, and I would love to have a feedback on the first draft of my Google Summer of Code proposal. The project is \"Develop Performance Farm Database and Website”. You can find any other detail in the attached PDF file :)\n\...
[ { "msg_contents": "Hi!\n\nIn caf626b2 type of vacuum_cost_delay have been switched from int to real, \neverywhere, but not in *RelOpts[] arrays.\n\nFor some reason it continued to build and work. But I think it is better to \nmove vacuum_cost_delay from int to real there too...\n\nPatch attached.\n\nPS. As you ...
[ { "msg_contents": "Hi,\n\nAs detailed in\nhttps://postgr.es/m/20190319200050.ncuxejradurjakdc%40alap3.anarazel.de\nthe way the backend's basebackup checksum verification works makes its\nerror detection capabilities very dubious.\n\nI think we need to fix this before the next set of backbranch releases,\nor at ...
[ { "msg_contents": "Hello, my name is Victor Kuvshiev.\n\nCurrently I'm third-year student of Petrozavodsk State University, studying\ninformation systems and technologies.\n\nI have relatively good knowledge of HTML, CSS and Python also have some\nskills in javascript language.\n\nexample of my works: ruletka, ...
[ { "msg_contents": "Compute XID horizon for page level index vacuum on primary.\n\nPreviously the xid horizon was only computed during WAL replay. That\nhad two major problems:\n1) It relied on knowing what the table pointed to looks like. That was\n easy enough before the introducing of tableam (we knew it ha...
[ { "msg_contents": "Hello hackers, \nThis email is regarding the Postgres pg_stat_statements extension. \nI noticed that enabling pg_stat_statements can effect performance. I thought that changing the pg_stat_statements.track parameter to 'none' could reduce this overhead without requiring a restart to remove it...
[ { "msg_contents": "Hi,\n\nI'm trying to use the PostgreSQL roles system as the user base for a web\napplication. The common wisdom seems to be Don't Do This, because it\nrequires a connection per-user which doesn't scale. However, thinking it\nthrough, I'm wondering it there might be a workaround using \"sand...
[ { "msg_contents": "Hello hackers,\n\npostgres=> select txid_status(txid_current() + 3);\nERROR: transaction ID 627 is in the future\npostgres=> select txid_status(txid_current() + 2);\nERROR: transaction ID 627 is in the future\npostgres=> select txid_status(txid_current() + 1);\n txid_status\n-------------\n...
[ { "msg_contents": "Hi hackers,\n\nAttached is sketch of small patch that fixes several edge cases with\nautovacuum. Long story short autovacuum never comes to append only tables,\nkilling large productions.\n\nFirst case, mine.\n\nhttps://www.postgresql.org/message-id/CAC8Q8tLBeAxR%2BBXWuKK%2BHP5m8tEVYn270CVrDv...
[ { "msg_contents": "doc: Add some images\n\nAdd infrastructure for having images in the documentation, in SVG\nformat. Add two images to start with. See the included README file\nfor instructions.\n\nAuthor: Jürgen Purtz <juergen@purtz.de>\nAuthor: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>\nDiscussio...
[ { "msg_contents": "Hi hacker,\n\nPostgres is quite frequently used in different Internet services with \nmulti-tenant architecture.\nIt means that all object stored in the database have something like \n\"tenant_id\" foreign key.\nThis key is used in all queries, i.e.\n\n      select * from Product where tenant...
[ { "msg_contents": "Following the dicussion here,\nhttps://www.postgresql.org/message-id/flat/CAD21AoB9%2By8N4%2BFan-ne-_7J5yTybPttxeVKfwUocKp4zT1vNQ%40mail.gmail.com#90a8316b1e643532e1cdb352c91c22a7\n\nI'm proposing these changes to clean up docs for previous (more or less\nunrelated) commit.\n\n From 15d42c5a8...
[ { "msg_contents": "Hi, hackers.\n\nThe current Windows build system supports compiling with Windows SDK up to\nv8.1. When building with the latest Windows SDK v10 which is the default\nfor Visual Studio 2017, we will get the following error:\n\nerror MSB8036: The Windows SDK version 8.1 was not found.\n\nWhen t...
[ { "msg_contents": "I am seeing psql crash and massive regression test failures in git head.\nThe psql crash happens if .psqlrc contains:\n\n\t\\set COMP_KEYWORD_CASE upper\n\nand the crash backtrace is:\n\n\tProgram received signal SIGSEGV, Segmentation fault.\n\t0x000055555557f350 in slash_yylex (yylval_param=...
[ { "msg_contents": "SQLite has a bubble generator tool that they use to generate syntax\ndiagrams for their documentation:\n\nhttps://www.sqlite.org/docsrc/doc/tip/art/syntax/bubble-generator.tcl?mimetype=text/plain\n\nI think that the results are rather good. See, for example, the INSERT\ndocumentation:\n\nhttp...
[ { "msg_contents": "Hi All,\n\nI noticed that irrespective of whoever grants privileges on an object,\nit's always the object owner who is seen as a grantor in the output of\ntable_privileges view. As an example, consider the following case.\n\ncreate user u1;\ncreate user u2 with superuser;\ncreate user u3;\n\n...
[ { "msg_contents": "Hi All,\n\nWhile trying to explore on CHR() function in PG,\nI found that few of the ASCII values are returning hex number values(like\n'\\x08', '\\x0B')\nand few are executing within SQL (i.e. chr(9) => Horizontal tab, chr(10)\n=> Line feed) as below example.\n\npostgres=# select 1|| chr(8)...
[ { "msg_contents": "Do we need to review the fsync error handling in pg_receivewal and\npg_recvlogical, following the recent backend changes? The current\ndefault behavior is that these tools will log fsync errors and then\nreconnect and proceed with the next data streaming in. As a result, you\nmight then hav...
[ { "msg_contents": "Hi,\n\nFound by one of the my colleague - Kashif Jeeshan ,  in PG 9.6 - make is \nfailing for test_decoding contrib module.\n\n[centos@centos-cpula test_decoding]$ make\ngcc -Wall -Wmissing-prototypes -Wpointer-arith \n-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute \n...
[ { "msg_contents": "PFA patch with minor improvements to documentation.\n\nAlso, what do you think about changing user-facing language from\n\"check checksum\" to \"verify checksum\" ? I see that commit ed308d78 actually\nmoved in the other direction, but I preferred \"verify\".", "msg_date": "Fri, 29 Mar 2...
[ { "msg_contents": "Hi everyone. I would like to flesh this out in terms fo feedback before\ncreating a patch.\n\nThe Problem\n\nIn large production systems often you can have problems when autovacuum is\nnot tuned aggressively enough. This leads to long autovacuum runs when\nthey happen, and autovacuum ends u...
[ { "msg_contents": "Before writing a patch, I'd like to hear discussion first.\n\nI've searched archives first and read following previous discussions on\nthis topic:\n- https://www.postgresql.org/message-id/4FCF6040.5030408%40redhat.com\n- https://www.postgresql.org/message-id/14899.974513046%40sss.pgh.pa.us\n\...
[ { "msg_contents": "Following example can reproduce the problem:\n\n```\ncreate table d(a int);\ncreate index di on d(a);\nset enable_seqscan=off;\nset enable_bitmapscan to off;\nprepare p as delete from d where a=3;\nexecute p;\nexecute p;\n```\n\nThe reason is that: ExecInitIndexScan will not lock index becaus...
[ { "msg_contents": "Hi PostgresSQL developers,\n\nI asked my question already on pgsql-general list and did not find an\nexplanation. Below is the question mainly copied from [0].\n----\n\nI am learning deeply how tuples are organized and column values are\naccessed in different databases. As far as undertood po...
[ { "msg_contents": "Hi, hackers.\n\nBuild process on Windows includes compiling all source into object files,\nlinking them to binaries, and generating export symbol definitions, etc.\nWhen I watched the whole build process with a task manager, I discovered\nthat a lot of time was spent on generating export symb...
[ { "msg_contents": "Hello,\n\nPatch 0001 gets rid of the unconditional lseek() calls for SLRU I/O,\nas a small follow-up to commit c24dcd0c. Patch 0002 gets rid of a few\nplaces that usually do a good job of avoiding lseek() calls while\nreading and writing WAL, but it seems better to have no code at all.\n\n--...
[ { "msg_contents": "Hi,\n\nThe Release Management Team (RMT) for the PostgreSQL 12 release\nhas been assembled and has determined that the feature freeze date\nfor the PostgreSQL 12 release will be April 7, 2019. This means that\nany feature that will be going into the PostgreSQL 12 release must be\ncommitted b...
[ { "msg_contents": "On some machines (*cough* Mingw *cough*) installs are very slow. We've\nameliorated this by allowing temp installs to be reused, but the\npg_upgrade Makefile never got the message. Here's a patch that does\nthat. I'd like to backpatch it, at least to 9.5 where we switched the\npg_upgrade loca...
[ { "msg_contents": "I reviewed docs like this:\ngit log -p remotes/origin/REL_11_STABLE..HEAD -- doc\n\nAnd split some into separate patches, which may be useful at least for\nreviewing.\n\nI'm mailing now rather than after feature freeze to avoid duplicative work and\nsee if there's any issue.\n\nNote, I also/a...
[ { "msg_contents": "Hi,\n\nwhile rebasing the remaining tableam patches (luckily a pretty small set\nnow!), I had a few conflicts with ExecComputeStoredGenerated(). While\nresolving I noticed:\n\n\toldtuple = ExecFetchSlotHeapTuple(slot, true, &should_free);\n\tnewtuple = heap_modify_tuple(oldtuple, tupdesc, val...
[ { "msg_contents": "Hi, hackers,\n\nI'm Rui Guo, a PhD student focusing on database at the University of\nCalifornia, Irvine. I'm interested in the \"GiST API advancement\" project\nfor the Google Summer of Code 2019 which is listed at\nhttps://wiki.postgresql.org/wiki/GSoC_2019#GiST_API_advancement_.282019.29 ....
[ { "msg_contents": "Hello everyone! \nThank you for your interest to this topic. \n\nI would like to propose Compressed Storage Manager for PostgreSQL.\n\nThe problem:\nIn cases when you store some log-like data in your tables, or when you\nstore time-series data you may face with high disk space consumption \nb...
[ { "msg_contents": "Hello,\n\nBuilding on the excellent work begun by commit e529cd4ffa60, I would\nlike to propose a do-what-I-mean mode for psql. Please find a POC\npatch attached. It works like this:\n\npostgres=# select datnaam from pg_database where ooid = 12917;\nERROR: column \"datnaam\" does not exist...
[ { "msg_contents": "In copydir.c:copy_file() I read\n\n\t/* Use palloc to ensure we get a maxaligned buffer */\n\tbuffer = palloc(COPY_BUF_SIZE);\n\nNo data type wider than a single byte is used to access the data in the\nbuffer, and neither read() nor write() should require any specific alignment.\nCan someone ...
[ { "msg_contents": "Hello,\r\n\r\nmy CLOBBER_CACHE_ALWAYS animal, jaguarundi, has gotten stuck in \"make \r\ncheck\"'s initdb three times in a row now.\r\n\r\nI have trace output covering about the final minute of initdb. It mainly \r\nconsists of ~90000 iterations of\r\n\r\n- Open base/1/1259 [pg_class]\r\n- Se...
[ { "msg_contents": "Some buildfarm runs have failed like this:\n\n============== dropping database \"pl_regression\" ==============\nERROR: database \"pl_regression\" is being accessed by other users\nDETAIL: There is 1 other session using the database.\n\nAffected runs:\n\n axolotl │ PLCheck-C ...
[ { "msg_contents": "Hello,\nI’m Youssef Khedher, 19 years old student from Tunisia.\nI’m a computer science student in Tunisia, and also an online student for Harvard CS50 Program.\nI’m interested in the ” pgBackRest port to Windows (2019)”.\nI have a good knowledge in C and in IT in general, I believe that noth...
[ { "msg_contents": "Unified logging system for command-line programs\n\nThis unifies the various ad hoc logging (message printing, error\nprinting) systems used throughout the command-line programs.\n\nFeatures:\n\n- Program name is automatically prefixed.\n\n- Message string does not end with newline. This rem...
[ { "msg_contents": "Hello,\n\nI think the following conditional code is misleading, and I wonder if\nit would be better like so:\n\n--- a/src/backend/storage/smgr/md.c\n+++ b/src/backend/storage/smgr/md.c\n@@ -1787,8 +1787,13 @@ _mdfd_openseg(SMgrRelation reln, ForkNumber\nforknum, BlockNumber segno,\n if...
[ { "msg_contents": "Hi all,\n(Adding Simon as the author of toast_tuple_target, as well Andrew and \nPavan in CC.)\n\ntoast_tuple_target has been introduced in 2017 by c251336 as of v11.\nAnd while reviewing Pavan's patch to have more complex control over\nthe compression threshold of a tuple, I have bumped into...
[ { "msg_contents": "Hi all,\n\nSome tests for toast_tuple_target introduced by c251336 check if a\ntoast relation is empty or not using that: \n+select 0 = pg_relation_size('pg_toast.pg_toast_'||(select oid from\npg_class where relname =\n'toasttest'))/current_setting('block_size')::integer as blocks;\n\nThis is...
[ { "msg_contents": "As pointed out by Michael Banck as a comment on my blogpost, the pg_rewind\ndocumentation says it requires superuser permissions on the remote server.\n\nIs that really so, though? I haven't tested it, but from a quick look at\nthe code it looks like it needs pg_ls_dir(), pg_stat_file() and\n...
[ { "msg_contents": "Hi, everyone\r\n\r\nI have found a potential memory overflow in ecpg preproc module.\r\n\r\nHere is:\r\n\r\nhttps://github.com/postgres/postgres/blob/REL9_5_16/src/interfaces/ecpg/preproc/pgc.l\r\n\r\nIn parse_include() function\r\n-------------------------------------------------------------...
[ { "msg_contents": "Hi, everyone\r\n\r\nWhen reading the codes in file src/backend/replication/syncrep.c,\r\nI have found two spelling mistakes of comments.\r\n\r\nFirst\r\n---------------------------------------------------------------------------------------------\r\n/*-----------------------------------------...