threads
listlengths
1
2.99k
[ { "msg_contents": "Hi,\n\nI've attached a patch to check if the current page is equal with the\nFPW after applying WAL on it. This is how the patch works:\n\n1. When a WAL record is inserted, a FPW is done for that operation.\nBut, a flag is kept to indicate whether that page needs to be\nrestored.\n2. During ...
[ { "msg_contents": "Hi hackers,\n\nI've found a typo in a comment to function LockHasWaitersRelation() [lmgr.c : \n271, master branch]:\n\n>> This is a functiion to check\n\n\n-- \nDmitry Ivanov\nPostgres Professional: http://www.postgrespro.com\nRussian Postgres Company\n\n\n-- \nSent via pgsql-hackers mailing ...
[ { "msg_contents": "Hi guys,\n\n while adding synchronous WAL streaming to Barman, I noticed that\npg_receivexlog - unless a replication slot is specified and --synchronous\nis passed - does not become a synchronous receiver (if the application_name\nis in the synchronous_standby_names value). I was a bit surpr...
[ { "msg_contents": "I got tired of hearing complaints about the issue described in\nthis thread:\nhttps://www.postgresql.org/message-id/flat/24241.1329347196%40sss.pgh.pa.us\n\nHere's a proposed fix. I've not done extensive performance testing,\nbut it seems to be as fast or faster than the old code in cases wh...
[ { "msg_contents": "$SUBJECT will make hash indexes reliable and usable on standby.\nAFAIU, currently hash indexes are not recommended to be used in\nproduction mainly because they are not crash-safe and with this patch,\nI hope we can address that limitation and recommend them for use in\nproduction.\n\nThis pa...
[ { "msg_contents": "Hi all,\n\nI'd like to propose block level parallel VACUUM.\nThis feature makes VACUUM possible to use multiple CPU cores.\n\nVacuum Processing Logic\n===================\n\nPostgreSQL VACUUM processing logic consists of 2 phases,\n1. Collecting dead tuple locations on heap.\n2. Reclaiming de...
[ { "msg_contents": "comment typo in src/backend/storage/lmgr.c attached\n\nErik Rijkers\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_date": "Tue, 23 Aug 2016 14:13:33 +0200", ...
[ { "msg_contents": "I'm failing to understand why [1] mentions \"table-rewriting forms of ALTER\nTABLE\" besides TRUNCATE command.\n\nFor TRUNCATE it seems clear: if transaction A takes the snapshot before it\naccesses the table first time (typically because isolation level is at least\nREPEATABLE READ) and tran...
[ { "msg_contents": "Hello devs,\n\nWhen \\sleep is used within a pgbench script it resets txn_scheduled which \nis used for computing stats about the transaction, resulting in absurd \nstatistics:\n\n latency average = 0.649 ms *** ??? ***\n ...\n script statistics:\n - statement latencies in milliseconds:\...
[ { "msg_contents": "I happened to notice, while experimenting with the data set used\nin the SPGIST-for-inet thread, that loading the supplied pg_dump\nscript and immediately dumping it does not reproduce the row order\nappearing in the original dump script. I thought maybe this had\nsomething to do with the he...
[ { "msg_contents": "Greetings,\n\nAttached is an rebased and updated patch to remove the explicit\nsuperuser() checks from the contrib extension pgstattuple, in favor of\nusing the GRANT system to control access, and give the admin flexibility\nto GRANT access to this function without having to write wrapper\nfu...
[ { "msg_contents": "Sorry for starting a new thread, I can't find the correct one to reply to.\n\nUsing: gcc version 4.8.3 20140627 [gcc-4_8-branch revision 212064] (SUSE Linux)\n\ncommit ed0097e4f9e6b1 has introduced two compiler warnings:\n\ngistutil.c: In function 'gistproperty':\ngistutil.c:855:16: warning: ...
[ { "msg_contents": "Hi,\n\nWhile playing with LATERAL along with some aggregates in sub-query, I have\nobserved somewhat unusual behavior.\n\nConsider following steps:\n\ncreate table tab1(c1 int, c2 int);\ninsert into tab1 select id, 1 from generate_series(1, 3) id;\ncreate function sum_tab1(extra int) returns ...
[ { "msg_contents": "There was some discussion earlier in adding pg_stat_lwlock view in [1].\nThe main objections which I observed for that patch was showing LWLOCK\ninformation to the user that don't understand what this lock used for and etc.\n\nCurrently as part of wait_event information in pg_stat_activity th...
[ { "msg_contents": "Over in the thread about the SP-GiST inet opclass, I threatened to post\na patch like this, and here it is.\n\nThe basic idea is to track more than just the very latest page we've used\nin each of the page categories that SP-GiST works with. I started with an\narrangement that gave an equal ...
[ { "msg_contents": "Hi,\n\nI'd like to propose that we increase the default WAL segment size,\nwhich is currently 16MB. It was first set to that value in commit\n47937403676d913c0e740eec6b85113865c6c8ab in October of 1999; prior to\nthat, it was 64MB. Between 1999 and now, there have been three\nsignificant ch...
[ { "msg_contents": "Hello, gurus,\n\nI faced incorrect checksum on \"global/pg_filenode.map\" at the right timing \"VACUUM FULL\" is executed and session was aborted.\n\nAug 16 20:51:19 postgres[22329]: [2-1] FATAL: relation mapping file \"global/pg_filenode.map\" contains incorrect checksum\n\n\nAug 16 20:51:1...
[ { "msg_contents": "Suppose we have some table\n\ncreate table cnt( \n usr_id int primary key, \n usr_doc_ref text not null, \n cnt int, \n sum int \n);\n\nAnd going to run some insert on conflict update on it (pgbench script):\n\n\\setrandom id 1 50 \ninsert into cnt as c(usr_id,usr_doc_ref, cnt) values(:id, '#...
[ { "msg_contents": "Hello hackers.\n\nI have a small question. While working on an incremental backup I noticed a \nstrange thing.\nNewly created index is contains the invalid LSN (0/0).\nExmaple:\npostgres=# select lsn from page_header(get_raw_page('test_a_idx2',0));\n lsn \n-----\n 0/0\n(1 row)\n\nCan you expl...
[ { "msg_contents": "Hi,\n\nMy PostgreSQL client checks the PG_DIAG_SEVERITY error field to determine the error level.\n\nHowever, I have now learned that this field is localized. This means that a server configured with --enable-nls might for example return the string ERREUR instead of ERROR.\n\nSo if I want to ...
[ { "msg_contents": "\nHello Peter,\n\nMy 0.02ᅵ (not $0.02:-) comments on this patch:\n\nPatch applies and \"make check\" is ok. I see no issue with the code.\n\nA few comments below.\n\nThe regression tests are clearer & commented, it is an improvement.\n\nWhile you are at it, maybe you could consider adding t...
[ { "msg_contents": "This is a chance to add default configuration for Greek language if\nsomebody with good knowledge could follow this development.\n\nOleg\n\n---------- Forwarded message ----------\nFrom: Oleg Smirnov <oleg.smirnov@gmail.com>\nDate: Thu, Aug 25, 2016 at 5:26 PM\nSubject: [Snowball-discuss] Gre...
[ { "msg_contents": "Hello,\n\nOur customer hit a problem of cascading replication, and we found the cause. They are using the latest PostgreSQL 9.2.18. The bug seems to have been fixed in 9.4 and higher during the big modification of xlog.c, but it's not reflected in older releases.\n\nThe attached patch is fo...
[ { "msg_contents": "Hi all,\n\nI am relaunching $subject as 10 development will begin soon. As far as\nI know, there is agreement that we can do something here. Among the\ndifferent proposals I have found:\n- pg_clog renamed to pg_commit_status, pg_xact or pg_commit\n- pg_xlog renamed to pg_xjournal, pg_wal or p...
[ { "msg_contents": "Latest from lorikeet:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lorikeet&dt=2016-08-26%2008%3A37%3A27\n\nTRAP: FailedAssertion(\"!(vmq->mq_sender == ((void *)0))\", File: \"/home/andrew/bf64/root/REL9_6_STABLE/pgsql.build/../pgsql/src/backend/storage/ipc/shm_mq.c\", Line: 220)\n...
[ { "msg_contents": "Actually we don't support the SQL feature F867 \"FETCH FIRST clause: WITH \nTIES option\". On the other side we support the window function \"rank()\" \nwhich acts like the \"WITH TIES option\". My questions are: Is it hard to \nimplement the \"WITH TIES option\"? Are there plans for a realiz...
[ { "msg_contents": "Hello, Michael.\n\nYour patch [1] was marked as \"Needs review\" so I decided to take a look.\n\nIt looks good to me. However I found dozens of places in PostgreSQL code\nthat seem to have similar problem you are trying to fix [2]. As far as I\nunderstand these are only places left that don't...
[ { "msg_contents": "Hi,\n\nI'm bringing this $subject into discussion again. Historically, we are\ncarrying binary names that have been confused newbies. createuser is the\nworst name so for. Also, names like createdb, initdb, reindexdb, and\ndroplang does not suggest what product it is referring to. Adding a\np...
[ { "msg_contents": "Hello,\n\nI've attached a patch to add SortSupport for Postgres' macaddr which has the\neffect of improving the performance of sorting operations for the type. The\nstrategy that I employ is very similar to that for UUID, which is to create\nabbreviated keys by packing as many bytes from the ...
[ { "msg_contents": "I doubt the documentation for old_snapshot_threshold is going to be\nunderstood by many ordinary users. What is a \"snapshot\", first of all?\nWhy would a snapshot be old? Why is that a problem? What can I do to\navoid it? What are the circumstances in practice where this issue would\nari...
[ { "msg_contents": "The standard calling pattern for AllocSetContextCreate is\n\n cxt = AllocSetContextCreate(parent, name,\n ALLOCSET_DEFAULT_MINSIZE,\n ALLOCSET_DEFAULT_INITSIZE,\n ALLOCSET_DEFAULT_MAXSIZE);\n\nor f...
[ { "msg_contents": "Hi,\n\nI've noticed the comment in src/include/catalog/pg_foreign_table.h still \ntalks about genbki.sh, but AFAIK it was replaced with genbki.pl.\n\nregards\n\n-- \nTomas Vondra http://www.2ndQuadrant.com\nPostgreSQL Development, 24x7 Support, Remote DBA, Training & Services...
[ { "msg_contents": "The routine in PostGIS to parse out the version number from pg_config is\nbreaking in the 10 cycle.\n\nIssue seems to be because there is no minor specified.\n\ne.g.\n\npgconfig --version \n\nreturns:\n\nPostgreSQL 10devel\n\nInstead of expected\n\nPostgreSQL 10.0devel\n\nIs this the way it's...
[ { "msg_contents": "Just making sure everyone's on the same page.\n\n\t\t\tregards, tom lane\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\n", "msg_date": "Sun, 28 Aug 2016 18:11:20 -0400",...
[ { "msg_contents": "Hello,\n\nI noticed the source code comment around CustomPath structure says \"see above\"\nfor definition of CUSTOMPATH_* flags. It was originally right, but it was moved\nto nodes/extensible.h on the further development. So, no comments are above.\nThe attached patch corrects the comment fo...
[ { "msg_contents": "The attached two patches scratch two itches I've been having for a\nwhile. I'm attaching them together because the second depends on the first.\n\nBoth deal with the fact that [auto]vacuum has taken on more roles than\nits original purpose.\n\n\nPatch One: autovacuum insert-heavy tables\n\nI...
[ { "msg_contents": "We have sample configuration files for postgresql.conf and\nrecovery.conf, but we do not have them for contrib modules. This patch\nattempts to add them.\n\nAlthough the patch puts the sample configuration files in the tree, it\ndoesn't try to install them. That's partly because I think it ...
[ { "msg_contents": "Hello,\n\nThe attached patch adds an optional callback to support special optimization\nif ForeignScan/CustomScan are located under the Limit node in plan-tree.\n\nOur sort node wisely switches the behavior when we can preliminary know\nexact number of rows to be produced, because all the Sor...
[ { "msg_contents": "Hi, hackers!\n\n\nSome time ago I put a patch to commitfest that optimizes slightly GiST\ninserts and updates. It's effect in general is quite modest (15% perf\nimproved), but for sorted data inserts are 3 times quicker. This\neffect I attribute to mitigation of deficiencies of old split\nalg...
[ { "msg_contents": "ecpg option --help alternative -? doesn't work in windows.\nIn windows, the PG provided getopt_long function is used\nfor reading the provided options.\n\nThe getopt_long function returns '?' for invalid characters\nalso but it sets optopt option to 0 in case if the character\nitself is a '?'...
[ { "msg_contents": "Hi all\n\nIt's recently been observed[1] that the 10.0 version scheme change has\naffected PostGIS, which relies on parsing the server version string\nand broke when faced with a string like \"10.0devel\" since it expected\na minor version.\n\nIn that thread Tom points out [2] that they shoul...
[ { "msg_contents": "Fix pg_receivexlog --synchronous\n\nMake pg_receivexlog work correctly with —-synchronous without slots\n\nBackpatch to 9.5\n\nGabriele Bartolini, reviewed by Michael Paquier and Simon Riggs\n\nBranch\n------\nREL9_5_STABLE\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/9050e5c8...
[ { "msg_contents": "Hi, hackers!\n\nNow I complete extension that provides facility to see the current state \nof query execution working on external session in form of EXPLAIN \nANALYZE output. This extension works on 9.5 version, for 9.6 and later \nit doesn't support detailed statistics for parallel nodes yet...
[ { "msg_contents": "In bug #14300 it's pointed out that cube_in rejects zero-element\ncubes, as well as infinity and NaN coordinate values. Since it's\neasy to make such cube values via the cube-from-float-array\nconstructors, this is a dump/reload hazard. The attached proposed\npatch attempts to fix it up.\n\...
[ { "msg_contents": "Hello.\n\nThe comment on GatherPath.single_copy is the following.\n\n===\n/*\n * GatherPath runs several copies of a plan in parallel and collects the\n * results. The parallel leader may also execute the plan, unless the\n * single_copy flag is set.\n */\ntypedef struct GatherPath\n{\n ...
[ { "msg_contents": "Hello,\n\nDuring the server restart, we are getting postgres crash with sigabrt. No other operation being performed.\nAttached the backtrace.\n\n\nThe occurrence is occasional. The issue is seen once in 30~50 times.\nRecently we had performed postgres upgrade from 9.3.9 to 9.3.11. The issue i...
[ { "msg_contents": "Hi,\n\nI received an email offlist about a crash that a non-customer experienced\nrecently. I asked them to send a few details about the crash, so here it is.\nPlease note that I don't have access to their systems, but they will be fast\nenough to provide data if needed. (They asked me to mas...
[ { "msg_contents": "While profiling some queries and looking at executor overhead, I \nrealized that we're not making much use of TupleTableSlot's ability to \nhold a buffer pin. In a SeqScan, the buffer is held pinned by the \nunderlying heap-scan anyway. Same with an IndexScan, and the SampleScan. \nThe only t...
[ { "msg_contents": "I was toying with a couple of ideas that would involve changing the\nstorage of sequences. (Say, for the sake of discussion, removing the\nproblematic/useless sequence_name field.) This would cause problems for\npg_upgrade, because pg_upgrade copies the \"heap\" storage of sequences\nlike i...
[ { "msg_contents": "Hi all,\n\nAttached is the patch which adds support to push down aggregation and\ngrouping\nto the foreign server for postgres_fdw. Performing aggregation on foreign\nserver results into fetching fewer rows from foreign side as compared to\nfetching all the rows and aggregating/grouping local...
[ { "msg_contents": "Hi\n\nI am working on pgaudit customization for one my customer.\n\nThere are few requests:\n\n1. flat format without complex types, without nesting - CSV is ideal.\n2. all important attributes should be separated - is not possible to search\nin original queries: table name, database name, ro...
[ { "msg_contents": "Hi,\n\nAttached is a patch that adds support for hash indexes in pageinspect.\n\nThe functionality (hash_metap, hash_page_stats and hash_page_items) \nfollows the B-tree functions.\n\nThis patch will need an update once Amit's and Mithun's work on \nConcurrent Hash Indexes is committed to acc...
[ { "msg_contents": "I would like to propose the attached patch implementing autonomous\ntransactions for discussion and review.\n\nThis work was mostly inspired by the discussion about pg_background a\nwhile back [0]. It seemed that most people liked the idea of having\nsomething like that, but couldn't perhaps...
[ { "msg_contents": "Here is a patch I've been working on to allow the use of ICU for sorting\nand other locale things.\n\nThis is mostly complementary to the existing FreeBSD ICU patch, most\nrecently discussed in [0]. While that patch removes the POSIX locale\nuse and replaces it with ICU, my interest was on a...
[ { "msg_contents": "Here is another attempt to implement identity columns. This is a\nstandard-conforming variant of PostgreSQL's serial columns. It also\nfixes a few usability issues that serial columns have:\n\n- need to set permissions on sequence in addition to table (*)\n- CREATE TABLE / LIKE copies defau...
[ { "msg_contents": "Here is a patch that adds the notion of a data type to a sequence. So\nit might be CREATE SEQUENCE foo AS integer. The types are restricted to\nint{2,4,8} as now.\n\nThe main point of this is to make monitoring sequences less complicated.\n Right now, a serial column creates an int4 column ...
[ { "msg_contents": "Hi all,\n\nCleanup $subject has been raised a couple of times, like one year ago here:\nhttps://www.postgresql.org/message-id/CAB7nPqRxvq+Q66UFzD9wa5UAftYN4WAUADbjXKFrync96kf-VQ@mail.gmail.com\nAnd more recently here while working on the NULL checks for malloc():\nhttps://www.postgresql.org/m...
[ { "msg_contents": "Hi,\n\nattached is a small patch that adds an -N option to pg_restore, in order\nto exclude a schema, in addition to -n for the restriction to a schema.\n\nIn principle, this could be extended to -t etc., but I think having this\nfor schemas would be the most useful with the least effort.\n\n...
[ { "msg_contents": "Hi,\n\nNow that we are OK with static inline functions, we can save some cycles \nfrom floating-point functions, by turning Float4GetDatum, \nFloat8GetDatum, and DatumGetFloat8 into static inlines. They are only a \nfew instructions, but couldn't be implemented as macros before, because \nthe...
[ { "msg_contents": "When SSL renegotiation was removed in 426746b9 the only consumer of the openssl\nspecific count member in the Port struct was removed, but the member was left\ntogether with a few updates to it which are unused. Attached patch removes the\nleftovers which now serves no purpose unless I’m mis...
[ { "msg_contents": "Use static inline functions for float <-> Datum conversions.\n\nNow that we are OK with using static inline functions, we can use them\nto avoid function call overhead of pass-by-val versions of Float4GetDatum,\nDatumGetFloat8, and Float8GetDatum. Those functions are only a few CPU\ninstructi...
[ { "msg_contents": "While I was hacking around sequence stuff, I felt the urge to look into\nan old peeve: That sequence metadata is not stored in a proper catalog.\nRight now in order to find out some metadata about sequences (min, max,\nincrement, etc.), you need to look into the sequence. That is like\nhavin...
[ { "msg_contents": "Hi hackers,\n\nFew days earlier I've finished my work on WAITLSN statement utility, so \nI’d like to share it.\n\n\nIntroduction\n============\n\nOur clients who deal with 9.5 and use asynchronous master-slave \nreplication, asked to make the wait-mechanism on the slave side to \nprevent the ...
[ { "msg_contents": "I've been profiling simple aggregate queries, looking for any \nlow-hanging fruit. For this query:\n\n\n-- setup\ncreate table floats as select g::float8 as a, g::float8 as b, g::float8 \nas c from generate_series(1, 10000000) g;\nvacuum freeze floats;\n\n-- query\nselect sum(a), sum(b+c) fro...
[ { "msg_contents": "Hi hackers,\n\nRecently I have finished my work on a patch for pg_buffercache contrib, \nI think it's time to share my results.\n\n\nIntroduction\n============\n\nI want to offer you the implementation that allows to decrease system \nworkload by\npartially sacrificing (fully snapshot consist...
[ { "msg_contents": "Hi\n\nI propose a new type of psql variables - file references. The content of\nfile reference is specified by referenced file. It allows simple inserting\nlarge data without necessity of manual escaping or using LO api.\n\nWhen I wrote the patch, I used parametrized queries for these data in...
[ { "msg_contents": "This is a summary of proposed changes to the recovery.conf API for\nv10. These are based in part on earlier discussions, and represent a\nminimal modification to current usage.\n\nProposed changes (with reference to patches from Abhijit Menon-Sen and myself)\n\n* pg_ctl start -M (normal|recov...
[ { "msg_contents": "Hi All,\n\nAs previously discussed [1], WARM is a technique to reduce write\namplification when an indexed column of a table is updated. HOT fails to\nhandle such updates and ends up inserting a new index entry in all indexes\nof the table, irrespective of whether the index key has changed or...
[ { "msg_contents": "Attached patch adds support for -X stream to work with .tar and .tar.gz\nfile formats.\n\nIf tar mode is specified, a separate pg_xlog.tar (or .tar.gz) file is\ncreated and the data is streamed into it. Regular mode is (should not) see\nany changes in how it works.\n\nThe implementation creat...
[ { "msg_contents": "-hackers,\n\nSo this is more of a spit balling thread than anything. As I understand \nit, if we have a long running transaction or a large number of wal logs \nand we crash, we then have to restore those logs on restart to the last \nknown good transaction. No problem.\n\nI recently ran a ve...
[ { "msg_contents": "Hi all\n\nAttached is a rebased and updated logical decoding timeline following\npatch for 10.0.\n\nThis is a pre-requisite for the pending work on logical decoding on\nstandby servers and simplified failover of logical decoding.\n\nRestating the commit message:\n__________\n\nFollow timeline...
[ { "msg_contents": "Hi all\n\nHere's a rebased version of my pg_recvlogical --endpos patch from the\n9.5 series, updated to incoroprate Álvaro's changes.\n\nThis will be mainly useful for recovery tests as we start adding more\nlogical decoding testing.\n\nSee original post for more detail:\n\nhttps://www.postgr...
[ { "msg_contents": "Greetings,\n\nAs outlined in the commit message, this adds support for restrictive RLS\npolicies. We've had this in the backend since 9.5, but they were only\navailable via hooks and therefore extensions. This adds support for\nthem to be configured through regular DDL commands. These poli...
[ { "msg_contents": "Hi\n\nI see a new warning in upstream\n\nr/include/libxml2 -c -o path.o path.c\npath.c: In function ‘has_drive_prefix’:\npath.c:89:26: warning: self-comparison always evaluates to false\n[-Wtautological-compare]\n return skip_drive(path) != path;\n ^~\nRegards\n\n[...
[ { "msg_contents": "Dear all,\n\nI am developing an extension for the PostgreSQL that write/read some\nexternal files from the PostgreSQL. In order to write/read, I am using the\nO_DIRECT flag and using the posix_memalign to allocate memory. I would like\nto know if the postgresql internal library provides an eq...
[ { "msg_contents": "Hi,\n\nWhile investigating a CTE-related query, I've noticed that we don't\nreally remove all unreachable CTEs. For example, for this query\n\n with a as (select 1),\n b as (select * from a),\n c as (select * from b)\n select 2;\n\nwhere none of the CTEs if (directly or ...
[ { "msg_contents": "Hi all,\n\nThe 2016-09 commitfest is officially in progress, and I'm the manager.\n\nThe current status summary is\n\nNeeds review: 119\nNeeds *reviewer*: 63\n\nPlease check the \"needs reviewer\" list\n(https://commitfest.postgresql.org/10/?reviewer=-2\n<https://commitfest.postgresql.org/9/?...
[ { "msg_contents": "Hi,\n\nAttached is a patch to make it build with OpenSSL 1.1.0.\n\nThere is probably a minor problem on windows where the name of the\ndlls got changed. Someone probably should look into that.\n\n\nKurt\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make...
[ { "msg_contents": "Hi all\n Using logical decoding i set up a plugin to refresh materialized\nviews incrementally(only the changes that are did after the previous\nrefresh). I used the approach that oracle uses for fast refresh of\nmaterialized view using log table to record delta changes.\n\n Mostly i...
[ { "msg_contents": "It turns out that some of the zone abbreviations shown in the IANA\ntimezone database don't correspond to any real-world usage, but were\nmore or less made up by the timezone database crew. And of late,\nthose folk have started to remove these invented abbreviations in favor\nof just using n...
[ { "msg_contents": "Hi,\n\nThe use of __attribute__ is currently enabled by checking for\n__SUNPRO_C. However, this compiler only added support for\n__attribute__ keywords in version 5.10 [1]. This patch adds a version\ncheck to only enable this for supported versions [2].\n\nI have tested this with Sun C 5.8 on...
[ { "msg_contents": "In CteScanNext():\n\n\t/*\n \t * If we are not at the end of the tuplestore, or are going \nbackwards, try\n \t * to fetch a tuple from tuplestore.\n \t */\n \teof_tuplestore = tuplestore_ateof(tuplestorestate);\n\n \tif (!forward && eof_tuplestore)\n\nFor the comment to be correct, woul...
[ { "msg_contents": "The attached patch allows setting maintainance_work_mem or\nautovacuum_work_mem higher than 1GB (and be effective), by turning the\nallocation of the dead_tuples into a huge allocation.\n\nThis results in fewer index scans for heavily bloated tables, and\ncould be a lifesaver in many situatio...
[ { "msg_contents": "Hi,\n\nupdating master from be7f7ee..39b691f, the following assertion is\ntriggered frequently by sqlsmith:\n\nTRAP: BadArgument(\"!(((context) != ((void *)0) && (((((const Node*)((context)))->type) == T_AllocSetContext))))\", File: \"mcxt.c\", Line: 1010)\n\nDigging in the coredumps, it look...
[ { "msg_contents": "One thing that has been irking me ever since I came to PostgreSQL is the\nfact that pg_ctl -w (and -W) don't have longhand equivalents. I like to\nuse the long version in scripts and such as extra documentation, and\nI've never been able to with these. What's more, I keep forgetting that\n-...
[ { "msg_contents": "Hi guys,\n\nI'm trying to get my feet wet in PG development, but I ran into a snag\nwith the TODO item I picked. Could someone please tell me if I'm\nmaking an obvious error?\n\nI chose this item from the TODO page: \"[E] Remove warnings created by\n-Wcast-align\". It didn't have a check-ma...
[ { "msg_contents": "I noticed some imbalanced '-'s in execnodes.h. Though, ISTM newer code \ndoesn't use -'s in comments anymore, so maybe it'd be better to just \nditch them?\n-- \nJim Nasby, Data Architect, Blue Treble Consulting, Austin TX\nExperts in Analytics, Data Architecture and PostgreSQL\nData in Troub...
[ { "msg_contents": "Hi all\n\nCurrently hot standby feedback sends GetOldestXmin()'s result to the\nupstream as the required xmin. GetOldestXmin() returns a slot's\ncatalog_xmin if that's the lowest xmin on the system.\n\nThat's fine so long as we don't do logical decoding on standbys, but\nif we start allowing ...
[ { "msg_contents": "Hello,\n\nI'd like to propose adding SJIS as a database encoding. You may wonder why SJIS is still necessary in the world of Unicode. The purpose is to achieve comparable performance when migrating legacy database systems from other DBMSs without little modification of applications.\n\nRece...
[ { "msg_contents": "While reading the logical replication (and related) code, I found a few unused\nfunction arguments:\n\n\t * XactLogCommitRecord() - unused argument forceSync\n\n\t * SnapBuildBuildSnapshot() - xid\n\n\t * TeardownHistoricSnapshot() - is_error\n\nNo idea which ones are intended for future use ...
[ { "msg_contents": "Hi all\n\nNow that it's becoming more common to post patch series, not just\nstandalone patches, it might be worth looking at how the CF app can\nhelp manage them.\n\nAny ideas? Especially since the patch series may not get committed all\nin one go, but progressively rebased on top of the bit...
[ { "msg_contents": "Hello, hackers!\n\nWe were testing how well some application works with PostgreSQL and \nstumbled upon an autovacuum behavior which I fail to understand.\nApplication in question have a habit to heavily use temporary tables in \nfunny ways.\nFor example it creates A LOT of them.\nWhich is ok....
[ { "msg_contents": "Hi guys,\n\nCan anyone suggest a project for my first PG contribution?\n\nMy first two ideas didn't pan out: Yury doesn't seem to need help\nwith CMake, and the TODO list's \"-Wcast-align\" project (now deleted)\nappeared impractical.\n\nI can continue trying things from the TODO list, but i...
[ { "msg_contents": "While working on my parallel CREATE INDEX patch, I came across a\nproblem. I initially assumed that what I saw was just a bug in my\ndevelopment branch. During a final merge in a parallel worker, with\nvery little maintenance_work_mem, workers attempted to allocate an\namount of memory slight...
[ { "msg_contents": "Attached fixes a typo in header comment in libpq-be.h.\n\ns/libpq_be.h/libpq-be.h/g\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_date": "Tue, ...
[ { "msg_contents": "While reviewing Jeff's notice_lock_waits patch, I came across his comment\nabout having a general facility for promoting selected LOG messages. So I\nthought I should post it here, even though the patch is probably far from\nbeing accepted in Postgres.\n\nI recently wrote a patch for Postgres...
[ { "msg_contents": "In vacuumlazy.c, VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL is described as\nbeing in ms on line 85, yet it is used on line 1759 in a call to\npg_usleep, so is treated as microseconds rather than milliseconds.\n\nAs a result, the timeout during lazy_truncate_heap() is actually only\n5ms long, not 5s ...
[ { "msg_contents": "While reviewing Peter's latest round of sorting patches, and trying to \nunderstand the new \"batch allocation\" mechanism, I started to wonder how \nuseful the pre-reading in the merge stage is in the first place.\n\nI'm talking about the code that reads a bunch of from each tape, loading \n...
[ { "msg_contents": "Hi,\n\nAttached is a WIP patch extending the postgres_fdw DML pushdown in 9.6 \nso that it can perform an update/delete on a join remotely. An example \nis shown below:\n\n* without the patch:\npostgres=# explain verbose delete from ft1 using ft2 where ft1.a = ft2.a;\n \n QUE...
[ { "msg_contents": "Fix VACUUM_TRUNCATE_LOCK_WAIT_INTERVAL\n\nlazy_truncate_heap() was waiting for\nVACUUM_TRUNCATE_LOCK_WAIT_INTERVAL, but in microseconds\nnot milliseconds as originally intended.\n\nFound by code inspection.\n\nSimon Riggs\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.or...