threads
listlengths
1
2.99k
[ { "msg_contents": "I looked into the problem described here:\nhttp://www.postgresql.org/message-id/53C93986.80904@clickware.de\n\nThe core issue is that the ruleutils.c code isn't thinking about dropped\ncolumns in the output of a function-in-FROM that returns a composite type.\nPre-9.3, there had been some cod...
[ { "msg_contents": "Hi,\n\nHas anybody tried to implement subquery in CHECK constaint? If so,\nwhat are issues to implement it? Or the feature is not worth the\neffort? Comments and/or opinions are welcome.\n\nBest regards,\n--\nTatsuo Ishii\nSRA OSS, Inc. Japan\nEnglish: http://www.sraoss.co.jp/index_en.php\nJa...
[ { "msg_contents": "Someone asked me privately why we weren't immediately pursuing SQL\nMERGE, as opposed to yet another non-standard variant of UPSERT\n(UPSERT is loosely defined here as an insert-or-update DML command\nthat goes to update based on would-be unique constraint violations,\nand does one or the oth...
[ { "msg_contents": "The block comparison facility presented earlier by Heikki would not be\nable to be used in production systems. ISTM that it would be desirable\nto have something that could be used in that way.\n\nISTM easy to make these changes\n\n* optionally generate a FPW for every WAL record, not just fi...
[ { "msg_contents": "I've committed first-draft release notes into HEAD (only, so far).\nAs in the past couple of release cycles, I've only created a full\nnew documentation section for 9.3.5; tomorrow I will copy final text\ninto the back-branch release-note files, trimming away whatever\ndoes not apply to a giv...
[ { "msg_contents": "During internals tests, it is observed that checkpointer\nis getting crashed on slave with below log on slave in\nwindows:\n\nLOG: checkpointer process (PID 4040) was terminated by exception 0xC0000005\nHINT: See C include file \"ntstatus.h\" for a description of the hexadecimal\nvalue.\nLO...
[ { "msg_contents": "The first two shapes on src/test/regress/sql/polygon.sql do not make\nsense to me. They look more like polygons with some more tabs,\nbut still did not match the coordinates. I changed them to make\nconsistent with the shapes. I believe this was the intention of\nthe original author. Patc...
[ { "msg_contents": "For some reason, or possibly just through my carelessness and for no \nreal reason, json_object() currently disallows empty strings as object \nkeys. However silly empty string keys might be, they are apparently \nallowed by the JSON rfcs, and this behaviour by json_object() is \ninconsistent...
[ { "msg_contents": "Fundamental issue:\nPostgreSQL is different than Oracle in how it stores BLOBs\nhttp://www.postgresql.org/docs/9.1/static/catalog-pg-largeobject.html.\n\nIn PostgreSQL ...\nIn the particular tables BLOBS are stored as OID's (unique numbers).\nThere is one table for all BLOB data (see pg_large...
[ { "msg_contents": "Hi, hackers!\nThere are new results of my work on GSoC project \"Index-only scans for\nGIST\".\nPrevious post is here:\nhttp://postgresql.1045698.n5.nabble.com/Index-only-scans-for-GIST-td5804892.html\n\nRepository is\nhttps://github.com/lubennikovaav/postgres/tree/indexonlygist2\nPatch is in...
[ { "msg_contents": "Hi again,\n\nHere's a patch which allows you to notice those annoying bugs with INTO \nslightly more quickly. Adding to the next commit phest.\n\n\n.marko\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgre...
[ { "msg_contents": "Hi,\n\nI'm curious if there is a reason why \"IS NOT DISTINCT FROM\" is not an indexable operation in a B-tree index, as it is effectively testing for equality albeit with some \"magic\" for NULLs? Here is an example of what I mean, running tests on 9.3.4:\n\n\t-- create a table of integers\...
[ { "msg_contents": "According to\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2014-07-21%2022%3A36%3A55\nprairiedog saw a crash in \"make check\" on the 9.4 branch earlier tonight;\nbut there's not a lot of evidence as to why in the buildfarm report,\nbecause the postmaster log file is t...
[ { "msg_contents": "How do I modify PostgreSQL 9.3 source to skip certain join combinations\n(skip building certain paths in path tree) by checking some condition\n\nHow do I modify PostgreSQL 9.3 source to skip certain join combinations (skip building certain paths in path tree) by checking some condition", ...
[ { "msg_contents": "\nHello devs,\n\nThe default blocksize is currently 8k, which is not necessary optimal for \nall setup, especially with SSDs where the latency is much lower than HDD.\n\nThere is a case for different values with significant impact on \nperformance (up to a not-to-be-sneezed-at 10% on a pgbenc...
[ { "msg_contents": "Diagnose incompatible OpenLDAP versions during build and test.\n\nWith OpenLDAP versions 2.4.24 through 2.4.31, inclusive, PostgreSQL\nbackends can crash at exit. Raise a warning during \"configure\" based on\nthe compile-time OpenLDAP version number, and test the crash scenario in\nthe dbli...
[ { "msg_contents": "Before 9.3, you got an error from this:\n\nregression=# select * from tenk1 offset -1;\nERROR: OFFSET must not be negative\n\nBut 9.3 and up ignore the negative OFFSET. This seems to be a thinko in\nmy commit 1a1832eb. limit_needed() thinks it can discard the Limit plan\nnode altogether, w...
[ { "msg_contents": "Hi All,\n\nI am working on postgresql code and having some problem. :)\n\nI need to create shared data structure, so that different client and\nconnection can update and share the state of those data structures in\nmemory. I planned to use top memory context but it can give me shared\nstructu...
[ { "msg_contents": "My new OpenLDAP test case has been breaking each MSVC buildfarm member. Most\nMinGW members are fine, though the 9.0 and 9.1 narwhal members broke. (Newer\nnarwhal members have been broken long-term.) The MSVC build system has a\nmundane inability to handle a Makefile construct I used; the...
[ { "msg_contents": "Hi all,\n\nWhile playing on Windows with services, I noticed an inconsistent behavior\nin the way failures are handled when using a service for a Postgres\ninstance.\n\nLet's assume that there is a service called postgres that has been\nregistered:\n$ psql -At -c 'select version()'\nPostgreSQ...
[ { "msg_contents": "*Well the above would indicate it is not being shutdown properly.How are\nyou shutting it down?*\n\nPSQL server starterd as stoped by postgresql windows service. So when I\nshutdown the machine postgres shutting down by postgres windows service\n\n*What and how are you installing?*\n\nUsing w...
[ { "msg_contents": "It seems at least the 9.0 PDFs are broken (trying to build for the release):\n\nLots of errors/warnings (and AFAIK no way to see which is which in the\noutput), but It hink this is the telltale as usual:\n\nOverfull \\hbox (7.12454pt too wide) in paragraph at lines 88092--88092\n []\\T1/pcr/m...
[ { "msg_contents": "Hello,\n\nI'm investigating a mysterious hang problem on PostgreSQL 9.2.8. If many \nsessions use temporary tables whose rows are deleted on commit, the hang \noccurs. I'd like to show you the stack trace, but I'm trying to figure out \nhow to reproduce the problem. IIRC, the stack trace w...
[ { "msg_contents": "Hi All,\n\nI am doing programming with postgresql source code. I want to find out the\nfunction which can give me Least active transaction id currenty in the\nsystem.\n\nIs there any function which can give me that?\n\nRegards,\nRohit Goyal\n\nHi All,I am doing programming with postgresql sou...
[ { "msg_contents": "postgres has fantastic date-time parsing. I've tried some Java libraries\nthat advertise amazing time parsing. But nothing seems to match postgres's\ntime parsing. I started peeking through the source to find a reference to\na library that postgres might be using for time parsing. no luck....
[ { "msg_contents": "9.4 beta docs are listed as \"Current as of 2014-05-10\".\n\nI'm assuming that's just a step we missed in the version stamping?\nNeeds to go on a checklist? Should we backpatch a fix for that?\n\n-- \n Magnus Hagander\n Me: http://www.hagander.net/\n Work: http://www.redpill-linpro.com/\n\n\n...
[ { "msg_contents": "In testing some new code I'm working on that uses shm_mq to do Cool\nStuff (TM), I discovered that my code was mysteriously failing\nassertions when I hit ^C in the middle of the test. This led me on a\nlengthy, mostly-misguided hunt for the culprit. I eventually\ndiscovered that the proble...
[ { "msg_contents": "Hi,\n\ncatalogs.sgml has this comment:\n This represents a not-null constraint. It is possible to\n change this column to enable or disable the constraint.\n\nSomeone on irc just took that as \"permission\" to do so manually...\n\nThat comment has been there since 1efd7330c/2000-...
[ { "msg_contents": "The jsonb documentation says of the jsonb_path_ops GIN opclass:\n\n\"\"\"\nA disadvantage of the jsonb_path_ops approach is that it produces no\nindex entries for JSON structures not containing any values, such as\n{\"a\": {}}. If a search for documents containing such a structure is\nrequest...
[ { "msg_contents": "There's a bunch of code in xlog.c that special-cases commit/abort records\nfor purposes of controlling replay, ie whether you can pause before/after\na particular xlog record, extract a timestamp from it, etc. This code\ndoes not, and apparently never has, counted COMMIT_PREPARED or\nABORT_P...
[ { "msg_contents": "Hello, \n\nI noticed that postgresql_fdw can run in parallel by very small\nchange. The attached patch let scans by postgres_fdws on\ndifferent foreign servers run sumiltaneously. This seems a\nconvenient entry point to parallel execution.\n\nFor the testing configuration which the attched sq...
[ { "msg_contents": "Hi,\n\nI’m implementing the functionality that will pass all the queries native to postgresql (that asks about structures and versions) to the hidden postgresql and other queries I would like to parse myself. I have a big problem with outputing PG_TYPE_INT[248] value. I’m doing it because in ...
[ { "msg_contents": "0. Introduction:\n=================================\nThis is a proposal for adding incremental backup support to streaming\nprotocol and hence to pg_basebackup command.\n\n1. Proposal\n=================================\nOur proposal is to introduce the concept of a backup profile. The backup\...
[ { "msg_contents": "Greetings,\n\nI'd like to propose a patch for checking subject alternative names entry in\nthe SSL certificate for DNS names during SSL authentication.\n\nWhen the client PGSSLMODE is set to verify-full, the common name (CN) of\nthe PostgreSQL server in the certificate is matched against the...
[ { "msg_contents": "Attached is a contrib module that lets you launch arbitrary command in\na background worker, and supporting infrastructure patches for core.\nYou can launch queries and fetch the results back, much as you could\ndo with a dblink connection back to the local database but without the\nhassles o...
[ { "msg_contents": "On a Windows or other EXEC_BACKEND build, the following eventually gets\nfailures because all, or all but one, max_connections slot is consumed:\n\n for run in `seq 1 100`; do make -C contrib/test_shm_mq installcheck; done\n\nWhen I use max_connections=40, it fails on the sixth iteration. O...
[ { "msg_contents": "I looked into the performance issue Joe Van Dyk reported in bug #11033.\nIt turns out this is basically a consequence of the \"section boundary\"\npseudo-objects I added in commit a1ef01fe163b304760088e3e30eb22036910a495.\n(I'd worried about performance consequences at the time, but hadn't\ns...
[ { "msg_contents": "I propose that a QNX 6.5 port be introduced to PostgreSQL.\n\nI am new to PostgreSQL development, so please bear with me.\n\nI have made good progress (with 1 outstanding issue, details below):\n\n* I created a QNX 6.5 port of PostgreSQL 9.3.4 which passes regression tests.\n\n* ...
[ { "msg_contents": "\nAs I was investing playing around with blocksize, I noticed that some test \ncases under \"make check\" vary depending on compilation parameters, as \nthey:\n\n - do not order the result of queries, thus are not deterministic\n [join, with]\n\n - output query plans which differ dependi...
[ { "msg_contents": "I've just been hacking away a bit more at the WIP patch that I posted a\nwhile back which allows join removals for SEMI and ANTI joins that could be\nproved useless due to the existence of a foreign key which matched the join\ncondition (here\nhttp://www.postgresql.org/message-id/CAApHDvq0NAi...
[ { "msg_contents": "Hi,\n\nWhile updating the french translation of the latest releases, I stumbled\nupon a small issue on the config.sgml file.\n\nIt talks about unix_socket_directories whereas this parameter only appears\nwith the 9.3 release. It should probably be replaced with\nunix_socket_directory for all ...
[ { "msg_contents": "\nIs there any standard set of packages on any supported platform that \nwill allow for building the doc PDFs? So far I have not found one on \neither Fedora 20 or Ubuntu 14.04, but maybe I'm missing something. I am \nlooking at adding a buildfarm facility to build the docs, but I'm not \npre...
[ { "msg_contents": "Hello,\n\nToday I'd like to present a way to get rid of code like this:\n\n $$\n BEGIN\n\n BEGIN\n INSERT INTO foo VALUES (1);\n -- run some tests/checks/whatever\n RAISE EXCEPTION 'OK';\n EXCEPTION WHEN raise_exception THEN\n IF SQLERRM <> 'OK' THEN\n RAISE;\n ...
[ { "msg_contents": "Me again,\n\nHere's a patch for making PL/PgSQL throw an error during compilation \n(instead of runtime) if the number of parameters passed to RAISE don't \nmatch the number of placeholders in error message. I'm sure people can \nsee the pros of doing it this way.\n\n\n.marko\n\n\n\n-- \nSen...
[ { "msg_contents": "Hi all,\n\nSmall fix in src/backend/storage/smgr/README about where is assigned fork\nnumbers.\n\nRegards,\n\n-- \nFabrízio de Royes Mello\nConsultoria/Coaching PostgreSQL\n>> Timbira: http://www.timbira.com.br\n>> Blog sobre TI: http://fabriziomello.blogspot.com\n>> Perfil Linkedin: http://b...
[ { "msg_contents": "PG 8.4.x is EOL as of last week's releases, so it's time to remove that\nbranch from any auto-update scripts you might have, reconfigure buildfarm\nmembers that are force-building it, etc.\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\...
[ { "msg_contents": "hi, all\n NOTE: Version is 8.4 Fedora 20 X86_64\n\n for understanding optimizer's internals, I\n\n*set debug_print_plan=on*\n\nand created two tables as follows :\n\n\n*create table Reserves (sid integer, bid integer,day date,rname\nchar(25));create table Sailors(sid integer,sname char(25...
[ { "msg_contents": "I have just pushed two optimization patches for multixacts to HEAD only.\nI hesitate to backpatch them to 9.3 right away, but will consider doing\nso if people think differently.\n\nI also have a patch that supposedly fixes the performance regression\nreported in bug #8470, but it's considera...
[ { "msg_contents": "Hackers,\n\nwhile reading code written by my GSoC student for knn-spgist I faced many\nquestions about calculation distance from point to box.\n\n1) dist_pb calls close_pb which calls on_pb, dist_ps_internal, close_ps and\nso on. So, it's very complex way to calculate very simple value. I see...
[ { "msg_contents": "Hi,\n\nIs anybody working on closing out the \"in progress\" CommitFest?\n\nhttps://commitfest.postgresql.org/action/commitfest_view?id=22\n\nI think anything that is \"waiting on author\" should certainly be\nbounced at this point, and stuff that never got reviewed or is ready\nfor committer...
[ { "msg_contents": "Please find attached a small tweak to a couple of strings found while\nupdating translations. The %d version is already used elsewhere in the\nsame file.\n\n-- Daniele\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp:/...
[ { "msg_contents": "log_newpage is used by many index types, as well as for heaps. But for \nhistorical reasons, it's always been in heapam.c, as part of the Heap \nresource manager.\n\nWe now have a new record type that just contains a full page image, \nXLOG_FPI, used to log hint bit updates when checksums are...
[ { "msg_contents": "Move log_newpage and log_newpage_buffer to xlog.c.\n\nlog_newpage is used by many indexams, in addition to heap, but for\nhistorical reasons it's always been part of the heapam rmgr. Starting with\n9.3, we have another WAL record type for logging an image of a page,\nXLOG_FPI. Simplify things...
[ { "msg_contents": "I saw some strange results:\n\npostgres=# select '1.1'::numeric = '1.1'::float8;\n ?column? \n----------\n t\n(1 row)\n\npostgres=# select '1.1'::numeric = '1.1'::float4;\n ?column? \n----------\n f\n(1 row)\n\nWhen I looked into it, I saw that the numeric is being cast to a float8,\nmaking t...
[ { "msg_contents": "Hi, hackers!\nI work on a GSoC project \"Index-only scans for GIST\"\nhttps://wiki.postgresql.org/wiki/Support_for_Index-only_scans_for_GIST_GSoC_2014\n\nRepository is\nhttps://github.com/lubennikovaav/postgres/tree/indexonlygist2\nPatch is in attachments.\n\nIt includes index-only scans for ...
[ { "msg_contents": "Hi,\n\nIn 9.2, pg_receivexlog -v has emitted the messages as follows at the\nend of each WAL file.\n\npg_receivexlog: finished segment at 0/2000000 (timeline 1)\npg_receivexlog: finished segment at 0/3000000 (timeline 1)\npg_receivexlog: finished segment at 0/4000000 (timeline 1)\n\nBut, whil...
[ { "msg_contents": "This patch is pretty trivial.\n\nAdd modulo operator to pgbench.\n\nThis is useful to compute a permutation for tests with non uniform \naccesses (exponential or gaussian), so as to avoid trivial correlations \nbetween neighbour keys.\n\n-- \nFabien.\n\n\n\n\n\n\n-- \nSent via pgsql-hackers m...
[ { "msg_contents": "Hackers,\n\nSince Gabrielle has improved archiving with pg_stat_archiver in 9.4, I'd\nlike to go further and improve the usability of pg_stop_backup().\nHowever, based on my IRC discussion with Vik, there might not be\nconsensus on what the right behavior *should* be. This is for 9.5, of\nco...
[ { "msg_contents": "For a long time (since version 8.0), PostgreSQL has adopted the logical\nbarriers for centuries and millenniums in these functions. The calendar\nstarts millennium and century 1 on year 1, directly after 1 BC.\nUnfortunately decades are still reported rather simplistically by\ndividing the y...
[ { "msg_contents": "ed802e7 seems to have broken the windows builds.\n\n.\\contrib\\pgbench\\pgbench.c(530): error C2065: 'M_PI' : undeclared\nidentifier\n\nThe attached fixes the problem. It seems all other uses of M_PI have\nadded the same code to the .c file rather than any header file,\nperhaps a better patc...
[ { "msg_contents": "Greetings,\nI took at look at the TODO list and got interested in the possible\noptimization of the bcTruelen() function. Read the archived messages about\nthat subject and decided to see what could be done.\n\nI tested the performance of 5 different versions of bcTruelen().\n1. The code as i...
[ { "msg_contents": "Attached is a patch that explicitly tracks allocated memory (the blocks,\nnot the chunks) for each memory context, as well as its children.\n\nThis is a prerequisite for memory-bounded HashAgg, which I intend to\nsubmit for the next CF. Hashjoin tracks the tuple sizes that it adds to\nthe has...
[ { "msg_contents": "Greetings,\nI hope this is the right group to ask this question; apologies if this\nshould go the general or some other list.\n\nI have multiple shared libraries that can be called from C that I'd like to\nuse from a C based postgresql function.\n\nThese libraries perform some expensive initi...
[ { "msg_contents": "While working on the SSL refactoring patch, it struck me that we don't \nhave any regression tests for SSL support. A suite to test all the \ndifferent sslmodes etc. is essential before we can start implementing \nalternatives to OpenSSL.\n\nNow that we use TAP for testing client tools, I thi...
[ { "msg_contents": "Hi,\n\nI’m missing the PG_RETURN_UINT16 macro in fmgr.h \nSince we already have the PG_GETARG_UINT16 macro \nI guess it makes sense to to have it.\n\nhere is the trivial patch for it.\n\n\n\n\n\ncheers\n\nManuel\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nT...
[ { "msg_contents": "I have applied the attached patch to remove a reference to\nautovacuum_multixact_freeze_max_age.\n\nautovacuum_multixact_freeze_max_age was added as a pg_ctl start\nparameter in 9.3.X to prevent autovacuum from running. However, only\nsome 9.3.X releases have autovacuum_multixact_freeze_max_...
[ { "msg_contents": "We am trying to get an idea of the raw performance of Oracle vs PostgreSQL.\nWe have extensive oracle experience but are new to PostgreSQL. We are going\nto run lots of queries with our data, etc. But first we wanted to see just\nhow they perform on basic kernel tasks, i.e. math and branching...
[ { "msg_contents": "I've been working away at allowing semi and anti joins to be added to the\nlist of join types that our join removal code supports.\n\nThe basic idea is that we can removal a semi or anti join if the left hand\nrelation references the relation that's being semi/anti joined if the join\nconditi...
[ { "msg_contents": "hi, all\n I already can debug general postgres using \"ddd\" and \"select\npg_backend_pid();\" , now, I want to study the details of the system\ncatalog cache and system cache management, so I need to debug the function\nInitPostgres() and InitCatalogCache(), and I tried the following steps...
[ { "msg_contents": "Using the 'include' keyword in postgresql.conf let's us do groovy things\nlike paste together pieces of general purpose configs into the working file.\n\n-- But since all we can do is set/reset the parameters the possibility\n of concatenating fragments that use some of the list parameters...
[ { "msg_contents": "There was some informal discussion of worst case performance of my\ntext sort support patch at the most recent developer's meeting in\nOttawa. There is no need to repeat the details here, which aren't\nterribly interesting - I made a point about putting worst case\nperformance in context. I a...
[ { "msg_contents": "Hi,\n\nIt is pretty annoying that pgbench does not check parameter which\nshould not be used with -i. I often type like:\n\npgbench -c 10 -T 300 -S -i test\n\nand accidentally initialize pgbench database. This is pretty\nuncomfortable if the database is huge since initializing huge database\n...
[ { "msg_contents": "Hi hackers,\n\nAttached is a patch to add support for PGP signatures in encrypted \nmessages into pgcrypto.\n\nCurrently, the list of limitations is the following:\n\n - It only knows how to generate one signature per message. I don't \nsee that as a problem.\n - If a message has bee...
[ { "msg_contents": "I'm very new to Postgres, but have plenty of experience developing stored\nprocs in Oracle.\n\nI'm going to be creating Postgres stored procedures (functions actually,\nsince I discovered that in postgres, everything is a function) to do a\nvariety of batch-type processing. These functions m...
[ { "msg_contents": "Hi,\n\nThe WAL files that pg_receivexlog writes will not be re-read soon basically,\nso we can advise the OS to release any cached pages when WAL file is\nclosed. I feel inclined to change pg_receivexlog that way. Thought?\n\nRegards,\n\n-- \nFujii Masao\n\n\n-- \nSent via pgsql-hackers maili...
[ { "msg_contents": "Hi all\n\nTo support transparent client-side failover in BDR, it's necessary to\nknow what the LSN of a node was at the time a transaction committed and\nkeep track of that in the client/proxy.\n\nI'm thinking about adding a new message type in the protocol that gets\nsent immediately before ...
[ { "msg_contents": "Hi!\n\nI have a questions about setting transaction's wraparound limits. Function \nSetTransactionIdLimit() in access/transam/varsup.c:\n\n1)\n xidWrapLimit = oldest_datfrozenxid + (MaxTransactionId >> 1);\n if (xidWrapLimit < FirstNormalTransactionId)\n xidWrapLimit += FirstN...
[ { "msg_contents": "Hi!\n\nHere is a report of what has been discussed yesterday on IRC.\n\nThe kmedoids module now seems to work correctly on basic datasets. I've\nalso implemented its variants with different seeding methods: random\ninitial medoids, and initial medoids distributed among the points (similar\nto...
[ { "msg_contents": "Hi,\n\nStill translating the 9.4 manual, and found another typo. Patch attached.\n\nThanks.\n\n\n-- \nGuillaume.\n http://blog.guillaume.lelarge.info\n http://www.dalibo.com\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\n...
[ { "msg_contents": "\nHello,\n\nI know this has been brought up before:\n\nhttp://www.postgresql.org/message-id/20140724080902.GA28113@msg.df7cb.de\n\nBut this is just plain wrong. I don't care that the FAQ (on the wiki) \nsays we are doing it wrong for good reasons. When I (or anyone else) \npulls postgresql-$v...
[ { "msg_contents": "I looked into the issue reported in bug #11109. The problem appears to be\nthat jsonb's on-disk format is designed in such a way that the leading\nportion of any JSON array or object will be fairly incompressible, because\nit consists mostly of a strictly-increasing series of integer offsets...
[ { "msg_contents": "Hi,\n\nWe can specify the unit when setting autovacuum_vacuum_cost_delay\nGUC as follows.\n\n ALTER SYSTEM SET autovacuum_vacuum_cost_delay TO '80ms';\n\nOTOH we cannot specify the unit when setting autovacuum_vacuum_cost_delay\nas storage parameter as follows.\n\n CREATE TABLE test (co...
[ { "msg_contents": "Hi,\n\nAs part of our monitoring work for our customers, we stumbled upon an issue\nwith our customers' servers who have a wal_keep_segments setting higher\nthan 0.\n\nWe have a monitoring script that checks the number of WAL files in the\npg_xlog directory, according to the setting of three ...
[ { "msg_contents": "Hi,\n\nCurrently there's no way to generate or extract armor headers from the \nPGP armored format in pgcrypto. I've written a patch to add the \nsupport. For example:\n\nlocal:marko=#* select armor('zooka', array['Version', 'Comment'], \narray['Created by pgcrypto', 'PostgreSQL, the databa...
[ { "msg_contents": "Thanks to all for the great info. We are new to postgresql and this discussion has both instructed us and increased our respect for the database and the community.\r\n\r\nI am seeing a behavior that I don’t understand and hopefully you guys can clear it up.\r\n\r\nI am using AWS postgresql d...
[ { "msg_contents": "On Mon, Apr 14, 2014 at 11:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Fujii Masao <masao.fujii@gmail.com> writes:\n>> On Tue, Apr 1, 2014 at 1:41 AM, Robert Haas <robertmhaas@gmail.com> wrote:\n>>> Should we try to install some hack around fastupdate for 9.4? I fear\n>>> the divergence be...
[ { "msg_contents": "In master I've been testing some new code that I'm working on around\nforeign keys.\nI wasn't quite sure if it was possible to include the same column twice in\na foreign key, so I tested....\n\ncreate table r1 (a int);\ncreate table r2 (b int);\ncreate unique index on r2(b,b);\nalter table r...
[ { "msg_contents": "This is 9.3:\n\npeter=# \\a\nOutput format is unaligned.\npeter=# \\a\nOutput format is aligned.\npeter=# \\x\nExpanded display is on.\npeter=# \\x\nExpanded display is off.\n\nThis is new in 9.4:\n\npeter=# \\a\nOutput format (format) is unaligned.\npeter=# \\a\nOutput format (format) is ali...
[ { "msg_contents": "9.3 pg_restore --help output:\n\n -I, --index=NAME restore named index\n -n, --schema=NAME restore only objects in this schema\n -P, --function=NAME(args) restore named function\n -t, --table=NAME restore named table(s)\n -T, --trigger=NAME ...
[ { "msg_contents": "Hi all,\n\nPlease find attached a patch to add support of synchronous replication\nfor multiple standby servers. This is controlled by the addition of a\nnew GUC parameter called synchronous_standby_num, that makes server\nwait for transaction commit on the first N standbys defined in\nsynchr...
[ { "msg_contents": "Hi all\n\nI just had an idea I wanted to run by you all before turning it into a\npatch.\n\nPeople seem to get confused when they get auth errors because they\nchanged pg_hba.conf but didn't reload.\n\nShould we emit a HINT alongside the main auth error in that case?\n\nGiven the amount of co...
[ { "msg_contents": "This patch is requires the Memory Accounting patch, or something similar\nto track memory usage.\n\nThe attached patch enables hashagg to spill to disk, which means that\nhashagg will contain itself to work_mem even if the planner makes a\nbad misestimate of the cardinality.\n\nThis is a well...
[ { "msg_contents": "\nhttp://www.postgresql.org/docs/9.1/static/gin-implementation.html\n\"\"\"As of PostgreSQL 9.1, NULL key values can be included in the index. Also,\nplaceholder NULLs are included in the index for indexed items that are NULL\nor contain no keys according to extractValue. This allows searches...
[ { "msg_contents": "We can know the LSN of last committed WAL record on primary by using\npg_current_xlog_location(). It seems there's no API to know the time\nwhen the WAL record was created. I would like to know standby delay by\nusing pg_last_xact_replay_timestamp() and such that API.\n\nIf there's no such a ...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi!\n\nI try to catch a DropStmt and convert it to a Rename Stmt, like petere's\npg_trashcan, but i don't like to create new schema. I only like to\nrename the table in case of a drop table query.\nIs this possible with something like:\n\nPr...
[ { "msg_contents": "Hi!\n\nSo after 83 days, the regression tests on barnacle completed, and it\nsmells like another memory leak in CacheMemoryContext, similar to those\nfixed in 078b2ed on May 18.\n\nBarnacle is one of those machines with -DCLOBBER_CACHE_RECURSIVELY, and\nthe tests were running with a snapshot ...
[ { "msg_contents": "Hi,\n\nWhile looking at pg_recvlogical code, I noticed that a couple of error\nmessages are incorrect when invoking some combinations of --create,\n--start or --drop.\n\nFor example, here --init should be --create, --stop should be --drop:\n$ pg_recvlogical --create --drop --slot foo\npg_recv...
[ { "msg_contents": "Hi,\n\nI noticed that pg_receivexlog is able to use --slot but not -S, even\nif the code is written this way. Attached is a patch correcting that.\nThis makes pg_receivexlog consistent with pg_recvlogical regarding the\nslot option.\nIMHO, this should be backpatched to REL9_4_STABLE.\nRegards...
[ { "msg_contents": "Attached patch removes spurious brackets from pgbench documentation.\n\n-- \nFabien.\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, 12 Aug 2014 10:12:...
[ { "msg_contents": "Hi all,\r\n\r\nThis patch is to add setting to send status packets after fsync to --status-interval of pg_receivexlog.\r\n\r\nIf -1 is specified to --status-interval, status packets is sent as soon as after fsync.\r\n\r\nOthers are the same as when 0 is specified to --status-interval.\r\nWhen...