threads
listlengths
1
2.99k
[ { "msg_contents": "On windows, if the client gets terminated while sending data to the server,\nin a COPY for example, it results in some rather head-scratcher messages in\nthe server log, for example:\n\nLOG: could not receive data from client: No connection could be made\nbecause the target machine actively ...
[ { "msg_contents": "I've written a variant of regexp_matches called regexp_matches_positions\nwhich instead of returning matching substrings will return matching\npositions. I found use of this when processing OCR scanned text and wanted\nto prioritize matches based on their position.\n\nThe patch is for discuss...
[ { "msg_contents": "Hi all,\n\nThe undocumented GUC called xloginsert_slots has been introduced by\ncommit 9a20a9b. It is mentioned by the commit that this parameter\nshould be removed before the release. Wouldn't it be a good time to\nremove this parameter soon? I imagine that removing it before the beta\nwould...
[ { "msg_contents": "In the jsonb patch I have been working on, I have replicated all of what \nI call the json processing functions, and I will shortly add analogs for \nthe new functions in that category json_to_record and json_to_recordset.\n\nHowever I have not replicated what I call the json generation funct...
[ { "msg_contents": "Esteemed hackers,\n\nI can't be the only person to have encountered a situation where\nadding a new foreign key pointing at a busy table essentially never\nhappens because the way things work now, creating the constraint\ntrigger on that busy table requires an AccessExclusive lock, or a\nunic...
[ { "msg_contents": "Hello\n\nI am looking on this patch\n\nhttp://www.postgresql.org/message-id/525FE206.6000502@dalibo.com\n\na) pg_sleep_for - no objection - it is simple and secure\n\nb) pg_sleep_until\n\nI am not sure - maybe this implementation is too simply. I see two possible\nrisk where it should not wor...
[ { "msg_contents": "related to\nhttp://www.postgresql.org/message-id/BF2827DCCE55594C8D7A8F7FFD3AB7713DDB15F8@SZXEML508-MBX.china.huawei.com\n\nHello\n\n1. I had to rebase this patch - actualised version is attached - I merged\ntwo patches to one\n\n2. The psql code is compiled without issues after patching\n\n3...
[ { "msg_contents": "Include planning time in EXPLAIN ANALYZE output.\n\nThis doesn't work for prepared queries, but it's not too easy to get\nthe information in that case and there's some debate as to exactly\nwhat the right thing to measure is, so just do this for now.\n\nAndreas Karlsson, with slight doc chang...
[ { "msg_contents": "Hello\n\nI am looking on this patch.\n\nIt is great idea, and I am sure, so we want this patch - it was requested\nand proposed more time.\n\nSome tips:\n\na) possibility to test only selected tests\nb) possibility to verify generated file against expected file\nc) detection some warnings (ex...
[ { "msg_contents": "Last week:\n\nStatus Summary. Needs Review: 66, Waiting on Author: 16, Ready for\nCommitter: 9, Committed: 20, Returned with Feedback: 2. Total: 113.\n\nThis week:\n\nStatus Summary. Needs Review: 49, Waiting on Author: 18, Ready for\nCommitter: 9, Committed: 33, Returned with Feedback: 3, Re...
[ { "msg_contents": "Hi all\n\nI'm having a hard time seeing any reasonable semantics for the\ncombination of row-security and inheritance in 9.4 that are also\npractical to implement.\n\nI'm considering just punting on inheritance for 9.4, adding checks to\nprohibit inheritance from being added to a rel with row...
[ { "msg_contents": "Hi,\n\nas a Gentoo user I had a hard time getting the documentation\ncompiled. Attached you will find a Patch explaining exactly this: how\nto compile the documentation under Gentoo.\n\nBest regards,\n\n-- \n Christian Kruse http://www.2ndQuadrant.com/\n PostgreSQL Development, ...
[ { "msg_contents": "This seems wrong: in HEAD, an empty select list does *not* generate a error warning anymore:\n\n$ psql -X\npsql (9.4devel_HEAD_20140130_0805_571addd)\nType \"help\" for help.\n\ntestdb=# create table t as select i from generate_series(1,3) as f(i);\nSELECT 3\ntestdb=# select * from t;\n i\n--...
[ { "msg_contents": "Hello\n\nThis patch creates a infrastructure for client side testing environment\n\n1. Surely we want this patch, this infrastructure - lot of important\nfunctionality is not covered by tests - pg_dump, pg_basebackup, ... Without\ninfrastructure is terrible work to create some tests.\n\n2. Th...
[ { "msg_contents": "On more occasions than I care to recall, someone has suggested that it\nwould be valuable to do something with strxfrm() blobs in order to\nhave cheaper locale-aware text comparisons. One obvious place to do so\nwould be in indexes, but in the past that has been dismissed on the\nfollowing gr...
[ { "msg_contents": "Hello everyone,\n\nMy name is Anirudh Subramanian and I am a graduate student in Computer\nScience. I would like to participate in Google Summer of Code and would\nlike to contribute to postgresql. I am not familiar with the postgresql\ncodebase yet but will surely get started in the near fut...
[ { "msg_contents": "On Thu, Jan 30, 2014 at 9:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Peter Geoghegan <pg@heroku.com> writes:\n>> On more occasions than I care to recall, someone has suggested that it\n>> would be valuable to do something with strxfrm() blobs in order to\n>> have cheaper locale-aware text ...
[ { "msg_contents": "\nWhile Bruce is working on pgindent, let me register a small wishlist \nitem. It would be quite useful to be able to supply extra typedefs on \nthe command line to supplement a typedefs file downloaded from the \nbuildfarm or constructed however. A concrete example: in the code I have \nbeen...
[ { "msg_contents": "In 9.3 I noticed that postmaster considers bgworker crashed (and\ntherefore tries to restart it) even if it has exited with zero status code.\n\nI first thought about a patch like the one below, but then noticed that\npostmaster.c:bgworker_quickdie() signal handler exits with 0 too (when\nthe...
[ { "msg_contents": "Hi Rajeev san,\n\nI reviewed the patch content. I find this fix useful.\n\nI'd like to suggest some code improvements. I'll apply and test the patch \nwhen I receive your reply.\n\n\n(1)\nI think it is appropriate to place find_my_abs_path() in path.c rather than \nexec.c. Please look at t...
[ { "msg_contents": "Hi,\n\nWhile looking at a profile I noticed that non-concurrent index builds\nuse the page at a time mode. Since that causes more buffer lwlocks to be\ntaken, that's a noticeable slowdown according to a completely\nunscientific hack.\nThe reason for not using the page at a time mode is that w...
[ { "msg_contents": "I happened to notice today that the owner of buildfarm member narwhal\nis trying to revive it after a long time offline, but it's failing in\nthe 9.3 branch (and not attempting to build HEAD, yet). The cause\nappears to be that contrib/postgres_fdw is referencing the DateStyle\nand IntervalS...
[ { "msg_contents": "Hi,\n\nIn the nearby thread at\nhttp://archives.postgresql.org/message-id/20140202140014.GM5930%40awork2.anarazel.de\nPeter and I discovered that there is a large performance difference\nbetween different max_connections on a larger machine (4x Opteron 6272,\n64 cores together) in a readonly ...
[ { "msg_contents": "Hi,\n\nOn larger, multi-socket, machines, startup takes a fair bit of time. As\nI was profiling anyway I looked into it and noticed that just about all\nof it is spent in LWLockAssign() called by InitBufferPool(). Starting\nwith shared_buffers=48GB on the server Nate Boley provided, takes abo...
[ { "msg_contents": "While investigating the assertion failure Noah presented at\nhttp://www.postgresql.org/message-id/20130805170931.GA369289@tornado.leadboat.com\nI was confused for a bit as to why we're getting a relcache rebuild\nrequest for t1's index at exit of the subtransaction, when the\nsubtransaction h...
[ { "msg_contents": "Hi all\n\nI ran into this performance report over the weekend:\n\n http://stackoverflow.com/q/21507127/398670\n\nand wanted to mention it here.\n\njson_array_elements seems to spend about 97% of its time in\nMemoryContextReset(...).\n\nGiven dummy data:\n\ntest=> create table g as select (...
[ { "msg_contents": "My goal is to implement a new index type base on bitmap index algorithm.\n\nI've to main problems :\n\n1. How to get \"Target list\" - list of columns need to be returned from\nquery on the index.\n\n I want to implement index only access , today the indexer api get row-id\nand then PG retr...
[ { "msg_contents": "Document a few more regression test hazards.\n\nMichael Paquier, reviewed by Christian Kruse\n\nBranch\n------\nmaster\n\nDetails\n-------\nhttp://git.postgresql.org/pg/commitdiff/65a193ebbb5e94b87773fbcbf8909ff8044734ab\n\nModified Files\n--------------\ndoc/src/sgml/regress.sgml | 20 ++++...
[ { "msg_contents": "Please find attached the pg_hibernate extension. It is a\nset-it-and-forget-it solution to enable hibernation of Postgres\nshared-buffers. It can be thought of as an amalgam of pg_buffercache and\npg_prewarm.\n\nIt uses the background worker infrastructure. It registers one worker\nprocess (B...
[ { "msg_contents": "I found an interesting inconsistency between pg_stat_activity and\nlog_duration.\n\n-[ RECORD 1 ]----+---------------------------------------------------------------------------------------------------------------------------\ndatid | 16392\ndatname | test\npid ...
[ { "msg_contents": "Hello, I have often seen inquiries about an log message from\nPostgreSQL server.\n\n> LOG: could not create IPv6 socket: Address family not supported by protocol\n\nThis is emitted on ipv6-disabled environment which was available\nfor me by the following steps on CentOS 6.5,\n\n - Add 'NETWO...
[ { "msg_contents": "Hi,\n\nI recently had the need to bury the used isolation level in the\nconnection string, but it turns out that doesn't work that well...\n\nPGOPTIONS='-c default_transaction_isolation=serializable' \\\n psql ... -c \"SHOW default_transaction_isolation\"\nworks well enough, but\nPGOPTIONS...
[ { "msg_contents": "CentOS Release 6.5 (final)\nAMD FX(tm)-8120 Eight-Core\n2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\nmemory: 8GB\n\nI am testing nested hstore, on a server with both with these patches:\n jsonb-9.patch.gz\n nested-hstore-9.patch.gz\n\nOne of t...
[ { "msg_contents": "The attached patch replaces the existing siftup method for heapify with\na siftdown method. Tested with random integers it does 18% fewer\ncompares and takes 10% less time for the heapify, over the work_mem\nrange 1024 to 1048576.\n\nBoth algorithms appear to be O(n) (contradicting Wikipedia'...
[ { "msg_contents": "Hello All,\n\nI have been reading through some of the recent discussions about failback\nwhen in a streaming replication setup. I define failback as:\n\n\n 1. Node A is master, Node B is slave\n 2. Node A crashes || Node A is stopped || nothing happens\n 3. Promote Node B to Master\n ...
[ { "msg_contents": "Hi all,\n\nWhen I tried to psql command, I found that the result of command seems to be\ndifferent from explanation of the manual. Please tell me which is \ncorrect performance, the result of command or the explanation of manual.\nI show the details as follows.\n\n[Events]\nThe encoding that ...
[ { "msg_contents": "While hacking on the GIN patches, I've come up with a few different \nideas for improving performance. It's too late for 9.4, but I'll list \nthem here if someone wants to work on them later:\n\n* Represent ItemPointers as uint64's, to speed up comparisons. \nginCompareItemPointers is inlined...
[ { "msg_contents": "Hello\r\n\r\nOne of our users is having a problem with a trigger in a system running\r\npostgresql 9.3.\r\n\r\nThe problem is that pl/pgsql does not accept open and close as column\r\nnames when used in the NEW record in a trigger function.\r\n\r\nThis page:\r\nhttp://www.postgresql.org/docs/...
[ { "msg_contents": "Hi all,\n\nAttaching patch provides new value 'dml' for log_statement.\nCurrently, The server logs modification statements AND data definition\nstatements if log_statement is set 'mod'.\nSo we need to set the 'all' value for log_statement and remove\nunnecessary information\nif we would like...
[ { "msg_contents": "Are there any tentative plans for the 9.3.3 release date? 9.3.2 was released in December and it’s getting close to the two month mark for another micro release, or at least one seems like one should be right around the corner.\n\nIt’s a little early, but I haven’t seen any movement or discuss...
[ { "msg_contents": "In src/backend/storage/freespace/freespace.c,\n\n *\n * MaxFSMRequestSize depends on the architecture and BLCKSZ, but assuming\n * default 8k BLCKSZ, and that MaxFSMRequestSize is 24 bytes, the categories\n * look like this\n *\n\nIs \"24 bytes\" a typo considering that\n\n#define MaxFSMReque...
[ { "msg_contents": "This question is mostly just curiosity...\n\nThere are build-time dependency cycles between some of Postgres' code\nsubdirectories. For example, \"storage\" and \"access\" have such a cycle:\nstorage/buffpage.h #includes access/xlogdefs.h\naccess/visibilitymap.h #includes storage/block.h\n\n...
[ { "msg_contents": "Last week:\n\nStatus Summary. Needs Review: 49, Waiting on Author: 18, Ready for\nCommitter: 9, Committed: 33, Returned with Feedback: 3, Rejected: 1.\nTotal: 113.\n\nThis week:\n\nStatus Summary. Needs Review: 47, Waiting on Author: 15, Ready for\nCommitter: 12, Committed: 37, Returned with ...
[ { "msg_contents": "Now that the dust seems to have settled around 9.3's multixact bugs,\nit's time to push out another set of minor releases. The plan is to\nwrap tarballs on Monday Feb 17 for announcement on Thursday Feb 20.\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hacke...
[ { "msg_contents": "I know that it is not a big problem for most users, but allowing a very\nlarge number of notifications while using linear search is a bit dumb.\nI can fix this with a very small modification to\nstruct Notification:\n{\n\tchar *channel ;\n\tchar *payload ;\n\tuint32 hash ;\n\tstruct Notificat...
[ { "msg_contents": "I have prepared a patch to backends/commands/async,c to speed up\nduplicate elimination. rdtsc timing results are sent back via ereport.\n\n\n\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgresql.org/mailp...
[ { "msg_contents": "If an error occurs in the foreground (backup) process of pg_basebackup, and\nwe exit in a controlled way, the background process (streaming xlog\nprocess) would stay around and keep streaming.\n\nThis can happen for example if disk space runs out and there is very low\nactivity on the server....
[ { "msg_contents": "Hi,\n\nDuring the lwlock scalability work I noticed a longstanding issue with\nthe lwlock code. LWLockRelease() and the other mentioned locations do\nthe following to wake up any waiters, without holding the lock's\nspinlock:\n /*\n * Awaken any waiters I removed from the queue.\n ...
[ { "msg_contents": "Hello,\n \nWhat I would like to do is to get the record in the table that a leaf GISTENTRY points to, if that is possible.\nI notice that GISTENTRY contains these members: Relation rel, Page page, and OffsetNumber offset, but are these referring to the table or the index?\n \nThank you,\nMari...
[ { "msg_contents": "Hi,\n\nwhile testing a patch I ran valgrind over a recent checkout, and it spit\nout the following:\n==14792== Conditional jump or move depends on uninitialised value(s)\n==14792== at 0x7F8A30: populate_record_worker (jsonfuncs.c:1459)\n==14792== by 0x7F8451: json_to_record (jsonfuncs.c...
[ { "msg_contents": "While looking at the pending patch to make psql report a line count\nafter COPY, I came across this business in handleCopyOut():\n\n * Check command status and return to normal libpq state. After a\n * client-side error, the server will remain ready to deliver data. The\n * clea...
[ { "msg_contents": "A while back we were discussing rapid space bloat of tables under \ncertain circumstances. One further case I am examining is a highly \nvolatile single table, and how to tame its space blowout.\n\nI've got a nice simple example (attached). Making use of pgbench to run \nit as usual ():\n\n$ ...
[ { "msg_contents": "Could you include this simple patch in the upcoming minor release \n9.3.3/9.2.7/9.1.12? This is very scary. This problem would cause much \nrandom trouble among Windows users.\n\nhttps://commitfest.postgresql.org/action/patch_view?id=1409\n\nRegards\nMauMau\n\n\n\n-- \nSent via pgsql-hacker...
[ { "msg_contents": "Hi!\n\nhttp://www.postgresql.org/docs/devel/static/sql-show.html claims:\n\"Also, the pg_settings system view produces the same information.\"\n\nThis is not entirely correct. On IRC I was told, that the view only contains \nsettings set from C, not user defined settings defined by the SET co...
[ { "msg_contents": "A client of ours encountered this problem when upgrading (via slony) \nfrom 8.4 to 9.2, and then from 8.4 to to 9.3. The application is a \ntelephony app that inserts call records at pretty hight volume in the \nbusiest part of the day, which usually starts around 10.00 am to 11.00 \nam US ea...
[ { "msg_contents": "Dear all,\n\nI need help to send hint message to erreport()  in  call_string_check_hook function [src/backend/utils/misc/guc.c:8092]\n\nIn   call_string_check_hook(), following parameter are resets\n\n  /* Reset variables that might be set by hook */\n8100         GUC_check_errcode_value = ER...
[ { "msg_contents": "Hello Hackers,\n\nI work on a foreign data wrapper for a legacy system. I generally find the hook system very useful and flexible way to extend Postgres.\nThe post parse analyze hook almost fits what I need, but I have a few use cases where I would need to tap right into the parsed queries bu...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 9210\nLogged by: digoal.zhou\nEmail address: digoal@126.com\nPostgreSQL version: 9.3.2\nOperating system: CentOS 6.4\nDescription: \n\nIn PostgreSQL , in addition sql_ascii coded character set enco...
[ { "msg_contents": "While reading through src/backend/storage/buffer/README and looking at\nthe code that it describes, I noticed that the case is wrong for\nnextVictimBuffer.\n\nIt's no big deal really, but the attached trivial patch makes the README\nmatch the code.\n\n-- \nVik\n\n\n\n\n-- \nSent via pgsql-hac...
[ { "msg_contents": "Please can someone tell me why this behavior? Thx!!\n\nI know it's calculating over coordinates on same points, but the operations\nof values (all double precision) differs even forcing with cast\n\n(*) Here some double precision calculations and obtaining values\n\n# Select\n# cos(radi...
[ { "msg_contents": "I noticed that current pgindent wants to do this to a recently-added\ncomment in psql/copy.c:\n\n*************** handleCopyIn(PGconn *conn, FILE *copystr\n*** 627,633 ****\n /*\n * This code erroneously assumes '\\...
[ { "msg_contents": "Greetings Hackers.\n\nI'm aware of how a pg_hba.conf file can refer to other files for\nincluding @lists of users, etc.\n\nBut there is currently no support for being able to pull in entire file\nsegments as can be done for postgresql.conf via the include directive.\n\nIn the environment that...
[ { "msg_contents": "Hi,\n\nThere's a small issue in abfd192b, namely one of the error cases wasn't\nchanged when WalSndLoop was changed to be able to return.\n\nI don't think this is likely to have any grave consequences, we'll\nlikely error out soon afterwards again.\n\nPatch attached.\n\nGreetings,\n\nAndres F...
[ { "msg_contents": "Hi,\n\nIn WalSndLoop() we do:\n\n wakeEvents = WL_LATCH_SET | WL_POSTMASTER_DEATH | WL_TIMEOUT |\n WL_SOCKET_READABLE;\n\n if (pq_is_send_pending())\n wakeEvents |= WL_SOCKET_WRITEABLE;\n else if (wal_sender_timeout > 0 && !ping_sent)\n {\n...\n if (GetCurrent...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 9223\nLogged by: Sergey Burladyan\nEmail address: eshkinkot@gmail.com\nPostgreSQL version: 9.2.6\nOperating system: Debian testing\nDescription: \n\nPostgreSQL 9.2.6 on x86_64-unknown-linux-gnu, co...
[ { "msg_contents": "On 2014-01-28 07:10:45 Heikki Linnakangas <hlinnakangas@vmware.com> wrote:\n> On 01/27/2014 11:36 PM, Murtuza Mukadam wrote:\n>>\n>> Hello All,\n>> We have linked peer review discussions on\n>> 'pgsql-hackers' to their respective commits within the main\n>> postgresql.git repos...
[ { "msg_contents": "We have had a case where a production cluster was accidentally shut\ndown by a customer who used Ctrl+C in the same sh session in which\nthey had (long before) run pg_ctl start.  We have only seen this in\nsh on Solaris.  Other shells on Solaris don't behave this way, nor\ndoes sh on tested v...
[ { "msg_contents": "The attached tiny patch fixes a small leak in psql's \\gset command and\nsimplifies memory freeing in two places.\n \n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + Everyone has their own god. +\n\n\...
[ { "msg_contents": "Last week:\n\nStatus Summary. Needs Review: 47, Waiting on Author: 15, Ready for\nCommitter: 12, Committed: 37, Returned with Feedback: 3, Rejected: 2.\nTotal: 116.\n\nThis week:\n\nStatus Summary. Needs Review: 45, Waiting on Author: 13, Ready for\nCommitter: 14, Committed: 38, Returned with...
[ { "msg_contents": "Hi all:\n I just retrieved TODO list and find one item that refer to 'Display\nsequence owner'.\n Is there anyone working on it? I think I am interested in this.\n [\nhttp://www.postgresql.org/message-id/1228622212.10877.59.camel@godzilla.local.scalefeather.com]\n\n-- \nRugal Bernste...
[ { "msg_contents": "Hi,\n\nThis is my review about 3th version of the patch. It is an useful\nimprovement in my opinion. It worked well on my environment.\n\n2013-12-11 17:43:06, Sergey Muraviov <sergey.k.muraviov@gmail.com>:\n> It works in expanded mode when either format option is set to wrapped\n> (\\pset for...
[ { "msg_contents": "We already know that the uuid-ossp extension doesn't build OS X unless a\nsmall patch is applied.\n\nThis has now gotten slightly worse after the Autoconf upgrade, because\nit will now fail if a header is present but cannot be compiled.\n(Previous versions would only warn. This is part of a ...
[ { "msg_contents": "Draft release notes for 9.3.3 are committed and can be read at\nhttp://www.postgresql.org/docs/devel/static/release-9-3-3.html\nAny comments before I start transposing them into the back branches?\n\n\t\t\tregards, tom lane\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgres...
[ { "msg_contents": "Dear Dev-List,\n\ninside execProcnode.c's ExecProcNode method we want to extract the value of\na tuple for a specific attribute. This works great for integers and\nstrings, but we are not able to figure out how to do this for floating\npoint numbers. Below is some example code snippet to show...
[ { "msg_contents": "Hello Heikki san,\n\nI'm excited about your great work, xlog scaling. I'm looking forward to the \nrelease of 9.4.\n\nPlease let me ask you about your performance data on the page:\n\nhttp://hlinnaka.iki.fi/xloginsert-scaling/padding/\n\nI'm worried about the big increase in max latency. Do...
[ { "msg_contents": "Hi all,\n\nI found strange behavior of PostgreSQL of HEAD while using pg_basebackup.\npg_basebackup skips pg_replslot directory since\n858ec11858a914d4c380971985709b6d6b7dd6fc commit.\n\nBut pg_repslot direcotry is needed to start replication. So the\nstandby server which is created by\npg_ba...
[ { "msg_contents": "Hi There,\n\nTried to upgrade from 8.2.21 to 8.4.19 this morning and ran into a\nwall: It would appear the \n\n hostssl all all 0.0.0.0/0 ldap \"ldaps://...\"\n\nsyntax is no longer supported?\n\nSearched. Asked on the IRC channel. It would seem that in 8.4.x\nthere's no way to perform...
[ { "msg_contents": "Hi,\n\nShould \"background writer\" in the following comment be \"checkpointer\" post-9.2?\n\nsrc/backend/access/transam/xlog.c\n\n/*\n * Statistics for current checkpoint are collected in this global struct.\n * Because only the background writer or a stand-alone backend can perform\n * chec...
[ { "msg_contents": "Why does create_foreignscan_path() not set the rowcounts based on\nParamPathInfo when the path is a parameterized path? Please find\nattached a patch.\n\nThanks,\n\nBest regards,\nEtsuro Fujita\n\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to...
[ { "msg_contents": "Description for contents of PGDATA is mentioned at\nfollowing page in docs:\nhttp://www.postgresql.org/docs/devel/static/storage-file-layout.html\n\nIsn't it better to have description of pg_replslot in the same\nplace?\n\nWith Regards,\nAmit Kapila.\nEnterpriseDB: http://www.enterprisedb.com...
[ { "msg_contents": "I've had multiple complaints of apparent data loss on 9.3.2 customer\ndatabases. There are 2 total, both complaints from the past week, one\nof which I was able to confirm. The customer's complaint is that\ncertain rows are either visible or invisible, depending on whether an\nindex scan is u...
[ { "msg_contents": "I was trying to understand (and then perhaps mimic) how pg_standby does a\nfast failover.\n\nMy current understanding is that when a secondary db is in standby mode, it\nwill exhaust all the archive log to be replayed from the primary and then\nstart streaming. It is at this point that xlog....
[ { "msg_contents": "Hi,\n\nI want to propose a new feature called \"priority table\" or \"cache table\".\nThis is same as regular table except the pages of these tables are having\nhigh priority than normal tables. These tables are very useful, where a\nfaster query processing on some particular tables is expect...
[ { "msg_contents": "Hi All,\nHere is a strange behaviour with master branch with head at\n\ncommit d3c4c471553265e7517be24bae64b81967f6df40\nAuthor: Peter Eisentraut <peter_e@gmx.net>\nDate: Mon Feb 10 21:47:19 2014 -0500\n\nThe OS is\n[ashutosh@ubuntu repro]uname -a\nLinux ubuntu 3.2.0-59-generic #90-Ubuntu S...
[ { "msg_contents": "(Top post, on phone)\n\nThe @number part is optional. It indicates an export ordinal. (You don't want to know, if you do, see MSDN).\n\nIf you remove them or change them then binaries linked to the older version will fail to link to the newer; it breaks binary compat. The ordinals are part of...
[ { "msg_contents": "I have a database where a a couple rows don't appear in index scans\nbut do appear in sequential scans. It looks like the same problem as\nPeter reported but this is a different database. I've extracted all\nthe xlogdump records and below are the ones I think are relevant. You\ncan see that l...
[ { "msg_contents": "Hi,\n\nWhile compiling on clang, I noticed the following warning:\npg_backup_archiver.c:1950:32: warning: comparison of constant -1 with\nexpression of type 'ArchiveFormat' (aka 'enum _archiveFormat') is always\nfalse\n [-Wtautological-constant-out-of-range-compare]\n if (...
[ { "msg_contents": "The following snippet reveals that 9.3.1 has a bug \nin regexp_matches, which uninterruptably keeps CPU\nspinning for minutes:\n\n-----8<---------------------------------------------------\n\n\\timing\nSET statement_timeout = 2;\n-- this is only to show statement_timeout is effective here\nSE...
[ { "msg_contents": "Hello,\n\nThe SQL-MED specification defines the IMPORT FOREIGN SCHEMA statement.\n\nThis adds discoverability to foreign servers. The structure of the statement\nas I understand it is simple enough:\n\nIMPORT FOREIGN SCHEMA remote_schema FROM SERVER some_server [ (LIMIT TO | \nEXCEPT) table_l...
[ { "msg_contents": "It seems to be unlikely to me, but are the changed symbols mentioned in\ngit-log commit message 5f173040e324 supposed to be used other than\ninternally? Snip:\n\n Avoid repeated name lookups during table and index DDL.\n ...\n to the Constraint node (FkConstraint in 8.4). Third-par...
[ { "msg_contents": "I'm writing a pgsql extension in C, which is multithreaded. The SPI\nconnection is global, so do I have to implement a lock to make sql queries\nin each thread, or can I make a connection on a per-thread basis?\n\nI'm writing a pgsql extension in C, which is multithreaded. The SPI connection ...
[ { "msg_contents": "Hi,\n\nIs there a way to store the password in \".pgpass\" file in an encrypted format (for example, to be used by pg_dump).\n\nEven though, there are ways to set the permissions on .pgpass, to disallow any access to world or group, the security rules of many organizations disallow to hold an...
[ { "msg_contents": "Hello,\n\nThere is a callback function in fdw's which should also set estimates for\nstartup and total costs for each path. Assume a fdw adds only one path\n(e.g. in file_fdw). I am trying to understand what can go wrong if we do a\nbad job in estimating these costs.\n\nSince we have only one...
[ { "msg_contents": "Hi,\n\nI've noticed that files for dropped databases aren't removed from\npg_stat_tmp. After a cluster-wide VACUUM ANALYSE, and restarting Postgres,\nall the old database pg_stat_tmp files remain.\n\nShouldn't these be cleaned up?\n\n-- \nThom\n\nHi,I've noticed that files for dropped databa...
[ { "msg_contents": "Hi all,\n\nPlease find attached a patch to dump pageinspect to 1.2. This simply\nchanges page_header to use the new internal datatype pg_lsn instead of text.\n\nRegards,\n-- \nMichael\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscri...
[ { "msg_contents": "Hello hackers,\n\nI know you're busy wrapping up the 9.4 release, so please ignore this patch.\n\n\n\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": "Sat,...
[ { "msg_contents": "Hello.\nI have a new type similar to varchar.\nI want to fine how did I can to calculate typemod\nand where must I calculate typemod for this type.\nthanks.\n\nHello.I have a new type similar to varchar.I want to fine how did I can to calculate typemodand where must I calculate typemod for th...
[ { "msg_contents": "Hi,\n\nCurrently the error handling of normal backends only does a\nLWLockReleaseAll() once CurrentTransactionState->state != TRANS_DEFAULT\nbecause it's called in AbortTransaction(). There's pretty damn few\nplaces that fiddle with lwlocks outside of a transaction command, but I\nstill do wo...
[ { "msg_contents": "Hello\n\nI got a example of code, that generate relatively high load with minimal\nconnections.\n\nThis code is +/- bad - it repeatedly generate prepare statement, but\nsomewhere uses prepared statements as protections against SQL injections\nand they can use same use case.\n\nPseudocode (I c...
[ { "msg_contents": "when did use varchar_transform function?\nsrc/backend/uitls/adt/varchar.c.\n\nwhen did use varchar_transform function?src/backend/uitls/adt/varchar.c.", "msg_date": "Mon, 24 Feb 2014 10:41:30 +0330", "msg_from": "Mohsen SM <mohsensoodkhah@gmail.com>", "msg_from_op": true, "msg...