threads
listlengths
1
2.99k
[ { "msg_contents": "There is a failure report here that seems worthy of notice:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=baiji&dt=2010-02-23%2023:00:03\n\nEverything is fine except that the session running the \"triggers\" test\nwent completely bonkers: the first few commands are okay, and then\na...
[ { "msg_contents": "With plperl.on_init allowing the loading of modules, might there be some \nmerit (and little cost) in allowing the same style of function-mapping \nas with C functions?\n\nCREATE FUNCTION add_one(integer) RETURNS integer\n AS 'DIRECTORY/funcs', 'add_one'\n LANGUAGE C STRICT;\n\nCREA...
[ { "msg_contents": "Hello,\nI was reading the SR docs, and have the following question:\nIs there a fundamental reason why archive_command etc. is required in\nstreaming replication mode?\n\nCan`t setting up the standby be more like:\npg_start_streaming_backup() on the master (this will be queuing up\nfiles in p...
[ { "msg_contents": "I just noticed that the revision numbering for the new\nsrc/doc/sgml/recovery-config.sgml file I added started from 2 for some\nreason. The first revision was 2.1, and when I just updated it the new\nrevision became 2.2.\n\nIt seems to work fine, but I've never seen CVS revision numbers like\...
[ { "msg_contents": " From memory and the thread below, I thought one of the key uses was to \nlet me use a module from trusted plperl.\n http://archives.postgresql.org/pgsql-hackers/2010-02/msg00167.php\n\nThe example below has a TestModule that just exports one sub - visible \nfrom plerlu but not plperl. Pres...
[ { "msg_contents": "Hi all,\n\nI got following stack:\n\n fffffd7ffed14b70 strlen () + 40\n fffffd7ffed71665 snprintf () + e5\n fffffd7fff36d088 pg_GSS_startup () + 88\n fffffd7fff36d43a pg_fe_sendauth () + 15a\n fffffd7fff36e557 PQconnectPoll () + 3b7\n fffffd7fff36e152 connectDBComplete () + a2\n fffffd...
[ { "msg_contents": "Hi,\n\nI have an issue with a table partitioned by one boolean column. The\nquery planner only seems to skip the non matching table if expired\n(the column I use for the partition) is true.\n\nHere is a simple example:\n\nCREATE TABLE mos (type_id INTEGER UNIQUE, expired boolean);\nCREATE T...
[ { "msg_contents": "hello to everyone,\nis a bit late for an italian, but after an long day debugging I had an idea.\nWhy not introduce a special SQL command like \nSTORE WHERE [condition] FROM [table]\nremoving all data that meet the condition and storing them into another database?\nThen, if a query that needs...
[ { "msg_contents": "ScanState.ss_currentScanDesc is currently used by only SeqScan and\nBitmapHeapScan. Other scan nodes don't use the field at all, right?\n\nCan we move the field into SeqScanState and BitmapHeapScanState\nfor code cleanup? This change will not improve any performance,\nbut it can clear up what...
[ { "msg_contents": "Hi,\n\nConsider following testcase,\n\nCREATE TABLE footable(id int4, name varchar2(10));\n\nCREATE FUNCTION foofunc(a footable, b integer DEFAULT 10)\n RETURNS integer AS $$ SELECT 123; $$ LANGUAGE SQL;\n\nCREATE FUNCTION foofunc(a footable, b numeric DEFAULT 10)\n RETURNS integer AS $$ SE...
[ { "msg_contents": "I'm happy to see we've crossed the point where the worst of the Hot \nStandby and Streaming Replication issues are sorted out. A look at the \nto-do lists: http://wiki.postgresql.org/wiki/Hot_Standby_TODO \nhttp://wiki.postgresql.org/wiki/Streaming_Replication show no Must-fix \nitems and 5...
[ { "msg_contents": "9.0devel (cvs yesterday) primary+server, with this patch:\n extend_format_of_recovery_info_funcs_v2.patch\n ( http://archives.postgresql.org/pgsql-hackers/2010-02/msg02116.php )\n\nA large (500 GB) restore left to run overnight, gave the below crash. The standby was restarted,\nand seems to...
[ { "msg_contents": "Hey Bruce, I thought the ecpg test files were supposed to be excluded\nfrom pgindenting? The buildfarm is all red, or would be if you could\nsee it.\n \n\t\t\tregards, tom lane\n", "msg_date": "Fri, 26 Feb 2010 11:05:10 -0500", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_fro...
[ { "msg_contents": "Hi,\n\ndo I understand correctly that a BackendId is just an index into the \nProcSignalSlots array and not (necessarily) the same as the index into \nProcArrayStruct's procs?\n\nIf yes, could these be synchronized? Why is ProcSignalSlot not part of \nPGPROC at all? Both are shared memory str...
[ { "msg_contents": "Hello list,\n\nI'm wondering if there would be community support for adding using the \nexecute message with a rownum > 0 in the c libpq client library, as it \nis used by the jdbc driver with setFetchSize.\n\nkind regards,\nYeb Havinga\n\n", "msg_date": "Fri, 26 Feb 2010 21:28:01 +0100",...
[ { "msg_contents": "bruce wrote:\n> \t4 The standby waiting longer than max_standby_delay to acquire a\n...\n> #4 can be controlled by max_standby_delay, where a large value only\n> delays playback during crash recovery --- again, a rare occurance.\n\nOne interesting feature is that max_standby_delay will _o...
[ { "msg_contents": "There were a flurry of patches around this from Stark and Aster Data, so\nI'm checking if I should be testing on 9.0 or adding this to the TODO list.\n\nThe problem I'm grappling with is that OUTER JOINS against the master in\na partitioned table (joining to the append node) gives a row estim...
[ { "msg_contents": "Buildfarm member caracara has been failing the last few days because of\nthis:\n\nLOG: could not bind socket for statistics collector: Cannot assign requested address\nLOG: disabling statistics collector for lack of working socket\n\nThat code hasn't changed recently, AFAIK, so I'm thinking...
[ { "msg_contents": "There was a huge earthquake in Chile this morning ... Alvaro, you OK?\n\n--Josh Berkus\n", "msg_date": "Sat, 27 Feb 2010 12:27:50 -0800", "msg_from": "Josh Berkus <josh@agliodbs.com>", "msg_from_op": true, "msg_subject": "Anyone know if Alvaro is OK?" }, { "msg_content...
[ { "msg_contents": "Hi.  We're out of town right now, and it seems I can't get to my home\nmachine (probably just a loose cable).  Our building was shaken badly\nenough that we'll have a lot of work to do to make it usable again.\n\nOur earthquake was 8.3 or 8.8 depending on who you ask, and whatever\nit really ...
[ { "msg_contents": "I wrote a function that turns tsvectors into tsqueries.\nI can't see any evident error and actually the function return the\nexpected results but just for a strange set of queries. Otherwise it\ncauses tsqueryout to exit with errors when the result is returned.\n\nIt seems that tsqueryout is ...
[ { "msg_contents": "I'm beginning to think nobody is going to step up and fix contrib/xml2,\nso I had a look at it myself. It strikes me that there is a pretty\nsimple fix for it: just get rid of the attempt to manage libxml memory\nvia palloc, and don't do anything else. The implication of this will\nbe that ...
[ { "msg_contents": "Hi, hackers:\n\nI am testing the index used by full text search recently.\n\nI have install 8.3.9 and 8.4.2 separately. \n\nIn 8.3.9, the query plan is like:\n\npostgres=# explain SELECT s.name as source , t.name as target FROM element as s, element as t WHERE to_tsvector('testcfg',s.name)  @...
[ { "msg_contents": "So I started to work on back-patching the no-pallocs change in xml2.\nIt seems to work fine in 8.4, but it crashes in 8.3. The reason is\nthat we never back-patched the 8.4 change to make utils/adt/xml.c\nnot change the libxml2 memory allocation functions. That means that\nif you try to int...
[ { "msg_contents": "Log Message:\n-----------\nadd EPERM to the list of return codes to expect from opening directories based on Vista results\n\nModified Files:\n--------------\n pgsql/src/port:\n copydir.c (r1.34 -> r1.35)\n (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1...
[ { "msg_contents": "Some other things struck me on further code-reading. These are not\nproblems if core xml functions and contrib/xml2 functions are used\nindependently, but they would be issues if one is called within the\nother --- and both modules have functions that invoke arbitrary SQL\ninside their execu...
[ { "msg_contents": "I just committed a backpatch of\nhttp://archives.postgresql.org/pgsql-committers/2009-05/msg00229.php\nto 8.3. As in that patch, I did not try to manually reindent the code\nthat's now wrapped in PG_TRY blocks. It might be a good idea to run\npgindent on just that one file so that it's spac...
[ { "msg_contents": "In yet another demonstration that no good deed goes unpunished, I see\nthat my addition of regression tests to contrib/xml2 is still a few\nbricks shy of a load. Buildfarm member pika is failing on it, and the\nreason is clear upon inspection: pika is configured --with-libxml\nbut not --with...
[ { "msg_contents": "Anybody have an opinion about whether to try to improve the error\nresponse exhibited in bug #5352?\nhttp://archives.postgresql.org/message-id/201003010922.o219M9lk016559@wwwmaster.postgresql.org\n\nCurrently, if the first variable named after INTO is a rowtype variable,\nwe just stop parsing...
[ { "msg_contents": "BTW, it looks like the MSVC build scripts don't bother to make sure that\nUSE_LIBXSLT is defined (or not) correctly --- at least I can't see any\nreference to that symbol in the Windows-specific files. This is now\nnecessary to avoid disabling the xslt functionality in contrib/xml2.\nI'm not...
[ { "msg_contents": "Hello all,\n\nI'm writing some extension and I have a hot code path that has a lot of double (C type) data and needs to output NUMERIC tuple data. The current methods I can find in the code to convert sprintf the double to a buffer and then invoke the numeric_in function on them. I've profi...
[ { "msg_contents": "On Monday 01 March 2010 @ 15:41, Ed Loehr (LoehrTech.com) wrote:\n> \"Ed L.\" <pgsql@bluepolka.net> writes:\n> > (gdb) bt\n> > #0 0x000000346f8c43a0 in __read_nocancel () from\n> > /lib64/libc.so.6 #1 0x000000346f86c747 in\n> > _IO_new_file_underflow () from /lib64/libc.so.6 #2 \n> > 0x0000...
[ { "msg_contents": "Hello,\n\nNot sure whether it's appropriate list for feature requests though..\nWould it be suitable to implement such variable declarations in PL/pgSQL so \nthat following (or similar) constructs would be possible?\n\nDECLARE\n\ttmpStruct (name varchar, foo integer, bar boolean)[] := array[\...
[ { "msg_contents": "As demonstrated here:\r\nhttp://archives.postgresql.org/pgsql-general/2010-02/msg01057.php\r\n\r\nit can happen that you end up with a corrupt database\r\nif you use PITR to recover past a hardware failure.\r\n\r\nIt seems that unique constraints are not verified during\r\nWAL replay.\r\n\r\n...
[ { "msg_contents": "Consider a table and a query referring to only a subset of the columns \nin that table. How early in the query evaluation is the projection \ncarried out?\n\nAre the columns to be selected filtered out as early as in the very \naccess method that reads the table rows from the buffer, or are t...
[ { "msg_contents": "Hello.\n\nI can't seem to get to_timestamp() or to_date() to work with quarters, \ncan anyone see what I'm doing wrong?\n\ne.g.\n\tselect to_date('2010-1', 'YYYY-Q');\n\tGives \"2010-01-01\" (correct).\n\n\tselect to_date('2010-3', 'YYYY-Q');\n\tAlso gives \"2010-01-01\" (should be 2010-07-01...
[ { "msg_contents": "Hi there,\n\njust to inform, that building of postgres-A4.tex-pdf (8.4) crushed on my\nUbuntu 9.10 machine. No problem with CVS HEAD.\n\nopenjade -D . -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d ./stylesheet.dsl -t tex -V tex-backend -i output-print -V texpdf-output -V '%p...
[ { "msg_contents": "On Mon, 2010-03-01 at 16:12 -0400, pgsql-hackers-owner@postgresql.org\nwrote:\n> . . . \n> However there is a concern with max_standby_age. If you set it to,\n> say, 300s. Then run a 300s query on the slave which causes the slave\n> to fall 299s behind. Now you start a new query on the slave ...
[ { "msg_contents": "\nThere appears to be some significant misunderstanding of what can be \ndone effectively using the various *_init settings for plperl.\n\nIn particular, some people have got an expectation that modules loaded \nin plperl.on_init will thereby be available for use in trusted plperl.\n\nI propo...
[ { "msg_contents": "There's a novice question here\nhttp://archives.postgresql.org/pgsql-novice/2010-03/msg00005.php\nthat shows up a problem in plpgsql's grammar. The documentation\nstates that when a block is labeled, the label must precede the\nDECLARE keyword if any:\nhttp://developer.postgresql.org/pgdocs/...
[ { "msg_contents": "Log Message:\n-----------\nInstead of trying (and failing) to allow <<label>> at the end of a DECLARE\nsection, throw an error message saying explicitly that the label must go\nbefore DECLARE. Per investigation of a recent pgsql-novice question,\nthis code did not work as intended in any mod...
[ { "msg_contents": "Is it an expected behavior?\n\n postgres=> CREATE SEQUENCE s;\n CREATE SEQUENCE\n postgres=> ALTER TABLE s RENAME sequence_name TO abcd;\n ALTER TABLE\n\n postgres=> CREATE TABLE t (a int primary key, b text);\n NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index \"t_pkey\" f...
[ { "msg_contents": "I whittled my 1.5k open emails down to a handful and have updated the\n9.0 open items list with the items I feel should be addressed before\nbeta:\n\n\thttp://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items#Bugs\n\nI added only five items. Of course, I doubled the list size too. :-(\n\nI...
[ { "msg_contents": "It looks like for me the bottom half of the DefineOpFamily() is\na block copied and pasted from CreateOpFamily().\nIt has identical logic, variable names and source code comments.\n\nPerhaps, we can replace this code block by CreateOpFamily() call.\n\nThanks,\n-- \nKaiGai Kohei <kaigai@ak.jp....
[ { "msg_contents": "It's been almost three months since our last minor releases, and we've\naccumulated enough fixes to justify a new set of updates. The core team\nis planning to wrap new tarballs next Thursday for release Monday 3/15.\nIf you've got any pending back-branch fixes, get 'em in soon.\n\n\t\t\treg...
[ { "msg_contents": "Hi,\n\nDescription:\n===========\nRepetition of warning message with revoke.\n\nHow to reproduce :\n==================\n\n> create table tbl(col int);\n> create user usr;\n> grant select on tbl to usr;\n> \\c postgres usr;\n> REVOKE SELECT on tbl from usr;\n\nActual output:\n================\...
[ { "msg_contents": "Hi Guys:\nI just do some research on ip address storage and comparing. I found pgsql\nalready fixed that issue. I want to get some point from your guys about how\nthis work. Could you give me some data about that . Also I'm interesting in\npgsql . Could you give me some suggestion about how t...
[ { "msg_contents": "Hi Guys:\nI just do some research on ip address storage and comparing. I found pgsql\nalready fixed that issue. I want to get some point from your guys about how\nthis work. Could you give me some data about that . Also I'm interesting in\npgsql . Could you give me some suggestion about how t...
[ { "msg_contents": "Hi,\n\nCurrently superuser privilege is required when the standby connects\nto the primary. But there is the complaint that we should add new\nprivilege for replication and use it instead of superuser because\ncurrent approach is not good for security (*1). This has been listed\nas one of TOD...
[ { "msg_contents": "fanng yuan wrote:\n \n> I just do some research on ip address storage and comparing. I\n> found pgsql already fixed that issue. I want to get some point from\n> your guys about how this work.\n \nI'm not sure what you're looking for, exactly. Does this page help?:\n \nhttp://www.postgresql....
[ { "msg_contents": "ISTM this is a bug, no?\n\n(9.0devel, cvs 2010.03.04 01:30)\n\nreplicas=# select length( to_char(1, '0') );\n length\n--------\n 2\n(1 row)\n\nThere seems to be an erroneously prefixed space:\n\nreplicas=# select '>' || to_char(1, repeat('0',8)) || '<';\n ?column?\n-------------\n > 000...
[ { "msg_contents": "in a 9.0devel, primary+standby, cvs from 2010.03.04 01:30\n\nWith three patches:\n\n new_smart_shutdown_20100201.patch\n extend_format_of_recovery_info_funcs_v4.20100303.patch\n fix-KnownAssignedXidsRemoveMany-1.patch\n\n pg_dump -d $db8.4.2 | psql -d $db9.0devel-primary\n\nFailedAssertio...
[ { "msg_contents": "All,\n\nCurrently, the only way for admin scripts to get individual data items\nout of pg_controldata (such as the next XID or the catalog version) is\nvia grep and regex. Given that people are going to be relying on some of\nthis data for replication admin in the future, it seems past time t...
[ { "msg_contents": "I've now for the second time found myself wanting to specify an\nexplicit psqlrc file instead of just parsing ~/.psqlrc, so attached is\na patch that accepts the PSQLRC environment variable to control which\npsqlrc file is used.\n\nAny objections to this (obviously including documentation - t...
[ { "msg_contents": "I have PostgreSQL 8.4 installed on Windows XP, and am using Visual Studio\n2005 to write a C-Language function. I have the most basic hello-world type\nexample (just the 'add_one' function from\nhttp://www.postgresql.org/docs/8.4/interactive/xfunc-c.html) in a DLL, set\nto compile to C code r...
[ { "msg_contents": "Hi.\n\nHow complicated would it be to make postgresql-fts search the \"union\" of\nseveral GIN/Gist indexes.\n\nThe use-case is that you have two tables:\n\ntablea(id serial, tableb_id int, text tsvector);\nand\ntableb(id serial, text tsvector);\nand indices on both tsvectors.\n\nThe typical ...
[ { "msg_contents": "Dear friends,\n\nAs a reminder, I took part in the development of pgAdmin and I am not\nlooking for a flame war.\n\nI would like to point out Drupal community efforts (including myself) to\nwrite down the most frequent problems when porting MySQL from/to\nPostgreSQL:\n\nThe main MySQL/Postgre...
[ { "msg_contents": "I encountered a core dump running PL/Perl installcheck with a very\nrecent git HEAD of PostgreSQL and a not quite so recent git HEAD of perl.\n\nThe cause is a subtle difference between SvTYPE(sv) == SVt_RV and\nSvROK(sv). The former is checking a low-level implementation detail\nwhile the la...
[ { "msg_contents": "Hi, good day everyone ^^\ni got these errors: primnodes.h:1155: error: expected unqualified-id\nbefore ‘using’\nwhen i tried to compile plv8 project using g++,\n\ncould postgresql use/chage variable name considering also C++ keywords?\nthat is:\n# using\n# typeid\n# typename\n# namespace\n# d...
[ { "msg_contents": "There is a complier warning in ecpg/ecpglib/error.c on HEAD:\n\nerror.c: In function 'eecpg_raise_backend':\nerror.c:309: warning: comparison with string literal results in unspecified behavior\n\nIt comes from the following coparison:\n---\n#define ECPG_SQLSTATE_ECPG_INTERNAL_ERROR\t\"YE000\...
[ { "msg_contents": "I got some point from others.I already red and debug network.c . Now I now\nthe basic logic behind that. But still I'm confused by arithmetic. I find\nsome comments on that , I need some one's help.\n\n/*\n * int\n * bitncmp(l, r, n)\n * compare bit masks l and r, for n bits.\n * return:\n * ...
[ { "msg_contents": "Hi,\n\nEvery often, i analyze logs to find most slow queries... and every\ntime i found myself trying to ignore pg_dump's generated COPY commands\nwhich could be very expensive...\ncan we add a parameter in pg_dump and pg_dumpall to disable\nlog_min_duration_statement?\n\n-- \nAtentamente,\nJ...
[ { "msg_contents": "Hi,\n\nCurrently pg_start_backup() accesses the shared ControlFile\nby using ControlFileLock with LW_EXCLUSIVE lock mode. But\nsince that access is read-only operation, LW_SHARED should\nbe chosen instead of LW_EXCLUSIVE.\n\nThe attached patch changes the lock mode which pg_start_backup()\nus...
[ { "msg_contents": "Hello\n\nthis patch contains a string formatting function \"format\"\n\npostgres=# select format('some message: % (current user: %)',\ncurrent_date, current_user);\n format\n------------------------------------------------\n some message: 2010-03-09 (current user: pavel)\n...
[ { "msg_contents": "How can a pl/pgsql trigger change the\nvalues of dynamic fields in NEW record ?\n\nBy \"dynamic\" I mean that the field name\nis a variable in the trigger context.\n\nI've been told it's easy to do with pl/perl but\nI'd like to delive a pl/pgsql solution to have\nless dependencies.\n\nThanks ...
[ { "msg_contents": "Bruce Momjian wrote:\n> Tom Lane wrote:\n> > Alvaro Herrera <alvherre@commandprompt.com> writes:\n> > > It had to do with me having a bogus password in .pgpass (so psql was\n> > > first trying empty password, then the one in .pgpass, and both failing).\n> > > Pilot error. However, I'd say th...
[ { "msg_contents": "All,\n\nWhat I did:\n\n1. Set up 9.0a4 doing SR replication with a 2nd 9.0a4\n2. Ran pgbench for a while.\n3. Aborted pgbench with Ctl-C\n4. Changed vacuum_defer_cleanup_age in postgresql.conf and reloaded\n5. Ran pgbench again, and got:\n\nSidney-Stratton:pg90 josh$ pgbench -c 2 -T 300 bench...
[ { "msg_contents": "Hi,\n\nhttp://archives.postgresql.org/pgsql-hackers/2010-01/msg01672.php\nOn win32, the blocking libpq functions like PQconnectdb() and\nPQexec() are uninterruptible since they use the vanilla select()\ninstead of our signal emulation layer compatible select().\nNevertheless, currently walrec...
[ { "msg_contents": "I've run across a couple of stumbling blocks when building on Win32\n(specifically, XP + MinGW):\n\n 1. PostgreSQL's private versions of inet_aton etc. can conflict with\n similar functions in other libraries (in my case, PostgreSQL's\n inet_aton conflicts with libavformat's).\n\n 2. On...
[ { "msg_contents": "Since the buildfarm is mostly green these days, I took some time to look\ninto the few remaining consistent failures. One is that gothic_moth and\ncodlin_moth fail on contrib/tsearch2 in the 8.2 branch, with a\nregression diff like this:\n\n*** 2453,2459 ****\n <body>\n <b>Sea</b> view w...
[ { "msg_contents": "As reported in pgsql-bugs, in 9, a set returning function will raise an\nerror \"Returned type .. does not match expected type ..\" when the\nsource type does not exactly match the target type. For example\nVARCHAR(3) to VARCHAR(4) or NUMERIC(4,2) to NUMERIC(5,2). Previously,\nthis was not a...
[ { "msg_contents": "Hi Tom,\n\nWhile setting timezone using SET command (say GMT+3:30), postgres sometimes\ncrashes randomly.\nAfter debugging into the code, it is observed that if tzload() call fails in\npg_tzset() for whatever reason, the returned value of the function then have\ngarbage values for state varia...
[ { "msg_contents": "\nLast night my attention was drawn to this:\n\n<http://search.cpan.org/~timb/PostgreSQL-PLPerl-Injector-1.002/lib/PostgreSQL/PLPerl/Injector.pm>\n\nI'm wondering if we can reasonably continue to support plperl as a \ntrusted language, or at least redefine what \"trusted\" actually means. \nD...
[ { "msg_contents": "Hello\n\nThere are some wrong in our implementation NISortDictionary. After\ninitialisation is ts_cache memory context 55MB long and pg takes\n190MB.\n\ndispell_init\ncspell: 1024 total in 1 blocks; 136 free (1 chunks); 888 used\nAfter dictionary loading\ncspell: 3072 total in 2 blocks; 568 f...
[ { "msg_contents": "Hello\n\nwe are able to go down load time of ispell dictionaries if we can\nremove upper to lower transformations (and some flag check).\n\nthese operations take about 40% of dictionary initialisation time.\n\nso maybe we can thinking about some flag for ispell_dictionary - like\nclean, or so...
[ { "msg_contents": "According to htup.h:\n \n * t_self and t_tableOid should be valid if the HeapTupleData points\n * to a disk buffer, or if it represents a copy of a tuple on disk.\n * They should be explicitly set invalid in manufactured tuples.\n \nIn the heap_hot_search_buffer function of heapam.c this is n...
[ { "msg_contents": "I was looking at this recent nonrepeatable buildfarm failure:\nhttp://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=polecat&dt=2010-03-11%2021:45:10\nwhich has several instances of the known \"pgstat wait timeout\" problem\nduring the parallel regression tests.\n\nI was disappointed to see ...
[ { "msg_contents": "It seems between 8.4 and CVS HEAD backend responses 'E' packet\n(error/fatal message) if a startup packet sent with wrong user and/or\ndatabase. Before backend responses 'R' packet first followd by 'E'\npacket.\n\nDoes anybody know why this change made? I do not againt this change\nbecause th...
[ { "msg_contents": "Where are we in getting to beta1? I know people are looking to me for\n9.0 release notes and I will have them done in about a week, but what\nabout open issues? I don't see many on the main 9.0 open items page:\n\n\thttp://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items#Bugs\n\nThe list ...
[ { "msg_contents": "Hi,\n\nIn 2 of 3 pq_setkeepalives* functions we have the #DEFINE involving\neven this conditional:\n\"\"\"\n if (port == NULL || IS_AF_UNIX(port->laddr.addr.ss_family))\n return STATUS_OK;\n\"\"\"\n\nbut in pq_setkeepalivesinterval() the #DEFINE is after the\nconditional, doesn't se...
[ { "msg_contents": "Hello all,\n\nNow I'm trying to realize index in GiST. Everything is Ok, but I would like\nto know about advanced index programming options.\n1) For example - can I delete entry in my picksplit procedure ?\n2) Or to add logical conditions - when picksplit node ? For exampe change\ndefault \"...
[ { "msg_contents": "Just noticed a problem popping up sometimes with the new multi-threaded \npgbench. This is on a Linux RPM build (the alpha4 set) compiled with \n'--disable-thread-safety'. Still trying to nail down whether that's a \nrequirement for this problem to appear or not. I did most of my review \n...
[ { "msg_contents": "Hello,\n\nthis patch significantly reduces memory usage of ispell dictionaries.\n\nwithout patch (Czech dictionary, 64bit linux):\n\ncspell: 48816784 total in 5930 blocks; 89496 free (1587 chunks); 48727288 used\n Ispell dictionary init context: 19226672 total in 12 blocks; 1742624\nfree (34...
[ { "msg_contents": "It's DST transition season again, and that means that we're getting the\nusual quota of questions from people who don't quite understand how\nDST-related timestamp arithmetic works, and whose incorrect code seems\nto work until exercised during a transition interval. We've got this\none from...
[ { "msg_contents": "I had no answer from pgsql-general, so I'm reposting here.\n\nHello,\nI would like to receive comments/suggestions about this project:\nhttp://github.com/drotiro/postpic.\n\nIn short, it's an extension that enables image processing within the\ndatabase, adding a new type (image) and several f...
[ { "msg_contents": "Hi,\n I noticed a problem with the source code of 9.0Alpha 4. In parse_agg.c,\nthere is a call made to transformSortClause.\n\n00098 torder = transformSortClause\n<http://doxygen.postgresql.org/parse__clause_8c.html#53199c36a198b5acf15a26fbd7311f79>(pstate,\n00099 ...
[ { "msg_contents": "A few days ago there was a thread on one of our lists where someone\nwas suprised it took as much i/o to delete data as it took to insert\nit in the first place. At first this does seem surprising but the fact\nthat Postgres stores its transaction information inline with the data\nand does al...
[ { "msg_contents": "Hello\n\nI am testing NOTIFY statement. It have to be used from plpgsql via\nEXECUTE, because doesn't support paramaters.\n\nCan be it documented somewhere?\n\ncreate or replace function foo(a varchar)\nreturns void as $$\nbegin\n execute 'notify xxx, ' || quote_literal(a);\n return;\nend;\...
[ { "msg_contents": "The attached patch reworks access control logics corresponding\nto ALTER TABLE statement, as a groundwork for the upcoming\nenhanced security features.\n\nAs we discussed in the last commit fest, it shall be a preferable\nway to wrap up a unit of access control logics into some functions\nwhi...
[ { "msg_contents": "Hello, Pgsql-hackers.\n\nThe script:\n\nCREATE TYPE my_varchar;\n\n\nCREATE OR REPLACE FUNCTION my_varcharout(my_varchar)\n RETURNS cstring AS\n'varcharout'\n LANGUAGE 'internal' IMMUTABLE STRICT\n COST 1;\n\nCREATE OR REPLACE FUNCTION my_varcharin(cstring, oid, integer)\n RETURNS my_varc...
[ { "msg_contents": "One awkward omission in the new built-in standby mode, mainly used for\nstreaming replication, is that there is no easy way to delete old\narchived files like you do with the %r parameter to restore_command.\nThis was discussed at\nhttp://archives.postgresql.org/pgsql-hackers/2010-02/msg01003...
[ { "msg_contents": "Has anyone ever noticed that the order of pg_stat_activity timestamp\ncolumns is illogical:\n\n xact_start | timestamp with time zone |\n query_start | timestamp with time zone |\n backend_start | timestamp with time zone |\n\nquery_start is always between the other two timestam...
[ { "msg_contents": "http://uriel.edu.mx/lN6qt08X2v.html\n \t\t \t \t\t \n_________________________________________________________________\nIM on the go with Messenger on your phone\nhttp://go.microsoft.com/?linkid=9712960\n\n\n\n\nhttp://uriel.edu.mx/lN6qt08X2v.html Don't miss a beat Get Messenger on your ph...
[ { "msg_contents": "Hello\n\nattached patch add possibility to share ispell dictionary between\nprocesses. The reason for this is the slowness of first tsearch query\nand size of allocated memory per process. When I tested loading of\nispell dictionary (for Czech language) I got about 500 ms and 48MB.\nWith simp...
[ { "msg_contents": "Log Message:\n-----------\nPrevent the injection of invalidly encoded strings by PL/Python into PostgreSQL\nwith a few strategically placed pg_verifymbstr calls.\n\nModified Files:\n--------------\n pgsql/doc/src/sgml:\n plpython.sgml (r1.45 -> r1.46)\n (http://anoncvs.postgr...
[ { "msg_contents": "It is a bug report in a corner case.\n\nWhen we assign \"SECURITY DEFINER\" attribute on plpgsql_call_handler(),\nit makes server process crashed.\n\n postgres=# ALTER FUNCTION plpgsql_call_handler() security definer;\n ALTER FUNCTION\n\n postgres=# CREATE FUNCTION foo(text) RETURNS text A...
[ { "msg_contents": "Hello\n\nI wrote some small patch, that allow preloading of selected ispell\ndictionary. It solve the problem with slow tsearch initialisation with\nsome language configuration.\n\nThis patch is most simple - simpler than variant with shared memory\nand it is usable on Linux platform.\n\nI r...
[ { "msg_contents": "Log Message:\n-----------\nReset btpo.xact following recovery of btree delete page. Add btpo_xact\nfield into WAL record and reset it from there, rather than using\nFrozenTransactionId which can lead to some corner case bugs.\n\nProblem report and suggested route to a fix from Heikki, details...
[ { "msg_contents": "Howdy folks, \n\n\tI'm very happy to announce that the Postgres project has been selected to \nparticipate in this years Google Summer of Code program. Over the next couple \nweeks we'll be looking to solidify our mentor base; if you work on Postgres \nand would be willing to mentor a studen...
[ { "msg_contents": "Hi all,\n\nexplain\nselect v from (\nselect array(\n select 1\n union all\n select 2) as v\nfrom (select 1) ) as s\nwhere v is not null;\n\nThe plan looks like:\n\n QUERY PLAN\n--------------------------------------------------------\n Result (cost=...