threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "pg_restore ignores environment variable PGDATABASE.\n\nIs this intentional? (perhaps because of the risk of restoring into the wrong db?)\n\nI would prefer if it would honor the PGDATABASE variable, but if it does ignore it intentionally,\nthe following (from 9.2devel docs) is obviously inco... |
[
{
"msg_contents": "As those who've been paying attention to it know, our regular expression\nlibrary is based on code originally developed by Henry Spencer and\ncontributed by him to the Tcl project. We adopted it out of Tcl in\n2003. Henry intended to package the code as a standalone library as\nwell, but th... |
[
{
"msg_contents": "Dave Malcolm at Red Hat has been working on a static code analysis tool\nfor Python-related C code. He reports here on some preliminary results\nfor plpython.c:\nhttps://bugzilla.redhat.com/show_bug.cgi?id=795011\n\nI'm not enough of a Python hacker to evaluate the significance of these\niss... |
[
{
"msg_contents": "Just for kicks, I ran two 30-minute pgbench tests at scale factor 300\ntonight on Nate Boley's machine, with -n -l -c 32 -j 32. The\nconfigurations were identical, except that on one of them, I set\nwal_buffers=64MB. It seemed to make quite a lot of difference:\n\nwal_buffers not set (thus,... |
[
{
"msg_contents": "The documentation of the pg_upgrade -l/--logfile option never made much\nsense to me:\n\n -l, --logfile=FILENAME log session activity to file\n\nI don't know what \"session\" means for pg_upgrade, so I never used it.\n\nWhat it actually does is log the output of all the programs that\... |
[
{
"msg_contents": "Improve pretty printing of viewdefs.\n\nSome line feeds are added to target lists and from lists to make\nthem more readable. By default they wrap at 80 columns if possible,\nbut the wrap column is also selectable - if 0 it wraps after every\nitem.\n\nAndrew Dunstan, reviewed by Hitoshi Harad... |
[
{
"msg_contents": "Recent changes for power reduction mean that we now issue a wakeup\ncall to the bgwriter every time we set a hint bit.\n\nHowever cheap that is, its still overkill.\n\nMy proposal is that we wakeup the bgwriter whenever a backend is\nforced to write a dirty buffer, a job the bgwriter should h... |
[
{
"msg_contents": "Hello\n\nI found so this extremely simple patch should be useful.\n\nIt helps for pattern SELECT fx();\n\nThere was thread about it.\n\n Regards\n\nPavel",
"msg_date": "Sun, 19 Feb 2012 20:10:39 +0100",
"msg_from": "Pavel Stehule <pavel.stehule@gmail.com>",
"msg_from_op": true,
... |
[
{
"msg_contents": "Hello\n\nother very simple patch - enhance autocomplete to support CREATE OR\nREPLACE FUNCTION statement\n\nRegards\n\nPavel Stehule",
"msg_date": "Sun, 19 Feb 2012 20:23:14 +0100",
"msg_from": "Pavel Stehule <pavel.stehule@gmail.com>",
"msg_from_op": true,
"msg_subject": "pat... |
[
{
"msg_contents": "I missed all the fun while the \"leakproof\" addition to function \nattributes was being decided, so I know I'm late to the party. Today I \nhad to go and look up what it actually meant. I have to say that I was a \nbit surprised. I expected it to refer to memory management in some way. \nI d... |
[
{
"msg_contents": "If we pass an ARRAY of json type to array_to_json() function, the\nfunction seems to\nre-encode the JSON text. But should the following examples be the same result?\nI'm not sure why we don't have a special case for json type in datum_to_json()\n-- do we need to pass-through json types in it?... |
[
{
"msg_contents": "One of servers under my support 2 days ago produced the next error:\n\nERROR: could not read block 135 in file \"base/16404/118881486\": read only\n0 of 8192 bytes\n\nServer version 9.0.6. No db or server crashes or db recovery happen on that\nserver since setup.\nServer is db backend for ve... |
[
{
"msg_contents": "I'm trying to understand what options I have to test \"CREATE EXTENSION\"\nw/out installing the extension files in their final destination.\n\nCould not find a way to set SHAREDIR from within psql, nor a way\nto specify it in initdb call. Am I missing it something ?\n\nPS: please include my a... |
[
{
"msg_contents": "Hello\n\nI had to reply to query about usage VACUUM ANALYZE or ANALYZE. I\nexpected so ANALYZE should be faster then VACUUM ANALYZE.\n\nBut is not true. Why?\n\nRegards\n\nPavel Stehule\n",
"msg_date": "Tue, 21 Feb 2012 15:00:00 +0100",
"msg_from": "Pavel Stehule <pavel.stehule@gmail.... |
[
{
"msg_contents": "Reference: http://archives.postgresql.org/message-id/4F00CA9E.9000307@dunslane.net\n\nThis patch adds support for two new environment variables:\n\nPSQL_HISTORY: Alternative location for the command history file.\nPSQLRC: Alternative location of the user's .psqlrc file.\n\nThe context diff pa... |
[
{
"msg_contents": "Hackers,\n\nIs there a reason that hashtext() and friends are not documented? Given that they’re likely to be used more and more for partitioning and sharding, I think it would be useful to do so, starting with something like this. Comments?\n\n*** a/doc/src/sgml/func.sgml\n--- b/doc/src/sgml... |
[
{
"msg_contents": "Attached is a feature extracted from the Ants Aasma \"add timing of \nbuffer I/O requests\" submission. That included a tool to measure timing \noverhead, from gettimeofday or whatever else INSTR_TIME_SET_CURRENT \nhappens to call. That's what I've broken out here; it's a broader topic \nth... |
[
{
"msg_contents": "Hello,\n\nI am new here,\nit is a question about \"how to colaborate\" and/or \"where to find\", in the\nscope of temporal database...\n\n-----\n\nI see the Temporal Postgres,\n\"a project for making tools and documentation that people can use to better\nmanage, query, and maintain time data ... |
[
{
"msg_contents": "Typo in a comment...\n\n--strk;",
"msg_date": "Wed, 22 Feb 2012 14:47:53 +0100",
"msg_from": "Sandro Santilli <strk@keybit.net>",
"msg_from_op": true,
"msg_subject": "[PATCH] typo fix"
},
{
"msg_contents": "On Wed, Feb 22, 2012 at 8:47 AM, Sandro Santilli <strk@keybit.... |
[
{
"msg_contents": "Attached is as far as I've gotten with fixing depesz's complaint about\nbackrefs embedded within larger quantified expressions (the complaint\nbeing that only the last match of the backref is checked properly).\nThis is per the analysis I posted at\nhttps://sourceforge.net/tracker/index.php?f... |
[
{
"msg_contents": "Say I'm writing an extension X, and I want to process data values from \nanother extension that creates type Y (e.g. an hstore), what's the best \nway to determine the Oid of type Y in my module X code? SPI code that \nruns \"select 'something'::Y\" and then examines the oid in SPI_tuptable? ... |
[
{
"msg_contents": "Hello\n\nI am sending a proposal for PSM language support. It is early maybe. I\nwould to have a patch for first 9.3 commitfest.\n\nProposal PL/pgPSM\n\nI propose to integrate a PSM language into the core. This language is\ndefined as part of ANSI SQL - SQL/PSM and is used in some well known\... |
[
{
"msg_contents": "On Wed, 2012-02-22 at 12:44 -0400, Andrew Dunstan wrote:\n\n> Returning to the original point, I've come to the conclusion that\n> \"pure\" \n> isn't the right way to go. The trouble with \"leakproof\" is that it \n> doesn't point to what it is that's not leaking, which is information \n> rat... |
[
{
"msg_contents": "Has anyone considered managing a system like the DragonFLY swapcache for \na DBMS like PostgreSQL?\n\nie where the admin can assign drives with good random read behaviour \n(but perhaps also-ran random write) such as SSDs to provide a cache for \nblocks that were dirtied, with async write tha... |
[
{
"msg_contents": "Hi All,\n\nHaving pg_dump dump tables in clustered index order is something we've\nfound we've needed a fair number of times (for ex. when copying a large\nlogging tables or sets of tables out of one database where the order is not\nmaintained into another for running a bunch of backend analy... |
[
{
"msg_contents": "Hey folks\n\nIt appears that the commit a445cb92ef5b3a31313ebce30e18cc1d6e0bdecb\ncauses ld to bail when building *without* OpenSSL support:\n\nutils/misc/guc.o:(.data+0x4d80): undefined reference to `ssl_cert_file'\nutils/misc/guc.o:(.data+0x4ddc): undefined reference to `ssl_key_file'\nutil... |
[
{
"msg_contents": "According to me update logs, somewhere between zlib versions 1.2.3.4 and\n1.2.6, the definition of the gzFile type was changed from void * to\nstruct gzFile_s *, an opaque struct. Note that gzFile is already the\npointer in either case. Our code has assumed, however, that you use\ngzFile li... |
[
{
"msg_contents": "Hello again,\n\nI'm reviewing the revised version of pg_stat_statements again. In\nparticular, this new version has done away with the mechanical but\ninvasive change to the lexing that preserved *both* the position and\nlength of constant values. (See\nhttp://archives.postgresql.org/message... |
[
{
"msg_contents": "For (unit) testing, I have often had the need to override the current\ntimestamp in the database system. For example, a column default,\nfunction, or views would make use of the current timestamp in some way,\nand to test the behavior, it's sometimes useful to tweak the current\ntimestamp.\n... |
[
{
"msg_contents": "All,\n\nIf you are one of the developers who has used the Coverity Scan tool\n(static analysis) on PostgreSQL in the past, or if you would like to use\nit in the future, they've updated Scan and are looking to get people set\nup with access.\n\nPlease contact me offlist.\n\n-- \nJosh Berkus\n... |
[
{
"msg_contents": "While testing Noah's filename quoting patch on my local development\nmachine, I noticed some strange behaviour around tab completion with\n\\i; it doesn't appear to be present in 9.1, but it is present on 9.2\nHEAD and appears to be present with and without readline.\n\nIt manifests as the cl... |
[
{
"msg_contents": "Hello hackers,\n\nI've been a reader of this list for some time, but have never posted.\n\nI have interest in the URI connection string support patch[1], so I'm in\nthe process of reviewing it. I have a couple of comments and questions:\n\n1. I see no tests in the patch. I'd like to start get... |
[
{
"msg_contents": "Looks like row_to_json() thinks 0s are nulls:\n\n postgres=# select row(0);\n row \n -----\n (0)\n (1 row)\n\n postgres=# SELECT row_to_json(row(0));\n row_to_json \n -------------\n {\"f1\":null}\n (1 row)\n\nBest,\n\nDavid\n\n",
"msg_date": "Thu, 23 Feb... |
[
{
"msg_contents": "As it turns out, evidence would suggests that the \"ISO\" output in\nPostgres isn't, unless there's an ISO standard for date and time that\nis referring to other than 8601. It does not permit use of a space\nbetween the date and the time, as seen in:\n\nSELECT now();\n now\n----... |
[
{
"msg_contents": "Good morning to all. First I apologize for my English.\nAfter a HD crash I have recovered a portion of the data in binary\nfiles of postgres, carving it from the HD. But I do not know the\nformat of these files, and find difficult to translate it and / or\nimport.\nMany thanks for your attent... |
[
{
"msg_contents": "If we have a query of the form:\n\nSelect *, (Select * FROM T2 WHERE p2 = T1.p1) FROM T1 ORDER BY 1 WHERE p3 = 75\n\nIn the above query there is a subselect in the target list and the ORDERBY has an ordinal number which indicates order by column 1. Does this mean that the above query will ret... |
[
{
"msg_contents": "A long time ago, in a galaxy far away, we discussed ways to speed up\ndata loads/COPY.\nhttp://archives.postgresql.org/pgsql-hackers/2007-01/msg00470.php\n\nIn particular, the idea that we could mark tuples as committed while\nwe are still loading them, to avoid negative behaviour for the fir... |
[
{
"msg_contents": "Looking at our src/tools/make_ctags, it was using an option that was\nrenamed and no longer documented since 2003; this applied patch uses\nthe new option name.\n\nIf anyone using a ctags that old, I will find a way to support both, but\nuntil then, I think we should just use the documented... |
[
{
"msg_contents": "Hi,\n\nPlease find attached the latest version of the command triggers patch,\nin context diff format, with support for 79 commands and documentation\nabout why only those, and with some limitations explained.\n\nI also cleaned up the node function support business that was still in\nthere fr... |
[
{
"msg_contents": "In looking over our authentication code, I noticed that we create the\nchild process before we check any of the pg_hba.conf file. Now, I\nrealize we can't do authentication in the postmaster because of possible\ndelay, and checking the user name and database name filters is just work\nthat i... |
[
{
"msg_contents": "See http://archives.postgresql.org/pgsql-bugs/2012-02/msg00164.php\n\nThis need function for count characters, not bytes. I find this pg_wcswidth but\nit is not used anywhere and broken. So, I fix it and also change it prototype\nfor remove type casting.\n\nPS: Please help, next week release ... |
[
{
"msg_contents": "I've asked for this a few times before, but it seems others aren't as\nkeen on it as me :-) Personally, I find the docs easier to read when\nformatted with the new website styles that Thom put together, and I\nalso like to see things the way they're going to look when they go up\nthere.\n\nAt... |
[
{
"msg_contents": "Le vendredi 24 février 2012 14:18:44, Florian Weimer a écrit :\n> * Alex Shulgin:\n> >> It's ugly, but it's standard practice, and seems better than a separate\n> >> -d parameter (which sort of defeats the purpose of URIs).\n> > \n> > Hm, do you see anything what's wrong with \"?dbname=other\... |
[
{
"msg_contents": "Le mercredi 22 février 2012 20:12:35, Pavel Stehule a écrit :\n> 2012/2/22 Kevin Grittner <Kevin.Grittner@wicourts.gov>:\n> > Pavel Stehule <pavel.stehule@gmail.com> wrote:\n> >> usual pattern in our application is\n> >> \n> >> create table xx1 as select ....\n> >> analyze xx1\n> >> create ta... |
[
{
"msg_contents": "I'm working on implementing query cache in pgpool-II. I want to know\nif a table has been modified because pgpool-II has to invalidate cache\nif corresponding table is modified. For DDL/DML it would be doable\nsince pgpool-II knows all SQLs sent from clients. Problem is, implicit\ntable modif... |
[
{
"msg_contents": "Hello\n\nI rechecked Depesz's article -\nhttp://www.depesz.com/2011/07/01/waiting-for-9-2-not-valid-checks/\n\nThe behave of current HEAD is different than behave described in article.\n\n\"alter table a validate constraint a_a_check\" needs a access exclusive\nlocks and blocks table modifica... |
[
{
"msg_contents": "Hello\n\nI tested creating some larger indexes\n\nThere was a warning:\n\npostgres=# CREATE INDEX idx_resource_name ON resource (name, tid);\nWARNING: concurrent insert in progress within table \"resource\"\n\nI am sure so there was only one active session - so this warning is strange.\n\n\n... |
[
{
"msg_contents": "Tatsuo Ishii wrote:\n \n> For TRIGGER, I cannot thinking of any way. Any idea will be\n> welcome.\n \nIt would require creating \"cooperating\" triggers in the database and\nhaving a listener, but you might consider the\ntriggered_change_notifications() trigger function included in 9.2. \nIt... |
[
{
"msg_contents": "Hi!\n\nI admit to not having actually tested this since I don't have a good\ncluster to test it on right now, but from what I can tell the code in\nthe new checkpointer process only sends statistics to the collector\nonce the checkpoint is finished (checkpointer.c, line 549). The 9.1\nand ear... |
[
{
"msg_contents": "Hi,\n\nis there any way to prevent role from modifing values of some columns of\nNEW row in before row triggers? I revoked insert privilege from these\ncolumns to ensure that only default value can be inserted, but it is still\nposible to modify values being inserted using before row triggers... |
[
{
"msg_contents": "Hi,\n\nHere's a tiny cleanup: currently get_tables_to_cluster uses\nheap_open() to open the relation, but then closes it with\nrelation_close(). Currently relation_close=heap_close, but it seems\nlike good idea to be consistent -- in case these functions need to\ndiverge in the future.\n\nReg... |
[
{
"msg_contents": "Hi!\n\nAs with recent changes to `standard_conforming_strings' the paragraph \nabout backslash escaping in the description of `LIKE' is only confusing. \nThus I attached a patch to remove it.\n\nGreetings,\n\n Hannes\n\n-- \nHannes Sowa <hsowa@bfk.de>\nBFK edv-consulting G... |
[
{
"msg_contents": "Hi,\n\nI have two tables defined for example like this:\n\n create table a1 (id serial primary key, data text);\n create table a2 (id serial primary key, data2 integer) inherits (a1);\n\nThe point is, that I want to have two tables with inheritance relation\nbetween them, but each with ... |
[
{
"msg_contents": "Hi everybody.\n\nI want to ask about hot-standby related issues. First of all, maybe I will\ndescribe my scenario of Postgres master-slave.\n\n1. There are Master A and Slave B in different location, assumed different\nregion of nation.\n2. Configuring Master A and Slave B to become hot-stand... |
[
{
"msg_contents": "I noticed a misleading error message recently while using createdb. Try:\n\ntest=# CREATE ROLE dummy NOLOGIN;\n\nNow, attempt to use createdb as that role. Here's 9.1.1:\n\n$ createdb -Udummy testdb\ncreatedb: could not connect to database postgres: FATAL: role \"dummy\"\nis not permitted to... |
[
{
"msg_contents": "----- Цитат от Andrea Suisani (sickpig@opinioni.net), на 28.02.2012 в 09:54 -----\n\n> On 02/28/2012 04:52 AM, Rob Wultsch wrote:\n>> On Wed, Feb 22, 2012 at 2:31 PM, james<james@mansionfamily.plus.com> wrote:\n>>> Has anyone considered managing a system like the DragonFLY swapcache for a\n>... |
[
{
"msg_contents": "Hello\n\nI try to look on one slow query with correlated subquery:\n\ncreate table xx(a int primary key);\ncreate table yy(a int);\n\ninsert into xx select generate_series(1,1000000);\ninsert into yy select (random()*1000000)::int from generate_series(1,100000);\n\ncreate index on yy(a);\n\nQ... |
[
{
"msg_contents": "----- Цитат от Robert Haas (robertmhaas@gmail.com), на 28.02.2012 в 19:25 -----\n\n> On Tue, Feb 28, 2012 at 11:36 AM, Jeff Janes <jeff.janes@gmail.com> wrote:\n>> How hard would it be to dummy up a bgwriter which, every time it wakes\n>> up, it forks off a child process to actually do the wr... |
[
{
"msg_contents": "I was experimenting today with a test case sent to me by somebody at Red\nHat. The details aren't too important, except that it involves an inner\njoin on the inside of a left join (where it cannot commute with the left\njoin). I can reproduce the behavior with a standard regression test\nt... |
[
{
"msg_contents": "Hi Josh,\n\n> Second, please RSVP! At this point I've heard from a total of 3 people.\n> I need to know who/how many are coming so that I can book the space,\n> and lunch.\n>\n> Sorry for my late reply.\nI will join the cluster meeting as a member of Postgres-XC.\n\nRegards,\n-- \nMichael P... |
[
{
"msg_contents": "Seems there is a trivial typo in json.h\n\ndiff --git a/src/include/utils/json.h b/src/include/utils/json.h\nindex 415787b..fa0d4fc 100644\n--- a/src/include/utils/json.h\n+++ b/src/include/utils/json.h\n@@ -26,4 +26,4 @@ extern Datum row_to_json(PG_FUNCTION_ARGS);\n extern Datum row_to_json_... |
[
{
"msg_contents": "Hi,\n\nIn streaming replication, after failover, new master might have lots\nof un-applied\nWAL files with old timeline ID. They are the WAL files which were recycled as a\nfuture ones when the server was running as a standby. Since they will never be\nused later, they don't need to be archiv... |
[
{
"msg_contents": "Hi all,\n\n[Bcc'ed Tom Lane as he had done the initial investigation on this.]\n\nFollowing up on the earlier discussions in\n\n[1] http://archives.postgresql.org/pgsql-hackers/2010-11/msg01575.php\nand\n[2] http://archives.postgresql.org/pgsql-hackers/2011-08/msg00330.php\nwith an initial fi... |
[
{
"msg_contents": "Hi all,\n\nIf someone wants to drop objects owned by a particular role, they'll\nuse DROP OWNED BY role. However, the implications of this statement\naren't easily known, and once you've run it, it's not communicated\nwhich objects were dropped.\n\nSo could we introduce either a command to s... |
[
{
"msg_contents": "IBM has provided the PostgreSQL community with access to a couple of\nIBM POWER7 machines through OSUOSL. Simon has access to one, carved\nup into a couple of LPARs, for replication work, and there's a\nbuildfarm animal on there as well, I think; I have access to the\nother, for performance ... |
[
{
"msg_contents": "Hi,\n\nOne of our customer send us a patch he wrote for his needs (on\n\"src/bin/scripts/vacuumdb.c\", no doc were included).\n\nHe's using one schema per application and would like to be able to run\nvacuumdb on each of them independently so he added the \"--schema|-n\"\noption and send us t... |
[
{
"msg_contents": "Hi All,\n\nWhile working on something in XC, I hit upon an assertion failure. While\nthis is in XC code, I believe there can be a way of reproducing this on\nvanilla PostgreSQL as well. I could not do so even after several tries,\nunless I add some code or run it through debugger. Here is the... |
[
{
"msg_contents": "Folks,\n\nI got a system here (8.3.7), that is locked up. Few queries waiting\nfor autovacuum aquired locks on a table or two.\nBut it looks like autovacuum is also waiting for some semaphore:\n\n\n#0 0x00f07410 in __kernel_vsyscall ()\n#1 0x00252d2b in semop () from /lib/libc.so.6\n#2 0x0... |
[
{
"msg_contents": "I decided to investigate the possible virtues of allowing \"text\" to\nuse the sortsupport infrastructure, since strings are something people\noften want to sort. I generated 100,000 random alphanumeric strings,\neach 30 characters in length, and loaded them into a single-column\ntable, froz... |
[
{
"msg_contents": "> Thom Brown wrote:\n> Dimitri Fontaine wrote:\n>> Thom Brown writes:\n>>> problem. It was the DROP COMMAND TRIGGER statement that garnered\n>>> comment, as it makes more sense to drop the entire trigger than\n>>> individual commands for that trigger.\n>>\n>> What you're saying here is tha... |
[
{
"msg_contents": "Thom Brown wrote:\n \n> Don't you mean \"shouldn't need to specify more than the trigger\n> name\"?\n \nYou are right, that's what I meant to say.\n \n-Kevin\n",
"msg_date": "Sat, 03 Mar 2012 12:37:53 -0600",
"msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>",
"msg_fr... |
[
{
"msg_contents": "The following bug has been logged on the website:\n\nBug reference: 6510\nLogged by: Alexander LAW\nEmail address: exclusion@gmail.com\nPostgreSQL version: 9.1.3\nOperating system: Windows\nDescription: \n\nI'm using postgresSQL in Windows with Russian locale and g... |
[
{
"msg_contents": "Hello,\n\nthe attached patch improves the array selectivity estimation for = ANY\nand <> ALL, hence for the IN/NOT IN operators, to avoid the\nshortcoming described in\n<http://archives.postgresql.org/pgsql-performance/2012-03/msg00006.php>.\n\nCheers,\n\n-- Daniele",
"msg_date": "Sat, 3 ... |
[
{
"msg_contents": "When sorting small tuples, the memtuples array can use a substantial\nfraction of the total per-tuple memory used. (In the case of pass by\nvalue, it is all of it)\n\nThe way it grows leads to sub-optimal memory usage.\n\nIn one case, if it can grow by 1.999 x, but not by 2 x, we just give\nu... |
[
{
"msg_contents": "> Simon Riggs wrote:\n> Kevin Grittner wrote:\n>> Simon Riggs wrote:\n>>\n>>> I like Marti's idea. At present, making his idea work could\n>>> easily mean checksums sink\n \n>> For my part, improving bulk load performance and TRUNCATE\n>> transactional semantics would trump checksums\n \n>... |
[
{
"msg_contents": "\nHi,\n\nPavel's patch for CHECK FUNCTION is adding another command besides that\none, which is CHECK TRIGGER. The idea behind this is that you give it\nthe relation to which the trigger is attached in addition to the trigger\nname, and it checks the function being called by that trigger.\n\... |
[
{
"msg_contents": "Hello folks,\n\nI am in the process of accelerating down the rabbit hole of regex\ninternals. Something that came up during my reading, is that a POSIX\ncompliant regex engine ought to always prefer the longest possible\nmatch, when multiple matches are possible beginning from the same\nloca... |
[
{
"msg_contents": "Gregg Jaskiewicz wrote:\n \n> Also, on the subject of prepared transactions (2PC), the \"select *\n> from pg_prepared_xacts ;\" query simply does not reveal anything,\n> despite the fact that I know that there should be at least two of\n> those open.\n> Unless it only list saved transactions... |
[
{
"msg_contents": "To avoid any confusion as to where this proposed feature is now, I'd\nlike to summarise my understanding, make proposals and also request\nclear feedback on them.\n\nChecksums have a number of objections to them outstanding.\n\n1. We don't need them because there will be something better in a... |
[
{
"msg_contents": "Dear Developers,\n I am looking for elegant and effective way for running jobs inside a\ndatabase or cluster - for now I can not find that solution.\nOK if You say \"use cron\" or \"pgAgent\" I say I know that solutions, but\nthe are not effective and elegant. Compilation of \"pgAgent\" is ... |
[
{
"msg_contents": "Dear Developers,\n I am looking for elegant and effective way for running jobs inside a\ndatabase or cluster - for now I can not find that solution.\nOK if You say \"use cron\" or \"pgAgent\" I say I know that solutions, but\nthe are not effective and elegant. Compilation of \"pgAgent\" is ... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nIs there any way to get more info out of CLUSTER VERBOSE so it says\nwhat index it's working on AFTER the table re-write?\n\nINFO: clustering \"public.values\" using sequential scan and sort\nINFO: \"values\": found 0 removable, 260953511 no... |
[
{
"msg_contents": "I created an index on an hstore function, fetchval(hstore, text), however\nwhen I use the -> infix operator which resolves to the very same function,\nthis index is not used. It should be used.\n\nI have included an example:\n\nTable with hstore index:\n\nde10keipt01939=> \\d log_data\n ... |
[
{
"msg_contents": "I have a report related to pg_upgrade where the user states that\ndropping a PL language retains the PL support functions, and retains the\ndependency on the PL library, which causes pg_upgrade to complain. The\nexact case is that the user was using plpython2u in PG 9.0, but the PG\n9.1 one-... |
[
{
"msg_contents": "Remove extra copies of LogwrtResult.\n\nThis simplifies the code a little bit. The new rule is that to update\nXLogCtl->LogwrtResult, you must hold both WALWriteLock and info_lck, whereas\nbefore we had two copies, one that was protected by WALWriteLock and another\nprotected by info_lck. The... |
[
{
"msg_contents": "Hi,\n\nI have made some pg extension for Pg 9.1 and want to deploy it on Pg\n9.2dev...\n\nWhen i try create extension it shows error version mismatch server is 9.2\nlibrary has made for 9.1...\n\nHow to make library for 9.2?\n\nThanks,\n\nMisa\n\nSent from my Windows Phone\n\nHi,I have made s... |
[
{
"msg_contents": "Commit b5282aa893:\n \"Revise sinval code to remove no-longer-used tuple TID from inval messages.\"\n\ndropped ItemPointer from callbacks and replaced it with \"hashValue\".\nThere seems to be 2 ways that new backend code calculates it:\n\n- hashoid(oid), which seems to assume too much?\n- C... |
[
{
"msg_contents": "Hi,\n\nI've noticed a locale-specific bug in regression tests, I discovered\nthanks to the new \"magpie\" buildfarm member (testing \"cs_CZ\" locale).\nThe problem is in \"foreign_data\" where the output is sorted by a column,\nand \"cs_CZ\" behaves differently from \"C\" and \"en_US\".\n\nMo... |
[
{
"msg_contents": "While mucking around in src/backend/utils/time/tqual.c today, I noticed\nthe following comment attached to HeapTupleSatisfiesNow:\n\n * mao says 17 march 1993: the tests in this routine are correct;\n * if you think they're not, you're wrong, and you should think\n * about it ... |
[
{
"msg_contents": "Hi,\n\npg_stat_statements is basically very helpful to find out slow queries.\nBut since it doesn't report the time spent in the planner, we cannot\nfind out slow queries which take most time to do query planning, from\npg_stat_statements. Is there any reason why pg_stat_statements doesn't\nc... |
[
{
"msg_contents": "Hi,\n\nI'm trying to write my first PostgreSQL C extension. I used the\npgxn-utils skeleton as a base and specified some external libraries in\nSHLIB_LINK. However, this variable was ignored when linking the\nlibrary (using pgxs from current git master).\n\nAfter spending quite a bit of time ... |
[
{
"msg_contents": "Hackers,\n\nI’m doing some development with the new JSON type (actually, Andrew’s backport to 9.1) and needed to do some very basic equivalence testing. So I created a custom operator:\n\n CREATE OR REPLACE FUNCTION json_eq(\n json,\n json\n ) RETURNS BOOLEAN LANGUAGE SQL ... |
[
{
"msg_contents": "I am looking for some project suggestions to make proposals for an OS\ncourse at Columbia university (4-6weeks length single person), working with\nScribe ( kernel based application record and replay) focusing on DBMS ( I\nwould like to focus on postgres) .\nI have some ideas on the line of e... |
[
{
"msg_contents": "Hi,\n\nI've just tried using pg_basebackup to take a backup of a standby with\n\"-x stream\" but it never finishes. This is what I get:\n\nthom@swift:~/Development$ pg_basebackup -p 5489 -D data3 -x stream -Pv\nxlog start point: 0/6000020\npg_basebackup: starting background WAL receiver\n780... |
[
{
"msg_contents": "Hi guys,\n\nsorry, I'm stuck in an unfamiliar webmail.\n\nI checked the patch Petr just posted.\nhttp://archives.postgresql.org/pgsql-hackers/2012-03/msg00482.php\n\nI have two comments. First, I notice that the documentation changes\nhas two places that describe the columns that a function ... |
[
{
"msg_contents": "Hi list,\n\nThis patch enables a simple optimization in\neval_const_expressions_mutator. If we know that one argument to\nDistinctExpr is NULL then we can optimize it to a NullTest, which can\nbe an indexable expression.\n\nFor example the query:\nEXPLAIN (costs off) SELECT * FROM foo WHERE j... |
[
{
"msg_contents": "I have just found, after an hour or two of frustration, that pg_regress' \n--inputdir and --outputdir options don't play nicely with the \nconvert_sourcefiles routines. In effect these options are ignored as \ndestinations for converted files, and the destination for converted \nfiles is appa... |
[
{
"msg_contents": "I think I've complained about this before, but:\n\nWhen you are preparing a patch, fixing the comments is JUST AS IMPORTANT\nAS FIXING THE CODE. Obsolete comments are worse than useless. Look to\nsee if you've invalidated something in the head-of-file comments about\nthe module you're chang... |
[
{
"msg_contents": "I wasted a few minutes today tracking down what a couple comments\nreally meant to say. t_natts no longer exists as a separate field;\nthe equivalent value is now pulled from t_infomask2 using a macro.\n \nSmall patch to correct the comments is attached.\n \n-Kevin",
"msg_date": "Thu, 08... |
[
{
"msg_contents": "It's been bugging me for a while now that we don't have a prewarming\nutility, for a couple of reasons, including:\n\n1. Our customers look at me funny when I suggest that they use\npg_relation_filepath() and /bin/dd for this purpose.\n\n2. Sometimes when I'm benchmarking stuff, I want to get... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.