threads
listlengths
1
2.99k
[ { "msg_contents": "In our recent investigations of slow shutdown on some buildfarm members,\nit became clear that \"database system is shut down\" can get logged many\nseconds before the postmaster actually exits; the main cause of delay\nis that the stats collector's final data dump can take awhile. This is\n...
[ { "msg_contents": "Hi,\n\nSeveral places in our docs have blurbs like\n> Note that on many systems, the effective resolution of sleep delays is\n> 10 milliseconds; setting <varname>wal_writer_delay</> to a value that\n> is not a multiple of 10 might have the same results as setting it to\n> the next higher mult...
[ { "msg_contents": "Hi all,\n\nAs it currently stands, max_parallel_degree is set to a superuser\ncontext, but we probably want to discuss whether we want to keep it\nthis way prior to releasing 9.6. Might we want to reduce its level so\nthat users can adjust it accordingly? They'd still be limited by\nmax_wor...
[ { "msg_contents": "Hello, team!\n\nI am writing on behalf of the BPGSQL Project [1] to request a code audit\nfrom a core PGSQL team member.\n\nThe current maintainer is worried about the security of the code, and is\nconsidering closing the project unless it can be properly reviewed [2]. As\na project living do...
[ { "msg_contents": "Hi,\n\nAt the moment, if we try to set up a configuration parameter for a\nuser which doesn't make sense in that context, we get an error message\nthat doesn't really tell us that we're not allowed to set it for\nusers:\n\n# ALTER ROLE moo SET log_line_prefix = '%s';\nERROR: parameter \"log_...
[ { "msg_contents": "Modify the isolation tester so that multiple sessions can wait.\n\nThis allows testing of deadlock scenarios. Scenarios that would\npreviously have been considered invalid are now simply taken as a\nscenario in which more than one backend will wait.\n\nBranch\n------\nmaster\n\nDetails\n----...
[ { "msg_contents": "Add some isolation tests for deadlock detection and resolution.\n\nPreviously, we had no test coverage for the deadlock detector.\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/4c9864b9b4d87d02f07f40bb27976da737afdcab\n\nModified Files\n--------------\n...
[ { "msg_contents": "Most of the pl/pgsql functions and variables are prefixed plpgsql_, so they\ndon't risk conflicting with other shared libraries loaded.\n\nThere are a couple that are not prefixed. Attached patch fixes that. It's\nmostly a cleanup, but I think it's something we should do since it's only 2\nva...
[ { "msg_contents": "Hi hackers,\n\nWhat do you think about improving cache replacement clock-sweep algorithm in PostgreSQL with adaptive version proposed in this article:\n\n http://www-cs.stanford.edu/~sbansal/pubs/fast04.pdf\n\nAre there some well known drawbacks of this approach or it will be interesting ...
[ { "msg_contents": "TAP-tests need two Perl modules: Test::More and IPC::Run.\n\nThe patch adds checking of modules in configure.in and configure.\n\n\nEugene Kazakov,\nPostgres Professional\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nh...
[ { "msg_contents": "Right now, pg_basebackup can only use replication slots with WAL streaming.\nIt's intended, I believe, to be used when you use pg_basebackup to set up a\nnew replica, to close the gap before starting a replica (ref\nhttp://www.postgresql.org/message-id/flat/555DD2B2.7020000@gmx.net).\n\nA bit...
[ { "msg_contents": "Hello,\n\nI just found a compatibility issue when I was migrating an elderly VM to \na new host. The VM is running Windows Server 2008 SP2, and it has the \nEDB build of PostgreSQL 9.4.5 on it. (9.4.6 behaves the same.) It is \nalso not dependent on running in a VM; it would fail on the hardw...
[ { "msg_contents": "If I give pgbench an empty file, I get a segfault.\n\n$ touch empty.sql\n$ src/bin/pgbench/pgbench -T 60 -f empty.sql\nstarting vacuum...end.\nSegmentation fault (core dumped)\n\nThis has been since this commit:\n\ncommit 8bea3d2219844887e170471f223ba100b3c17571\nAuthor: Alvaro Herrera <alvhe...
[ { "msg_contents": "Hello:\n\nI am a pgRouting developer.\n\nIn my CmakeLists.txt I use this flags:\nset(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -std=gnu99 -fPIC -O2 -g -Wall -Wconversion -pedantic -fmax-errors=10 -Wmissing-prototypes -frounding-math\")\nset(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++0x -fPIC -O...
[ { "msg_contents": "I noticed that pgbench calls FD_ISSET on a socket returned by\nPQsocket() without first checking that it's not invalid. I don't think\nthere's a real problem here because the socket was already checked a few\nlines above, but I think applying the same coding pattern to both places\nis cleane...
[ { "msg_contents": "I know we've had many discussions about the defaults, so hey, let's bring\nout the paint-cans and do the bikeshed all over again.\n\nI would suggest a couple of changes to the default values in parameters\nrelated to backup and replication.\n\nThe reason for this is to make it \"easier to do ...
[ { "msg_contents": "Hi,\n\nthe interpretation of slow queries or entries from auto-explain log can be\ndifficult some times, because the the main time of query evaluation is\nwaiting on lock, and this number isn't in related entry. Our situation is\nlittle bit difficult, because we have not direct access to Post...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi,\n\nI tried to add bool support to the btree_gin contrib module, and as far as I can tell, it seems to\nwork (wasn't that complicated, actually).\n\nBut now I'm stuck, as PostgreSQL doesn't seem to like to use my new index, if I use equalit...
[ { "msg_contents": "I was working on adding the tar streaming functionality we talked about at\nthe developer meeting to pg_basebackup, and rapidly ran across the issue\nthat Andres has been complaining about for a while. The code in\nreceivelog.c just passes an insane number of parameters around. Adding or\ncha...
[ { "msg_contents": "Hi hackers,\n\nRecently I've been working on a CASCADE option for ALTER ... OWNER TO \nstatement. Although it's still a working prototype, I think it's time to share \nmy work.\n\n\nIntroduction\n============\n\nAs of now there's no way to transfer the ownership of an object and all its \ndep...
[ { "msg_contents": "Hello.\n\nI've been currently working on support of -sanitize=use-after-scope in the GCC compiler and\nI decided to use postgresql as my test-case. The sanitation poisons every stack variable at the\nvery beginning of a function, unpoisons a variable at the beginning of scope definition and f...
[ { "msg_contents": "Greetings,\n\nWhile getting back into the thread Re: Optimization for updating foreign\ntables in Postgres FDW, I noticed some issues with the docs and\nGetExistingLocalJoinPath():\n\nGetExistingLocalJoinPath() exists in src/backend/foreign/foreign.c, but\nthe docs include discussion of it un...
[ { "msg_contents": "Someone on IRC reported that if they had run the pg_upgrade-created\ndelete_old_cluster.sh shell script it would have deleted their old _and_\nnew data directories. (Fortunately they didn't run it.)\n\nI was confused how this could have happened, and the user explained that\ntheir old cluste...
[ { "msg_contents": "For reasons, I was trying to compile older versions of Postgres and\nran into a strange behaviour where system() worked normally but then\nreturned -1 with errno set to ECHILD. And surprisingly it looks like\nwe've seen this behaviour in the past but on a Solaris:\n\ncommit 07d4d36aae79cf2ac3...
[ { "msg_contents": "While reading planstats.sgml, I encounted a sentence which I don't\nunderstand.\n\n These numbers are current as of the last <command>VACUUM</> or\n <command>ANALYZE</> on the table. The planner then fetches the\n actual current number of pages in the table (this is a cheap operatio...
[ { "msg_contents": "Hello.\n\nI'm planning to change the error level of a specific error\nmessage. We can use emit_log_hook for this purpose but we have\nno reliable means to identify what a message is.\n\nFor messages without valid sqlerrcode, filename:lineno could be\nused to identify but lineno is too unstab...
[ { "msg_contents": "Hello pg-hackers,\n\nI need advice about postgresql-jdbc driver.\n\nCurrent version in Fedora is behind latest version of postgresql-jdbc (1200 vs 1207).\n\nWe are trying to package latest version into Fedora, but there are dependencies, which are not useless in Fedora (waffle-jna) and ones w...
[ { "msg_contents": "This entry https://commitfest.postgresql.org/8/419/ contains very unrelated\npatches from another commitfest. I think\n\n\nOleg\n\nThis entry https://commitfest.postgresql.org/8/419/ contains very unrelated patches from another commitfest. I thinkOleg", "msg_date": "Tue, 16 Feb 2016 17:50...
[ { "msg_contents": "Hello,\n\nI am using a hot_standby setup on PostgreSQL 9.1\nWhile I was testing, I found out that only checkpoint_timeout (+ a\ncheckpoint since the last restart point) could trigger a restart point.\n\nThe code (bgwriter.c) seems to confirm this:\n\n /*\n * Check progress against WAL s...
[ { "msg_contents": "We use \"CREATE DATABASE foo TEMPLATE foo_bk\" to restore development\ndatabases to a known snapshot (ex: prior to testing DB migrations).\nCurrently psql only autocompletes \"foo_bk\" if it's marked as a template\ndatabase. It's mildly inconvenient to have to type out the entire database\nna...
[ { "msg_contents": "It seems there's no figures/diagrams in our docs. I vaguely recall that\nwe used to have a few diagrams in our docs. If so, was there any\ntechnical reason to remove them?\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJapanese:http://w...
[ { "msg_contents": "I've been looking a little more deeply at the extension mechanism,\ntrying to answer my own question about what happens once there have\nbeen several releases of an extension, and the extensions directory\nis now populated with a bunch of files quux--1.0.sql, quux--1.1.sql,\nquux--1.0--1.1.sq...
[ { "msg_contents": "I run into the following. Seems this is a bug for -32768, which should be\na valid smallint value.\n\nTest was run on 9.4.5.\n\nThanks,\nFeng\n\nftian=# select 32767::int2;\n\n\n int2\n-------\n 32767\n(1 row)\n\nftian=# select -32767::int2;\n ?column?\n----------\n -32767\n(1 row)\n\nfti...
[ { "msg_contents": "Just following up here since I haven't gotten a reply -- I'd love to work\nwith someone from the Postgres community on a plan to make the\ntsearch_extras functionality available as part of mainline postgres.\n\n\n -Tim Abbott\n\nOn Wed, Feb 3, 2016 at 9:41 PM, Tim Abbott <tabbott@mit.e...
[ { "msg_contents": "Hi\n\nIn a entry https://commitfest.postgresql.org/9/525/ the commitfest\napplication show last patch\n\nLatest attachment (incompat.py) at 2016-02-04 09:13:55 from Catalin Iacob\n<iacobcatalin at gmail.com>\n\nalthough last patch is from yesterday\n\nAttachment: plpython-enhanced-error-02.pa...
[ { "msg_contents": "Hi all,\n\nAfter looking at Alvaro's message mentioning the handling of\nPQsocket() for invalid sockets, I just had a look by curiosity at\nother calls of this routine, and found a couple of issues:\n1) In vacuumdb.c, init_slot() does not check for the return value of PQsocket():\nslot->sock ...
[ { "msg_contents": "I'm guessing this is by design but just wanted to confirm that since it\nmakes this feature not as useful for us. \n\nIt also wasn't absolutely clear to me from the documentation.\n\nWe are running PostgreSQL 9.5.1 and if we do something like:\n\nCREATE TABLE test(field1 varchar(5) primary k...
[ { "msg_contents": "Hello everyone,\n\nI am currently pursuing my bachelor of engineering in computer science\nat Maharashtra\nInstitute of Technology, Pune ,India. I am very excited about contributing\nto postgres through google summer of code program.\n\nIs postgres applying for gsoc 2016 as mentoring organi...
[ { "msg_contents": "Here is the test:\n\n-- create database\npostgres=# create database foo;\nCREATE DATABASE\npostgres=# \\c foo\nYou are now connected to database \"foo\" as user \"rushabh\".\n-- Create remote table with default expression\nfoo=# create table test ( a int , b int default 200 );\nCREATE TABLE\n...
[ { "msg_contents": "Hi All,\nNow that we have join pushdown support in postgres_fdw, we can leverage the\nsort pushdown mechanism for base relations to work for pushed down joins as\nwell. PFA patch for the same.\n\nThe code to find useful set of pathkeys and then generate paths for each\nlist of pathkeys is mov...
[ { "msg_contents": "Commit d1b7c1ffe72e86932b5395f29e006c3f503bc53d has added\nthe support for passing bind parameters to parallel workers, however\nprepared statement which uses bind parameters wasn't enabled\nfor parallel query as the 'Execute' message in FE-BE protocol\ncan pass the row_count which can make p...
[ { "msg_contents": "Hello, I setup the logical replication with pglogical on pg95, it works fine, however, I want to set the conflict resolution according to the document below=====================The configuration of the conflicts resolver is done via the`pglogical.conflict_resolution` setting. The supp...
[ { "msg_contents": "Although it may not be obvious to the naked eye, I have been working away\non that long-overdue upper-planner pathification project. One thing\nthat's necessary to make that happen is to keep track of the targetlists\nof upper plan levels within the Path data structures, since once you get\n...
[ { "msg_contents": "It would be nice if pg_ctl promote supported the -w (wait) option.\n\nHow could pg_ctl determine when the promotion has finished?\n\nWe could query pg_is_in_recovery(), but that would require database\naccess, which we got rid of in pg_ctl.\n\nWe could check when recovery.conf is gone or reco...
[ { "msg_contents": "Hi\n\nWe are facing issue with PostgreSQL JDBC behaviour\n\nin Java, under autocommit false mode,\n\n1.in between if any transaction\n\nHiWe are facing issue with PostgreSQL JDBC behaviourin Java, under autocommit false mode, 1.in between if any transaction", "msg_date": "Thu, 18 Feb 2016...
[ { "msg_contents": "Hi all,\n\nIt seems that description of index_size that is returned by pgstatindex() is wrong.\nThe document says \"Total number of pages in index\".\nBut it looks like the number of bytes is stored in index_size.\n\n The document page:\n http://www.postgresql.org/docs/9.5/interactive/pgs...
[ { "msg_contents": "Hello,\n\n>Remaining tasks are;\n>- Document patch.\n>- Regression test patch.\n>- Syntax error message for s_s_names improvement.\n\nPlease find patch attached for regression test for multisync replication.\nI have created this patch over Michael's recovery-test-suite patch.\nPlease review i...
[ { "msg_contents": "Hi,\n\nCurrently the server insists on ssl_key_file's permissions to be 0600\nor less, and be owned by the database user. Debian has been patching\nbe-secure.c since forever (the git history goes back to 8.2beta1) to\nrelax that to 0640 or less, and owned by root or the database user.\n\nThe ...
[ { "msg_contents": "Hi\n\nAs far as I see there is one basic update function for jsonb, that can't be\ncovered by `jsonb_set` - insert a new value into an array at arbitrary\nposition.\nUsing `jsonb_set` function we can only append into array at the end/at the\nbeginning, and it looks more like a hack:\n\n```\n=...
[ { "msg_contents": "Hi all,\n\nI have just found a typo in the source code (not in a comment) of bufmgr.c\nthat result in waste of memory. It might be a 'bug' but it does not result\nin any incorrect operation but just results in waste of a few memory\nresource.\n\nAs sizeof(PrivateRefCountArray) found in InitBu...
[ { "msg_contents": "So I announce a PL/Java 1.5.0-BETA1 with a comment that windows-MSVC\nwas well tested but that I hadn't found anyone to test windows-mingw,\nand behold, what should happen but someone turns up with an interest\nin testing the mingw build, so we might have that back in shape as\nwell for -BETA...
[ { "msg_contents": "Hi, Hackers,\n\nI have an fdw that each foreign table will acquire some persisted resource.\nIn my case, some files in file system. To drop the table cleanly, I have\nwritten\nan object_access_hook that remove those files. The hook is installed in\n_PG_init.\n\nIt all worked well except on...
[ { "msg_contents": "Mentoring organization application deadline is 19 February 19:00 UTC\n\nMentoring organization application deadline is 19 February 19:00 UTC", "msg_date": "Fri, 19 Feb 2016 22:59:55 +0530", "msg_from": "piyush patil <piyushpatil67@gmail.com>", "msg_from_op": true, "msg_subject...
[ { "msg_contents": "Often, I'm faced with a long .sql script that builds some objects, then\nbuilds things on top of them.\n\nThis means that some of the queries I wish to run are dependent on the\nstate of things that are unknown at the time of writing the script.\n\nI could give up, and make a python script th...
[ { "msg_contents": "Here are three patches to fix new warnings in GCC 6.\n\n0001 is apparently a typo.\n\n0002 was just (my?) stupid code to begin with.\n\n0003 is more of a workaround. There could be other ways address this, too.\n\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org...
[ { "msg_contents": " From doc/src/start.sgml:\n\n----------------------------------------------\n<screen>\nmydb=#\n</screen>\n That would mean you are a database superuser, which is most likely\n the case if you installed <productname>PostgreSQL</productname>\n yourself. Being a superuser means that yo...
[ { "msg_contents": "\nI have just cut release 4.17 of the PostgreSQL Buildfarm client. It is \navailable at <http://www.pgbuildfarm.org/downloads/latest-client.tgz>.\n\nChanges of note:\n\n * use PGCTLTIMEOUT instead of hardcoded timeout settings\n * shipped config file is renamed to build-farm.conf.sample to ...
[ { "msg_contents": "I recently wished for deferrable check constraints while doing some\ncrash-recovery stress testing.\n\nI don't know how important they would be for real-world cases, but the\nSQL standard does seem to require them, so I think they would be\ndesirable just for that reason.\n\nThere isn't an en...
[ { "msg_contents": "Cosmetic improvements in new config_info code.\n\nCoverity griped about use of unchecked strcpy() into a local variable.\nThere's unlikely to be any actual bug there, since no caller would be\npassing a path longer than MAXPGPATH, but nonetheless use of strlcpy()\nseems preferable.\n\nWhile a...
[ { "msg_contents": "Hi,\n\nwhile investigating a poor query plan choice, I've noticed suspicious \nsemi join estimates looking like this:\n\n -> Nested Loop (cost=35.52..1787.31 rows=281653470 width=566)\n Buffers: shared hit=9305\n -> HashAggregate (cost=34.81..36.81 rows=200 width=32)\n ...
[ { "msg_contents": "Some of our PLs have the unfortunate problem of making a weak effort \nwith converting types to and from the PL and Postgres. For example, \nplpythonu will correctly transform a complex type to a dict and an array \nto a list, but it punts back to text for an array contained inside a \ncomple...
[ { "msg_contents": "Hi all\n\nI've been taking a look at the Perl test infrastructure ( src/test/perl )\nfor writing multi-node tests, starting with PostgresNode.pm and I have a\nfew comments based on my first approach to the code \"cold\".\n\nI think a README in src/test/perl/ would be very helpful. It's curren...
[ { "msg_contents": "Hello, Hackers!\n\nI'm writing another patch and while I was trying to cover corner cases\nI found that to_date and to_timestamp work wrong if year in input\nvalue is zero or negative:\n\npostgres=# SELECT\npostgres-# y || '-06-01' as src\npostgres-# ,CASE WHEN y>0 THEN ('00'||y||'-0...
[ { "msg_contents": ">\n> (One thing I had to come up with was processing of arrays, which you\n> also see in that example JSON -- it's the specifiers that have a colon\n> inside the {}. The part after the colon is used as separator between\n> the array elements, and each element is expanded separately.)\n>\n>\n...
[ { "msg_contents": "Hi all\n\nAs a continuation of the thread firstly dedicated to SCRAM:\nhttp://www.postgresql.org/message-id/55192AFE.6080106@iki.fi\nHere is a new thread aimed at gathering all the ideas of this previous\nthread and aimed at clarifying a bit what has been discussed until now\nregarding passwo...
[ { "msg_contents": "Hi,\n\nAttached patch implements the tab-completion for CREATE USER MAPPING command.\nComments?\n\nRegards,\n\n-- \nFujii Masao\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-hacke...
[ { "msg_contents": "There was discussion at the FOSDEM/PGDay Developer Meeting\n(https://wiki.postgresql.org/wiki/FOSDEM/PGDay_2016_Developer_Meeting)\nabout sharding so I wanted to outline where I think we are going with\nsharding and FDWs.\n\nFirst, let me point out that, unlike pg_upgrade and the Windows port...
[ { "msg_contents": "Hello,\n\nHere is a little patch. It fixes this issue \nhttp://www.postgresql.org/message-id/20160217080048.26357.49416@wrigleys.postgresql.org\n\nWithout patch we get wrong result for the second email 'test@123-reg.ro':\n\n=> SELECT * FROM ts_debug('simple', 'test@vauban-reg.ro');\n alias |...
[ { "msg_contents": "Hi,\n\nwhile working of using correlation statistics when estimating GROUP BY \n(or generally whatever uses estimate_num_groups), I've noticed that we \napply the selectivity in a rather naive way.\n\nAfter estimating number of groups in the whole table - either by reading \npg_stats.n_distin...
[ { "msg_contents": "Sorry, forgot forwarding the mail to the mail list.\r\nPlease put some comments.\r\n\r\n\r\n------------------\r\nJerry Yu\r\nhttps://github.com/scarbrofair\r\n\r\n\r\n \r\n\r\n\r\n\r\n\r\n------------------ Original ------------------\r\nFrom: \"Armor\";<yupengstone@qq.com>;\r\nDate: Tue, ...
[ { "msg_contents": "The explanations for vacuum_freeze_table_age etc. are in the section\n\"Statement Behavior\", which is a subsection of \"Client Connection\nDefaults\". To me vacuum_freeze_table_age etc. are totally unrelated\nto \"Client Connection Defaults\".\n\nI think \"Resource Consumption\" section is m...
[ { "msg_contents": "Hey All,\n\nI've been doing some (futile) work trying to speed up aggregates with a\ngroup by in PostgreSQL 9.5.\n\nI installed PostgreSQL 9.6 on the same machine to see if I could get\nanything running in parallel when using partitioning - which didn't work.\n\nBut - I did find this:\n\nWith...
[ { "msg_contents": "On 2/2/16, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:\n> On 2/2/16 6:39 PM, Tom Lane wrote:\n>> I'm inclined to think that a good solution would be to create an\n>> artificial restriction to not accept years beyond, say, 100000 AD.\n>> That would leave us with a lot of daylight to not have t...
[ { "msg_contents": "From past few weeks, we were facing some performance degradation in the\nread-only performance bench marks in high-end machines. My colleague\nMithun, has tried by reverting commit ac1d794 which seems to degrade the\nperformance in HEAD on high-end m/c's as reported previously[1], but still\...
[ { "msg_contents": "Why not based it on \"Exclusion Constraint\" ?\n\nMost discussions as of late seems to focus on Range overlaps\nwhich appeal (I would think) is that it supports both \"equality\" and\n\"overlaps\",\ntwo popular partitioning schemes.\n\n\"Equality\" as in \"value1 = value2\" can be implemented...
[ { "msg_contents": "Why not based it on \"Exclusion Constraint\" ?\n\nMost discussions as of late seems to focus on Range overlaps which appeal\n(I would think) is that it supports both \"equality\" and \"overlaps\", two\npopular partitioning schemes.\n\n\"Equality\" as in \"value1 = value2\" can be implemented ...
[ { "msg_contents": "Hey all,\n\nI'm building a FDW around a column-store backend (similar to CStore but for genomic data!).\n\nI have tables in the billions of rows, and have a common query pattern of asking for the table size (i.e. SELECT COUNT(*) FROM big_fdw_table; ).\n\nThis is a read-optimized system in whi...
[ { "msg_contents": "Hello,\n\nI just saw that the CREATE OPERATOR CLASS documentation doesn't mention\nthat BRIN indexes also support the STORAGE parameter.\n\nPatch attached.\n\nRegards\n-- \nJulien Rouhaud\nhttp://dalibo.com - http://dalibo.org\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@pos...
[ { "msg_contents": "Respect TEMP_CONFIG when running contrib regression tests.\n\nThomas Munro\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/9117985b6ba9beda4f280f596035649fc23b6233\n\nModified Files\n--------------\ncontrib/contrib-global.mk | 5 +++++\n1 file changed, 5 ...
[ { "msg_contents": "Session opened on replica doesn't see concurrently created indexes at this\ntime on master.\n\nWe have master and replica:\n\n1. master: pgbench -i -s 10\n\n2. replica:\nexplain (analyze,verbose) select * from pgbench_accounts where abalance = 1;\n\n3. master:\nALTER INDEX pgbench_accounts_ab...
[ { "msg_contents": "Hello, I want to suggest a client-side little function, implemented\nin the attached patch.\n\nFunction pg_oldest_xlog_location gets us the oldest LSN (Log Sequence \nNumber) in xlog.\n\nIt is useful additional tool for DBA (we can get replicationSlotMinLSN, \nso why not in master), it can sh...
[ { "msg_contents": "Hello, hackers!\n\nAs was mentioned in that message [1], and earlier in [2], DROPping OPERATOR with\nnegator or commutator doesn't update respective fields (oprnegate and oprcom) on\nthem. While this issue is probably not very frequent, this behaviour leaves\ndatabase in inconsistent state an...
[ { "msg_contents": "Add a test framework for recovery\n\nThis long-awaited framework is an expansion of the existing PostgresNode\nstuff to support additional features for recovery testing; the recovery\ntests included in this commit are a starting point that cover some of\nthe recovery features we have. More s...
[ { "msg_contents": "Add isolationtester spec for old heapam.c bug\n\nIn 0e5680f4737a, I fixed a bug in heapam that caused spurious deadlocks\nwhen multiple updates concurrently attempted to modify the old version\nof an updated tuple whose new version was key-share locked. I proposed\nan isolationtester spec fi...
[ { "msg_contents": "Writing log messages to syslog caters to ancient syslog implementations\nin two ways:\n\n- sequence numbers\n- line splitting\n\nWhile these are arguably reasonable defaults, I would like a way to turn\nthem off, because they get in the way of doing more interesting things\nwith syslog (e.g.,...
[ { "msg_contents": "Hello, Hackers!\n\nI worked on a patch[1] allows \"EXTRACT(epoch FROM\n+-Inf::timestamp[tz])\" to return \"+-Inf::float8\".\nThere is an opposite function \"to_timestamp(float8)\" which now defined as:\nSELECT ('epoch'::timestamptz + $1 * '1 second'::interval)\n\nSince intervals do not suppor...
[ { "msg_contents": "\n Hi.\n\n I have a newbie question for extension development. Extensions \nprovide an entry point, and are dynamically linked to PostgreSQL. But \nwhat APIs/functions are really available for extensions to call?\n\n The most obvious API is SPI. You could also implements hooks. Of...
[ { "msg_contents": "Attached fixes a typo:\n\n /* the extra unit accounts for the autovacuum launcher */\n\n MaxBackends = MaxConnections + autovacuum_max_workers + 1 +\n\n- +max_worker_processes;\n\n+ max_worker_processes;\n\nThanks,\nAmit\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql...
[ { "msg_contents": "Those with long memories will recall that I've been waving my arms about\n$SUBJECT for more than five years. I started to work seriously on a patch\nlast summer, and here is a version that I feel comfortable exposing to\npublic scrutiny (which is not to call it \"done\"; more below).\n\nThe ...
[ { "msg_contents": "Per discussion in [1], this patch improves error reporting in pltcl.\n\npltcl_error_objects.patch applies on top of the pltcl_objects_2.patch \nreferenced in [2].\n\npltcl_error_master.patch applies against current master.\n\n[1] \nhttp://www.postgresql.org/message-id/20160223150401.2173d6b6@...
[ { "msg_contents": "Hello,\n\nRegisterExtensibleNodeMethods() initializes its hash table\nwith keysize=NAMEDATALEN, instead of EXTNODENAME_MAX_LEN.\n\nThe attached patch fixes it.\n\nThanks,\n--\nNEC Business Creation Division / PG-Strom Project\nKaiGai Kohei <kaigai@ak.jp.nec.com>\n\n\n\n\n\n-- \nSent via pgsql...
[ { "msg_contents": "Hi,\n\nI am testing postgres_fdw sort pushdown feature for PostgreSQL 9.6 DB, and\nI observed below issue.\n\n*Observation: *If giving nulls last option with the order by clause as\n'desc nulls last', remote query is not considering nulls last and giving\nwrong result in 9.6 version. while in...
[ { "msg_contents": "Hello,\n\nI read this message \nhttp://www.postgresql.org/message-id/56D4197E.9050706@informatik.uni-kl.de\n\nIs this a bug or a typo? In DecodeCommit() in decode.c instead of:\n\nif (parsed->xinfo & XACT_XINFO_HAS_ORIGIN)\n{\n\torigin_lsn = parsed->origin_lsn;\n\tcommit_time = parsed->origin...
[ { "msg_contents": "gcc -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute\n-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard\n-g -O0 -DOPTIMIZER_DEBUG -I../../../../src/include -D_GNU_SOURCE -c -o\nallpaths.o allpaths.c\...
[ { "msg_contents": "Hello,\n\nI'd like to adjust a few of custom-scan interface prior to v9.6 freeze.\n\nThe major point is serialization/deserialization mechanism.\nNow, extension has to give LibraryName and SymbolName to reproduce\nsame CustomScanMethods on the background worker process side. Indeed,\nit is su...
[ { "msg_contents": "Hello Hackers,\n\nThe maximum size of the GID, used as a 2PC identifier is currently defined\nas 200 bytes (see src/backend/access/transam/twophase.c). The actual GID\nused by the applications though may be much smaller than that. So IMO\ninstead of WAL logging the entire 200 bytes during PRE...
[ { "msg_contents": "Hi all,\n\nSome time ago we added [1] the infrastructure to allow different lock\nlevels for relation options.\n\nSo per discussion [2] the attached patch reduce lock levels down to\nShareUpdateExclusiveLock for:\n- fastupdate\n- fillfactor\n- gin_pending_list_limit\n- seq_page_cost\n- random...
[ { "msg_contents": "The pg_resetxlog reference page has grown over the years into an\nunnavigable jungle, so here is a patch that reorganizes it to be more in\nthe style of the other ref pages, with a normal options list.\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make cha...
[ { "msg_contents": "I was assigned an \"action point\" during the FOSDEM developer meeting:\n\"Post new version of btree consistency checker patch\". I attach a new\nWIP version of my consistency checker tool, amcheck. This patch is\nproposed for 9.6, as an extension in contrib -- maybe we can still get\nit in. ...
[ { "msg_contents": "All,\n\nPer discussion about the best approach to reduce the amount of\nsuperuser-only capabilities, this patch modifies pg_dump to dump out\nall ACLs which exist on objects in the pg_catalog schema. With this\nchange, follow-on trivial patches will remove explicit superuser()\nchecks from f...