threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\n From what I see some time ago the write lifetime hints support for NVMe multi\nstreaming was merged into Linux kernel [1]. Theoretically it allows data\nwritten together on media so they can be erased together, which minimizes\ngarbage collection, resulting in reduced write amplificat...
[ { "msg_contents": "Hi Peter (and others who mucked around with related code),\n\nWhile testing another patch I found that cancelling a parallel query on\nmaster segfaults the leader in an interesting manner:\n\n#0 0x00005648721cb361 in tas (lock=0x7fbd8e025360 <error: Cannot access memory at address 0x7fbd8e02...
[ { "msg_contents": "Hello hackers and postgressers,\n\nI am aware of 2 ways to select a random row from a table:\n\n 1) select * from table_name order by random() limit 1;\n -- terribly inefficient\n\n 2) select * from table_name tablesample system_rows(1) limit 1;\n -- only works on tables, ...
[ { "msg_contents": "Hello,\n\nI saw a one-off test failure that might be trying to tell us something:\n\nhttps://travis-ci.org/postgresql-cfbot/postgresql/builds/334334417\n\n# Failed test 'pg_recvlogical acknowledged changes, nothing pending on slot'\n# at t/006_logical_decoding.pl line 91.\n# got:...
[ { "msg_contents": "Hi,\n\nDoes anyone have any thoughts on why Travis CI might be failing\noccasionally as shown below, but the build farm apparently doesn't?\nIt's not alien technology, it's just Ubuntu Linux running on a virtual\nmachine. One thing that it does slightly differently is \"make\n-Otarget -j3 ch...
[ { "msg_contents": "Hi all\n\nIn my ongoing efforts to make Tom look at me in horror, I've compiled\nPostgreSQL with C++ objects linked into the core server. Currently this is\njust my notes on how, in case anyone else needs to later.\n\nTo do it you really only have to change src/backend/Makefile to use g++ as\...
[ { "msg_contents": "Sorry for being late to the party\n\nI started looking at the thread about \"Generic type subscripting\" and am\nwondering,\nwhy does it take the approach of modifying pg_type and modifying lots of\ninternal\nfunctions, when instead it could be defined in a much lighter and less\nintrusive wa...
[ { "msg_contents": "I'm wondering if there is anything I can tune in my PG 10.1 database to\navoid these errors:\n\n$ psql -f failing_query.sql\npsql:failing_query.sql:46: ERROR: dsa_allocate could not find 7 free pages\nCONTEXT: parallel worker\n\nI tried throttling back the number of parallel workers to jus...
[ { "msg_contents": "Hi,\n\nIn contrast to most other nodes, nodeValuescan.c does expression\ninitialization at \"runtime\" rather than in initialization:\n\n\t\t/*\n\t\t * Get rid of any prior cycle's leftovers. We use ReScanExprContext\n\t\t * not just ResetExprContext because we want any registered shutdown\n...
[ { "msg_contents": "This patch refactors all of the connection state PQfinish() and NULL’ing into a single function.\r\nExcludes PQfinish() in doConnect().\r\nThis came out of earlier ppoll() work where this was felt to be worthwhile but not directly relevant to that change.\r\n\r\ndoug", "msg_date": "Mon, 2...
[ { "msg_contents": "Hi,\n\n\nThis patch implements csv as an output format in psql\n(\\pset format csv). It's quite similar to the unaligned format,\nexcept that it applies CSV quoting rules (obviously!) and that\nit prints no footer and no title.\nAs with unaligned, a header with column names is output unless\n...
[ { "msg_contents": "Hello all,\n\n We are building in-memory index extension for postgres. For drop index\nquery, does postgres notify me through index access methods?\n\nCurrently, we are using event triggers to capture drop index. If there is a\nbetter way, please do suggest.\n\nThanks in advance.\n\nRegard...
[ { "msg_contents": "I am wondering whether we need to worry about leakproofness in connection\nwith adding in_range support functions to btree opclasses. My initial\nconclusion is not, but let me lay out the reasoning so people can check\nit --- I might be missing something.\n\nThe first question is whether we ...
[ { "msg_contents": "Hi All,\n\nPL/Python already has different type conversion functions to\nconvert PostgreSQL datum to Python object. However, the conversion\nfunctions from Python object to PostgreSQL datum only has Boolean,\nBytea and String functions.\n\nIn this patch, we add rest of Integer and Float relat...
[ { "msg_contents": "Hello,\n\nPlease consider committing the attached patch to fix a typo in error \nmessage.\n\nBest regards,\n\n-- \nAlexander Lakhin\nPostgres Professional: http://www.postgrespro.com\nThe Russian Postgres Company", "msg_date": "Wed, 31 Jan 2018 08:47:57 +0300", "msg_from": "Alexander ...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15039\nLogged by: lixian zou\nEmail address: zoulx1982@163.com\nPostgreSQL version: 10.0\nOperating system: source code\nDescription: \n\nhi,\r\ni read hash index code , and found in _hash_addovflp...
[ { "msg_contents": "Hi,\n\nI found that updating a cursor by using CURRENT OF causes the\nfollowing error when the query is executed by IndexOnlyScan. \n\n ERROR: cannot extract system attribute from virtual tuple\n\nIndexOnlyScan returns a virtual tuple that doesn't have system\ncolumn, so we can not get ctid ...
[ { "msg_contents": "Hi hackers,\n\nI saw this today: http://www.vldb.org/pvldb/vol11/p648-tian.pdf\n\nIt describes the \"LDSF\" (largest-dependency-set-first) lock scheduling\nalgorithm and related work, as an alternative to the FIFO scheduling\nused by PostgreSQL and most other RDBMSs. LDSF been implemented in...
[ { "msg_contents": "doc: clearify trigger behavior for inheritance\n\nThe previous wording added in PG 10 wasn't specific enough about the\nbehavior of statement and row triggers when using inheritance.\n\nReported-by: ian@thepathcentral.com\n\nDiscussion: https://postgr.es/m/20171129193934.27108.30796@wrigleys...
[ { "msg_contents": "Hello.\n\nWIP-Patch for optimisation of OFFSET + IndexScan using visibility map.\nPatch based on idea of Maxim Boguk [1] with some inspiration from Douglas\nDoole [2].\n---------\nEveryone knows - using OFFSET (especially big) is not an good practice.\nBut in reality they widely used mostly f...
[ { "msg_contents": "Hi.\n\nWhen addressing a review comment on the fast partition pruning thread [1],\nI noticed that specifying null in the IN-list will cause constraint\nexclusion to wrongly fail to refute a table's check predicate.\n\ncreate table foo (a int check (a = 1));\ninsert into foo values (null), (1)...
[ { "msg_contents": "Hi,\n\nI came across a strange memory problem when doing an IndexJoin using\nspgist on boxes.\nI also found it mentioned here:\nhttps://www.postgresql.org/message-id/flat/CAPqRbE5vTGWCGrOc91Bmu-0o7CwsU0UCnAshOtpDR8cSpSjy0g%40mail.gmail.com#CAPqRbE5vTGWCGrOc91Bmu-0o7CwsU0UCnAshOtpDR8cSpSjy0g@m...
[ { "msg_contents": "Hi,\n\nI am getting server hang kind of issue with the below postgres.conf setup.\nIssue may occur while running below query single/multiple times (random).\nNot getting terminal back even after cancelling query.\nexplain output and query is given below.\n\nSET enable_hashjoin TO off;\nSET en...
[ { "msg_contents": "I happend to see a strange geometric calcualtion on master/HEAD.\n\nCREATE TABLE t (l1 line, l2 line);\nINSERT INTO t\n (SELECT line(point(0, 0), point(x, y)), line(point(0,0), point(-y, x))\n FROM (SELECT random() x, random() y FROM generate_series(0, 1000)) AS a);\nSELECT l1?-|l2 AS is_p...
[ { "msg_contents": "Hi,\n\ndumping a database to /dev/null via pg_dump is (AFAIK) one recommended\nway to check for corruption. However, dumping to /dev/null is currently\nnot supported in directory mode which makes it not possible to dump to\n/dev/null in parallel.\n\nI had a look at this, and it appears it wo...
[ { "msg_contents": "Since some time back, we have deployed the git server side http handler on\ngit.postgresql.org, so the instructions currently on the site are incorrect\nin saying that git:// is faster than https://. In fact, we have some\nreports and testing that https:// can be significantly faster (due to ...
[ { "msg_contents": "Hi\n\nI am playing with procedures little bit\n\nI found few bugs\n\ncreate procedure test(a int)\nas $$\nbegin\n raise notice '>>>%<<<', a;\nend;\n$$ language plpgsql;\n\ncall test(10); -- ok\n\npostgres=# call test((select 10));\nERROR: unrecognized node type: 113\n\npostgres=# \\sf test\...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 15044\nLogged by: Chad T\nEmail address: chad@iris.washington.edu\nPostgreSQL version: 10.1\nOperating system: CentOS 7.4.1708 and macOS 10.13.3\nDescription: \n\nThe built-in logical replication i...
[ { "msg_contents": "Hello,\n\nSome user hit a problem with ECPG on Windows. The attached patch is a fix for it. I'd appreciate it if you could backport this in all supported versions.\n\nThe problem is simple. free() in the following example crashes:\n\n\tchar *out;\n\n\tout = PGTYPESnumeric_to_asc(...);\n\tf...
[ { "msg_contents": "Hi,\n\nAttached patch introduces prefix operator ^@ for text type. For 'a ^@ b'\nit returns true if 'a' starts with 'b'. Also there is spgist index\nsupport for this operator.\n\nIt could be useful as an alternative for LIKE for 'something%'\ntemplates. Or even used in LIKE queries instead of...
[ { "msg_contents": "Support parallel btree index builds.\n\nTo make this work, tuplesort.c and logtape.c must also support\nparallelism, so this patch adds that infrastructure and then applies\nit to the particular case of parallel btree index builds. Testing\nto date shows that this can often be 2-3x faster th...
[ { "msg_contents": "Is there some good reason why get_relation_info() copies all of the\ndata that will be needed later in planning into the RelOptInfo instead\nof just storing a pointer to the Relation directly into the\nRelOptInfo? Of course, if we did that, then it would have to leave\nthe relation open inst...
[ { "msg_contents": "... are posted at\nhttps://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=bf641d3376018c40860f26167a60febff5bc1f51\n\nThey should appear in the website's development docs in a couple of hours,\ntoo.\n\nPlease comment before Sunday if you see anything that could be improved.\n\n\t\...
[ { "msg_contents": "CREATE FUNCTION commence_primary_ignition(target text, password text)\nRETURNS void AS ...;\n\nSELECT commence_primary_ignition(target=>'Alderaan', password=>'1234');\n\n/* 1234 could appear in logs, activity stats ... disturbing */\n\n\n\nCREATE OR REPLACE FUNCTION commence_primary_ignition(...
[ { "msg_contents": "Hi hackers,\n\nIs anyone working on this feature[1] also for PostgreSQL's regex engine?\n\nI'm thinking it could work something like this:\n\njoel=# \\df regexp_match\n List of functions\n Schema | Name | Result data type | Argument data types | Type\...
[ { "msg_contents": "I recently had to build ed25519 digital signature validation in PostgreSQL.\nSince pgcrypto doesn't\nsupport these methods, I had to look into PL/Python and PL/v8 based\nimplementations. The\nexperience turned out to be very poor (documented here:\nhttps://gist.github.com/nileshtrivedi\n/7cd6...
[ { "msg_contents": "Hi all,\n\nMany threads have touched $subject:\nhttps://www.postgresql.org/message-id/CAN-RpxDPE4baiMMJ6TLd6AiUvrG=YrC05tGxrgp4aUutH9j5TQ@mail.gmail.com\nhttps://www.postgresql.org/message-id/7c50423.5ad0.15e8b308b2f.Coremail.chjischj@163.com\nhttps://www.postgresql.org/message-id/1516736993....
[ { "msg_contents": "Hi all,\n\nWhile hacking some stuff, I bumped into the following:\n--- a/src/backend/access/transam/multixact.c\n+++ b/src/backend/access/transam/multixact.c\n@@ -1932,7 +1932,7 @@ ZeroMultiXactMemberPage(int pageno, bool writeXlog)\n * MaybeExtendOffsetSlru\n *\t\tExtend the offsets SLRU a...
[ { "msg_contents": "Hi,\nI noticed a crash in partition-wise involving dummy partitioned\ntables. Here's simple testcase\n\nCREATE TABLE prt1 (a int, b int, c varchar) PARTITION BY RANGE(a);\nCREATE TABLE prt1_p1 PARTITION OF prt1 FOR VALUES FROM (0) TO (250);\nCREATE TABLE prt1_p3 PARTITION OF prt1 FOR VALUES F...
[ { "msg_contents": "Hey all,\n\nThere was already a discussion and commit for adding PGDLLIMPORT to some\nvariables which enables extensions to use them on Windows builds. For\nreference, the previous thread:\"Add PGDLLIMPORT lines to some variables\".\n\nI would like to add PGDLLIMPORT to enable_hashagg for the...
[ { "msg_contents": "Hi,\n\nI get a warning when building the man pages on Debian testing. The \nwarning is in the documentation for CREATE POLICY and as caused by the \nthree footnotes in the sql-createpolicy-summary table.\n\nI do not understand our documentation pipeline well enough to know what \nthe proper f...
[ { "msg_contents": "Hi folks,\n\nWhile working on tab completion for SELECT I found a few existing\nproblems with how psql's tab completion queries interact with\ntransactions.\n\n - If a tab completion query fails, it will abort the user's\ntransaction. For example, typing, \"ALTER PUBLICATION <tab>\" when\nc...
[ { "msg_contents": "Folks,\n\nWhile chatting with Bruce about how to make something better than\npg_upgrade, we (and by \"we,\" I mean mostly Bruce) came up with the\nfollowing.\n\nWhat needs improvement:\n\n- pg_upgrade forces a down time event, no matter how cleverly it's done.\n- pg_upgrade is very much a blo...
[ { "msg_contents": "Hi.\n\nFujita-san pointed out in a nearby thread [1] that EXPLAIN ANALYZE shows\nduplicate stats for partitions' triggers.\n\nExample:\n\ncreate table p (a int) partition by list (a);\ncreate table p1 partition of p for values in (1);\ncreate table p2 partition of p for values in (2);\ncreate...
[ { "msg_contents": "Here is a patch that fills in a few more information schema columns, in\nparticular those related to the trigger transition tables feature.\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "msg_date"...
[ { "msg_contents": "Hi all,\n\n\nI'm trying to extend pg_tap/pg_tapgen in order to be able to check that \ntwo databases have the exact same constraints (for all available types \nof constraints).\n\n\nI am wondering if there is a better way to check that two constraints \nare equal than using pg_get_constraintd...
[ { "msg_contents": "Hi,\n\nWhile reviewing the\nlazy-initialization-of-partition-info-for-tuple-routing patch, I ran\ninto a grammar mistake in a comment in ExecSetupChildParentMapForLeaf.\nAttached is a patch for fixing that.\n\nBest regards,\nEtsuro Fujita", "msg_date": "Tue, 06 Feb 2018 19:22:34 +0900", ...
[ { "msg_contents": "Hi Hackers,\n\nCommit 5ded4bd21403e143dd3eb66b92d52732fdac1945 removed support for\nversion-0 function calling convention, and with it the fmgr() function.\nHowever, the declaration was left behind in fmgr.h. The attached patch\nfinishes the cleanup.\n\nRegards,\n\n- ilmari\n-- \n\"I use RMS...
[ { "msg_contents": "Avoid valgrind complaint about write() of uninitalized bytes.\n\nLogicalTapeFreeze() may write out its first block when it is dirty but\nnot full, and then immediately read the first block back in from its\nBufFile as a BLCKSZ-width block. This can only occur in rare cases\nwhere very few tu...
[ { "msg_contents": "Hi,\n\nWe've several callers to load_external_function() that do not use the\nreturned value as a PGFunction. I'd vote for changing the return type to\nvoid * and have fmgr.c cast it to PGFunction after verifying the\nfunction's magic.\n\nGreetings,\n\nAndres Freund\n\n", "msg_date": "Tue...
[ { "msg_contents": "Hi all.\n\nVarious versions of having PostgreSQL caching and/or autopreparing\nstatement plans have been discussed (\nhttps://www.postgresql.org/message-id/op.t9ggb3wacigqcu%40apollo13.peufeu.com\n,\nhttps://www.postgresql.org/message-id/8e76d8fc-8b8c-14bd-d4d1-e9cf193a74f5%40postgrespro.ru),...
[ { "msg_contents": "Hi,\n\nIf an update of partition key involves tuple movement from one partition to\nanother partition then there will be a separate delete on one partition and\ninsert on the other partition made.\n\nIn the logical replication if an update performed on the master and standby at\nthe same mome...
[ { "msg_contents": "Hi ,\n\nI am getting  ERROR:  could not map dynamic shared memory segment in the \nlog file\n\n- Please refer this scenario-\n\nin V11/V10 latest sources\n\n  set parallel_setup_cost=0;\n  set parallel_tuple_cost=0;\n  set max_parallel_workers_per_gather=4;\n  create table r(n int);\ninsert i...
[ { "msg_contents": "Here is a patch that gives the tests in the SSL test suite proper names\ninstead of just writing out the connection strings. So instead of\n\n# running client tests\n# test that the server doesn't accept non-SSL connections\nok 1 - sslmode=disable (should fail)\n# connect without server root...
[ { "msg_contents": "Greetings,\n\nWhile trying to do the PDF builds on borka for 9.6 for tomorrow's\nrelease, I'm getting:\n\nopenjade -D . -D . -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d ./stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index -V texpdf-output -V '%paper-type...
[ { "msg_contents": "Hi,\n\nI've bumped onto the following problem:\n---------------------screenshot----------------------------\nztk=# create table test (a int, b int, c int, d bool, e int, primary key\n(a,b,c,d));\nCREATE TABLE\nztk=# create unique index leftone on test (a,b) where d is true;\nCREATE INDEX\nztk...
[ { "msg_contents": "Hi all,\n\nIn order to run tests consistently on the whole tree, I use a simple\nalias which tests also things like src/test/ssl and src/test/ldap on the\nway.\n\nLately, I am getting annoyed by $subject when working on OpenSSL stuff\nas sometimes I need to test things with and without SSL su...
[ { "msg_contents": "Hi,\n\nAttached a minor patch for variable name in comment: \ns/progress_update/update_progress\n\n ---include/server/replication/logical.h\n ...\n 35 typedef struct LogicalDecodingContext\n 36 {\n ...\n 68 LogicalOutputPluginWriterUpdateProgress update_progress;\n\nRegards,\n\n-...
[ { "msg_contents": "Hello, hackers!\n\nSorry if this have already been discussed. I've had this idea some time\nago and then successfully forgot about it until pgconf.ru, where I had a\nconversation with one of postgres users. His situation could be\ndescribed as this: they have a table with id, timestamp and so...
[ { "msg_contents": "2018-02-08 Security Update Release\n==================================\n\nThe PostgreSQL Global Development Group has released an update to all supported\nversions of our database system, including 10.2, 9.6.7, 9.5.11, 9.4.16, 9.3.21.\nThis release fixes two security issues. This release also...
[ { "msg_contents": "Hi,\n\nAttached patch adds 'autovacuum_table_priority' to the current list of\nautomatic vacuuming settings. It's used in sorting of vacuumed tables in\nautovacuum worker before actual vacuum.\n\nThe idea is to give possibility to the users to prioritize their tables\nin autovacuum process.\n...
[ { "msg_contents": "After the LDAP code was switched to use ldap_initialize() as part of the\nldaps support, ldapi (LDAP over Unix-domain sockets) also works. I\nnoticed an old bug report (#13625) that asked for it. So I suggest this\npatch to document this and add some tests.\n\nOne flaw is that this only wor...
[ { "msg_contents": "Hi all,\n\nI begin seeing bugs related to new features of v11 popping up around,\nlike this one for procedures:\nhttps://www.postgresql.org/message-id/CAFj8pRDxOwPPzpA8i%2BAQeDQFj7bhVw-dR2%3D%3DrfWZ3zMGkm568Q%40mail.gmail.com\n\nAre there any objections in creating a wiki page to track all th...
[ { "msg_contents": "Hi hackers,\n\nI wonder if the following behavior is considered to be a bug in plpgsql \nor it is expected result:\n\ncreate table my_data(id serial primary key, time timestamp, type text);\n\ncreate or replace function my_insert(type text) RETURNS BOOLEAN\nAS\n$BODY$\nBEGIN\n     insert into...
[ { "msg_contents": "Hi, \nThis is an odd request for help. I'm looking to expose an interface so an external app can insert to a table while maintaining cache consistency and inserts be promoted via wal. \n\nI need to support about 100k+ inserts/sec from a sensor data stream. It simply won't work using sql queri...
[ { "msg_contents": "Hello.\n\nI happend to find that server crashes during regtest when\nDSM_NONE is enforced. The attached patch fixes that.\n\nThe cause is the fact that _bt_spools_heapscan runs\n_bt_begin_parallel() even if dynamic_shared_memory_type is\nDSM_NONE. It is because plan_create_index_workers() is ...
[ { "msg_contents": "Hello.\n\nI'm not sure such a case happens in the real world nowadays,\ninitdb uses the fallback value of max_connections=10. But it is\nout of favor of server since it is not larger than\nmax_wal_senders(10).\n\n> postgres: max_wal_senders must be less than max_connections\n\nI think that we...
[ { "msg_contents": "On Tue, Feb 6, 2018 at 10:07 AM, Stephen Frost <sfrost@snowman.net> wrote:\n\n>\n> That was also what seemed to be the consensus coming out of the FOSDEM\n> Developer meeting (notes here:\n> https://wiki.postgresql.org/wiki/FOSDEM/PGDay_2018_Developer_Meeting).\n>\n>\nIn the notes there is th...
[ { "msg_contents": "Hi,\nName for wait event \"LWTRANCHE_OLDSERXID_BUFFERS\" is printed as\n\"oldserxid\", but documentation at\nhttps://www.postgresql.org/docs/10/static/monitoring-stats.html does\nnot have exact same event there. Instead it has\n\nOldSerXidLock Waiting to read or record conflicting seriali...
[ { "msg_contents": "Since commit aaf15e5, a text value doesn't reliably roundtrip through\nrepresentation as an XML attribute. At least, not like this:\n\nWITH t(v) AS (SELECT text 'This & That'),\nx(e) AS (SELECT xmlelement(name foo, xmlattributes(v)) FROM t),\ny(v1) AS (SELECT (xpath('/foo/@v', e))[1]::text FR...
[ { "msg_contents": "Avoid premature free of pass-by-reference CALL arguments.\n\nPrematurely freeing the EState used to evaluate CALL arguments led, in some\ncases, to passing dangling pointers to the procedure. This was masked in\ntrivial cases because the argument pointers would point to Const nodes in\nthe o...
[ { "msg_contents": "Hi,\n\nI forgot to register a display name for LWTRANCHE_PARALLEL_HASH_JOIN,\nthe tranche ID used by the LWLock that Parallel Hash uses when handing\nout chunks of memory. Please see attached.\n\nIt's rare for this LWLock to show up in pg_stat_activity, but if you\nstick pg_usleep(10000) int...
[ { "msg_contents": "Hi,\n\nI'm hoping to get feedback on an idea for a new data type to allow for\nefficient storage of text values while keeping reads and writes\nuser-friendly. Suppose you want to store categorical data like current city\nfor users. There will be a long list of cities, and many users will have...
[ { "msg_contents": "While poking around in pg_dump for another purpose, I happened to notice\nthese things about its handling of extended-statistics objects:\n\n1. pg_dump supposes that a stats object must be in the same schema as\nthe table it's on. This is flat wrong.\n\nregression=# create schema s1;\nCREATE...
[ { "msg_contents": "Hi. I wonder if there is such a thing or extension in the PG world.\n\nHere is my use case. I am using PG (PG10 to be more specific) in a\ncloud VM environment. The tables are stored in RAID0 managed SSD\nbacked attached storage. Depending on the VM I am using, I usually\nhave 256GB local SSD...
[ { "msg_contents": "Hi,\n\nAs far as I can see, all the volatile qualifiers in shm_mq.c have been\nredundant since ec9037df263. Here's a patch to remove them (like\nseveral similar patches -- see commit message). Does this make sense?\n Is there something special about that pointer to volatile pointer to\nPGPR...
[ { "msg_contents": "Hi,\n\nJust curious about a harmless inconsistency, really: why does\nsrc/backend/replication/logical/origin.c bother to copy\nLWTRANCHE_REPLICATION_ORIGIN into shm and then LWLockRegisterTranche()\nin every process from the shm copy? I guess because it used to\nallocate the tranche ID dynam...
[ { "msg_contents": "Hi All,\n\nI am writing to get some advice on extension packaging for minor version\nupgrades in Postgres.\n\nWe recently found that people who had compiled the TimescaleDB extension\nagainst 10.1 (or installed our binary versions via yum, apt, etc.) had\ntheir extension break when they upgra...
[ { "msg_contents": "Hi, hackers!\n\nFew years ago I've posted proposal [0] to improve GiST performance by building small GiST inside each GiST page.\nCurrently each page is just an unordered vector of tuples. Scan is testing each tuple one by one. This causes suboptimal performance for both inserts and searches....
[ { "msg_contents": "Hi,\n\nI am getting \"ERROR: unexpected expression in subquery output\" and\n\"ERROR: variable not found in subplan target lists\" errors, for \"FOR\nUPDATE\" with postgres_fdw. (when set enable_partition_wise_join to true);\n\nAttached patch have queries which are throwing mentioned error ...
[ { "msg_contents": "So, should we rename the *.sgml files to *.xml, since they are actually\nnow XML files?\n\nAdvantages: better automatic editor integration, better automatic syntax\nhighlighting (e.g., on GitHub), less confusion in general in the future\n\nAnd maybe while we're at it, truncate the directory s...
[ { "msg_contents": "Hi,\n\nAttached a patch for fixing $subject.\n\ns/funcion/function/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center", "msg_date": "Tue, 13 Feb 2018 11:58:35 +0900", "msg_from": "Masahiko Sawada <sawada.mshk@gmail.com>", ...
[ { "msg_contents": "It seems to me that heap_lock_updated_tuple_rec can lead to a buffer\nrefcount leak while locking an updated tuple by an aborted\ntransaction. In commit - 5c609a74, we have added the code to deal\nwith aborted transactions as below:\n\nheap_lock_updated_tuple_rec()\n{\n..\n\nif (PageIsAllVis...
[ { "msg_contents": "Hello, hackers! I got a permanent failure of master (commit \nebdb42a0d6a61b93a5bb9f4204408edf5959332c) plpython check on Solaris 10. \nRegression output and diffs are attached.\n\nI used the following commands:\n./configure CC=\"ccache gcc\" CFLAGS=\"-m64 -I/opt/csw/include\" \nPKG_CONFIG_PA...
[ { "msg_contents": "Hi,\n\nI am Udit Juneja, a Computer Science undergraduate student at Thapar\nInstitute of Engineering and Technology, India. I am interested in\ncontributing to PostgreSQL.\n\nA brief introduction about me:\nI am familiar with programming languages (C, C++, Python, SQL).\n\nI am interested in...
[ { "msg_contents": "I wonder how others feel about this, but the spelling of\nenable_partition_wise_join feels funny to me every time I look at it. I\nwould write it enable_partitionwise_join.\n\nThoughts?\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, R...
[ { "msg_contents": "A small patch to tweak the tests to support output differences with\nPython 3.7 (currently in beta).\n\n-- \nPeter Eisentraut http://www.2ndQuadrant.com/\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services", "msg_date": "Tue, 13 Feb 2018 16:17:13 -0500", ...
[ { "msg_contents": "Hi Hackers --\n\nI am searching for a way to make a contribution to Postgres and I came\nacross this TODO item (I realize there has been some controversy\naround the TODO list [1], and I hope that my use of it doesn't spark\nanother discussion about removing it altogether):\n\n\"Allow WAL rep...
[ { "msg_contents": "Re-posting my earlier email to start a new thread.\n\nOn 2018/02/09 2:58, Alvaro Herrera wrote:> Robert Haas wrote:\n>> On Wed, Feb 7, 2018 at 3:42 AM, Ashutosh Bapat\n>> <ashutosh.bapat@enterprisedb.com> wrote:\n>\n>>> partition.c seems to have two kinds of functions 1. that build and\n>>> m...
[ { "msg_contents": "Hello.\n\nI happend to find that the comment on formdesc is missing\npg_subscription. Please find the attached patch (I'm sure:) to\nfix that .\n\nregards,\n\n-- \nKyotaro Horiguchi\nNTT Open Source Software Center", "msg_date": "Wed, 14 Feb 2018 10:53:14 +0900 (Tokyo Standard Time)", ...
[ { "msg_contents": "Hi,\n\nCompiling with CFLAGS=\"-ggdb -Og -g3 -fno-omit-frame-pointer\" as\nrecommended in https://wiki.postgresql.org/wiki/Developer_FAQ#Compile-time\n\nMy compiler gives me this message\n\n\"\"\"\nlogtape.c: In function ‘ltsConcatWorkerTapes’:\nlogtape.c:462:48: warning: ‘tapeblocks’ may be ...
[ { "msg_contents": "On 13 February 2018 at 21:07, Jaime Casanova\n<jaime.casanova@2ndquadrant.com> wrote:\n> Hi,\n>\n> Compiling with CFLAGS=\"-ggdb -Og -g3 -fno-omit-frame-pointer\" as\n> recommended in https://wiki.postgresql.org/wiki/Developer_FAQ#Compile-time\n>\n> My compiler gives me this message\n>\n> \"\...
[ { "msg_contents": "According to the manual, backend sends a parameter status message when\ncertain configuration variable has been changed and SIGHUP signal is sent.\nhttps://www.postgresql.org/docs/10/static/protocol-flow.html#PROTOCOL-ASYNC\n\n ParameterStatus messages will be generated whenever the active v...
[ { "msg_contents": "Hello,\n\nOur customer encountered a rare bug of PostgreSQL which prevents a cascaded standby from starting up. The attached patch is a fix for it. I hope this will be back-patched. I'll add this to the next CF.\n\n\nPROBLEM\n==============================\n\nThe PostgreSQL version is 9.5....
[ { "msg_contents": "Today one of Pgpool-II users reported an interesting fatal error\nmessage from PostgreSQL:\n\nFATAL: terminating connection due to conflict with recovery\nDETAIL: User was holding shared buffer pin for too long.\nHINT: In a moment you should be able to reconnect to the database and repeat you...
[ { "msg_contents": "Here is a patch with a test suite for the Kerberos/GSSAPI authentication\nfunctionality. It's very similar in principle to the recently added\nLDAP tests, and similar caveats apply.\n\nYou will need the client and server parts of a krb5 package\ninstallation, possibly named krb5-workstation ...
[ { "msg_contents": "I want to participate in GSOC2018 in the PostgreSQl organization, so can\nyou help me out as to what I have to preapre?\n\n-- \nAnkit Raj\nInternship Coordinator\nCentre for Career Development\nNational Institute of Technology Agartala\n8414846511\n\n\n\n\n<https://mailtrack.io/> Sent with Ma...
[ { "msg_contents": "The company I'm working is currently trying to give some external users access to our database. Said users are partners of ours (company partners).\n\nI was tasked to create a new catalog table to log every user activity (already done) and now I'm trying to insert some information in this tab...
[ { "msg_contents": "Hello.\n\nAs in the other threads[1][2], we have had several good reasons\nto remove DSM_IMPL_NONE in PG11. The attached patch doesn that.\n\n[1] https://www.postgresql.org/message-id/CA+Tgmoa0e23YC3SCwB85Yf5oUTRyirV=Sq_rXYxaXABLdPpjoA@mail.gmail.com\n\n[2] https://www.postgresql.org/message-...
[ { "msg_contents": "Hello.\n\nWhile looking some patch, just from curiosity, I checked for\nredundant #include's in the source tree (except\ncontrib). \"redundant\" here means that a file is included in\nanother include file nearby.\n\nI found 641 includes that is just removable with no side effect\nwith two exc...