threads
listlengths
1
2.99k
[ { "msg_contents": "Hackers,\n\nContinuing the performance test:\n\nDBD, like a number of monitoring systems, does \"pings\" on the database\nwhich look like this:\n\nSELECT 'DBD::Pg ping test';\n\nIn our test, which does 5801 of these pings during the test, they take\nan average of 15x longer to execute on 9.0 ...
[ { "msg_contents": "To follow up on the discussion here:\n\nhttp://archives.postgresql.org/pgsql-docs/2010-02/msg00039.php\n\nIt seems like a big oversight that there's no way to insert quotes in\nstrings in recovery.conf. In the long run, the parsing should be done\nthe same way as postgresql.conf, or the two f...
[ { "msg_contents": "I triaged the list of open items on the Streaming Replication wiki page.\nI propose that we drop the ones I've marked as Drop below, and move the\nremaining items to the main Open Items page for better visibility. And\nof course try to resolve them as quickly as possible.\n\n> * Walsende...
[ { "msg_contents": "Hi,\n\nam I right that an XID is global across the whole DB cluster\nunder the same $PGDATA? I am asking because in the WAL\nrecord, the first thing sent is an XLogRecord which contains\n\n TransactionId xl_xid;\n\nand as the comment in access/xlog.h says:\n\n/*\n * The overall layout of a...
[ { "msg_contents": "Initial patch. I will be testing over next day. No commit before at\nleast midday on Wed 7 Apr.\n\nThe existing call to PrescanPreparedTransactions() looks correct to me\nbut the comment is wrong. I will change that also, if we agree.\n\n-- \n Simon Riggs www.2ndQuadrant.com", "...
[ { "msg_contents": "It would be useful to have a relation such that all dirtied buffers got written out even for failed transactions (barring a crash) and such that read-any-undeleted were easy to do, despite the non-ACIDity. The overhead of a side transaction seems overkill for such things as logs or advisory r...
[ { "msg_contents": "How to set the collation of a database to the german phone book sort\norder?\nI did ask this on several places. Finally the moderator of pg-forum.de\nrecommended to ask here. See the discussion there:\nhttp://www.pg-forum.de/konfiguration/4308-sortierfolge-de_de_phoneb.html\n\nEnvironment: Po...
[ { "msg_contents": "When diagnosing a problem for a guy in the german channel (with Stefan\nas mediator :P), we've found a case where the timezone information in\nthe registry seem to be empty for some timezones. The current timezone\nmatching code will abort scanning when it comes across one of these,\nthus cla...
[ { "msg_contents": "When debugging the other timezone issue, I've come across a bunch of\ntimezones that are defined in Windows now (my check is 2003R2, which\nis the newest one I have readily available) that aren't in our list.\nThis is because our list is based on Windows XP, and Microsoft have\npushed timezon...
[ { "msg_contents": "Hi,\n\nI'm chasing an apparent index corruption problem, and I came across\nsomething I can't quite explain in pg_filedump. Say I dump a non-leaf\nbtree index page:\n\n*******************************************************************\n* PostgreSQL File/Block Formatted Dump Utility - Versio...
[ { "msg_contents": "Hackers,\n\nI tried this:\n\n try=# create or replace function try() returns void language plperl as $$ \n spi_prepare('select length($1)', 'unknown');\n $$;\n CREATE FUNCTION\n try=# select try();\n ERROR: error from Perl function \"try\": failed to find conversion fun...
[ { "msg_contents": "Log Message:\n-----------\nForbid using pg_xlogfile_name() and pg_xlogfile_name_offset() during\nrecovery. We might want to relax this in the future, but ThisTimeLineID\nisn't currently correct in backends during recovery, so the filename\nreturned was wrong.\n\nModified Files:\n-------------...
[ { "msg_contents": "\nWhen there is a specific reject rule, why does the server say \n\nFATAL: no pg_hba.conf entry\n\nThat sounds like an administrative error, rather than a specific\ndecision on the part of an admin to reject the connection. Suggested\nmessage would be\n\nFATAL: connection rejected for host \...
[ { "msg_contents": "i'm trying to find where are stored sequence definition\n(increment,minvalue,maxvalue,start,cache) in system tables. Atm I\nfound everything exept sequence.\n\nThanks in advance.\n", "msg_date": "Wed, 7 Apr 2010 05:47:43 -0700 (PDT)", "msg_from": "Olivier Baheux <olivierbaheux@gmail.c...
[ { "msg_contents": "I just emailed Dave Page and it seems we don't set a default application\nname in libpq. Should we do:\n\n\textern char *argv[];\n\nand reference argv[0] in libpq to set a default application name?\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB ...
[ { "msg_contents": "Hello\n\nI am Dhiraj Lohiya, Computer Science undergraduate from BITS Pilani. I\nwanted to propose idea to improvise upon the *phonetic search support,\n*initially\nfor some Indian languages like Hindi and Marathi with a framework for\nextending it to other languages easily by contributing th...
[ { "msg_contents": "I thought we'd fixed this ...\n\nregression=# select to_char('2009-01-01'::date, 'YY');\n to_char \n---------\n 09\n(1 row)\n\nregression=# select to_char('2009-01-01'::date, 'FMYY');\n to_char \n---------\n 09\n(1 row)\n\nNot a lot of zero suppression happening there :-(.\n\nI believe the co...
[ { "msg_contents": "Just reporting that Alpha 4 was working just fine..\nhttp://pastebin.com/ri2gXJDN\n\nbut Alpha 5 didn't:\n\nmake[4]: Entering directory\n`/home/kyz/Repository/postgres/pgsql/src/backend/utils/error'\ngcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith\n-Wdeclaration-after-statement -Wendif-lab...
[ { "msg_contents": "I've often said in the past that we have too many mailing lists with\noverlapping and vague charters. I submit the following thread as\nevidence that this causes real problems.\n\nhttp://archives.postgresql.org/message-id/g2o4b46b5f01004010610ib8625426uae6ee90ac1435ba1@mail.gmail.com\n\nBecau...
[ { "msg_contents": "I found raw_expression_tree_walker() is oddly indented in 8.4 and HEAD.\nI expected pgindent would fix those clutter, but it could not.\nShould we cleanup it manually, or leave it as-is?\nAlso, should we backport such kind of cleanups to previous releases?\n\nIndex: src/backend/nodes/nodeFunc...
[ { "msg_contents": "I couldn't find any discussion on this, but the request is quite\nstraightforward. Implement a LIMIT on DELETE statements like SELECT\nstatements.\n\nSo you could write:\n\nDELETE FROM massive_table WHERE id < 40000000 LIMIT 10000;\n\nThis would allow deletions in smaller batches rather than...
[ { "msg_contents": "On Windows, syslogger uses two threads. The main thread loops and polls\nif any SIGHUPs have been received or if the log file needs to be\nrotated. Another thread, \"pipe thread\", does ReadFile() on the pipe that\nother processes send their log messages to. ReadFile() blocks, and\nwhenever n...
[ { "msg_contents": "Hi there,\n\nour client complained about slow query, which involves temporary tables.\nAnalyzing them manually solved the problem. I don't remember arguments \nagainst temporary tables support by autovacuum. I'd appreciate any\npointers.\n\nAlso, it's worth to add autovacuum_enable_temp_table...
[ { "msg_contents": "Benefits of Project\n\nPartitioning refers to splitting what is logically one large table\ninto smaller physical pieces. Partitioning can provide several\nbenefits:\n\nQuery performance can be improved dramatically in certain situations,\nparticularly when most of the heavily accessed rows of...
[ { "msg_contents": "Hi,\n\nSo I'm still investigating data corruption issues. They have some\nserious TOAST index corruption too; for example,\n\nFor example, notice how an indexscan returns invalid chunk_ids here:\n\nselect xmin,xmax,ctid,cmin, chunk_id, chunk_seq,length(chunk_data)\nfrom pg_toast.pg_toast_181...
[ { "msg_contents": "I'd like to revive the discussion about offering another compression\nalgorithm than zlib to at least pg_dump. There has been a previous\ndiscussion here:\n\nhttp://archives.postgresql.org/pgsql-performance/2009-08/msg00053.php\n\nand it ended without any real result. The results so far were:...
[ { "msg_contents": "There are a couple of features that were considered but not committed\nfor 9.0 which require additional information about the properties of\nvarious data types. At PGeast I had a chance to talk with Jeff Davis\nabout this briefly, and wanted to write up some of what we talked\nabout plus som...
[ { "msg_contents": "Hi, I'm using VC2005 to create PG C-language Fun in my contrib xml_index, which import other library, and I have add the include and lib directory by changing Mkvcbuild.pm and config.pl. \n But after I executed the following commands: build DEBUG perl install.pl \"C:\\Prog...
[ { "msg_contents": "Hi all\n\nI've asked related question on General list, but got no answer,\nalthough I have been able to work around that issue a little bit.\nThere is one snag I encountered and I have no idea on how to work it\nout.\n\nI need to modify TSQuery object (add another operator and do some\nstuff ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 5412\nLogged by: Rusty Conover\nEmail address: rconover@infogears.com\nPostgreSQL version: 8.4.3\nOperating system: Fedora Core 10, 2.6.27.30-170.2.82.fc10.i686.PAE\nDescription: Crash in production SIGS...
[ { "msg_contents": "Here's a thread that incorrectly started on the security list, but really is\nmore about functionality. Looking for comments:\n\nThe function is_absolute_path() is incorrect on Windows. As it's implemented,\nit considers the following to be an absolute path:\n* Anything that starts with /\n* ...
[ { "msg_contents": "*IDEA:XMLQuery*\n\n* *\n\n*Abstract*\n\nSQL/XML makes it possible to store your XML documents in your SQL database,\nto query those documents using XPath and XQuery, and to \"publish\" your\nexisting SQL data in the form of XML documents.\n\n*Benefits of Project*\n\nSQL/XML is an ANSI and ISO...
[ { "msg_contents": "Hello,\n\nI am sending my proposal on GSoC. Details are listed below. Please, if \nyou have ideas, tips, or if you only want to say you opinion about my \nproject, go ahead.\n\nthanks,\nPavel Baros\n\nAbstract:\n\nIt is effort to implement snapshot materialized view (are only updated \nwhen r...
[ { "msg_contents": "Hi,\n\ni'm startint to try Hot Standby & Streaming Replication, so i started\na replication:\n\n1) Install master server with regression database\n2) Start WAL archive (archive_mode=on, archive_command='cp %p\n/usr/local/pgsql/wal_archive/%f')\n3) select pg_start_backup('standby test');\n4) c...
[ { "msg_contents": "Hi all,\n\nI often come across tables with either a unique index or a unique\nconstraint on them, and psql isn't helpful at showing the difference\nbetween the two. Normally, I don't care which is which, except for\nwhen I have to manually drop and recreate the index or constraint to\nspeed u...
[ { "msg_contents": "Using 9.0devel cvs HEAD, 2010.04.08.\n\nI am trying to understand the performance difference\nbetween primary and standby under a standard pgbench\nread-only test.\n\nserver has 32 GB, 2 quadcores.\n\nprimary:\n tps = 34606.747930 (including connections establishing)\n tps = 34527.078068 (i...
[ { "msg_contents": "Hi,\n\nI wanted to test HS/SR and have setup two instances, one primary\nand one secondary, the secondary is obviously a copy of the primary\nwhile pg_start_backup() was in effect.\n\nI started up the secondary server after \"SELECT pg_stop_backup()\" on\nthe primary. I stopped and started th...
[ { "msg_contents": "\n\n--On 10. April 2010 09:26:41 +0200 Boszormenyi Zoltan <zb@cybertec.at> \nwrote:\n\n> The above is quite reproducable, \"pg_ctl stop -m immediate\"\n> \"usually\" inflated my serial sequence, but I had two occasions\n> when not. The 69 -> 70 was one. The inflated increase is always 33:\n\n...
[ { "msg_contents": "Hello,\n\n1) VPD: Virtual Private Database\nI would appreciate to have a new feature in PostgreSQL.\nThis is an oracle-like feature that implement \"Row Level Security\".\nThis feature may be emulated by using VIEW/RULE but this is very time\nconsuming and error prone.\n\nI would appreciated ...
[ { "msg_contents": "Greg Smith wrote:\n \n> And work on MERGE support is itself blocked behind the fact that\n> PostgreSQL doesn't have a good way to lock access to a key value\n> that doesn't exist yet--what other databases call key range\n> locking.\n \nThe bulk of the serializable implementation WIP is work ...
[ { "msg_contents": "resending this message, as it seems to have bounced.\n\n(below, I did fix the typo in the pseudocode loop)\n\n---------------------------------------- Original Message ----------------------------------------\nSubject: Re: [HACKERS] testing HS/SR - 1 vs 2 performance\nFrom: \"Erik Rijkers\...
[ { "msg_contents": "I just did a checkout from HEAD (a few minutes ago) and ran this:\n \nmake distclean ; ./configure --prefix=/usr/local/pgsql-serializable\n--enable-integer-datetimes --enable-debug --enable-cassert\n--enable-depend --with-libxml && make check\n \nI got a failure on the random test. Unfortuna...
[ { "msg_contents": "Hello:\n\nI am brand new to Postgresql.\n\nI ran the following commands.\n./configure\ngmake\nsu\ngmake install\nadduser postgres\nmkdir /usr/local/pgsql/data\nchown postgres /usr/local/pgsql/data\nsu - postgres\n/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data\n/usr/local/pgsql/bin/postm...
[ { "msg_contents": "Hi,\n\nDoes anyone know how to generate the following WAL records from psql?\n\nI'm now fixing pg_lesslog, which I reported a bug. Now code is\nalmost okay and I'd like to add test tools to show pg_lesslog can\nhandle all the WAL record correctly.\n\nXLOG_MULTIXACT_ZERO_OFF_PAGE\nXLOG_MULTI...
[ { "msg_contents": "I'm breaking this out to a separate email thread, since i think the\noriginal question may hvae been lost in the \"I've applied this patch\"\npart that made people ignore it at the end of a long thread ;) There\nare usually people who have thoughts about this kind of thing :-) So,\nthoughts/s...
[ { "msg_contents": "Hi,\n\nI am trying to install postgres 8.4.3.1 on windows machine which has\nchinese locale.\nThe install wizard throws warning message and continues.\nHowever the logs show that initdb failed and so the service was not started.\n\nHave tested this on windows 95 but I think this problem can ...
[ { "msg_contents": "On Mon, Apr 12, 2010 at 1:23 AM, Jaime Casanova\n<jcasanov@systemguards.com.ec> wrote:\n>\n> another point, what happened with this:\n> http://archives.postgresql.org/message-id/1229549172.4793.105.camel@ebony.2ndQuadrant?\n> Obviously we still have the problem with hash indexes, and in that\...
[ { "msg_contents": "This replication test that was working well earlier (it ran daily), stopped working\nafter reinstall of new instances of cvs HEAD. I think the change must have been today (or at least\nrecent).\n\nThis test copies a schema from a 8.4.3 instance to the 9.0 primary:\n\npg_dump -c -h /tmp -p 543...
[ { "msg_contents": "Hello.\n\nAlready sent this to psql-bugs, but noticed one more issue. Since the\nfirst issue is critical for me as a developer, the second one confuses\nmy clients (and me a little) ;)\n\nPostgreSQL version: 8.4.x\nOperating system: All\n\n====== 1 ISSUE =====\n\nIf RETURNS TABLE clause of...
[ { "msg_contents": "Hi\n\nI've passed your report, and proposed fix, on to the -hackers list for\nconsideration. Thanks for taking the time to investigate this and report\nit in detail.\n\n--\nCraig Ringer\n\nDear maintainers of PostgreSQL,\n\nBuild errors for PostgreSQL have been reported on Gentoo Linux, see\n...
[ { "msg_contents": "On Sat, Apr 10, 2010 at 12:23 AM, Jaime Casanova\n<jcasanov@systemguards.com.ec> wrote:\n> On Fri, Apr 9, 2010 at 3:39 PM, Jaime Casanova\n> <jcasanov@systemguards.com.ec> wrote:\n>>\n>\n> i think \"make standbycheck\" needs a little more work, why it isn't\n> accesible from top of source dir...
[ { "msg_contents": "TFM says:\n\nSets the amount of memory the database server uses for shared memory\nbuffers. The default is typically 32 megabytes (32MB), but might be\nless if your kernel settings will not support it (as determined during\ninitdb). This setting must be at least 128 kilobytes. (Non-default\nv...
[ { "msg_contents": "In the embarrassingly trivial department, I think I found a\nmisspelled word in the GiST README file (unless it's a valid\nalternate spelling I've never seen).\n \n-Kevin", "msg_date": "Wed, 14 Apr 2010 14:50:14 -0500", "msg_from": "\"Kevin Grittner\" <Kevin.Grittner@wicourts.gov>", ...
[ { "msg_contents": "Hi there,\n\nbelow is an example of interesting query and two plans - the bad plan, which \nuses merge join and big sorting, took 216 sec, and good plan with merge join disabled took \n8 sec. Sorry for odd names, they were generated by popular accounting\nengine in Russia. 8.4.3 and HEAD show...
[ { "msg_contents": "I needed a way to run diffs on two\ndatabase dumps to see what data developers put in their\nlocal databases versus the initial database load.Β  The\npg_dump utility with --inserts works well for this, but\nsince the order in which the data is returned of the server\nis not guaranteed I hacked...
[ { "msg_contents": "Apparently, pgindent replaces multiple spaces in comments by a tab\n(possibly subject to additional logic). An example among thousands:\n\nhttp://git.postgresql.org/gitweb?p=postgresql.git;a=blobdiff_plain;f=src/backend/access/gin/ginentrypage.c;h=c23415c0075b5ec52f08e8ef698f7b7ec2f97b19;hp=...
[ { "msg_contents": "\n\n\n\nthe 8.4.3 binary tarball for solaris sparc\n64bit on postgresql.com was shipped with the 32bit includes and the\nMakefile fragments from 8.4-community/lib/64/pgxs/src/ \n\nI'm specifically hitting this contradition:\n\nΒ Β Β  $ grep FLOAT8 include/server/pg_config.h\nΒ Β Β  #define FLOAT8PA...
[ { "msg_contents": "LinkedIn\n------------\n\n \nI'd like to add you to my professional network on LinkedIn.\n\n- somasekhar\n\nsomasekhar Ramadurgam\nStudent at Indian Institute of Technology, Bombay\nMumbai Area, India\n\nConfirm that you know somasekhar Ramadurgam\nhttps://www.linkedin.com/e/isd/1231429279/...
[ { "msg_contents": "Here's a patch to add enable_material, per previous discussion. I\nstill think we should add enable_joinremoval also, but there wasn't a\nclear consensus for that.\n\nI'd appreciate it if someone could check this over for sanity - like,\ndid I get all the places where materialize nodes can b...
[ { "msg_contents": "Addressing TODO item \"Distinguish between unique indexes and unique\nconstraints in \\d+\" for psql, and picking up from thread:\nhttp://archives.postgresql.org/message-id/8780.1271187360@sss.pgh.pa.us\n\nAttached is a simple patch which clarifies unique constraints with\n\"UNIQUE CONSTRAINT...
[ { "msg_contents": "If you do:\n\n# DO $do$ 1; $do$ LANGUAGE plperlu;\n# DO $do$ 1; $do$ LANGUAGE plperl;\n\nYou get a segfault as we try to SvREFCNT_dec(...); for the wrong\ninterpreter. To fix push down the restore_context() so that we do the\nabove on the correct perl interpreter.\n--\n *** a/src/pl/plperl/p...
[ { "msg_contents": "Log Message:\n-----------\nTune GetSnapshotData() during Hot Standby by avoiding loop\nthrough normal backends. Makes code clearer also, since we\navoid various Assert()s. Performance of snapshots taken\nduring recovery no longer depends upon number of read-only\nbackends.\n\nModified Files:\...
[ { "msg_contents": "On Sat, Sep 12, 2009 at 6:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> On Sep 6, 2009, at 10:45 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n>>> ... But now that we have a plan for a less obviously broken costing\n>>> approach, maybe we should open...
[ { "msg_contents": "Guess no-one got to read this email. I sent it to pgsql-patches\nwithout realizing that it is a dead-list. Shouldn't we atleast bounce\nemails back to senders if they send an email to pgsql-patches?\n\nRegards,\nNIkhils\n\n\n---------- Forwarded message ----------\nFrom: Nikhil Sontakke <nikh...
[ { "msg_contents": "Another email which went into the wilderness when I sent it to pgsql-patches.\n\nRegards,\nNikhils\n\n\n---------- Forwarded message ----------\nFrom: Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>\nDate: Fri, Apr 16, 2010 at 6:50 PM\nSubject: row estimation off the mark when generate_ser...
[ { "msg_contents": "The MSVC scripts currently have a \"perltidy coding style\" so we run\nperltidy with a specific set of arguments to format the code. (This is\nin the README). Kind of like pgindent.\n\nShould we be doing this on all the perlscripts we use?\n\nAnd if we do, we should obviously use the same one...
[ { "msg_contents": "There is a command to set privileges\n\n GRANT SELECT ON ALL TABLES IN SCHEMA foo TO PUBLIC;\n\nand a command to set default privileges\n\n ALTER DEFAULT PRIVILEGES IN SCHEMA foo\n GRANT SELECT ON TABLES TO PUBLIC;\n\nIn the first command the ALL is required, whereas in the second command\...
[ { "msg_contents": "Hello,\n\nI posted Bug #5430, \n\"initdb script fails due to permissions of /usr/share/pgsql/\"\n\nI would be happy to fix this bug and submit a patch.\nHowever, I don't seem to see the RPM scripts in the source tree!\nDo they live somewhere else?\n\nPlease reply by email, as I haven't subscr...
[ { "msg_contents": "Hi,\n\nis there a danger in using SpinLockAcquire() in\na signal handler? I mean if e.g. a spinlock is already\ntaken by the process and a signal comes that's handler\nwants to execute SpinLockAcquire() again, does it\nlock up or simply increases the lock counter?\n\nThanks in advance,\nZoltď...
[ { "msg_contents": "On Sun, Apr 18, 2010 at 8:55 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n> Thanks for the review. Β Committed with revisions along the lines you suggest.\n\nBruce suggested to me off-list that when I commit a patch with\nrevisions, I ought to attach the committed patch to the email in whic...
[ { "msg_contents": "In gram.y, the productions for the TRIM() expression expect an \nargument of trim_list:\n\n\tTRIM '(' trim_list ')'\n\tTRIM '(' TRAILING trim_list ')'\n\tTRIM '(' LEADING trim_list ')'\n\tTRIM '(' BOTH trim_list ')'\n\nAnd trim_list is defined as:\n\n trim_list:\ta_expr FROM expr_list \t{...
[ { "msg_contents": "I think it might be time to think about shipping a beta release. I\nguess this is a -core decision, but I can't argue for it there, so\nI'll argue for it here. It seems like we're about ready, so maybe we\ncould plan for a beta, say, a week from now?\n\nHere's a quick run-down of the remain...
[ { "msg_contents": "I just noticed that\n\nALTER TABLE foo SET TABLESPACE new_tablespace;\n\ndoesn't optimise writing WAL, so when streaming enabled it will copy the\nwhole table to WAL and across the wire. My understanding was that ALTER\nTABLE had been optimised, though not as much as could be in this case.\n\...
[ { "msg_contents": "All:\n\nNOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index\n\"pgbench_branches_pkey\" for table \"pgbench_branches\"\nNOTICE: ALTER TABLE / ADD PRIMARY KEY will create implicit index\n\"pgbench_tellers_pkey\" for table \"pgbench_tellers\"\nNOTICE: ALTER TABLE / ADD PRIMARY KE...
[ { "msg_contents": "I spent a fair amount of time just now being confused about why\npg_hba.conf restrictions on replication connections didn't seem to be\ngetting enforced. After looking at the code, I realize that my entry\nwith database = \"replication\" was indeed getting rejected as not\nmatching, but then...
[ { "msg_contents": "Hi,\n\nI want to load balance a postgres server on 4 physical machines, say 127.0.0.11-14. I can set up a pgbouncer on 127.0.0.10 and connection pooling to my four boxes. However, the traffic from/to clients will go through an extra hop. Another way to do this, is to send the client an \"r...
[ { "msg_contents": "On Wed, Apr 21, 2010 at 1:56 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Robert Haas <robertmhaas@gmail.com> writes:\n>> ...shouldn't we move the \"tests\", plural, rather than just the one?\n>> It seems right to reject new SR connections during shutdown.\n>\n> Yeah; you'd also need to adjust ...
[ { "msg_contents": "btree_redo:\n> \tcase XLOG_BTREE_DELETE:\n> \n> \t\t/*\n> \t\t * Btree delete records can conflict with standby queries. You\n> \t\t * might think that vacuum records would conflict as well, but\n> \t\t * we've handled that already. XLOG_HEAP2_CLEANUP_INFO records\n> \t\t * provide the highes...
[ { "msg_contents": "On Sat, Apr 17, 2010 at 6:52 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n> On Sat, Apr 17, 2010 at 6:41 PM, Simon Riggs <simon@2ndquadrant.com> wrote:\n>> On Sat, 2010-04-17 at 17:44 -0400, Robert Haas wrote:\n>>\n>>> > I will change the error message.\n>>>\n>>> I gave a good deal of thou...
[ { "msg_contents": "Given \"Relation rel\", it looks to me like rel->rd_rel->relistemp will\nalways give the same answer as rel->rd_istemp. So why have both?\n\n...Robert\n", "msg_date": "Thu, 22 Apr 2010 20:45:30 -0400", "msg_from": "Robert Haas <robertmhaas@gmail.com>", "msg_from_op": true, "m...
[ { "msg_contents": "Hi,\n\nPlease consider the following test case\n\n> CREATE OR REPLACE FUNCTION raisetest() returns void AS $$\n BEGIN\n BEGIN\n RAISE syntax_error;\n EXCEPTION\n WHEN syntax_error THEN\n BEGIN\n raise notice 'exception thrown in inner block, reraising';...
[ { "msg_contents": "Registration for PGCon 2010 is open.\n\n http://www.pgcon.org/2010/registration.php\n\nThe full list of talks and a preliminary schedule is available here:\n\n http://www.pgcon.org/2010/schedule/\n\nThere are still some rooms available on campus but I recommend booking\nsoon as they alway...
[ { "msg_contents": "I asked on IRC if there was any way to make \\d behave like \\d+ by default, and davidfetter said no but suggest it here.\n\nendpoint_david pointed out you could use \\d- to get the old behavior if you wanted to temporarily negate the setting.\n\nSo the proposal would be:\n\n\\d+ does as it h...
[ { "msg_contents": "Log Message:\n-----------\nMake CheckRequiredParameterValues() depend upon correct combination\nof parameters. Fix bug report by Robert Haas that error message and\nhint was incorrect if wrong mode parameters specified on master.\nInternal changes only. Proposals for parameter simplification ...
[ { "msg_contents": "Hello,\n\nRedhat EL4 update 8, 2.6.9-89.0.23.ELsmp\nQuad Proc, Dual Core Xeon, 16GB RAM\nPostgres 8.1.18\n\nI'm having some trouble pinning down exactly what is causing our \nPostgres cluster to run slowly. After some initial investigation, I \nnoticed that the disk write activity is consiste...
[ { "msg_contents": "Log Message:\n-----------\nAdd missing optimizer hooks for function cost and number of rows.\nClosely follow design of other optimizer hooks: if hook exists\nretrieve value from plugin; if still not set then get from cache.\n\nModified Files:\n--------------\n pgsql/src/backend/utils/cache...
[ { "msg_contents": "When I build the debug version of PostgreSQL (latest code), I found that I always failed to \nrun the vcregress.bat check. It always pops up the following error. \nThe release version can pass the test without any error.\n\nAnyone met such error?\n\n\n\n\nHere is my config.pl used in the bui...
[ { "msg_contents": "A couple of recent threads made got me thinking again about the idea\nof global temporary tables. There seem to be two principal issues:\n\n1. What is a global temporary table?\n\n2. How could we implement that?\n\nDespite rereading the \"idea: global temp tables\" thread from April\n2009 in...
[ { "msg_contents": "Is there any particular reason why the citext module doesn't have\ncitext_pattern_ops operator family?\n\nSpecifically, I wish to index for this type of query:\n\n... WHERE citext_column LIKE 'Foo%';\n\nThis, of course, is equivalent to ILIKE 'Foo%' which does not appear\nto be indexable with...
[ { "msg_contents": "Time for a new thread specific to this subject. For previous\ndiscussion, see here:\n\nhttp://archives.postgresql.org/pgsql-hackers/2010-04/msg01140.php\nhttp://archives.postgresql.org/pgsql-hackers/2010-04/msg01152.php\n\nI attempted to implement this by adding an isTemp argument to relpath...
[ { "msg_contents": "Hi,\n\nwhile TFM says that we can use EXECUTE 'select ' INTO instead of the\nnon implemented EXECUTE 'select ... into ', the message in plpgsql\nfails to say the same thing... seems like a HINT to me\n\n-- \nAtentamente,\nJaime Casanova\nSoporte y capacitaciΓ³n de PostgreSQL\nAsesorΓ­a y desarr...
[ { "msg_contents": "Hi,\n\nThis came up on IRC today and I recall several instances of this during\nthe last two months or so, so I decided to send a patch. The problem in\nquestion occurs when you have extra parentheses in an INSERT list:\n\nINSERT INTO foo(a,b,c) SELECT (a,b,c) FROM ..; or\nINSERT INTO foo(a,...
[ { "msg_contents": "Hello Hackers:\n\nTwo questions.\n\n1.\n\nI would like to execute queries such as \n\nselect * from part and time the query. But I want to ignore how much time is taken for printing the result to a file or the screen.\n\nBasically, I would like to discard the result rows after doing all the w...
[ { "msg_contents": "There was talk of including pg_migrator in Postgres 9.0 in /contrib. Do\nwe still want to do that?\n\n-- \n Bruce Momjian <bruce@momjian.us> http://momjian.us\n EnterpriseDB http://enterprisedb.com\n", "msg_date": "Mon, 26 Apr 2010 21:26:29 -0400 (ED...
[ { "msg_contents": "I heard pg_get_encoding_from_locale() failed in kor locale.\n\n WARNING: could not determine encoding for locale \"kor\": codeset is \"CP949\"\n\nI found the following description in the web:\n CP949 is EUC-KR, extended with UHC (Unified Hangul Code).\n http://www.opensource.apple.c...
[ { "msg_contents": "\nThinking about allowing a backup to tell which files have changed in the\ndatabase since last backup. This would allow an external utility to copy\naway only changed files.\n\nNow there's a few ways of doing this and many will say this is already\npossible using file access times.\n\nAn exp...
[ { "msg_contents": "Hackers,\n\nIt appears that something broke the ability to refer to columns by full\nSQL path names in 9.0. That is, references to columns as\nschema.table.col will produce a completely bogus error which did not\nexist on previous versions.\n\nThe following works perfectly well in 8.4:\n\npo...
[ { "msg_contents": "Hackers,\n\nI'm interested in tackling some of the todo items in XML category. Being \nnew to postgres hacking I'm hoping I chose an item that isn't more than \nI can chew in the first sitting. One item that has caught my eye that I \n(naively) hope isn't a huge todo is:\n\nxpath_exists() is ...
[ { "msg_contents": "Hello,\n\nI've been reading the earlier threads at:\nhttp://archives.postgresql.org/pgsql-hackers/2009-05/thrd7.php#00252\nhttp://archives.postgresql.org/pgsql-hackers/2005-10/thrd4.php#00632\nand I'm not sure I have anything that substantially new to add but:\n\n1. I can't see there's an una...
[ { "msg_contents": "Hi,\n\nI just noticed that the road.thepath column in the regression database\nis no longer in pg_stats for some reason after ANALYZE, so the example\nin section 14.2 in the docs (Statistics Used by the Planner) is now\nwrong.\n\nWhat I'm trying to do is replace that exceedingly wide output w...