threads
listlengths
1
2.99k
[ { "msg_contents": "\nCommit fe0a0b59 included this line:\n\n #include <Wincrypt.h>\n\nOn Windows file names are not case sensitive, so the \"W\" works fine, but\nas I discovered this morning, if you're cross-compiling on Linux it\nmatters very much, and mingw-w64 ships headers with lower case file\nnames, in...
[ { "msg_contents": "Hi,\n\nI was reading about SCRAM and the changes in the docs and found that\nin this sentence (in doc/src/sgml/client-auth.sgml:925) there is a\nmissing comma (,) when listing the \"password-based authentication\nmethods\":\n\n\"\"\"\n The password-based authentication methods are <literal...
[ { "msg_contents": "\nTesting logical replication, with the following patches on top of \nyesterday's master:\n\n0001-Reserve-global-xmin-for-create-slot-snasphot-export.patch +\n0002-Don-t-use-on-disk-snapshots-for-snapshot-export-in-l.patch+\n0003-Prevent-snapshot-builder-xmin-from-going-backwards.patch +\n00...
[ { "msg_contents": "Per\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=culicidae&dt=2017-04-15%2004%3A00%3A02\n\n2017-04-15 04:31:21.657 GMT [16792] FATAL: could not reattach to shared memory (key=6280001, addr=0x7f692fece000): Invalid argument\n\nPresumably, this is the same issue we've seen on Windo...
[ { "msg_contents": "\nThe instructions on how to create a self-signed certificate in s 18.9.3\nof the docs seem unduly cumbersome. AFAICT we could replace all the\ncommands (except the chmod) with something like this:\n\n |openssl req -new-x509 -days 365-nodes \\ -text -outserver.crt\\\n -keyout server.key...
[ { "msg_contents": "Attached patch to fix $SUBJECT.\n\n-- \nWith Regards,\nAmit Kapila.\nEnterpriseDB: http://www.enterprisedb.com\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", "msg_dat...
[ { "msg_contents": "Hi,\n\nAttached patch for $subject.\n\ns/apruptly/abruptly\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhtt...
[ { "msg_contents": "Hi all, I am interested in getting simple statistics of a GiST index structure. For example, height of tree.\n\n\nIt seems that the other indexes have a metapage for this. I am still unsure but it looks to me like the GiST access method internal does not work exactly in this way so it is a bi...
[ { "msg_contents": "I see that buildfarm member anchovy has been failing in pre-9.5\nbranches for the last several weeks, with symptoms suggesting that\nit's been updated to openssl 1.1.0 or later. The failures are\nunsurprising given that commit 593d4e47d wasn't back-patched further\nthan 9.5, but I wonder whe...
[ { "msg_contents": "After this commit, I get crash recovery failures when using prepared\ntransactions.\n\ncommit 728bd991c3c4389fb39c45dcb0fe57e4a1dccd71\nAuthor: Simon Riggs <simon@2ndQuadrant.com>\nDate: Tue Apr 4 15:56:56 2017 -0400\n\n Speedup 2PC recovery by skipping two phase state files in normal pa...
[ { "msg_contents": "Hello,\n\nWhen developping new features for pgbench, I usually write some tests \nwhich are lost when the feature is committed. Given that I have submitted \nsome more features and that part of pgbench code may be considered for \nsharing with pgsql, I think that improving the abysmal state o...
[ { "msg_contents": "Hi,\n\nAttached is a patch fixing simple typos in the CREATE TRIGGER document.\n\n-- \nYugo Nagata <nagata@sraoss.co.jp>\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", ...
[ { "msg_contents": "Hello,\n\nI've implemented a new command named PROGRESS to monitor progression of\nlong running SQL queries in a backend process.\n\n\nUse case\n=======\n\nA use case is shown in the below example based on a table named t_10m with\n10 millions rows.\n\nThe table has been created with :\n\nCRE...
[ { "msg_contents": "Join us in Ottawa for the 11th annual PGCon. On May 23-26, users and developers from \naround the world arrive for what has become a traditional gathering of the PostgreSQL\ncommunity.\n\nThere will be two days of tutorials on Tuesday and Wednesday. The best of the best \nwill be available ...
[ { "msg_contents": "So after reading a recent thread on the steep learning curve for PG\ninternals [1], I figured I'd share where I've gotten stuck with this in a\nnew thread vs hijacking that one.\n\nOne of the goals I had with pg_partman was to see if I could get the\npartitioning python scripts redone as C fu...
[ { "msg_contents": "Attached patch fixes the oversight that COMMENT ON COLUMN is not allowed\non partitioned tables columns.\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailpref/pgsql-hackers", ...
[ { "msg_contents": "Hi all,\n\nSome of you may have noticed that hamster is heavily red on the\nbuildfarm. I have done a bit of investigation, and I am able to\nreproduce the failure manually. But actually after looking at the logs\nthe error has obviously showed up:\n2017-04-16 05:07:19.650 JST [18282] LOG: da...
[ { "msg_contents": "Hi,\n\nAs doc of logical decoding said as a note[1], logical replication can\nsupport the synchronous replication with some restriction. But In\naddition to this, IIUC in logical replication decoded data is sent to\nsubscribers only when the commit WAL record is decoded (calls\nReorderBufferC...
[ { "msg_contents": "Hi,\n\ncurrently logical replication worker uses ApplyContext to decode received data\nand that context is never freed during transaction processing. Hence if publication\nside is performing something like 10M row inserts in single transaction, then\nsubscription worker will occupy more than ...
[ { "msg_contents": "Hi,\n\nThe lwlock dtrace probes define LWLockMode as int, and the \nTRACE_POSTGRESQL_LWLOCK methods are called using both a variable and \nconstant definition.\n\nThis leads to a mix of argument definitions depending on the call site, \nas seen in probes.txt file.\n\nA fix is to explicit cast...
[ { "msg_contents": "Hi,\n\nWhile inspecting the logical replication code, I found a bug that could\npick the wrong remote relation if they have the same name but different\nschemas. Also, I did some spelling/cosmetic changes and fixed an oversight\nin the ALTER SUBSCRIPTION documentation. Patches attached.\n\n\n...
[ { "msg_contents": "Hi,\n\nreading SASL docs found this typo:\n\nin protocol.sgml:1356\n\"\"\"\nTo begin a SASL authentication exchange, the server an AuthenticationSASL\n message.\n\"\"\"\n\nI guess it should say \"the server sends an AuthenticationSASL message\"\n\n-- \nJaime Casanova www...
[ { "msg_contents": "We've hit a case where pass_down_bound() isn't pushing the row count limit\nfrom limit into sort. The issue is that we're getting a subquery scan node\nbetween the limit and the sort. The subquery is only doing column\nprojection and has no quals or SRFs so it should be safe to push the limit...
[ { "msg_contents": "Hi,\n\nThe commit 887227a1c changed the defaults for subscriptions to do async\ncommit. But since the tests often wait for disk flush and there is no\nconcurrent activity this has increased the amount of time needed for\neach test. So the attached patch changes the subscriptions create in tab...
[ { "msg_contents": "The attached cleans up a few small misusages of appendStringInfo and\nrelated functions.\n\nSome similar work was done in,\n\nf92d6a540ac443f85f0929b284edff67da14687a\nd02f16470f117db3038dbfd87662d5f0eb5a2a9b\ncacbdd78106526d7c4f11f90b538f96ba8696fb0\n\nso the majority of these should all be ...
[ { "msg_contents": "Hi All,\n\nI stumbled upon this test case from the master that sets an assertion\nfailure (see stack trace at the end) on REL9_5_STABLE.\n\ncreate temp table gstest4(id integer, v integer,\n unhashable_col bit(4), unsortable_col xid);\ninsert into gstest4\nvalues (1,1...
[ { "msg_contents": "\nI have released version 4.19 of the PostgreSQL Buildfarm client. It can\nbe downloaded from\n<https://buildfarm.postgresql.org/downloads/releases/build-farm-4_19.tgz>\n\n\nApart from some minor bug fixes, the following changes are made:\n\n * Include the script's path in @INC. That means y...
[ { "msg_contents": "\nHi!\n\nAlvaro, you've recently commited patch with BRIN autosummarize\n\nTell me, this feature can't be really tested via regression tests?\n\nBecause now I am rebasing my reloptions patch (again!), and as it was partly \nrebased, I run make check. \nAt that point I did not moved implementa...
[ { "msg_contents": "So I updated longfin to the new release of the buildfarm client,\nand was quite dismayed by the fact that its cycle time went\nfrom 16 minutes to 24. Some of that might be random effects like\nthe state of the kernel disk caches, but a large chunk of it\n--- over 5 minutes --- evidently is f...
[ { "msg_contents": "Hi,\n\nI've been encountering highly variable planning time on PG 9.5.4.\nRunning `EXPLAIN SELECT * FROM events_1171738` will take anywhere from\n200ms to 4s. This likely has to do with the table having 1300 partial\nindexes on it (for reasons elaborated on in\nhttps://blog.heapanalytics.com/...
[ { "msg_contents": "I chanced to notice that on gaur/pademelon, the \"select_parallel\"\nregression test sometimes takes a great deal longer than normal,\nfor no obvious reason. It does eventually terminate, but sometimes\nonly after 10 to 20 minutes rather than the couple dozen seconds\nthat are typical on tha...
[ { "msg_contents": "On 2017-04-19 20:06:05 -0400, Tom Lane wrote:\n> > BTW, we IIRC had discussed removing the select() backed latch\n> > implementation in this release. I'll try to dig up that discussion.\n>\n> Might be sensible. Even my pet dinosaurs have poll(2).\n\nI can't find the discussion anymore, but ...
[ { "msg_contents": "In cost_size.c, there is this comment block:\n\n+ * Note: in this cost model, AGG_SORTED and AGG_HASHED have exactly\nthe\n+ * same total CPU cost, but AGG_SORTED has lower startup cost. If\nthe\n+ * input path is already sorted appropriately, AGG_SORTED should be\n+ ...
[ { "msg_contents": "Hi,\n\nI have noticed the following behavior with DROP SUBSCRIPTION followed\nby a cancel request. If the remote replication slot is dropped, the\nsubscription may still be present locally:\n=# CREATE SUBSCRIPTION mysub CONNECTION 'port=5432 user=mpaquier\ndbname=mpaquier' PUBLICATION mypub, ...
[ { "msg_contents": "Hello Team\n\nThis is regarding Tcl version (8.6) support in PostgreSQL.\n\nCurrently in PostgreSQL server file (src/tools/msvc/Mkvcbuild.pm) it\nsupports only till Tcl version 8.5\n\nAttach patch contains adding Tcl 8.6 support.\n\n\nPlease Note - In Tcl8.6, the library name now contains an...
[ { "msg_contents": "Hello All,\n\nThe query on foreign table hangs due to network down of remote server for\nnear about 16 minutes before exiting.\nstatement_timeout is expected to work in this case as well but when i tried\nstatement_timeout, it is not working as expected.\n\nBelow is test case to reproduce the...
[ { "msg_contents": "Hello everyone!\n\nNow in Postgresql only immutable functions are precalculated; stable \nfunctions are calculated for every row so in fact they don't differ from \nvolatile functions.\n\nThere's a proposal to precalculate stable and immutable functions (= \ncalculate once for all output rows...
[ { "msg_contents": "Hi,\n\nWhile writing the recent ext.stats docs, I became annoyed by the output\nfunctions of the new types used by multivariate statistics: they are\nalmost JSON, but not quite. Since they can become largish, I propose\nthat we make a point of ensuring the output of those types is valid\nJSO...
[ { "msg_contents": "Simon just pointed out that having the WITH clause appear in the middle\nof the CREATE STATISTICS command looks odd; apparently somebody else\nalready complained on list about the same. Other commands put the WITH\nclause at the end, so perhaps we should do likewise in the new command.\n\nHe...
[ { "msg_contents": "Hi,\n\nSince [1] walsender (not receiver as commit message says) can execute\nSQL queries. While doing some testing of [2] I noticed that SQL queries\nin walsender get stuck if parallelism is used - I have not investigated\nwhy that is yet, but it surely is an issue. On first blush I'd susp...
[ { "msg_contents": "The current format for SCRAM verifiers in pg_authid is:\n\nscram-sha-256:<salt>:<iteration count>:<StoredKey>:<ServerKey>\n\nWhile reviewing Michael's patch to change that so that StoredKey and \nServerKey are stored base64-encoded, rather than hex-encoded as they are \ncurrently [1], I looke...
[ { "msg_contents": "Hello,\nIt seams that tiggers don't fire on subscriber's tables during logical \nreplication. Is it a bug?\n\n\n#\n# publisher: simple table and publication\n#\n\npostgres@publisher=# SELECT version();\nversion\n---------------------------------------------------------------------------------...
[ { "msg_contents": "This probably ended up here because there's a bunch of other functions\nnamed get_cheapest* in that file, but all of those relate to getting a\npath for specific PathKeys. get_cheapest_parallel_safe_total_inner()\ndoes not do that.\n\nMaybe allpaths.c is a better home for it?\n\nIt seems to h...
[ { "msg_contents": "As we discovered yesterday via jacana, very old versions of Test::More\ndon't support the note() function. It therefore seems prudent to specify\na minimum version number for the module in those scripts that use the\nfunction. According to the changelog, version 0.82 (released in Oct\n2008) s...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 14629\nLogged by: Hans Buschmann\nEmail address: buschmann@nidsa.net\nPostgreSQL version: 9.6.2\nOperating system: Windows x64\nDescription: \n\n\r\nGiven these both tables (orders_archiv inherits ...
[ { "msg_contents": "Oleg, Teodor, folks:\n\nI was demo'ing phrase search for a meetup yesterday, and the user\nfeedback I got showed that there's a missing feature with phrase search.\n Let me explain by example:\n\n\n'fix <-> error' will match 'fixed error', 'fixing error'\nbut not 'fixed language error' or 'fi...
[ { "msg_contents": "Hello, \n\nI'm investigating Batch/pipelining mode for libpq connected to this thread: https://www.postgresql.org/message-id/flat/CADT4RqA6XoDCVY-G13ME1oRVshE2oNk4fRHKZC0K-jJymQJV0Q%40mail.gmail.com#CADT4RqA6XoDCVY-G13ME1oRVshE2oNk4fRHKZC0K-jJymQJV0Q@mail.gmail.com\nAnd I'm wondering, what ar...
[ { "msg_contents": "I've whined before about how developer-unfriendly the TAP test\ninfrastructure is. One concrete problem is that if there is a failure,\nthere is absolutely no way to get any information beyond what is in the\nlogs, because the test installation's data directory is unconditionally\nblown away...
[ { "msg_contents": "Hi,\n\nI enabled skink / the valgrind animal to run the tap tests too (hugely\nincreasing the test time :(), and that paid of:\nhttps://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2017-04-22%2004%3A52%3A13\n\n==606== VALGRINDERROR-BEGIN\n==606== Conditional jump or move depends o...
[ { "msg_contents": "Okay, so append_conf is perfectly straightforward about what it does:\n\n\tA newline is NOT automatically appended to the string.\n\nHowever, I count at least eight places that are being lazy, like this:\n\n # Change a setting and restart\n $node->append_conf('postgresql.conf', 'hot_standby...
[ { "msg_contents": "\nAfter we got over the Test::More version issue, the recovery tests\nproceeded to fail fairly spectacularly in a test run on jacana.\n\n\nTest 6 fails because there is a CR in the returned stdout from psql. I'm\ninclined to adjust that in PostgresNode::safe_psql so we don't have to\ndo it al...
[ { "msg_contents": "Hi,\n\nThe time based lag tracking commit [1] added interface for logging\nprogress of replication so that we can report lag as time interval\ninstead of just bytes. But the patch didn't contain patch for the\nbuiltin logical replication.\n\nSo I wrote something that implements this. I didn't...
[ { "msg_contents": "Hi,\n\nSeems like couple of declarations for couple of functions we never\nactually implemented and are not used got past review of logical\nreplication support for initial copy path (commit 7c4f52409).\n\nAttached patch gets rid of them.\n\n-- \n Petr Jelinek http://www.2nd...
[ { "msg_contents": "Now that we've got consistent failure reports about the 009_twophase.pl\nrecovery test, I set out to find out why it's failing. It looks to me\nlike the reason is that this (twophase.c:2145):\n\n SubTransSetParent(xid, subxid, overwriteOK);\n\nought to be this:\n\n SubT...
[ { "msg_contents": "In looking at the new multi-column statistics \"dependency\" option in\nPostgres 10, I am quite confused by the term \"dependency\". Wouldn't\n\"correlation\" be clearer and less confusing as \"column dependency\"\nalready means something else.\n\n-- \n Bruce Momjian <bruce@momjian.us> ...
[ { "msg_contents": "Hi Team,\n\nI am using Postgresql 9.5 and I have created backup_admin user and created\ndba_admin ROLE with SUPERUSER and REPLICATION ,after that GRANT dba_admin\n role to backup_admin user and executed pg_basebakup utility with\nbackup_admin user.\nBut I am not able to use the pg_baseback...
[ { "msg_contents": "Here's a patch that will allow calling vcregress.pl to run a single TAP\ntest set. It would work like this:\n\n\n vcregress.pl src/test/recover true\n\n\nThe second argument if true (in the perl sense, of course) would trigger\na temp install before running the tests. It defaults to off, i...
[ { "msg_contents": "\nAFAICT, unlike the pg_regress checks, which in the installcheck case run\nagainst a running instance of postgres, for TAP tests the only\ndifference is that that for the check case a temp install is done,\npossibly with some extra contrib modules. Is that correct? If is is, why\naren't we p...
[ { "msg_contents": "Here I attached a small patch that adds the build support for\nvisual studio 2017.\n\nThe tools version number is still 14.X, irrespective of VS 2017\nversion of 15.0. I modified the versions accordingly.\n\nRegards,\nHari Babu\nFujitsu Australia\n\n\n-- \nSent via pgsql-hackers mailing list ...
[ { "msg_contents": "Hello.\n\nWhile I looked into dynahash.c, I found that the following\nsentense became outdated by 5dfc198. The commit removed the only\nusage of hash_freeze().\n\n> * NOTE: it is possible to use hash_seq_init/hash_seq_search without any\n> * worry about hash_seq_term cleanup, if the hashtable...
[ { "msg_contents": "Hi hackers,\n\nThere were a lot of discussions about query plan caching in hackers \nmailing list, but I failed to find some clear answer for my question and \nthe current consensus on this question in Postgres community. As far as \nI understand current state is the following:\n1. We have pe...
[ { "msg_contents": "The attached small patched fixes an incorrect usage of an error code\nin the extended stats code.\n\n-- \n David Rowley http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Support, Training & Services\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@post...
[ { "msg_contents": "On Fri, Apr 21, 2017 at 7:59 PM, Ashutosh Bapat <\nashutosh.bapat@enterprisedb.com> wrote:\n\n> Here's an updated patch set\n>\n\nHi,\n\nI have applied v18 patches and got a crash in m-way joins when partition\nranges differ, below are steps to reproduce this.\n\nCREATE TABLE prt1 (a int, b i...
[ { "msg_contents": "the necessity of allowing limit and order by clause to be used with delete\nand\nupdate statement is discussed in the past and added to the todo list\n\npreveouse mailing list descissions\n\n http://archives.postgresql.org/pgadmin-hackers/2010-04/msg00078.php\n http://archives.postgresql.org/...
[ { "msg_contents": "The explain analyze of the hash step of a hash join reports something like\nthis:\n\n -> Hash (cost=458287.68..458287.68 rows=24995368 width=37) (actual\nrows=24995353 loops=1)\n Buckets: 33554432 Batches: 1 Memory Usage: 2019630kB\n\n\nShould the HashAggregate node also report ...
[ { "msg_contents": "I recently found a behavior regression for ALTER SEQUENCE.\n\nRepro. Steps\n============\n\n 1. Create a new sequence: CREATE SEQUENCE my_seq;\n 2. Start this loop twice in different shells:\n while true; do psql -1Xtc 'ALTER SEQUENCE my_seq RESTART 1'; done\n\nExpected (pre-10) Behav...
[ { "msg_contents": "Been seeing this warning recently:\n\ntwophase.c: In function ‘RecoverPreparedTransactions’:\ntwophase.c:1916:9: warning: variable ‘overwriteOK’ set but not used\n[-Wunused-but-set-variable]\n bool overwriteOK = false;\n ^~~~~~~~~~~\n\nAs the message says, the value of overwriteOK ...
[ { "msg_contents": "doc: first draft of Postgres 10 release notes\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/1d8573ed5569c014b9fd32e42248e58c7c28386d\n\nModified Files\n--------------\ndoc/src/sgml/filelist.sgml | 1 +\ndoc/src/sgml/ref/create_table.sgml | ...
[ { "msg_contents": "I have committed the first draft of the Postgres 10 release notes. They\nare current as of two days ago, and I will keep them current. Please\ngive me any feedback you have.\n\nThe only unusual thing is that this release has ~180 items while most\nrecent release have had ~220. The pattern ...
[ { "msg_contents": "Hi,\n\nBack in November 2013 someone suggested adding the SNI header in the TLS\nhandshake for connections initiated by libpq using OpenSQL. There was no\nusecase at that point.\n\nHowever, right now there is one:\n\nI'd like to write a small \"PostGreSQL router\" that routes connections to a...
[ { "msg_contents": "Hi,\n\nI've for a while suspected that the separation & duplication of\ninfrastructure between walsenders and normal backends isn't nice. But\nlooking at the code changes in v10 drove that home quite a bit.\n\nThe major changes in this area are\n1) d1ecd539477fe640455dc890216a7c1561e047b4 - ...
[ { "msg_contents": "$SUBJECT, if the table has, say, 2000 partitions.\n\nThe main reason seems to be that RelationBuildPartitionDesc() will be\ncalled that many times within the same transaction, which perhaps we\ncannot do much about right away. But one thing we could do is to reduce\nthe impact of memory allo...
[ { "msg_contents": "On Mon, Apr 24, 2017 at 4:13 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp\n> wrote:\n\n> Hi Rajkumar,\n>\n> It would be great if you could check if the patches fix the issues.\n>\n\nHi Amit,\n\nThanks for looking into it. I have applied fixes and checked for triggers.\nI could see differen...
[ { "msg_contents": "Hello,\n\nDid you get a chance to take a look into the issue?\n\nPlease consider it with high priority. We will be awaiting your inputs.\n\nRegards,\nSandhya\n\n_____________________________________________\nFrom: K S, Sandhya (Nokia - IN/Bangalore)\nSent: Thursday, April 20, 2017 1:36 PM\nTo...
[ { "msg_contents": "Hi Hackers,\n\nI want to share a technical problem that I am facing while writing code for\nan FDW.\nThe problem is as follows:\nIn the FDW call back functions it is recommended to use PG_TRY PG_CATCH\nblocks along with PG_RE_THROW to disconnect from the foreign server.\nI am using the same t...
[ { "msg_contents": "Hi hackers,\n\nI'd like to propose to search min and max value in index with SnapshotAny in get_actual_variable_range function.\nCurrent implementation scans index with SnapshotDirty which accepts uncommitted rows and rejects dead rows.\nIn a code there is a comment about this:\n \t\t\t...
[ { "msg_contents": "Hello,\nI'm checking how the pg_basebackup works and I got a question(maybe there are no such issues):\n\nWhen pg_basebackup is launched, a checkpoint is created first, then all files are transferred to the pg_basebackup client. Is it possible that a data page(say page-N) in a data file is ...
[ { "msg_contents": "Hi hackers,\n\nMy colleague Prabhat Sahu reported off list that transition tables\ndon't work for views. I probably should have thought about that when\nI fixed something similar for partitioned tables, and after some\nexperimentation I see that this is also broken for foreign tables.\n\nFor...
[ { "msg_contents": "Hi,\n\nDefault for hot_standby parameter should be \"on\" from PostgreSQL 10?\n\nIn PostgreSQL 10, -w option is default for [pg_ctl start]. \nSo in order to start standby we have to setting hot_standby to \"on\" or \nstart standby with -W option. \n\nChange hot_standby to \"on\" will fix this...
[ { "msg_contents": "Hi,\n\nAttached patch for $subject.\n\ns/accomodate/accommodate/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription...
[ { "msg_contents": "HI,\n\nAttached patch for $subject.\n\ns/strigs/strings/\n\nRegards,\n\n--\nMasahiko Sawada\nNIPPON TELEGRAPH AND TELEPHONE CORPORATION\nNTT Open Source Software Center\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp:...
[ { "msg_contents": "I tried setting up logical replication on the same server between two\ndifferent databases, and got, from database test:\n\n\ttest=> CREATE TABLE test (x INT PRIMARY KEY);\n\tCREATE TABLE\n\ttest=>\n\ttest=> INSERT INTO test VALUES (1);\n\tINSERT 0 1\n\ttest=> CREATE PUBLICATION mypub FOR TAB...
[ { "msg_contents": "-hackers,\n\nWe have had ALTER SYSTEM for some time now. It is awesome to be able to \nmake changes that can be system wide without ever having to hit a shell \nbut it does lack a feature that seems like an oversight, the ability to \ncomment.\n\nProblem we are trying to solve:\n\nHaving docu...
[ { "msg_contents": "I griped before that the src/test/recovery/ tests take an unreasonably\nlong time. My interest in that was piqued further when I noticed that\nthe tests consume not very much CPU time, and aren't exactly saturating\nmy disks either. That suggests that the problem isn't so much that the\ntes...
[ { "msg_contents": "Noticed that a crash occurs if a column is specified twice when creating a\npartition:\n\ncreate table p (a int) partition by list (a);\n\n-- crashes\ncreate table p1 partition of parent (\n a not null,\n a default 1\n) for values in (1);\n\nThe logic in MergeAttributes() that merged partit...
[ { "msg_contents": "Hi hackers,\n\nI'd like to propose to search min and max value in index with SnapshotAny in get_actual_variable_range function.\nCurrent implementation scans index with SnapshotDirty which accepts uncommitted rows and rejects dead rows.\nIn a code there is a comment about this:\n \t\t\t\...
[ { "msg_contents": "Additional tests for subtransactions in recovery\n\nTests for normal and prepared transactions\n\nAuthor: Nikhil Sontakke, placed in new test file by me\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttps://git.postgresql.org/pg/commitdiff/0352c15e5ab4f70c3ab2ac1d48d9f38a5dd11786\n\nModified...
[ { "msg_contents": "\nI've been trying to track down the cause of recent failures at the \"make\ncheck\" stage on frogmouth, a 32-bit Windows/Mingw instance running on XP.\n\nI couldn't see any obvious reason for the failures, and a reboot didn't\ncure the problem.\n\nThen I tried running (offline mode) the seri...
[ { "msg_contents": "Hi\n\nSometimes I have to solve the result types of some query. It is invisible\nin psql. You have to materialize table or you have to create view. Now,\nwhen we can enhance \\g command, we can introduce query describing\n\nsome like\n\nselect a, b from foo\n\\gdesc\n\n | type | len...
[ { "msg_contents": "Hi hackers,\n\nI find out that now Postgres correctly invalidates prepared plans which \ndirectly depend on altered relation, but doesn't invalidate plans having \ntransitive (indirect) dependencies.\nIs it a bug or feature?\n\npostgres=# create table foo(x integer);\nCREATE TABLE\npostgres=#...
[ { "msg_contents": "Hello.\n\nAs the subject, PQhost() seems to be forgeting about the case\nwhere only hostaddr is specified in a connection string.\n\nPQhost() returns /var/run/postgresql or such for a connection\nmade from the connection string \"hostaddr=127.0.0.1 port=5432\ndbname=postgres\". I don't believ...
[ { "msg_contents": "Hello.\n\nI noticed that the precedence between host and hostaddr in a\nconnection string is reversed in regard to .pgpass lookup in\ndevel.\n\nFor example the following connection string uses a .pgpass entry\nwith \"127.0.0.1\", not \"hoge\".\n\n\"host=hoge hostaddr=127.0.0.1 port=5432 dbnam...
[ { "msg_contents": "On Fri, Apr 28, 2017 at 11:43 AM, Amit Langote <\nLangote_Amit_f8@lab.ntt.co.jp> wrote:\n\n> Updated patch attached.\n>\n\nHi Amit,\n\nI have applied given patch, could see below behaviour with statement\ntrigger.\n\nWhen trying to delete value within partition range, triggers got fired\n(wit...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 14634\nLogged by: Henry Boehlert\nEmail address: henry_boehlert@agilent.com\nPostgreSQL version: 9.6.2\nOperating system: Windows Server 2012 R2 6.3.9600\nDescription: \n\nExecuting command pg_base...
[ { "msg_contents": "Hi!\n\nSeems, there two issues:\n\n1) Sometime conditions which for a first glance could be pushed down to scan are \nleaved as join quals. And it could be a ~30 times performance loss.\n\n2) Number of query result depend on enabe_seqscan variable.\n\nThe query\nexplain analyze\nSELECT\n ...
[ { "msg_contents": "It seems like a good next step for amcheck would be to add\nfunctionality that verifies that heap tuples have matching index\ntuples, and that heap pages are generally sane. I've been thinking\nabout a design for this for a while now, and would like to present\nsome tentative ideas before I s...
[ { "msg_contents": "Hello, dear hackers!\n\nThere is task in todo list about optional CTE optimization fence \ndisabling.\n\nI am not interested at this point in disabling mechanism \nimplementation, but I would like to discuss the optimization \nmechanism, that should work when the fence is disabled.\n\n\nIt se...
[ { "msg_contents": "Hi hackers,\n\nI was reading xact.c and noticed this block:\n\n /*\n * Use volatile pointer to prevent code rearrangement;\nother backends\n * could be examining my subxids info concurrently,\nand we don't want\n * them to see an ...
[ { "msg_contents": "This is a proposal for a new developer patch idea, in case someone's interested.\n\nKeeping an eye on Stack Overflow has shown me that quite a few people\nseem to get confused by pg_dump and pg_restore being command line\ntools, not psql commands.\n\nIt'd be interesting if psql detected this ...
[ { "msg_contents": "Hi all,\n\nI am coding an update script for an extension. And I am in trouble when \ntrying to rename a column of an existing table.\n\nJust after the ALTER TABLE statement, I want to access this table. But \nat this time, the altered column is not visible with its new name.\n\nI wrote a simp...