threads
listlengths
1
2.99k
[ { "msg_contents": "Centralize definition of integer limits.\n\nSeveral submitted and even committed patches have run into the problem\nthat C89, our baseline, does not provide minimum/maximum values for\nvarious integer datatypes. C99's stdint.h does, but we can't rely on\nit.\n\nSeveral parts of the code defin...
[ { "msg_contents": "Hi all,\n\nVisibly there is no commit fest manager this time (was I?), and people\nmay think that I still am the CFM for 2015-02, continuously after\n2014-12 and that I am severely slacking on my duties. Honestly I\nthought that I was not and that it was clear enoug... Still, biting\nthe bull...
[ { "msg_contents": "Hi all,\n\nBelow I written my proposal idea to this GSoC.\n\n\n*** Improve the performance of “ALTER TABLE .. SET LOGGED / UNLOGGED”\nstatement ***\n\nLast year during the GSoC2014 I implemented the feature to allow an\nunlogged table to be changed to logged [1], but the desing chosen was to\...
[ { "msg_contents": "When building with LOCK_DEBUG but without casserts, I was getting unused\nvariable warnings.\n\nI believe this is the correct way to silence them.\n\nCheers,\n\nJeff\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www...
[ { "msg_contents": "Hello devs,\nI'm trying to understand how sorting exactly works in Postgres, I've understood that there are two sorting mechanisms depending on the size of the data, one being qsort which is initiated if workmem is < 1024 kb and the other being external sort which is initiated in the other ca...
[ { "msg_contents": "I've pushed Anastasia's patch to support index-only scans with GiST, and \nit's time to add opclasses support for all the opclasses that are not \nlossy. I think at least all the btree_gist opclasses need to be \nsupported, it would be pretty surprising if they didn't support \nindex-only sca...
[ { "msg_contents": "Hi, hackers!\n\nI want to show my proposal idea for GSoC 2015. I'm newbie to coding for\nPostgreSQL.\n\nhttp://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/ivanitskiy_ilya/5629499534213120\n\n\n***\n*Abstract:*\nCurrently support for microvacuum is implemented only for BTree in...
[ { "msg_contents": "Hackers;\n\nI spotted this after doing some owner reassignments and then dropping\nthe old roles.\n\nIt looks like using either reassign or alter type owner to, the pg_class\nentry stays with old rolID.\n\nThen if we drop that old role going forward pg_dump complains about\ninvalid owner.\n\...
[ { "msg_contents": "Folks,\n\nFor reasons unclear, dates before the Common Era are disallowed in\nmake_date(), even though about 2/3 of the underlying data type's range\nup until the present time fits that description.\n\nPlease find attached a patch fixing same.\n\nCheers,\nDavid.\n-- \nDavid Fetter <david@fett...
[ { "msg_contents": "I've read proposal [1] and also major part of thread [2]. [1] encouraged me to\ntry an alternative approach, which does not require flags at tuple\nlevel. After thinking about it for some time, I decided to code something -\nsee attachment of this mail. (I was not sure whether I should write ...
[ { "msg_contents": "Hi,\n\nI have written a C program which reads from 3 files(Each file is table\nhaving 2 columns and thousands of rows).The program is used to join those 3\ntables and the algorithm which I have written will work only for those 3\nfiles. Now I want to test this program for postgres. Can someon...
[ { "msg_contents": "What is Pluggable Parser:\nIt is an option for users to select a different kind of parser to evaluate PostgreSQL for their business logic without much manual effort.\n\nWhy do we need?\nAs of now migration from other databases to PostgreSQL requires manual effort of translating SQL & PL/SQL t...
[ { "msg_contents": "Hi all.\n\nI have described [0] a problem with delaying replicas after vacuuming a relation with big btree index. It stucks in replaying WAL record of type XLOG_BTREE_VACUUM like that (with lastBlockVacuumed 0):\n\nrmgr: Btree len (rec/tot): 20/ 52, tx: 0, lsn: 4115/5612...
[ { "msg_contents": "Hi all,\n\n I installed PostgreSQL 9.3 on a Windows Server 2012 and I have\nconfigured it to use SSPI authentication. The client is on a Windows 7\nmachine and make the connections via ODBC using a DSN with psqlodbc driver\nversion 9.03.04.00. Authentication works in this scenario for the ...
[ { "msg_contents": "Hello, I am Dmitrii, student of Moscow Institute of Physics and Technology\n\nAbstract:\nI chose project \"Indexing prolonged geometrical objects (i.e. boxes, circles, polygons, not points) with SP-GiST by mapping to 4d-space\". \nAccording to the presentation\nhttps://www.pgcon.org/2011/sche...
[ { "msg_contents": "Hi all,\n\nI'm tweaking some autovacuum settings in a table with high write usage but\nwith ALTER TABLE .. SET ( .. ) this task was impossible, so I did a catalog\nupdate (pg_class) to change reloptions.\n\nMaybe it's a stupid doubt, but why we need to get an AccessExclusiveLock on\nrelation...
[ { "msg_contents": "Hi all,\n\nA couple of days ago a bug has showed up regarding rounding of float here:\nhttp://www.postgresql.org/message-id/flat/20150320194337.2573.72944@wrigleys.postgresql.org#20150320194337.2573.72944@wrigleys.postgresql.org\nThe result being that the version of rint() shipped in src/port...
[ { "msg_contents": "Analyze on functional indexes cannot be interrupted very easily.\n\nExample:\n\ncreate language plperl;\ncreate table foo1 as select x::text from generate_series(1,1000) foo (x);\ncreate table foo2 as select reverse(x) from foo1;\n--use a fast version to set up the demo, as we are impatient\n...
[ { "msg_contents": "\nHello hackers,\n\n\nThis is take 2, I already suggested this 2 years ago...\n\n\nThere is a \"thread fork emulation\" hack which allows pgbench to be \ncompiled without threads by emulating them with forks, obviously with \nlimited capabilities. This feature is triggered by configuring post...
[ { "msg_contents": "With the latest server\n\ntestdb=# select version();\n version\n----------------------------------------------------------------------------------------------------------------------\n PostgreSQL 9.5devel_HEAD_20150329_0154_2c33e0fbceb0 on...
[ { "msg_contents": "Hello,\n\nCurrently bigger shared_buffers settings don't combine well with\nrelations being extended frequently. Especially if many/most pages have\na high usagecount and/or are dirty and the system is IO constrained.\n\nAs a quick recap, relation extension basically works like:\n1) We lock t...
[ { "msg_contents": "Hi all,\n\nI just bumped into the following problem in HEAD (1c41e2a):\n=# create type my_array_float (INPUT = array_in, OUTPUT = array_out,\nELEMENT = float4, INTERNALLENGTH = 32);\nERROR: XX000: cache lookup failed for type 0\nLOCATION: format_type_internal, format_type.c:135\n\nFirst not...
[ { "msg_contents": "When doing my experiments with bucket split ([1]), I noticed a comment that\n_hash_getnewbuf should not be called concurrently. However, there's no\nsynchronization of calls from _hash_splitbucket in HEAD. I could reproduce\nsuch concurrent calls using gdb (multiple bucket splits in progress ...
[ { "msg_contents": "Hello hackers,\n\nI've tried my luck on pgsql-bugs before, with no success, so I report these \nproblem here.\n\nThe documentation mentions the following limits for sizes:\n\nMaximum Field Size 1 GB\nMaximum Row Size 1.6 TB\n\nHowever, it seems like rows bigger than 1GB can't be C...
[ { "msg_contents": "There have been numerous threads on replacing our MD5 authentication \nmethod, so I started hacking on that to see what it might look like. \nJust to be clear, this is 9.6 material. Attached is a WIP patch series \nthat adds support for SCRAM. There's no need to look at the details yet, \nbut...
[ { "msg_contents": "commit 2c03216d831160bedd72d45f7 has invalidated the part of the docs\nsaying \"If no WAL has been written since the previous checkpoint, new\ncheckpoints will be skipped even if checkpoint_timeout has passed\",\npresumably by accident.\n\nIt seems that this part is no longer true when it sho...
[ { "msg_contents": "\nHello,\n\nWe have a database that has run into this problem. The version is 9.1.15 \non Linux. I note in this thread:\n\nhttp://www.postgresql.org/message-id/CAM-w4HP34ppweGTCwjBZnWhQ0CmU-Lxna62vjKU8QRTWLOBuHw@mail.gmail.com\n\nThat things appear to be fixed in 9.4 but they have not been \n...
[ { "msg_contents": "In the doc:\n\n25.2.5. Streaming Replication\n:\nThe standby connects to the primary, which streams WAL records to the\nstandby as they're generated, without waiting for the WAL file to be\nfilled.\n\nThis seems to claim that walsender sends WAL files which has not been\nfsync'd yet. However,...
[ { "msg_contents": "There are some small issues with the pg_rewind tests.\n\nThis technique\n\ncheck: all\n\t$(prove_check) :: local\n\t$(prove_check) :: remote\n\nfor passing arguments to \"prove\" does not work with the tools included\nin Perl 5.8.\n\nWhile sorting out the portability issues in the TAP framewo...
[ { "msg_contents": "Hi,\n\nWhile reading the code I noticed couple of double semicolons at the end \nof lines so I searched for all of them and replaced them with single \nones. The resulting diff is attached.\n\n-- \n Petr Jelinek http://www.2ndQuadrant.com/\n PostgreSQL Development, 24x7 Sup...
[ { "msg_contents": "After freeing up the rows at the end of the table so it is eligible for\ntruncation, then running a manual VACUUM to actually release the space, I\nkept running into the problem that the truncation scan was consistently\nsuspended and then aborted due to a conflicting lock requested/held.\n\n...
[ { "msg_contents": "Hello, I had a question that whether a change of some GUC\nparameter needs restart or not and similar questions come every\nnow and then.\n\nAs shown below, descriptions about GUC context is surely put\nthere but I believe the average reader of the document doesn't\nrecognize that clearly whi...
[ { "msg_contents": "Hello,\n\n Could someone tell me what permission is required to\nselect * from pg_stat_replication; ?\n\nI like to setup a monitor to query database with minimal privileges necessary.\n\nTIA,\n\n Jesse\n\n\n-- \nSent via pgsql-admin mailing list (pgsql-admin@postgresql.org)\nTo make changes t...
[ { "msg_contents": "hi all, \nback in 2011(http://www.postgresql.org/message-id/1305138588.8811.3.camel@vanquo.pezone.net), an question the same as this one was asked \nthe anwser was : \n\nI think they're very useful on views, but I\ncouldn't think of a use-case for having them on tables. ISTM that\nanything an...
[ { "msg_contents": "With clang -fsanitize=undefined (clang-3.4), I get the following test failure in ecpg\n(it's the only one in the entire tree):\n\n--- a/src/interfaces/ecpg/test/expected/pgtypeslib-dt_test2.stderr\n+++ b/src/interfaces/ecpg/test/results/pgtypeslib-dt_test2.stderr\n@@ -1,2 +1,4 @@\n [NO_PID]: ...
[ { "msg_contents": "Hi,\n\nThe pg_amproc functions for inet_gist were accidentally added under the \ngin heading. I have attached a patch which moves them to the gist \nheading where they belong.\n\n-- \nAndreas Karlsson\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make chan...
[ { "msg_contents": "Observe these recent buildfarm failures:\n\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mule&dt=2015-03-21%2000%3A30%3A02\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=guaibasaurus&dt=2015-03-23%2004%3A17%3A01\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=mule&d...
[ { "msg_contents": "Following on from this -bugs post:\n\nhttp://www.postgresql.org/message-id/CAMsr+YGJ50TvTVK4Dbp66gAjeOC0KaP6KXFEHAOM+neQmHvoQA@mail.gmail.com\n\nthis patch adds support for views, foreign tables, and materialised views\nto the pg_restore -t flag.\n\n-- \n Craig Ringer http:/...
[ { "msg_contents": "Hi all\n\nIt appears that logical decoding may be broken in 9.5 at the moment.\n\n\n\nWith HEAD at f6caf5a:\n\n./configure --enable-debug --enable-cassert --prefix=/home/craig/pg/95\nCFLAGS=\"-Og -ggdb -fno-omit-frame-pointer\"\n\nmake clean install\n\nmake -C contrib/test_decoding clean inst...
[ { "msg_contents": "Hi all,\n(Adding Peter and Heikki in CC for awareness)\n\nPlease find attached a WIP patch to support TAP tests with MSVC. The\ntests can be kicked with this command:\nvcregress tapcheck\n\nThere are a couple of things to note with this patch, and I would like\nto have some input for some of ...
[ { "msg_contents": "Hi, all!\n\nI have sent GSoC proposal\n(http://postgresql.nabble.com/GSoC-2015-proposal-Support-for-microvacuum-for-GiST-td5843638.html)\nabout week ago and I haven't received any feedback. So I'm a bit\nconfused.\nIs the idea of proposal not actual for community or maybe too small\nfor GSoC ...
[ { "msg_contents": "Define integer limits independently from the system definitions.\n\nIn 83ff1618 we defined integer limits iff they're not provided by the\nsystem. That turns out not to be the greatest idea because there's\ndifferent ways some datatypes can be represented. E.g. on OSX PG's 64bit\ndatatype wil...
[ { "msg_contents": "Hi,\n\nmy compiler complains about unused variable nblkno in _hash_splitbucket \nin no-assert build. It looks like relic of commit ed9cc2b5d which \nremoved the only use of that variable besides the Assert.\n\nLooking at the code:\n\tnblkno = start_nblkno;\n\tAssert(nblkno == BufferGetBlockNu...
[ { "msg_contents": "Hi all,\n\nI'd like to propose read-only table to avoid full scanning to the very\nlarge table.\nThe WIP patch is attached.\n\n- Background\nPostgres can have tuple forever by freezing it, but freezing tuple\nneeds to scan whole table.\nIt would negatively affect to system performance, especi...
[ { "msg_contents": "Hi,\n\nAttached does:\n\n Index childRTindex;\n AppendRelInfo *appinfo;\n\n- /* Open rel if needed; we already have required locks */\n+ /* Open rel if needed; we already have acquired locks */\n if (childOID != parentOID)\n newrelation = heap_open(childOID, No...
[ { "msg_contents": "Hi All\n\nI am getting compile warnings on OSX 10.10 from clang 6.0:\n\nclang: warning: argument unused during compilation: '-pthread'\n\nThe 5 warnings are where we are making a -dynamiclib and\nthe -pthread argument is not necessary:\n\n./src/interfaces/libpq/\n./src/interfaces/ecpg/pgtypes...
[ { "msg_contents": "The symptom is that the same join query yield different results with\nMJ and NLJ/HJ. Here is a repro:\n\n---\ncreate table t1(a int);create table t2(b int);\ninsert into t1 values(10); insert into t2 values(2);\nanalyze t1; analyze t2;\nset enable_mergejoin=on; set enable_nestloop=off; set e...
[ { "msg_contents": "Hi,\n\t We have a requirement to have multiple schemas in a database.Each schema\nwill have all application tables and hold a set of users data. We have\nsegmented data across different schemas. We dynamically increase the schemas\nas in when user signs up. So the table files created across a...
[ { "msg_contents": "Hi there,\n\nthe changes in _hash_splitbucket() made nblkno unused when compiled \nwithout asserts. Attached is a simple fix to get rid of the warnings.\n\nregards\nTomas\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhtt...
[ { "msg_contents": "A newbie error that we see *constantly* is misunderstanding identifier\ncase-folding rules. ISTM that commit e529cd4ff missed a chance to help\nwith that. You do get a hint for this:\n\nregression=# create table t1 (foo int, \"Bar\" int);\nCREATE TABLE\nregression=# select bar from t1;\nERR...
[ { "msg_contents": "Hello, \n\n I am new to PostgreSQLcommunity, but I would like to become a contributer eventually. I have readthrough your \"Submitting Patch\" guide and decided to follow \"Start with submitting a patch that is small anduncontroversial to help them understand you, and to get you familiar with...
[ { "msg_contents": "Attached patch makes trace_sort control abbreviation debug output for\nthe text opclass, which makes it consistent with the numeric opclass.\nThis seems better than relying on someone going to the trouble of\nbuilding Postgres themselves to debug cases where abbreviation is the\nwrong thing, ...
[ { "msg_contents": "Hi all,\n\nI just spotted that PQmakeEmptyPGresult is named PQmakeEmptyPGResult\nin one place (not \"Result\", but \"result\") in the docs.\nA patch is attached.\nRegards,\n-- \nMichael\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your sub...
[ { "msg_contents": "Hi,\n\nI found that pg_rewind has several problems about its log messages.\n\n(1)\nIt outputs an error message to stdout not stderr.\n\n(2)\nThe tool name should be added at the head of log message as follows,\nbut not in pg_rewind.\n\n pg_basebackup: no target directory specified\n\n(3)\n...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 12989\nLogged by: Christian Almeida\nEmail address: cbalmeida@gmail.com\nPostgreSQL version: 9.3.6\nOperating system: Ubuntu 14.04 LTS\nDescription: \n\nThe function \"pg_size_pretty\" is not forma...
[ { "msg_contents": "Hi,\n\nattached is a first version of a patch that aims to improve cardinality \nestimates of joins by matching foreign keys between the tables (which \nwas ignored by the planner until now).\n\nThis significantly improves estimates when joining two tables using \nmulti-column conditions, mat...
[ { "msg_contents": "Hi,\n\nAttached fixes what I suppose is a typo:\n\n * so set up a single dummy path for it. Here we only check this for\n * regular baserels; if it's an otherrel, CE was already checked in\n- * set_append_rel_pathlist().\n+ * set_append_rel_size().\n *\n...
[ { "msg_contents": "Hi all,\n\nA couple of binaries in src/test, that are not part of the main make\nflow, can be built but they are actually not ignored in the tree:\n examples/testlibpq\n examples/testlibpq2\n examples/testlibpq3\n examples/testlibpq4\n examples/testlo\n examples/testlo64\n ...
[ { "msg_contents": "The attached patch adds a 'pid' column to pg_replication_slots, so it's\npossible to associate an active slot with the pg_stat_replication entry\nthat describes the walsender using the slot.\n\nIf a user backend (or bgworker) is using the slot over the SQL interface,\nthe 'pid' column will co...
[ { "msg_contents": "When attempting to insert a row that violates a row security policy that\napplies to writes, the error message emitted references WITH CHECK OPTION,\neven though (as far as the user knows) there's no such thing involved.\nIf you understand the internals you'd know that row security re-uses th...
[ { "msg_contents": "I am playing git tip on windows 7/32 bits, with the backend compiled\nwith visual studio 2005 (I know, it is very old :-( ).\n\nI encountered avl shutdown slowness twice, last night and this\nmorning: after a ctrl_c is hit, wait for another 60 seconds, server\nshuts down. Here is one log:\n\n...
[ { "msg_contents": "I tried to mark the \"UPDATE SET (*)\" patch as \"returned with feedback\",\nbut the CF app informed me that if I did that the patch would\nautomatically be moved to the next commitfest. That seems completely\nstupid. There is no need to reconsider it unless a new version of the\npatch is f...
[ { "msg_contents": "My understanding is that all subtransactions get their own unique XID \n(assuming they need one), and that CommandId can't move backwards within \na transaction. If that's correct, then shouldn't we be able to prune \ntuples where XMIN and XMAX match our *exact* XID (not all the extra \nstuff...
[ { "msg_contents": "Hi,\n\nWhile reviewing the REINDEX VERBOSE patch, I felt inclined to remove FORCE\noption support from REINDEX command. It has been marked \"obsolete\" since\nvery old version 7.4. I think that it's no longer worth keeping supporting it.\nThought?\n\nRegards,\n\n-- \nFujii Masao\n\n\n-- \nSen...
[ { "msg_contents": "Hello,\n\nWe have the samples of config files (postgresql.conf.sample, hba.conf.sample and etc.). Some config options are replaced by initdb utility. What utility replaces 'configDir' token in postgresql.conf and where?\n\nThank you.\n\n--О©╫\nBest regards, Dmitry Voronin\n\n\n-- \nSent via p...
[ { "msg_contents": "Hi all,\n\nI noticed two things while looking at the SSL test suite:\n1) When running the tests, some logs are generated in client-log, but\nthis log file has no entry in .gitignore... A patch is attached.\n2) cp is used with a wildcard and system_or_bail in ServerSetup.pm:\n system_or_bail ...
[ { "msg_contents": "Currently replacing the SSL certificates for PostgreSQL requires a full server\nrestart. However in the infrastructure for www.python.org (and in the future,\npypi.python.org as well) we use short lived certificates (1 day) that\nautomatically get rotated when 75% of their lifetime is used up...
[ { "msg_contents": "Original report and patch by Karl Schnaitter.\n\ncreate table a(u) as select '1';\ncreate table b(i int);\ninsert into b select u from a;\nERROR: failed to find conversion function from unknown to integer\n\nSELECT a=b FROM (SELECT ''::text, ' ') x(a,b);\nERROR: failed to find conversion f...
[ { "msg_contents": "Hanada-san,\r\n\r\n> In addition to your comments, I removed useless code that retrieves ForeignPath\r\n> from outer/inner RelOptInfo and store them into ForeignPath#fdw_private. Now\r\n> postgres_fdw’s join pushd-down is free from existence of ForeignPath under the\r\n> join relation. This...
[ { "msg_contents": "While playing with xlogreader, I was lucky enough to see one of the many\nrecord validations to fail. After having some fun with gdb, I found out that\nin some cases the reader does not enforce enough data to be in state->readBuf\nbefore copying into state->readRecordBuf starts. This should n...
[ { "msg_contents": "> 2015/04/09 10:48、Kouhei Kaigai <kaigai@ak.jp.nec.com> のメール:\r\n> * merge_fpinfo()\r\n> >>> It seems to me fpinfo->rows should be joinrel->rows, and\r\n> >>> fpinfo->width also should be joinrel->width.\r\n> >>> No need to have special intelligence here, isn't it?\r\n> >>\r\n> >>\r\n> >> Oop...
[ { "msg_contents": "After running into the need twice now - is there a particular reason why we\ndon't have psql showing the owner of a type, at least in \\dT+?\n\nIf not, how about attached trivial patch?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www.redpill-linpro.com/\n\n\n-- \nSe...
[ { "msg_contents": "Now that we have compression of full-page images in WAL, it can be used \nto leak sensitive information you're not supposed to see. Somewhat \nsimilar to the recent BREACH and CRIME attacks on SSL, if you can insert \ninto a table, the compression ratio gives you a hint of how similar the \ne...
[ { "msg_contents": "Hi\n\nThis thread was finished without real work. I have a real use case - export\nXML doc in non utf8 encoding.\n\nhttp://www.postgresql.org/message-id/16174.1319228878@sss.pgh.pa.us\n\nI propose to implement new format option \"RAW\" like Tom proposed.\n\nIt requires only one row, one colum...
[ { "msg_contents": "Hey all -- so I know that Gentoo Linux is likely the only platform this\nbug occurs under, but i got annoyed enough with it that I decided to\nwrite a patch to fix this issue once and for all (or at least, help keep\nit from happening).\n\nThat thread in question actually dealt with crashing ...
[ { "msg_contents": "Hi,all\n\n\nPostgreSQL set Win32 server-side socket buffer size to 32k since 2006, for performance reasons.\n\n\nWhile,on the newer version of Windows,such as windows 2012,the default socket buffer size is 64k,\nand seem has better performance(high throughput).\nSo, i propose to apply the att...
[ { "msg_contents": "Attached is a small patch which removes some duplicated words that have\ncrept into some comments.\n\nRegards\n\nDavid Rowley\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": "I've attached a small patch which just fixes a few appendStringInfo* calls\nthat are not quite doing things the way that it was intended.\n\nRegards\n\nDavid Rowley\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www....
[ { "msg_contents": "I have just noticed something slightly odd. The traces (obtained by \nsetting client_min_messages to debug1) from the blackhole FDW show that \nthe handler function is called each time an INSERT is performed. This is \nnot the case for SELECT, UPDATE or DELETE. It looks at first glance like \...
[ { "msg_contents": "Dear:\nI am using postgesql 9.4.0. Thanks for your great work on grouping sets patch effort.\nI am now compiling postgresql from source code 9.4.0 on Linux platform with [gsp-all.patch] successed and grouping function well, but failed on window platform(windows 2003 or window 7).\n It shows ...
[ { "msg_contents": "Hanada-san,\r\n\r\n> Thanks for further review, but I found two bugs in v10 patch.\r\n> I’ve fixed them and wrapped up v11 patch here.\r\n> \r\n> * Fix bug about illegal column order\r\n> \r\n> Scan against a base relation returns columns in order of column definition, but\r\n> its target lis...
[ { "msg_contents": "Hi all,\n\nI noticed that src/bin/initdb/t/001_initdb.pl uses directly rm via a\nsystem() call like that:\nsystem_or_bail \"rm -rf '$tempdir'/*\";\n\nThis way of doing is not portable, particularly on platforms that do\nnot have rm like... Windows where the equivalent is del. And we could\nac...
[ { "msg_contents": "Use Intel SSE 4.2 CRC instructions where available.\n\nModern x86 and x86-64 processors with SSE 4.2 support have special\ninstructions, crc32b and crc32q, for calculating CRC-32C. They greatly\nspeed up CRC calculation.\n\nWhether the instructions can be used or not depends on the compiler a...
[ { "msg_contents": "Move pg_upgrade from contrib/ to src/bin/\n\nReviewed-by: Michael Paquier <michael.paquier@gmail.com>\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/9fa8b0ee90c44c0f97d16bf65e94322988c94864\n\nModified Files\n--------------\ncontrib/Makefile ...
[ { "msg_contents": "Hi all,\n\nIn the refactoring of pg_rewind tests committed as 53ba107, it happens\nthat some of the servers used for the tests are not stopped at the end\nof the test. The issue is that RewindTest.pm uses END to stop the\nservers, but now that the local and remote tests are grouped half of\nt...
[ { "msg_contents": "hi,\n To avoid inserting duplicate checkpoints when the system is idle, the code of CreateCheckPoint make two tests to determine that nothing has happened since the start of the last checkpoint.\nBut because the layout of XLOG record was changed, the condition would never to be true. The at...
[ { "msg_contents": "Attached is a patch to assert there is no duplicated exit callbacks.\n\nAlong the way, I downgrade the runtime \"enough room\" check to an\nassertion: the callbacks are registered in pretty fixed initialization\ncode path, thus assertion is good enough to prevent overlook there. If\nwe don't ...
[ { "msg_contents": "In executor context, outerPlanState(node) is the same as\nnode->ss.ps.lefttree. We follow this in most places except a few. This\npatch clean up the outliers and might save us a few instructions by\nremoving indirection.\n\nMost of changes are trivial. Except I take out an outerPlan nullable\...
[ { "msg_contents": "I found this patch in my local repo that I wrote some weeks or months\nago while debugging some XLog corruption problem: it was difficult to\npinpoint what XLog record in a long sequence of WAL files was causing a\nproblem, and the displaying the prev pointer in errcontext made finding\nit mu...
[ { "msg_contents": "Hi\nI knock once again with this : reparse query to XML ( last knock 5-6 years\nbefore) .\nMotivation: more info for front-end developers about query. Users of jdbc\ndriver\n are not able to gather information from meta data about such simple query :\n \"select x.a,y.b from xxx x, yyy y\"\nS...
[ { "msg_contents": "Hi,\n\nThis small patch implements a new GUC (default_index_tablespace) plus \nsupporting code.\nOriginated from a customer request, the feature intends to make \ncreation of indexes on SSD-backed tablespaces easy and convenient \n(almost transparent) for users: the DBA can just set it and in...
[ { "msg_contents": "Hi all,\n\nTAP tests of pg_rewind are using in 2 places hardcoded values to wait\nfor a given amount of time for some events. In HEAD, those things are:\n1) Wait for 1s for standby to catch up.\n2) Wait for 2s for promotion of standby.\nHowever after discussion with a colleague we have notice...
[ { "msg_contents": "Hi all,\n\nAs mentioned previously\n(CAB7nPqSCphafxS2RzeB-FBccjqiKnQXJhLoZtkggiM1MF5Xv4A@mail.gmail.com),\nattached are patches to add support for src/test/modules in MSVC\nbuilds, modules whose tests are not supported since they have been\nmoved from contrib/:\n- 0001 adds support for the bu...
[ { "msg_contents": "Hi,\n\nAttached is a small patch to mark up on with <literal> in\ndoc/src/sgml/config.sgml.\n\nBest regards,\nEtsuro Fujita\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\n(Please pardon me if this is offtopic and I should send it to another\nmailing list instead)\n\nI had a brief discussion on #postgresql and thought that perhaps there\nmight be a need for a tool that would enable a fine-tuning of PostgreSQL\nperformance settings by conveniently test...
[ { "msg_contents": "We have a customer using a patch to harden their PostgreSQL installation\n(see attached) they would like to contribute. This patch adds the ability\nto disable \"trust\" and \"ident\" authentication at compile time via configure\noptions, thus making it impossible to use these authentication ...
[ { "msg_contents": "Folks:\n\n SELECT\n device_id,\n count(*)::INT as present,\n count(*)::INT FILTER (WHERE valid) as valid_count,\n mode()::INT WITHIN GROUP (order by val) as mode,\n percentile_disc(0.5)::INT WITHIN GROUP (order by val)\n as median\n FROM dataf...
[ { "msg_contents": "Hanada-san,\r\n\r\n> I merged explain patch into foreign_join patch.\r\n> \r\n> Now v12 is the latest patch.\r\n>\r\nIt contains many garbage lines... Please ensure the\r\npatch is correctly based on the latest master +\r\ncustom_join patch.\r\n\r\nThanks,\r\n--\r\nNEC Business Creation Divis...
[ { "msg_contents": "pg_upgrade was recently broken for use upgrading from a system with\nadminpack installed.\n\nBreaking commit is:\n\ncommit 30982be4e5019684e1772dd9170aaa53f5a8e894\nAuthor: Peter Eisentraut <peter_e@gmx.net>\n\n Integrate pg_upgrade_support module into backend\n\n\nfrom pg_upgrade_dump_128...
[ { "msg_contents": "hi,\n The implements of 'xidin' use only ‘strtoul’ to cast from string to xid. So in some cases, may cause confusion, for example,\nThe sql 'select c1 from test where xmin='abc' can be executed. and sometimes will make mistakes, I want to query \"select c1 from test where xmin='0x10'\" ,bu...