threads
listlengths
1
2.99k
[ { "msg_contents": "The functions ShmemInitStruct and ShmemInitHash will return NULL on\ncertain failure conditions, apparently on the grounds that their caller\ncan print a more useful error message than they can. A quick survey\nshows that about half the callers aren't remembering to check for NULL,\nand none...
[ { "msg_contents": "On Wed, Apr 28, 2010 at 4:43 PM, Heikki Linnakangas\n<heikki.linnakangas@enterprisedb.com> wrote:\n> This doesn't contain any changes to pg_start_backup() yet, that's a\n> separate issue and still under discussion.\n\nI'm thinking of changing pg_start_backup and pg_stop_backup so that\nthey j...
[ { "msg_contents": "Hi,\n\nWe seem to have forgotten to give conn->replication \"[0]\".\n\ndiff --git a/src/interfaces/libpq/fe-protocol3.c\nb/src/interfaces/libpq/fe-protocol3.c\nindex 77cee8a..1956f00 100644\n--- a/src/interfaces/libpq/fe-protocol3.c\n+++ b/src/interfaces/libpq/fe-protocol3.c\n@@ -1909,7 +1909...
[ { "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": "I'm wondering the reason that I see (void *) casts for function call\nparameters which are pointers to specific structures. Do some\ncompilers generate warnings if these are omitted? It's hard to\nbelieve that the generated code would differ without them.\n \n-Kevin\n", "msg_date": "Wed...
[ { "msg_contents": "\nIt's possible to set toast reloptions for tables that don't have toast\ntables at all. e.g. \n\ncreate table test (c1 integer);\nALTER TABLE test SET (toast.autovacuum_enabled = off);\n\nWhy?\n\n-- \n Simon Riggs www.2ndQuadrant.com\n\n", "msg_date": "Thu, 29 Apr 2010 01:44:57...
[ { "msg_contents": "Hi!\n\nThere is some strange on current CVS with correct choosing of scans. Although \nbitmap scan is cheaper but postgresql chooses seqscan. Test suite:\n\nCREATE OR REPLACE FUNCTION genvect()\nRETURNS tsvector AS\n$$\n SELECT\n\n array_to_string(\n ARRAY(\n ...
[ { "msg_contents": "Hi,\n\nattached is a patch that does $SUBJECT, we are submitting it for 9.1.\nI have updated it to today's CVS after the \"wal_level\" GUC went in.\n\nHow does it work?\n\nFirst, the walreceiver and the walsender are now able to communicate\nin a duplex way on the same connection, so while CO...
[ { "msg_contents": "I've just realized that one of the confusing things about this debate\nis that the recovery_connections parameter is very confusingly named.\nIt might have been okay when HS existed in isolation, but with SR in the\nmix, it's not at all clear that the parameter refers to client\nconnections m...
[ { "msg_contents": "Simple tuning of btree_xlog_vacuum() using an idea I had a while back,\njust never implemented. XXX comments removed.\n\nAllows us to avoid reading in blocks during VACUUM replay that are only\nrequired for correctness of index scans.\n\nObjections to commit?\n\n-- \n Simon Riggs ww...
[ { "msg_contents": "Hi,\n\ni was trying recent HS and get this when trying to start the standby,\nactually i was expecting a crash because i use full_page_writes=off\nand i guess it won't work.\nMaybe we could say full_page_writes=off and wal_level=hot_standby are\nconflicting and avoid such setup?\n\"\"\"\nLOG:...
[ { "msg_contents": "Hi,\n\nCOPY is not working on latest HEAD?\n\"\"\"\nregression=# select * from a;\n aa\n----\n 32\n 56\n(2 rows)\n\nregression=# COPY a TO '/tmp/copy_test';\nCOPY 0\n\"\"\"\n\n-- \nAtentamente,\nJaime Casanova\nSoporte y capacitación de PostgreSQL\nAsesoría y desarrollo de sistemas\nGuayaquil...
[ { "msg_contents": "I've been working on a brute force method of saving view and function \nsource when changes to an underlying object force that object to be \ndropped. But I think there is a way for Postgres to handle this that \nwouldn't be too hard to implement and would be extremely useful for us \nusers.\...
[ { "msg_contents": "Resending, my ISP lost my mail yesterday. :-(\n\n===========================================================\n\nHi,\n\nattached is a patch that does $SUBJECT, we are submitting it for 9.1.\nI have updated it to today's CVS after the \"wal_level\" GUC went in.\n\nHow does it work?\n\nFirst, th...
[ { "msg_contents": "Hi all,\n\nPlease accept attached patch for the following problem.\n\naftab@aftab-laptop:/opt/dev/pgsql/install/dbserver/bin$\naftab@aftab-laptop:/opt/dev/pgsql/install/dbserver/bin$ ./psql postgres\npsql (9.0beta1)\nType \"help\" for help.\n\npostgres=# SHOW timezone;\n TimeZone\n---------...
[ { "msg_contents": "I think postgres git repo is broken.\n\nThe compilation of REL7_4_STABLE from git fails on my system with:\n\nmake -C src all\nmake -C port all\nmake[2]: *** No rule to make target `sprompt.o', needed by `libpgport.a'. Stop.\n\nThere is no sprompt.c in src/port in the sources obtained from g...
[ { "msg_contents": "While playing with HS/SR on -HEAD I noticed that setting\n\nsetting max_standby_delay to \"-1\" leads to the following kind of odd ps \ndisplay:\n\n1000 20254 9.2 11.3 8625164 5600644 ? Rs 21:22 1:50 \npostgres: startup process waiting for max_standby_delay (4294967295 s)\n\nTh...
[ { "msg_contents": "The thread here\nhttp://archives.postgresql.org/pgsql-admin/2010-04/msg00358.php\nshows that current OS X contains the same issue that was complained of\na year or so ago with respect to NetBSD. Namely, that if shmget finds\nan existing shared memory segment that is smaller than the current\...
[ { "msg_contents": "--- Den fre 2010-04-30 skrev Bruce Momjian <bruce@momjian.us>:\n> Tom Lane wrote:\n> > Robert Haas <robertmhaas@gmail.com>\n> writes:\n> > > We can artificially make this problem as\n> complicated as we wish, but\n> > > the people who are asking for this feature\n> (including me) will, I\n> >...
[ { "msg_contents": "\nRecent changes to parameters aren't yet sufficiently well documented and\nI'd like to see this improved by the authors of those patches. I accept\nthe behaviour changes, but we need full docs to explain them.\n\n* hot_standby doesn't mention that wal_level = hot_standby is also\nrequired, n...
[ { "msg_contents": "Use case: when running a process that populates many inherited \ntables across schemas, having one fail gives the unhelpful \nerror message:\n\nERROR: invalid input syntax for integer: \"abc\"\nCONTEXT: COPY foo, line 1, column a: \"abc\"\n\nUnhelpful because \"foo\" does not uniquely ident...
[ { "msg_contents": "Hello\n\nOne Czech pg user reported problems with function xslt_process. This\nfunction is coded with ten parameters limit.\n\nAttached patch add support to unlimited number of parameters.\n\nconst char **\nparse_params(text *paramstr)\n{\n\tchar\t *pos;\n\tchar\t *pstr;\n\tchar\t *nvse...
[ { "msg_contents": "I've finally wrapped my head around exactly what the max_standby_delay\ncode is doing, and I'm not happy with it. The way that code is designed\nis that the setting represents a maximum allowed difference between the\nstandby server's system clock and the commit timestamps it is reading\nfro...
[ { "msg_contents": "I'm currently testing SR/HS in 9.0beta1 and I noticed that it seems \nquite easy to end up in a situation where you have a standby that seems \nto be stuck in:\n\n$ psql -p 5433\npsql: FATAL: the database system is shutting down\n\nbut not not actually shuting down ever. I ran into that a fe...
[ { "msg_contents": "\nFor those who have been following along, today I reached a bit of a \nmilestone. The buildfarm member quoll, which is running a git-ized \nbuildfarm client due to be released in a week or so, today successfully \nbuilt all the live branches, all the way back to 7.4, from git. Note, \nthis i...
[ { "msg_contents": "Hello\n\nI understand why we don't support expression 'null'::sometype. But it\ndoes problems with array deserialisation.\n\npostgres=# select array_to_string(ARRAY[10,20,30,NULL,30], '|');\n array_to_string\n-----------------\n 10|20|30|30\n(1 row)\n\nquietly removing NULL is maybe good for ...
[ { "msg_contents": "Hi,\n\n Can any one tell me whats the effect of the below Query\n\nSELECT substring(B'1111000000000001' from 5 for -2);\nSELECT substring(B'1111000000000001' from 4 for -3);\n\nits observed that there's an Error \"invalid memory alloc request size\n4244635647\"\n\nWhat will actually happen to...
[ { "msg_contents": "\nIn the original patch I had Pause/Resume feature for controlling\nrecovery during Hot Standby. It was removed for lack of time.\n\nWith all the discussion around the HS UI, it would be something that\ncould be back very easily.\n\nI would like to do it as a recovery control plugin. The plug...
[ { "msg_contents": "There are quite a few GUC parameters that need restart. Is there a way we\ncan avoid some of them needing restart? I am specifically looking at\narchive_mode and the new wal_level.\n\n From my limited understanding, these parameters need restart because in a\nrunning cluster we cannot safely ...
[ { "msg_contents": "Hackers, Driver maintainers,\n\nThe 9.0 \"don't rename index cols\" behavior has already broken JDBC. We\nneed to get in touch with other driver authors to see if they are\naffected by this, and to let them know that they'll need a new driver\nrelease for 9.0, if so.\n\n-- \n ...
[ { "msg_contents": "Hi,\n\nI saw this behavior with latest GIT head:\n\ncreate table xlarge(val numeric(19,0));\ninsert into xlarge values(generate_series(1,5));\n\nThe above generate series will return an int8 which will then be\ncasted to numeric (via int8_to_numericvar) before being inserted into\nthe table. ...
[ { "msg_contents": "The core team has agreed that the data-corruption bug fixed here\nhttp://archives.postgresql.org/pgsql-committers/2010-05/msg00016.php\nis serious enough to justify a prompt update release. Although that\nbug only affects 8.4 and HEAD, we have some other significant bug fixes\npending in the...
[ { "msg_contents": "Hello\n\nattached patch contains to_string and to_array functions. These\nfunctions are equivalent of array_to_string and string_to_array\nfunction with maybe more correct NULL handling.\n\npostgres=# select to_array('1,2,3,4,,6',',');\n to_array\n------------------\n {1,2,3,4,NULL,6}\n(1...
[ { "msg_contents": "Over at\nhttp://archives.postgresql.org/pgsql-general/2010-05/msg00091.php\nwe have a complaint about \"make check\" failing when the install is\nintended to overwrite existing libraries (in particular, replacing\n8.4 with 9.0 libpq). I've done some off-list investigation and\nfound that thi...
[ { "msg_contents": "Dear PostgreSQL development community,\n\nI am working on adapting a regular PQexec() call to use binary\ntransmission of the parameters. One of the parameters is an\narray of BIGINT. Looking in include/utils/array.h, it appears\nthat construct_array() will do exactly what I need to get an\na...
[ { "msg_contents": "Hi,\n\nwe came across an interesting problem.\n\n=# create table parent (id serial primary key, t text);\nNOTICE: CREATE TABLE will create implicit sequence \"parent_id_seq\" for\nserial column \"parent.id\"\nNOTICE: CREATE TABLE / PRIMARY KEY will create implicit index\n\"parent_pkey\" for...
[ { "msg_contents": "Hi,\n\nI propose a set of new statistics functions and system views.\n\nI need these functions in order to do automated testing of our system,\nconsisting of hundreds of stored procedures in plpgsql.\nMy plan is to develop some additional functions to pgTAP, benefiting from\nthe new system ta...
[ { "msg_contents": "Hi hackers,\n\nAlthough this is a very small change I figured I'd practice the policy \nof outlining your change before you write the code and attempt a patch \nsubmission. Essentially I see the function as a convenience function \nthat exposes the results of the xpath built in exists() funct...
[ { "msg_contents": "As discussed in irc://freenode/postgresql (2010-05-06 16:20)\nFunction bodies are checked using the _current_ search_path instead of\nthe search_path supplied by the \"SET search_path\" clause.\nThis leads to wrong error messages during creation.\nOn the other hand it can make a function body...
[ { "msg_contents": "This isn't exactly a bug, but it could be considered unintuitive\nbehavior. Consider this:\n\nCREATE VIEW foo AS SELECT * FROM a;\nCREATE VIEW foo_v AS SELECT * FROM foo;\nALTER TABLE foo ADD COLUMN b INT;\n\nThe ALTER TABLE statement affects VIEW foo, but the column addition\ndoes not propa...
[ { "msg_contents": "I was looking for how to undo a CLUSTER call earlier today. Nothing on\nthe CLUSTER page told me how to do it, or pointed me to the ALTER TABLE\npage. I figure a pointer to would help the next person in my situation.\n\nxoxo,\nAndy\n\n\n\n-- \nAndy Lester => andy@petdance.com => www.petdanc...
[ { "msg_contents": "I couldn't figure out how to get rid of the CLUSTER flag on an index.\nOnce I got the answer from IRC, I wrote this patch to point future users\nto the answer.\n\nxoxo,\nAndy\n\n\n\n-- \nAndy Lester => andy@petdance.com => www.petdance.com => AIM:petdance", "msg_date": "Thu, 6 May 2010 14...
[ { "msg_contents": "Someone just posted to the -admin list with a database corrupted\nwhile running with fsync=off. I was all set to refer him to the\ndocumentation explaining why he should stop doing this, but to my\nsurprise the documentation waffles on the issue way past what I\nthink is reasonable.\n \nhttp...
[ { "msg_contents": "On Mon, Jan 11, 2010 at 10:45 PM, Bruce Momjian <bruce@momjian.us> wrote:\n>> > What amazes me is how many people who closely follow our development are\n>> > mystified by what we do during that pre-beta period.\n>>\n>> Hey, I'm still mystified.  Maybe you and Tom could do twice-a-week\n>> st...
[ { "msg_contents": "All,\n\nBTW, it would be good if some other folks than me were monitoring -testers.\n\nCan someone verify that these two C interface issues are intentional?\nIf not, they're bugs:\n\nhttp://archives.postgresql.org/pgsql-testers/2010-05/msg00011.php\nhttp://archives.postgresql.org/pgsql-tester...
[ { "msg_contents": "(Disclaimer: I've been using Postgresql for quite a long time, I\nusually deal with non-ascii LATIN-9 characters ,\nbut that has never been a problem, until now)\n\nMy issue summarized: when psql is invoked from a user who has a locale\ndifferent from that of the database, the tabular output\...
[ { "msg_contents": "Hi!\n\nWe're having Lightning Talks again at PgCon - scheduled for 5:30pm on\nMay 20th in Ottawa!\n\nDo you have a talk or idea you'd like to share? Lightning Talks are\none of the most highly attended sessions because they are fast, fun,\nand useful (but not always). Slides are not required...
[ { "msg_contents": "Hi\n\nI've just compiled the 9.0 beta1 source tarball and am testing my\ncustom application against it (which has been running on PostgreSQL\nsince 7.3 or so).\n\nThe below statement results in the following error message:\n\n \"ERROR: btree index keys must be ordered by attribute\"\n\nevid...
[ { "msg_contents": "Bruce Momjian wrote:\n \n> I think everyone agrees the current code is unusable, per Heikki's\n> comment about a WAL file arriving after a period of no WAL\n> activity\n \nI don't.\n \nI am curious to hear how many complaints we've had from alpha and\nbeta testers of HS regarding this issue....
[ { "msg_contents": "\nTraffic on the PostgreSQL lists is very high now and I freely admit that\nreading every email is simply not possible for me, even the ones that\nmention topics that keyword searches tell me are of potential interest.\n\nIf anybody knows of a bug or suspected bug in my code, I have no proble...
[ { "msg_contents": "Getting significantly lower performance on a specific query after upgrading\nfrom 8.3 -> 8.4 (windows). I'm not expecting a quick fix from the mail\nlists, but I would appreciate any indications as to where else I could look\nor what tools I could employ to investigae further. Details below.\...
[ { "msg_contents": "Hello.\n\nThis is my first mail to \"pgsql-hackers@postgresql.org\".\nWhen I install PostgreSQL,I get an error.\nSo I'd like to send a report\n.\n\nPostgreSQL version: postgresql-9.0beta1\nOperating system: CentOS release 5.4 (Final)\n\nReproduce case:\n#prefix and with-pgport are not importa...
[ { "msg_contents": "Hackers,\n\nThe current version of levenshtein function in fuzzystrmatch contrib modulte\ndoesn't work properly with multibyte charater sets.\n\ntest=# select levenshtein('фыва','аыва');\n levenshtein\n-------------\n 2\n(1 row)\n\nMy patch make this function works properly with mul...
[ { "msg_contents": "Hi,\n\nI'm stumped by an issue we are experiencing at the moment. We have\nbeen successfully archiving logs to two standby sites for many months\nnow using the following command:\n\nrsync -a %p postgres@192.168.80.174:/WAL_Archive/ && rsync\n--bwlimit=1250 -az %p postgres@14.121.70.98:/WAL_Ar...
[ { "msg_contents": "There's a complaint over here\nhttp://archives.postgresql.org/pgsql-general/2010-05/msg00365.php\nabout the archiver process not being very swift to adopt a new\nvalue of archive_command. This is because it only reacts to SIGHUP\nonce per outer loop, ie, only after completing an archiving cy...
[ { "msg_contents": "LinkedIn\n------------Carlos Jordão souhaite se connecter à vous sur LinkedIn :\n------------------------------------------\n\nAmine,\n\nI'd like to add you to my professional network on LinkedIn.\n\n- Carlos\n\nAccepter l'invitation de Carlos Jordão\nhttp://www.linkedin.com/e/VWCdriNHrcXMfYp...
[ { "msg_contents": "src/tools/pginclude/cpluspluscheck says:\n\n./utils/rbtree.h:21: error: expected ‘,’ or ‘...’ before ‘new’\n\nCan we rename the \"new\" to something like \"new_whateveritis\"? And what\nis it? :-)\n\n\n", "msg_date": "Tue, 11 May 2010 20:34:40 +0300", "msg_from": "Peter Eisentraut <p...
[ { "msg_contents": "Tom pointed out two errors that could effect the HS startup code, which\nis fairly subtle.\n\nAttached patch is small with these changes\n* adds new section comment as posted to hackers earlier\n* adds comments to other functions\n* makes minor corrections to a few existing comments\n* fixes ...
[ { "msg_contents": "It is an announcement that long-waited bug-fix of pg_lesslog is now\nreleased. This includes the following.\n\n1. Error in calculation of GiST-related WAL record length was fixed.\n2. pg_compresslog now has an option to print WAL segment analysis.\n3. New test script is added which analyzes...
[ { "msg_contents": "Log Message:\n-----------\nAdd PGFILEDESC description to Makefiles for all /contrib executables.\n\nAdd PGAPPICON to all executable makefiles.\n\nModified Files:\n--------------\n pgsql/contrib/oid2name:\n Makefile (r1.10 -> r1.11)\n (http://anoncvs.postgresql.org/cvsweb.cgi/...
[ { "msg_contents": "Hello\n\nI would to repeatably update non indexed column of temp table. I\nexpected cheap operation, but it isn't true.\n\np ostgres=# create temp table x(a int primary key, b int);\nNOTICE: CREATE TABLE / PRIMARY KEY will create implicit index\n\"x_pkey\" for table \"x\"\nCREATE TABLE\nTime...
[ { "msg_contents": "The server's messages and the documentation uses all of these terms in\nmixed ways. Maybe we could decide on some preferred terminology and\nadjust the existing texts. Ideas?\n\n", "msg_date": "Wed, 12 May 2010 19:33:53 +0300", "msg_from": "Peter Eisentraut <peter_e@gmx.net>", "...
[ { "msg_contents": "A look at the MSVC buildfarm members shows that they are not building\nmost of the files added to contrib/pg_upgrade. The reason seems to be\nthat that module tries to build both an executable program *and* a\nshared library, which it does by dint of setting both PROGRAM and\nMODULES in its ...
[ { "msg_contents": "Hi\n\nI just tried to checkout REL9_0_BETA1 from my local clone of the GIT repository at git.postgresql.org and discovered that none of the tags from CVS seem to exist in there. For alpha1 to alpha1 each tag is accompanied by a corresponding brach, and those *do* exist on the GIT mirror. For ...
[ { "msg_contents": "While fooling around with Hot Standby today, I did this on the master:\n\nrhaas=# begin work;\nBEGIN\nrhaas=# lock table pgbench_accounts;\nLOCK TABLE\n\nThen on slave I did this:\n\nrhaas=# select * from pgbench_accounts;\nERROR: canceling statement due to conflict with recovery\nDETAIL: U...
[ { "msg_contents": "postmaster.c contains the following comment just above the definition\nof PMState. It appears to be out of date:\n\n * After reaching a consistent point in WAL redo, startup process signals\n * us again, and we switch to PM_RECOVERY_CONSISTENT state. There's currently\n * no difference betwe...
[ { "msg_contents": "Subject line kind of says it all: LANGUAGE replacement was \nintroduced in 9.0, but pg_dump is trying it on all versions.\n\n-- \nGreg Sabino Mullane greg@turnstep.com\nEnd Point Corporation\nPGP Key: 0x14964AC8 201005121537\nhttp://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964...
[ { "msg_contents": "bruce wrote:\n> Tom Lane wrote:\n> > Bruce Momjian <bruce@momjian.us> writes:\n> > > All other binaries had such a designation, and all /contrib binaries\n> > > were missing them. I assume I was doing cleanup. You want the icon\n> > > removed from the backend makefile?\n> > \n> > Yes. I'm ...
[ { "msg_contents": "Hi,\n\nIf a backend killed by pg_terminate_backend(), the backend returns\n57P01 which is identical to the one when it's killed by postmaster.\n\nProblem is, pgpool-II needs to trigger failover if postmaster goes\ndown because apparently pgpool-II cannot use the PostgreSQL server\nanymore.\n\...
[ { "msg_contents": "On Wed, May 12, 2010 at 3:55 PM, Robert Haas <robertmhaas@gmail.com> wrote:\n> I am wondering if we are not correctly handling the case where we get\n> a shutdown request while we are still in the PM_STARTUP state.  It\n> looks like we might go ahead and switch to PM_RECOVERY and then\n> PM_R...
[ { "msg_contents": "When firing up a properly shut down HS slave, I get:\n\nLOG: database system was interrupted while in recovery at log time\n2010-05-12 20:35:24 EDT\nHINT: If this has occurred more than once some data might be\ncorrupted and you might need to choose an earlier recovery target.\n\nBut this i...
[ { "msg_contents": "To whom it may concern,\n\nthis is to inform the PostgreSQL community of my retirement from my\nPostgreSQL core team position.\n\nOver the past years I have not been able to dedicate as much time to\nPostgreSQL as everyone would have liked. The main reason for that was\nthat I was swamped wit...
[ { "msg_contents": "I read pg_upgrade code glance over, and found 4 issues in it.\nAre there any issues to be fixed before 9.0 release?\n\n 1. NAMEDATASIZE\n 2. extern PGDLLIMPORT\n 3. pathSeparator\n 4. EDB_NATIVE_LANG\n\n==== 1. NAMEDATASIZE ====\npg_upgrade has the following definition, but should...
[ { "msg_contents": "Log Message:\n-----------\nEnsure that top level aborts call XLogSetAsyncCommit(). Not doing\nso simply leads to data waiting in wal_buffers which then causes\nlater commits to potentially do emergency writes and for all forms\nof replication to be potentially delayed without need or benefit....
[ { "msg_contents": "Why is 'wal_level' listed next to 'fsync' in postgresql.conf?\n\n\t#wal_level = 'hot_standby' # minimal, archive, or hot_standby\n\t#fsync = on # turns forced synchronization on or off\n\t#synchronous_commit = on # immediate fsync at com...
[ { "msg_contents": "I was reading through\nhttp://www.postgresql.org/docs/9.0/static/continuous-archiving.html and\nnoticed that wal_level isn't mentioned where I'd expect it to be.\nSpecifically, there's a paragraph that starts, \"To enable WAL archiving, set\nthe archive_mode configuration parameter to on, and...
[ { "msg_contents": "Is there a reason we require single quotes around boolean values in\nrecovery.conf?\n\n\tstandby_mode = 'off'\n\nThis does not work:\n\n\tstandby_mode = off\n\nI knew there were inconsistencies between quoting in postgresql.conf and\nrecovery.conf, but I didn't realize it extended to boolean ...
[ { "msg_contents": "Hi\n\nAfter the recent discussion about the impossibility of efficiently implementing FK-like constraint triggers in PL/PGSQL that work correctly under SERIALIZABLe transactions, I've compared our behavior to that of Oracle. As it turns out, a slight difference in Oracle's behavior makes thos...
[ { "msg_contents": "I was able to easily crash the standby server today just by starting it\nand connecting to it via psql. The master was idle. The failure was:\n\n\tLOG: streaming replication successfully connected to primary\n\tTRAP: FailedAssertion(\"!(((xmax) >= ((TransactionId) 3)))\", File: \"procarray...
[ { "msg_contents": "Hi,\n\ni migrate a ms sql server database to postgres and was trying some\nqueries from the application to find if everything works right...\nwhen i was looking to those queries i found some that has a notation\nfor nvarchar (ej: campo = N'sometext')\ni was expecting those to fail but this ac...
[ { "msg_contents": "First off, thank you for allowing me to participate in Google Summer\nof Code 2010. I'm sorry I haven't been active for the past few weeks.\n Today, I added the wiki page for my project, but the project schedule\nis highly tentative:\nhttp://wiki.postgresql.org/wiki/JSON_datatype_GSoC_2010 ....
[ { "msg_contents": "We can index multiple scalar values per row with GIN access method,\nand also can index single vector value per row with GiST AM.\n\nIs it worth having a new AM to index multiple vector values per row?\nIt will be an AM for the missing feature in below:\n\n | scalar | vector |\...
[ { "msg_contents": "http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=comet_moth&dt=2010-05-13%2021:06:01\n\n\nmsgfmt -o po/ja.mo po/ja.po\nWARNING: the string after closing \" is ignored at line number 11.\nError, No space after directive at line number 2008.\nERROR: Exiting...\ngmake[2]: *** [po/ja.mo] Error 2...
[ { "msg_contents": "[slight rearrangement]\n \nFlorian Pflug wrote:\n \n> I'm very exited about the work you're doing\n \nAlways nice to hear. :-)\n \n> I view my proposal as pretty orthogonal to that work.\n \n> My proposal allows for simple FK-like constraints to be\n> implemented at user-level that are corr...
[ { "msg_contents": "Greetings,\n\n Toying around with FETCH_COUNT today, I discovered that it didn't do\n the #1 thing I really wanted to use it for- query large tables without\n having to worry about LIMIT to see the first couple hundred records.\n The reason is simple- psql ignores $PAGER exiting, which me...
[ { "msg_contents": "While looking through postmaster.c and xlog.c I discovered that we're\nbeing a little bit loose about our use of terminology. Maybe this was\nright when committed (I think, at that point, Hot Standby was always\non) but it's not right any more. It appears that we only enter the\nPM_RECOVERY...
[ { "msg_contents": "I've been able to reproduce the problem described here:\nhttp://archives.postgresql.org/pgsql-bugs/2010-05/msg00100.php\nDo this:\n\ncreate table foo(f1 text);\nalter table foo set (toast.autovacuum_enabled = false);\ninsert into foo values(repeat('xyzzy',100000));\nvacuum verbose foo;\n\nNot...
[ { "msg_contents": "Recently, in preparation for migrating an application to postgres, I\ngot to this part of the manual (which is *excellent* so far, by the\nway):\n\nhttp://www.postgresql.org/docs/8.4/interactive/functions-sequence.html\n\nA quick check with the folks on #postgresql confirmed my\nunderstanding...
[ { "msg_contents": "bruce wrote:\n> > and my slave recovery.conf was:\n> > \n> > \trestore_command = 'cp /u/pg/archive/%f %p' # e.g. 'cp /mnt/server/archivedir/%f %p'\n> > \tstandby_mode = 'on'\n> > \tprimary_conninfo = 'host=localhost port=5432' # e.g. 'host=localhost port=5432'\n> > \n> ...
[ { "msg_contents": "I am not sure this is a bug, but I was surprised by the following behaviour\nin HEAD and 8.4.4 (instances built today, 2010.05.14):\n\nInvalid (?) values like 123_456 are split before the underscore and interpreted as\n123 as \"456\":\n\n\n$ psql -p 6591 -d testdb -c \"select 123_456, current...
[ { "msg_contents": "The recently added contrib/pg_upgrade code contains this bit:\n\n /*\n * scandir() is originally from BSD 4.3, which had the third argument as\n * non-const. Linux and other C libraries have updated it to use a const.\n * http://unix.derkeiler.com/Mailing-Lists/FreeBSD/question...
[ { "msg_contents": "Rob Wultsch wrote:\n \n> Have you looked at PBXT (which is explicitly NOT SERIALIZABLE)?\n \nI hadn't heard of it; so I took a quick look based on your post. It\nseems to a new engine to use with MySQL which has MVCC without a\nrollback log, so it presumably uses techniques at least vaguely...
[ { "msg_contents": "Patch adds a keepalive message to ensure max_standby_delay is useful.\n\nNo WAL format changes, no libpq changes. Just an additional message type\nfor the streaming replication protocol, sent once per main loop in\nWALsender. Plus docs.\n\nComments?\n\n-- \n Simon Riggs www.2ndQuadr...
[ { "msg_contents": "While preparing a replication test setup with 9.0beta1 I noticed strange \npage allocation patterns which Andrew Gierth found interesting enough to \nreport here.\n\nI've written a simple tool to generate traffic on a database [1], which \ndid about 30 TX/inserts per second to a table. Upon i...
[ { "msg_contents": "I noticed by accident that there are some cases where the planner fails\nto inline the SQL functions that underlie the || operator for text vs\nnon-text cases. The reason is that these functions are marked\nimmutable, but their expansion involves a coercion to text that might\nnot be immutab...
[ { "msg_contents": "FYI, I test pg_upgrade by loading the old cluster's regression database\nfrom a pg_dump output file, then after the upgrade, I dump the\nregression database of the new cluster and diff the changes.\n\nThe problem I just encountered is that pg_dump uses\nextra_float_digits=-3 for 9.0, while pr...
[ { "msg_contents": "Hi all,\n\nAfter having received several reports of worse plans on 8.4 compared to 8.3 \nand recently once more one from 'vaxerdec' on IRC I tried to investigate the \ndifference.\nReducing the (large and ugly, automatically generated queries) to a \nreproducible testcase I ended up with the ...
[ { "msg_contents": "\nOn May 14, 2010, at 16:32 , Kevin Grittner wrote:\n\n> Florian Pflug <fgp@phlo.org> wrote:\n> \n>> I must admit that I wasn't able to find an explicit reference to\n>> Oracle's behavior in their docs, so I had to resort to\n>> experiments. They do have examples showing how to do FK-like\n>>...
[ { "msg_contents": "\nWhy do the release notes say this, under plperl:\n\n * PL/Perl subroutines are now given names (Tim Bunce)\n This is for the use of profiling and code coverage tools. DIDN'T\n THEY HAVE NAMES BEFORE?\n\n\nNo they didn't, from perl's perspective, which is what this is about. \nT...
[ { "msg_contents": "We have in 9.0 plperl.c\n\nerrcontext(\"while executing PostgreSQL::InServer::SPI::bootstrap\")));\nerrcontext(\"while parsing Perl initialization\")));\nerrcontext(\"while running Perl initialization\")));\nerrcontext(\"While executing PLC_TRUSTED.\")));\nerrcontext(\"While executing utf8fix...