threads
listlengths
1
2.99k
[ { "msg_contents": "Add --throttle to pgbench\n\nEach client is throttled to the specified rate, which can be expressed in \ntps or in time (s, ms, us). Throttling is achieved by scheduling \ntransactions along a Poisson-distribution.\n\nThis is an update of the previous proposal which fix a typo in the sgml \nd...
[ { "msg_contents": "Hi,\n\nIn HEAD, when the standby is promoted, recovery requests the checkpoint\nbut doesn't wait for its completion. I found the checkpoint starting log message\nof this checkpoint looks odd as follows:\n\n LOG: checkpoint starting:\n\nI think something like the following is better.\n\n ...
[ { "msg_contents": "\nHello devs,\n\nI've given a try to the PostgreSQL documentation in epub format.\n\nI must admit that there is a bit of a disappointement as far as the user \nexperience is concerned: the generated file is barely usable on an iPad2 \nwith the default iBooks reader, which was clearly not desi...
[ { "msg_contents": "Fix permission tests for views/tables proven empty by constraint exclusion.\n\nA view defined as \"select <something> where false\" had the curious property\nthat the system wouldn't check whether users had the privileges necessary\nto select from it. More generally, permissions checks could...
[ { "msg_contents": "Hi,\n\nI found that archive recovery and SR promote command is failed by contrecord is requested by 0/4000020\" in ReadRecord(). \nI investigate about \"contrecord\", it means that record crosses page boundary.\nI think it is not irregular page, and should be try to read next page in this cas...
[ { "msg_contents": "Hi all,\n\nWhen testing \\watch, I noticed that process waits indefinitely when\nexecuting it with a DDL or a DML.\nFor example:\npostgres=# CREATE TABLE aa (a int);\npostgres=# ANALYSE aa \\watch 10\n-- Process waiting here\n\nBy referring at do_watch:command.c, the feature is made such as t...
[ { "msg_contents": "I was just going through the xlog.c and I came across following which\nconfused me:\n\nGiven,\n\nsrc/include/access/xlogdefs.h\n\n#define XLogSegsPerFile (((uint32) 0xffffffff) / XLogSegSize)\n#define XLogFileSize (XLogSegsPerFile * XLogSegSize)\n\nAlso,\ntypedef struct XLogRecPtr\n {\n ...
[ { "msg_contents": "Hi All,\n\nWhile looking at the help message of pg_basebackup, I got a bit confused by\nit. It looks something like this:\n\nConnection options:\n -d, --dbname=CONNSTR connection string\n\nSo the long option says \"--dbname\" which is not really what its expecting.\nThe same issue also app...
[ { "msg_contents": "Hello,\nI'm student who want to participate in Google Summer of Code. I want to\nimplement feature which allows to get old values directly from update\nstatement. I mean there should be possibility to choose the value\nimmedietly before or after update in RETURNING statement. The syntax may\n...
[ { "msg_contents": "Please find attached a small patch submission, for reference to the next \ncommit fest.\n\nEach thread reports its progress about every the number of seconds \nspecified with the option. May be particularly useful for long running \npgbench invocations, which should always be the case.\n\n s...
[ { "msg_contents": "Minor changes wrt to the previous submission, so as to avoid running some \nstuff twice under some conditions. This is for reference to the next \ncommit fest.\n\n-- \nFabien.\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\n...
[ { "msg_contents": "Attached patch fixes this.\n\n--\n\nAmit Langote\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": "Fri, 3 May 2013 00:05:48 +0900", "msg_from": "Amit La...
[ { "msg_contents": "This is mostly for reference to the next commitfest.\n\nThis very minor patch adds a corresponding long option to all short (one \nletter) options of pgbench. In particular for connection options there is \nnow --host --username --port options similar to the \"psql\" client.\n\nWhile I was at...
[ { "msg_contents": "Tom has refactored where and how certain parts of the work get done\nfor materialized views, reducing issues with modularity violations.\nI have been and will continue to review his changes to better\nunderstand how the pieces of the code fit together, so hopefully he\nwon't need to do so muc...
[ { "msg_contents": "Hi,\n\nI got the following assertion failure when I promoted the standby.\n\n2013-05-04 00:12:31 JST sby1 LOG: received promote request\n2013-05-04 00:12:31 JST sby1 FATAL: terminating walreceiver process\ndue to administrator command\n2013-05-04 00:12:31 JST sby1 LOG: redo done at 0/6FFE0...
[ { "msg_contents": "Not sure if I mentioned this, but having first line of the commit be a\nsubject has save me lots of time in writing the release notes. I know\nit is helpful to others too who browse our commits on websites.\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB ...
[ { "msg_contents": "I have removed both pg_ctl idempotent-commit items from the TODO list:\n\n <listitem>\n <para>\n Allow pg_ctl --idempotent to a 'success' return code if the requested\n start/stop action fails, but the cluster is already in the requested\n state (Peter Eisentra...
[ { "msg_contents": "Consider the following scenario:\n\ncreate table t1 as select 1 as x;\ncreate materialized view mv1 as select * from t1;\ncreate materialized view mv2 as select * from mv1;\ncreate materialized view mv3 as select * from mv2;\nrefresh materialized view mv1 with no data;\n\nThis state is not du...
[ { "msg_contents": "Hackers,\n\nwe have SP-GiST opclass called suffix tree. Apparently is NOT suffix tree.\nIn suffix tree we insert every suffix of source string into the tree.\nhttp://en.wikipedia.org/wiki/Suffix_tree\nActually opclass implemented radix tree or patricia tree.\nhttp://en.wikipedia.org/wiki/Radi...
[ { "msg_contents": "Hi\n\nI'm trying to add a new constraint to column constraint.\nI add a new keyword ro kwlist.h and gram.y, and also edit ColConstraintElem.\n\nThe problem is i don't know what is \"Keyword category lists\" at the end of\ngram.y.\nwhen I added the new keyword in \"unreserved_keyword\", shift/...
[ { "msg_contents": "Hi guys,\n\nMy first post here :)\nI stumbled into the same problem as this guy\nhttp://www.postgresql.org/message-id/4BE2835A.5020601@cybertec.at\n, so since I have some spare time recently, I've set-up the development\nenvironment for postgresql and I think I may be able to contibute for th...
[ { "msg_contents": "Patch to allow pg_dump to use a snapshot exported with an explicit\npg_export_snapshot() for when precise timing of the snapshot is\nimportant.\n\nThis overrides the internally generated snapshot in parallel pg_dump.\n\n--\n Simon Riggs http://www.2ndQuadrant.com/\n PostgreS...
[ { "msg_contents": "RSA secret key extraction code uses wrong variable so\nthat decryption is skipped and only secret keys without\npassword work for pgp_pub_decrypt().\n\nAttached patch fixes it and also adds regtest.\n\nPlease apply to all branches.\n\n\nReported-by: Keith Fiske <keith@omniti.com>\n\n-- \nmark...
[ { "msg_contents": "Hi,\n\nAttached is a documentation patch against head which makes\nstatic the targets of the on-line PG html documentation that\nare referenced by the phpPgAdmin help system.\n\nApply with \"patch -p1\" at the top of the pg code tree.\n\nThe phpPgAdmin project is a web interface into PG. It\...
[ { "msg_contents": "\"make check-world\" in 9.3beta1 fails if you don't actually have 9.3\ninstalled. In contrib/pg_upgrade/test.sh, it will try pg_regress\n--psqldir=/usr/lib/postgresql/9.3/bin which doesn't exist.\n\n+ /tmp/buildd/postgresql-9.3-9.3~beta1/build/contrib/pg_upgrade/tmp_check/install//usr/lib/pos...
[ { "msg_contents": "\"make check\" supports EXTRA_REGRESS_OPTS to pass extra options to\npg_regress, but all the other places where pg_regress is used do not\nallow this. The attached patch adds EXTRA_REGRESS_OPTS to\nMakefile.global.in (for contrib modules) and two more special\nMakefiles (isolation and pg_upgr...
[ { "msg_contents": "Hello,\n\nI have been trying to understand how group commit implementation works\nthe way it does after 9.2 group commit enhancement patch\n(9b38d46d9f5517dab67dda1dd0459683fc9cda9f on REL9_2_STABLE). I admit\nit's a pretty old commit though I seek some clarification as to how it\nprovides th...
[ { "msg_contents": "While testing the bug from the \"Assertion failure at standby promotion\", \nI bumped into a different bug in fast promotion. When the first \ncheckpoint after fast promotion is performed, there is no guarantee that \nthe checkpointer process is running with the correct, new, \nThisTimeLineID...
[ { "msg_contents": "Hello,\n\nI have been trying to understand how group commit implementation works\nthe way it does after 9.2 group commit enhancement patch\n(9b38d46d9f5517dab67dda1dd0459683fc9cda9f on REL9_2_STABLE). I have\nobserved some behavior in this regard that I could not understand.\n\nProfiling resu...
[ { "msg_contents": "Hello\n\nOne user reported a issues with triggers related to dropped columns.\n\nWhen I checked his code, I found a more possible problems.\n\nHe use a trigger in form\n\n$$\nDECLARE somevar targettable;\nBEGIN\n somevar := NEW;\n // do some with somevar;\n RETURN somevar;\nEND;\n$$\n\nWhe...
[ { "msg_contents": "It seems like an oversight to me that local_preload_libraries causes a\nnew log message to appear each time a new connection is established.\n\nIs there any sympathy for the view that we should have a way of\nturning this off, or simply not log such messages? We could still have\nit appear at...
[ { "msg_contents": "It doesn't look as though it is used or usable.\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\n", "msg_date": "Tue, 07 May 2013 21:10:37 -0400", "msg_from": "Peter...
[ { "msg_contents": "Hello,\nas a continuation of my proposal expanding RETURNING syntax by\nAFTER/BEFORE, there can be enough time to implement RETURNING for COPY.\nI'd like to hear your opinion on that. My draft idea is:\nCOPY FROM ... RETURNING table_name.* -> returns all values copied to\ntable after all trig...
[ { "msg_contents": "I've tried several times to upgrade a test database (with real data,\n~500 GB) from 9.1 to 9.2 using pg_upgrade and every time it fails with\nthe same error. I've tried a few different options to pg_upgrade but\nalways the same result. Nothing really useful has turned up in\nGoogle. Any th...
[ { "msg_contents": "Hi everyone,\nI'm working on a project and one of my task is trying to take the \"where\" part of the queries.I'm programming inside the function \"exec_simple_query\" in \"postgres.c\".I searched inside the source code and how I've understood I need to take the \"varattno\" in \"args\" in \"...
[ { "msg_contents": "A minor detail in 9.2.4, but I noticed that the pg_upgrade flag for\nsuperuser, -u, does not get carried to a -U flag on the vacuumdb commands\nwritten to analyze_new_cluster.sh. \n\n\n-- \nSent via pgsql-general mailing list (pgsql-general@postgresql.org)\nTo make changes to your subscriptio...
[ { "msg_contents": "Hello,\n\nWhen client authentication method is set to \"pam\" in pg_hba.conf,\nconnecting using psql results in logging of authentication failure\neven before a password prompt is provided, nonetheless user is\nsubsequently able to connect by providing a password. Following is\nwhat is logged...
[ { "msg_contents": "Hello\n\nI am writing a article about 9.3. I found so event trigger functions is not\ncomplete. We have only pg_event_trigger_dropped_objects() function. It\nlooks really strange and asymmetric. Can we implement similar function for\nCREATE as minimum to 9.3?\n\nI am expecting so this functio...
[ { "msg_contents": "I have observed the following situation\na few times now , with 8.4.5.\n Multiple PSQL clients are connected to server,\nsome of them running  transaction and\nsome of them are idle state.\n \n \n When one of the backend is killed or crashed\n(using kill -9 <backend-pid>).\n The connection re...
[ { "msg_contents": "Currently, when we access a buffer for a HOT update we check to see if\nits possible to get a cleanup lock so we can clean the buffer.\n\nCurrently, UPDATEs and DELETEs pin buffers during the scan phase and\nthen re-lock the buffer to update.\n\nSo what we have is that multiple UPDATEs repeat...
[ { "msg_contents": "Commit d0dcb315db0043f10073a9a244cea138e9e60edd and previous\nintroduced a bug into the reporting of removed row versions. ('Twas\nmyself et al, before you ask).\n\nIn those commits, lazy_vacuum_heap() skipped pinned blocks, but then\nfailed to report that accurately, claiming that the tuples...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to take code-coverage of DBCommands (CREATE\nDATABASE / ALTER DATABASE / DROP DATABASE) from 36% to 71%.\n\nAny and all feedback is obviously welcome.\n\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo ma...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch that adds basic regression tests for DISCARD\ncommand.\n\nAny and all feedback is obviously welcome.\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your subscription:\nhttp://www.postgre...
[ { "msg_contents": "I used the following patch to add lock support aarch64. It is just a\ncopy of the arm support based on gcc builtins. Postgresql built with\nthis patch passes the various tests.\n\ndiff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h\nindex d4a783f..624a73b 100644\n--- a/sr...
[ { "msg_contents": "I've been working on-and-off on the WAL-insert scaling patch. It's in \npretty good shape now, and I'll post it shortly, but one thing I noticed \nis that it benefits a lot from using an atomic compare-and-swap \ninstruction for the contention-critical part.\n\nI realized that we could also u...
[ { "msg_contents": "A memory chunk allocated through the existing palloc.h interfaces is limited\nto MaxAllocSize (~1 GiB). This is best for most callers; SET_VARSIZE() need\nnot check its own 1 GiB limit, and algorithms that grow a buffer by doubling\nneed not check for overflow. However, a handful of callers...
[ { "msg_contents": "It would be great if one client session could take advantage of multiple CPU\ncores. EnterpriseDB wishes to start the trek into this problem space for 9.4\nby implementing parallel internal (i.e. not spilling to disk) sort. This\ntouches on a notable subset of the infrastructure components ...
[ { "msg_contents": "Hello\n\nI am not sure so replanning prepared plans due change of search_path is\nexpected in all use cases. Minimally it should be mentioned as possible\nincompatibility.\n\nUse case - move record from schema A to schema B with prepared statements\n\nSET search_path = 'A';\nPREPARE x(int) AS...
[ { "msg_contents": "The documentation says of continuous archiving:\n\n\"While designing your archiving setup, consider what will happen if\nthe archive command fails repeatedly because some aspect requires\noperator intervention or the archive runs out of space. For example,\nthis could occur if you write to ta...
[ { "msg_contents": "Hi,\n\nPatch to add more regression tests to ASYNC (/src/backend/commands/async).\nTake code-coverage from 39% to 75%.\n\nAny and all feedback is obviously welcome.\n\np.s.: Please let me know whether these tests are useless or would not be\ncommitted owing to unrelated reasons. As also, if t...
[ { "msg_contents": "Hi list,\n\nWhile testing out PostgreSQL 9.3beta1, I stumbled upon a problem\ninstalling some extensions (pgTAP and semver among others):\n\n% make\n[...]\n% make DESTDIR=/tmp/foo install\n[...]\n/usr/bin/install -c -m 644 ./sql/semver--unpackaged--0.2.1.sql\n./sql/semver--0.2.4--0.3.0.sql ./...
[ { "msg_contents": "Pertinent to another thread titled\n[HACKERS] corrupt pages detected by enabling checksums\nI hope to explore the possibility of using fallocate (or\nposix_fallocate) for new WAL file creation.\n\nMost modern Linux filesystems support fast fallocate/posix_fallocate,\nreducing extent fragmenta...
[ { "msg_contents": "In the last two years, the first commit fest started in June, which is\nabout a month from now. If we are going to do that again, we should\nclarify that as soon as possible. And if we are not, then we should\nalso clarify that, because some people are probably expecting that we\nare.\n\nSo...
[ { "msg_contents": "I'm proposing this now as a possible GSoC project:\n\nIn 1-byte character encodings (i.e. not UTF-8), SUBSTR() is optimised\nto allow seeking straight to the exact slice when retrieving a large\ntoasted value. This reduces I/O considerably when you have large\ntoasted values since it is an O(...
[ { "msg_contents": "Today we have seen this on our testing database instance:\n\nERROR: could not open file \"base/16416/291498116.3\" (target block 431006):\nNo such file or directory\n\nThat database get's created by rsyncing the LVM snapshot of the standby,\nwhich is a readonly backup of proddb\nusing stream...
[ { "msg_contents": "As discussed and concluded in mail thread\n(http://www.postgresql.org/message-id/006f01ce34f0$d6fa8220$84ef8660$@kapila\n@huawei.com), for moving unused buffer's to freelist end, \n\nI having implemented the idea and taken some performance data.\n\n \n\n \n\nIn the attached patch, bgwriter/ch...
[ { "msg_contents": "Sometimes, the psql startup hangs when it cannot resolve or connect to a\nhost. Intuitively, I would like to press Ctrl+C and correct the\nconnection string or investigate. But that doesn't work because Ctrl+C\nis already bound to the query cancel handler by that time.\n\nIt seems to me tha...
[ { "msg_contents": "PostgreSQL 9.3 Beta 1 Liberado\n=========================\n\nLa primera versión beta de PostgreSQL 9.3, la nueva versión de la\nmejor base de datos de código abierto del mundo, ahora está\ndisponible. Este beta\ncontiene vistas previas de todas las características que estarán\ndisponibles en ...
[ { "msg_contents": "Attached patch contains feature I've implemented for myself, to make\nworking with huge datasets easier.\n\nI work with large datasets (1E8 - 1E9 records), and the nature of my\nwork is such that I must dig something out of the data on ad-hoc\nbasis. I spend a lot of time with psql.\n\nSometi...
[ { "msg_contents": "Hackers,\n\nI'd like to add the following todo items to the TODO list:\n\nPL/Python:\n* add support for anyelement and anyarray to PL/Python\n* add support for VARIADIC \"ANY\" to PL/Python\n\nPL/Perl:\n* add support for anyelement and anyarray to PL/Perl\n* add support for VARIADIC \"ANY\" t...
[ { "msg_contents": "In the first CF for 9.4 I plan to submit a patch to allow\ntransactional REFRESH of a materialized view using differential\nupdate.  Essentially I expect this to be the equivalent of running\nthe query specified for the view and saving the results into a\ntemporary table, and then doing DELET...
[ { "msg_contents": "Hello\n\nwe like to use psql in combination with bash - just like postgresql driver.\n\nActually there is no simple possibility (from command line) to set\napplication_name. We would to use different name than psql - for\nexample \"splunk\", ...\n\nI tested PGAPPNAME, but it doesn't work.\n\n...
[ { "msg_contents": "In surveying the literature on $subject, I find that most of the\ntheoretical work related to how to incrementally update\nmaterialized views based on the matview declaration was published\nbetween 1988 and 1993.  The best paper I have been able to find on\nthe topic was published in ACM SIGM...
[ { "msg_contents": "Hello,\n\nSince, as of 9.3, there are significant changes related to shared\nmemory, should we change the description in\nsrc/backend/port/sysv_shmem.c which is currently following:\n\n*-------------------------------------------------------------------------\n *\n * sysv_shmem.c\n * I...
[ { "msg_contents": "The newly activated \"make check-world\" on Debian (I haven't found the\ntime yet to follow up on the other threads I opened for that, sorry)\nactually found something: plperl and plperlu segfault on the\nkfreebsd-amd64 and kfreebsd-i386 architectures. These are FreeBSD 9\nkernels with a GNU/...
[ { "msg_contents": "There are a few .sql files in src/test/regress/sql/, that AFAICS are not \nused for anything:\n\ndrop.sql\n\nLooking at the history, this was used for some kind of cleanup in the \nancient regress.sh script. It has been unused since Nov 2000, when \nregress.sh was removed.\n\neuc_cn.sql\neuc_...
[ { "msg_contents": "Hi,\n\nI'm kicking the tires on the 9.3 postgres_fdw stuff - I'm not sure if this is an issue or intended behavior, but it was pretty confusing based on the error message that was output. If you try creating a foreign table with a reference to a serial data type, it comes back with a \"refer...
[ { "msg_contents": "Truncating a heap at the end of vacuum, to release unused space back to\nthe OS, currently requires taking an AccessExclusiveLock. Although it's \nonly held for a short duration, it can be enough to cause a hiccup in \nquery processing while it's held. Also, if there is a continuous stream \n...
[ { "msg_contents": "Hello,\n\nIs there an alternative of Sybase \"on existing update\" construct in pgsql.\n\n\"ON DUPLICATE KEY UPDATE\" doesn't work.\n\nThanks in advance!\n\nRegards - Dev\n\nHello,Is there an alternative of Sybase \"on existing update\" construct in pgsql.\"ON DUPLICATE KEY UPDATE\" doesn't w...
[ { "msg_contents": "While fooling with the issue of serial columns for foreign tables,\nI noticed that pg_dump will sometimes try to restore a default\nexpression with a command like this:\n\nALTER TABLE ONLY rem ALTER COLUMN f1 SET DEFAULT nextval('rem_f1_seq'::regclass);\n\nwhich when applied to a foreign tabl...
[ { "msg_contents": "All,\n\n Starting a new thread to avoid hijacking Heikki's original, but..\n\n* Heikki Linnakangas (hlinnakangas@vmware.com) wrote:\n> Truncating a heap at the end of vacuum, to release unused space back to\n> the OS, currently requires taking an AccessExclusiveLock. Although\n> it's only he...
[ { "msg_contents": "The following bug has been logged on the website:\n\nBug reference: 8167\nLogged by: Nelson Minar\nEmail address: nelson@monkey.org\nPostgreSQL version: 9.2.4\nOperating system: MacOS 10.8.3\nDescription: \n\nThis report and supporting files are available at\nhttps...
[ { "msg_contents": "Hello\n\nI proposed a some months log plans of cancelled queries\nhttp://www.postgresql.org/message-id/CAFj8pRA-DuzkmDtu52CiUgb0P7TVri_B8LtjMJfWcnr1LPts6w@mail.gmail.com\n. After discussion the proposal was changed to get plan of any running\nquery.\n\nI have a proof concept patch now and I a...
[ { "msg_contents": "Hi,\n\nI've just started 9.3 beta testing and I noticed that a \"simple\" view\ndefined on top of a writable foreign table is not automatically\nupdatable.\n\nGiven that these are both new-to-9.3 features, I think it would be a\nshame if they don't work together. It's basically a 1-line patch...
[ { "msg_contents": "Hi all,\n\nI've downloaded PLJava, the latest version, which doesn't seem to have a binary distribution at all for 9.2, so I'm trying to build it from the source for Postgres 9.2. I have the DB itself installed on Windows 7 64 bit as a binary install. I've had to do a fair bit of hacking with...
[ { "msg_contents": "Hello,\n\nI have observed the following same situation in PG 9.3beta1\nMultiple PSQL clients are connected to server, some of them running  transaction and some of them are idle state.\n\n \nWhen one of the backend is killed or crashed (using kill -9 <backend-pid>).\nThe connection reset atte...
[ { "msg_contents": "Hi,\n\nI am studying your levenshtein edit distance contribution in Postgresql.\n\nCan we add Levenshtein-Damerau edit distance since it is used in\nspelling checker\ninstead of levenshtein edit distance?\n\nLevenshtein-Damerau edit distance C source code:\nhttp://stackoverflow.com/questions/...
[ { "msg_contents": "Hello hackers,\n\nConsider a Postgres cluster containing several DBs (for example several\nprojects/sites). If one wants to optimize queries on one specified site --\nwhat should he do? His obvious need is to switch full logging for the exact\ndatabase on, collect the logs and analyze them us...
[ { "msg_contents": "Small release notes correction attached.\n\nJoe\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": "Fri, 17 May 2013 15:12:21 -0400", "msg_from": "Joe Abb...
[ { "msg_contents": "Hi\n\nI was tracing a simple SELECT query to find how pg works for fetching\ntuples.\nbut I'm totally lost in the code.\nCould you help me to understand under the hood?\nI know about parsing and planning parts, my actual problem is executer.\nIf you show me a road map to study, I would apprec...
[ { "msg_contents": "Hackers,\n\nI recently had a reason to benchmark a database which is default\nSERIALIZABLE mode. I was startled to discover that pgbench is set up to\nabort the client once it hits a serialization failure. You get a bunch\nof these:\n\nClient 7 aborted in state 11: ERROR: could not seriali...
[ { "msg_contents": "I have some time now for working on the mystery of why there are no \nblock write statistics in the database. I hacked out the statistics \ncollection and reporting side already, rough patch attached if you want \nto see the boring parts.\n\nI guessed that there had to be a gotcha behind why...
[ { "msg_contents": "I'd like to run same query repeatedly and see how long it takes each time.\n\nI thought \\watch would be excellent for this, but it turns out that using\n\\watch suppresses the output of \\timing.\n\nIs this intentional, or unavoidable?\n\nAlso, is it just or does the inability to watch more ...
[ { "msg_contents": "Hey all,\n\nI find the current LISTEN / NOTIFY rather limited in the context of\ndatabases with multiple roles. As it stands it is not possible to restrict\nthe use of LISTEN or NOTIFY to specific roles, and therefore notifications\n(and their payloads) cannot really be trusted as coming from...
[ { "msg_contents": "Hey all,\n\nI find the current LISTEN / NOTIFY rather limited in the context of\ndatabases with multiple roles. As it stands it is not possible to restrict\nthe use of LISTEN or NOTIFY to specific roles, and therefore notifications\n(and their payloads) cannot really be trusted as coming from...
[ { "msg_contents": "Dear Hackers\n\nIn fix part oh HeapTuple, there is a union that is named t_choice,\nunion\n {\n HeapTupleFields t_heap;\n DatumTupleFields t_datum;\n } t_choice;\n\nI can't find out why we need t_datum, actually there is no comment about\nDatumTupleFields.\n\nRe...
[ { "msg_contents": "Hello PostgreSQL Hackers,\n\nI am now in Ottawa, last week we wrapped up the BSDCon and I was hoping \nto chat with a few Postgresql developers in person about using \nPostgresql in FreeNAS and offering it as an extension to the platform as \na plug-in technology. Unfortunately due to time c...
[ { "msg_contents": "As part of 0ac5ad5134f2769ccbaefec73844f8504c4d6182\nthe permutations in test/isolation/fk-deadlock2.spec and elsewhere were \nremoved. Is it the intent that these tests no longer do anything \nuseful? I was expecting a failure in the test with some work I'm doing \nand was confused, after ...
[ { "msg_contents": "Hi all,\n\nThe contrib module pageinspect has been upgraded to 1.1, but\npageinspect--1.0.sql is still present in source code. Shouldn't it be\nremoved? Please find patch attached.\n\nThanks\n-- \nMichael\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make ch...
[ { "msg_contents": "Hi,\n\nWe cannot run parallel pg_dump on the standby server because\npg_export_snapshot() always fails on the standby. Is this the oversight\nof parallel pg_dump or pg_export_snapshot()?\n\npg_export_snapshot() fails in the standby because it always assigns\nnew XID and which is not allowed i...
[ { "msg_contents": "I worked up a small patch to support Terabyte setting for memory.\nWhich is OK, but it only works for 1TB, not for 2TB or above.\n\nWhich highlights that since we measure things in kB, we have an\ninherent limit of 2047GB for our memory settings. It isn't beyond\nbelief we'll want to go that ...
[ { "msg_contents": "We've had a number of discussions about the evils of SnapshotNow. As\nfar as I can tell, nobody likes it and everybody wants it gone, but\nthere is concern about the performance impact. I decided to do some\ntesting to measure the impact. I was pleasantly surprised by the\nresults.\n\nThe ...
[ { "msg_contents": "Do we want to run pgindent soon?\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n\n + It's impossible for everything to be true. +\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql...
[ { "msg_contents": "Hi,\n\nPlease find attached a patch to take code-coverage of CREATE OPERATOR\n(src/backend/commands/operatorcmds.c) from 56% to 91%.\n\nAny and all feedback is welcome.\n--\nRobins Tharakan\n\n\n-- \nSent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)\nTo make changes to your s...
[ { "msg_contents": "A PostgreSQL user recently reported on pgsql-admin about an issue:\nwhen he changed wal_level from 'minimal' to 'hot_standby', the WAL\nsegment sequence rewound, that is, it started using old names. A\nsnippet of his \"ls -lrt pg_xlog\":\n\n-rw------- 1 postgres postgres 16777216 May 21 12:13...
[ { "msg_contents": "Hello,\n\nWhile reading code, I noticed a small typo in syncrep.h. It\nsays SyncRepUpdateSyncStandbysDefined() is called by wal writer whereas its\ncalled by the checkpointer process, at least in the HEAD. Previously, it\nwas being called by the bgwriter process.\n\nAttached patches fix this ...
[ { "msg_contents": "Hi all,\n\nI was searching for an existing mechanism which ensures that a crashed\nprocess releases a content lock held on a page in buffer cache. Also,\na similar mechanism for refcount of the page.\n\nI seem to have missed it. Do we have a mechanism,and if yes,where can I find it?\n\nRegard...
[ { "msg_contents": "Hello,\n\nI am facing a problem with pgstat as my subject says. I known, some topics\nare open about that, but I would like to go deeper.\n\nSome person told that the better way to don't have this message anymore is\nto configure pgstat.stat to be loaded in the RAM with a tmpfs mount point.\n...
[ { "msg_contents": "Hi,\n\nI've been hacking on a tool to allow resynchronizing an old master \nserver after failover. The need to do a full backup/restore has been a \ncommon complaint ever since we've had streaming replication. I saw on \nthe wiki that this was discussed in the dev meeting; too bad I couldn't ...
[ { "msg_contents": "Hello,\n\nI am facing a problem with pgstat as my subject says. I known, some topics\nare open about that, but I would like to go deeper.\n\nSome person told that the better way to don't have this message anymore is\nto configure pgstat.stat to be loaded in the RAM with a tmpfs mount point.\n...