threads
listlengths
1
2.99k
[ { "msg_contents": "Hi, everybody!\n\nRunning the same query on pg 8.2 through EXPLAIN ANALYZE takes 4x-10x time as running it without it.\nIs it ok?\n\n\nExample:\n\ntesting=> select count(*) from auth_user;\n count \n---------\n 2575675\n(1 row)\n\nTime: 1450,829 ms\ntesting=> explain analyze select count(*)...
[ { "msg_contents": "Permissions on a trigger function seem not to be checked,\nand I can execute a function for which I have no privileges.\n\nI consider this a security leak - or am I missing something?\n\nHere is a complete example:\n\nAs superuser, create a trigger function that selects from pg_authid\nwith S...
[ { "msg_contents": "The opr_sanity test checks the following:\n\n-- Considering only built-in procs (prolang = 12), look for multiple uses\n-- of the same internal function (ie, matching prosrc fields). It's OK to\n-- have several entries with different pronames for the same internal function,\n-- but conflicts...
[ { "msg_contents": "Folks,\n\nThe Center for Internet Security (http://www.cisecurity.org/) will be \npreparing a set of recommendations for securing PostgreSQL which will then \nbe distributed to the US Government, as well as being available to our \ncommunity. For the initial draft, I need some volunteer hac...
[ { "msg_contents": "Hi.\n\nI was doing the field test of Slony-I 1.2.2 release now.\nHowever, I encounter the problem of timestamp.:-(\nWas anyone recognizing this problem?\n\nVer 8.1.5\nsaito=# select 'Fri Dec 15 14:26:05.502000 2006 JST'::timestamp;\n timestamp\n-------------------------\n 2006-12-15 14...
[ { "msg_contents": "> Here's the diff for configure.in that works for me.\n\nI have a concern about this patch:\n\n> if test \"$enable_thread_safety\" = yes; then\n> # on some platforms ldap_r fails to link without PTHREAD_LIBS\n> AC_CHECK_LIB(ldap_r, ldap_simple_bind, [],\n> \t\t [AC_M...
[ { "msg_contents": "Peter Eisentraut wrote:\n> Tom Lane wrote:\n>> Peter Eisentraut <peter_e@gmx.net> writes:\n>>> Tom Lane wrote:\n>>>> The question in my mind is what privilege to check and when.\n>>>\n>>> By extrapolation of the SQL standard, I'd say we'd need to check\n>>> the EXECUTE privilege of the functi...
[ { "msg_contents": "Olivier PRENANT wrote:\n\n>> You left out the case where --enable_thread_safety is specified.\n>> In that case, the frontend has to be linked with libldap_r.so\n>> instead of libldap.so.\n>\n> Yes, this was on purpose, my goal is to try to make a second \n> patch when...\n>\n>> Does libldap_r...
[ { "msg_contents": "Martijn van Oosterhout wrote:\n>> I guess that adding $EXTRA_LDAP_LIBS to -lldap_r will be enough,\n>> judging from the evidence on Linux.\n> \n> Linux doesn't need the extra libraries, it's linked properly.\n\nYes - what I mean is, libldap_r.so references only\n NEEDED libsasl.so.7\n ...
[ { "msg_contents": "Hackers,\n\n \n\nI had a server reboot for an unknown reason, after the server restarted one\nof the disks was not mounted before Postgresql tried to start. The startup\nfailed (see log below), after I mounted the disks and tried to start\nPostgresql again there was a HINT about corrupted da...
[ { "msg_contents": "Log Message:\n-----------\nPut JST back into the default set of timezone abbreviations;\nwas removed in an unexplainable moment of brain fade.\n\nTags:\n----\nREL8_2_STABLE\n\nModified Files:\n--------------\n pgsql/src/timezone/tznames:\n Asia.txt (r1.2 -> r1.2.2.1)\n (http:...
[ { "msg_contents": "Hi All,\n\nI'm trying to generate italian dictionary templates for tsearch2 \nwithout success.\n\nThese are the steps I do:\n\n1) cd PGSQL_SRC/contrib/tsearch2/gendict\nwget http://snowball.tartarus.org/algorithms/italian/stem.c\nwget http://snowball.tartarus.org/algorithms/italian/stem.h\n....
[ { "msg_contents": "Hi All.\n\n I just looked this email from postgress sql site and wanted to\n ask you a question. I would be obliged if you could help me understand\n the duplicate key insertion behaviour correctly in Post gress SQL.\n\n The question is related to Btree [Leman and Yao] implementation\...
[ { "msg_contents": "GIST and GIN currently set their amstrategies entries to 100, which is\na completely arbitrary number, since these index AMs don't impose any\nparticular interpretation on operator strategy numbers. Usually it's\nfar too large and results in wasted space in relcache entries. But it's\nnot i...
[ { "msg_contents": "Hello,\n\nis possible take names and types of returned columns of prepared plan? I \nneed it, for implementation ANSI SQL FOR statement. Descr:\n\nFOR SELECT a,b,c FROM Foo DO\n PRINT a,b,c; -- inside stmt body a,b,c are local variables\nEND LOOP;\n\nI have to get this list in compile time....
[ { "msg_contents": "Hi,\n\nI want to ask, which development environment should I use to add new features to postgresql. Is Eclipse CDT (C/C++ Development Tool) suitable for this, or are you using another environment, or just using pico, vi, etc.?\n\nRegards,\n\n\n\n\n\n___________________________________________...
[ { "msg_contents": "Hi,\n\nPostgreSQL 8.2 is out of the door. Unfortunately the plans for a more \ndetailed todo list have not come into reality yet to assist in for the \nnext 8.3 release. A couple people have replied to my earlier request to \nform a little team willing to work on this, but unfortunately peopl...
[ { "msg_contents": "I am also usually working with a simple editor and command line, but because the postgresql project is too big for a person who is looking at the source code for the first time, I thought it will be simpler using a tool like CDT, because jumping directly to a function definition that he wants...
[ { "msg_contents": "Hello,\n\nI'm testing the recently changes of WAL entries for freezing-tuples.\nVACUUM FREEZE took more time. The cause seems to be flushing WAL buffers.\n\nVacuuming processes free buffers into freelist. The buffers in freelist is\npreferentially used on next allocation of buffers. Then, if ...
[ { "msg_contents": "Hello,\n\nSorry for this noisy mail. If there is more appropriate address to\nsend to, please tell me.\n\nI sent one mail about load-distributed checkpoint three times on the\nfollowing dates as I couldn't see the mail on the ML:\n\n2006/12/16 17:53\n2006/12/18 9:07\n2006/12/18 12:10\n\nBut ...
[ { "msg_contents": ">>> If libldap_r.so does require the same libs, please add\n$EXTRA_LDAP_LIBS\n>>> to the 'LDAP_LIBS_FE=\"-lldap_r\"' line as well.\n>>\n>> Actually, I did that in the patch-as-committed. It seems to me that\n>> it's probably harmless even if not needed.\n>\n> I have tried --with-thread-safet...
[ { "msg_contents": "Hi there,\n\nI'm a bit confused with the quoting, see below:\n\ncontrib_regression=# ALTER OPERATOR CLASS pg_catalog.int4_ops USING btree OWNER TO megera;\ncontrib_regression=# ALTER OPERATOR CLASS \"pg_catalog.int4_ops\" USING btree OWNER TO megera;\nERROR: operator class \"pg_catalog.int4_...
[ { "msg_contents": "\nI've been fooling with catalog entries here and I've obviously done something\nwrong. But I'm a bit frustrated trying to debug initdb. Because of the way it\nstarts up the database in a separate process I'm finding it really hard to\nconnect to the database and get a backtrace. And the debu...
[ { "msg_contents": "I asked this on a pgcluster forum at pgfoudry a few days ago, but no one\nresponded:\n\nWhen I apply pgcluster-1.7.0rc1-patch to Postgres REL8_2_STABLE I get a\nhandful of rejects. Is this to be expected, or should I be applying\nagainst some different source?\n", "msg_date": "Mon, 18 Dec...
[ { "msg_contents": ">>> I have tried --with-thread-safety and configure fails on ldap check\n>>> because for some reason CTHREAD_FLAGS (-Kpthread for UW) is missing\n>>> on compile command, although present before that. I can't find why\n>>\n>> You mean PTHREAD_FLAGS, right?\n>>\n> Nope,I mean PTHREAD_CFLAGS wit...
[ { "msg_contents": "I ran into a situation with the query that needs to fetch the last\nrecord from the table.\nThe table schema wasn't really designed to support this, (no serial id,\nor anything else I could use)\nso SQL makes use of max(create_date) which has a resolution of 1 second\nand thus allows for dupl...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nIs there a general strategy out there for removing dead rows on\nbusy databases? I've learned that both a vacuum and a vacuum full\nwill not remove dead rows if there is an open transaction anywhere\non the entire cluster. Closing open tra...
[ { "msg_contents": "In the online documentation for 8.2, pg_dump page, --table=table section, in the second\n\"Note:\" paragraph, \"rather than the old locution of -n sch -t tab\" probably should be\n\"rather than the old location of -n sch -t tab\"\n\n\nAlso maybe this section on pg_dump in the release notes pa...
[ { "msg_contents": "Is there any special reason why I can't use \"Mb\" and \"Gb\" and such for\neffective_cache_size, the way I can for say shared_buffers?\n\n//Magnus\n", "msg_date": "Mon, 18 Dec 2006 21:45:43 +0100", "msg_from": "Magnus Hagander <magnus@hagander.net>", "msg_from_op": true, "msg...
[ { "msg_contents": "Hi all,\n\nI am still trying to roll my own auto vacuum thingy. The goal is to \nvacuum on demand in one step just like the old days, but not hit the \ntables that never change (we have a lot). The idea now is to use a \ncombination of SQL and shell scripts to duplicate some of what auto \n...
[ { "msg_contents": "Hi all\n\nHere is an updated version of the enums patch. It has been brought up to \ndate and applies against current CVS HEAD. The original email is at [1], \nand describes the implementation.\n\nThis version contains sgml documentation, and contains the missing \nbounds checks and error cod...
[ { "msg_contents": "one of our customers here found a bug in PL/pgSQL.\nthis is how you can create this one:\n\nCREATE OR REPLACE FUNCTION \"public\".\"make_victim_history\" () RETURNS \ntrigger AS $body$ DECLARE\n\nschemarec RECORD;\nexec_schemaselect text;\ncurs2 refcursor;\n\nBEGIN\n\n exec_schemaselec...
[ { "msg_contents": "Greetings,\n\n Subject pretty much says it all. I've put up with this error in the\n past when it has caused me trouble but it's now starting to hit our\n clients on occation which is just unacceptable.\n\n The way I've seen it happen, and this is just empirically so I'm not\n sure that...
[ { "msg_contents": "I have updated my Synchronized Scan patch and have had more time for\ntesting.\n\nGo to http://j-davis.com/postgresql/syncscan-results10.html\nwhere you can download the patch, and see the benchmarks that I've run.\n\nThe results are very promising. I did not see any significant slowdown\nfor...
[ { "msg_contents": "I have written an article about the complexities of companies\ncontributing to open source projects:\n\n\thttp://momjian.us/main/writings/pgsql/company_contributions/\n\nIf you have any suggestions, please let me know. I am going to add a\nlink to this from the developer's FAQ.\n\n-- \n Bru...
[ { "msg_contents": "The 8.2.0 release went well. We spent a month more in beta than we\nplanned, but that time helped to eliminate many bugs, and many that had\nexisted in previous PostgreSQL major releases as well. We have had very\nfew bug reports for 8.2.0, and will be doing a minor release in 1-2\nweeks to...
[ { "msg_contents": "I would like to create an ODBC DSN for a user to export files rom Acccess to \na safe area. Right now, all tables are being dumped to public by default.\n\nIn order to use the one-click export option for Access, I would like to have \nthe connection for the ODBC DSN file change the default se...
[ { "msg_contents": " When psql is running and CRTL + \\ is pressed, a core dumped show up.\nIn first place I ran psql into gdb, saw the backtrace and I believed\nit was a libc6 bug and I reported to my distro security team\nhttps://launchpad.net/distros/ubuntu/+source/glibc/+bug/76437\n\n Ubuntu edgy has got li...
[ { "msg_contents": "Probably a silly question, but better safe than sorry:\n\nAFAICS there's no way for PQencryptPassword() to see what encoding\napplies. Are we quite sure that that is not a problem? Or are passwords\nASCII-only?\n\n\nJeroen\n\n\n", "msg_date": "Wed, 20 Dec 2006 10:58:36 +0700 (ICT)", ...
[ { "msg_contents": "I'm teaching a class this week and a student asked me about OIDs. He \nrelated the story of how in Sybase, if you moved a database from one \nserver from another, permissions got all screwed up because user IDs \nno longer matched. I explained that exposing something like an \ninteger ID ...
[ { "msg_contents": "The documentation at\nhttp://www.postgresql.org/docs/8.2/interactive/config-setting.html states\nthat:\n\nBoolean values may be written as ON, OFF, TRUE, FALSE, YES, NO, 1, 0 (all\ncase-insensitive) or any unambiguous prefix of these.\n\nBut the following doesn't work:\n\npostgres=# set enabl...
[ { "msg_contents": "As a starting point, you can look at these two functions:\n\nsrc/backend/optimizer/path/indxpath.c : find_usable_indexes()\nsrc/backend/optimizer/util/pathnode.c : add_path()\n\nHope this helps.\n\n\nOn 12/20/06, Felipe Rondon Rocha <frondon@globo.com> wrote:\n>\n> Hi,\n>\n> can you halp me?\...
[ { "msg_contents": "We (Oleg and me) are glad to present tsearch2 in core of pgsql patch. In basic, \nlayout, functions, methods, types etc are the same as in current tsearch2 with a \nlot of improvements:\n\n - pg_ts_* tables now are in pg_catalog\n - parsers, dictionaries, configurations now have owner and n...
[ { "msg_contents": "\n-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\n\nI'm encountering some disconcerting problems on a 8.1.3 database.\nVery occasionally, I get a \"could not open relation with OID xxx\".\nThis always occurs inside of a plpgsql function, and always refers\nto a normal, stable table that has...
[ { "msg_contents": "I was looking at upgrading to 8.2, but I make extensive use of the IP4\nmodule. It doesn't make properly due to the changes in the inet/cidr\ntypes, notably the removal of the type (is_cidr) field of the\ninet_struct, which the module uses when casting: ip4_cast_to_cidr,\nip4r_cast_to_cidr,...
[ { "msg_contents": "This patch consists of two c functions to expose n_live_tuples and\nn_dead_tuples, SQL functions to expose them to SQL land, and \ncorresponding fields added to pg_stat_all_tables.\n\nThis has been discussed in general. The purpose is to allow \nautovacuum-esq conditional vacuuming and clust...
[ { "msg_contents": "\n\nOn Wed, 20 Dec 2006 17:49:15 +0100, Kaare Rasmussen <kaare@jasonic.dk> wrote:\n> I'm not sure, but as far as I remember, it will be a short release cycle\n> for\n> 8.3 in order to finish some big items that couldn't be ready in time for\n> 8.2.\n>\n> But which items are more or less expec...
[ { "msg_contents": "Couldnt find a replication system that worked and did what I wanted, so I made one.\n\nIf you would like to give my humble creation a try...\n\nhttp://spar.orgfree.com/index.html\n\nIts working for me.... oh yes... its free... naturally :)\n\nRegards\nJohnny\n\n\n\n\n\n\nCouldnt find a replic...
[ { "msg_contents": "For 8.3 my goal is to improve the performance of single row operations,\nsuch as\n\tINSERT INTO foo ... VALUES (...)\n\tUPDATE foo SET .... WHERE <unique index> = <values>\n\tDELETE FROM foo WHERE <unique index> = <values>\n\nOLTP Assumptions\n- all statements are prepared first, then exe...
[ { "msg_contents": "Hi,\n\nIn PostgreSQL 8.2, log_statement display actual parameters value which is \nvery neat as in\nDETAIL: parameters: $1 = '1', $2 = NULL\n\nCurrently I used log_statement='all' to display all statements and their \nparameters but\nthat produced a lot of output and I am really only interes...
[ { "msg_contents": "Log Message:\n-----------\nInitial SQL/XML support: xml data type and initial set of functions.\n\nModified Files:\n--------------\n pgsql:\n configure (r1.525 -> r1.526)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/configure.diff?r1=1.525&r2=1.526)\n configure....
[ { "msg_contents": "Couldnt find a replication system that worked and did what I wanted, so I made one.\n\nIf you would like to give my humble creation a try...\n\nhttp://spar.orgfree.com/index.html\nRegards\nJohnny\n\n\n\n\n\n\n\nCouldnt find a replication system that worked and \ndid what I wanted, so I made o...
[ { "msg_contents": "I created a CMD_UTILITY, which upon being executed by the user should do the \nfollowing atomically:\n1- drops a table\n2- deletes from another table all rows with a certain criterion: \"DELETE \nFROM pg_t1 WHERE att = val\"\n3- deletes from a third table all rows with a certain criterion: \"...
[ { "msg_contents": "Hello,\n\nI see las actualisation from 18. december\n\nregards\nPavel Stehule\n\n_________________________________________________________________\nChcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/\n\n", "msg_date": "Fri, 22 Dec 2006 08:48:20 +0100", "msg_from": "\...
[ { "msg_contents": "Hello,\n\nI try to compile postgres with SQL/XML, but I finished on\n\nchecking libxml/parser.h usability... no\nchecking libxml/parser.h presence... no\nchecking for libxml/parser.h... no\nconfigure: error: header file <libxml/parser.h> is required for XML support\n\nI have Fedora Core 6, an...
[ { "msg_contents": "Hello,\n\nwhy xmlagg is missing in SQL/XML support?\n\nRegards\nPavel Stehule\n\n_________________________________________________________________\nCitite se osamele? Poznejte nekoho vyjmecneho diky Match.com. \nhttp://www.msn.cz/\n\n", "msg_date": "Fri, 22 Dec 2006 10:07:57 +0100", "...
[ { "msg_contents": "I adjusted my buildfarm config (mongoose) to attempt to build HEAD\n--with-libxml. I added the following to build-farm.conf:\n\nif ($branch eq 'HEAD' || $branch ge 'REL8_3')\n{\n push(@{$conf{config_opts}},\n\"--with-includes=/usr/include/et:/usr/include/libxml2\");\n push(@{$conf{co...
[ { "msg_contents": "I have a dual G4 1.25Ghz with 2GB RAM running Mac OSX 10.4.8 and\nPostgreSQL 8.2.0\n\nThis only happened to me today and with everything I have tried it \nalways happens now - had been running fine before.\n\nThe only thing I can think of that has changed in the last few days is I\nhave insta...
[ { "msg_contents": "Hi,\n\nI want to write a function that takes the raw parsetree and rewrites it according to my rules, then produce new raw parsetrees.\n\nI will call this function inside backend/tcop/postgres.c . I wrote an header file called my_rewriter.h and include this inside postgres.c.\n\nmy_writer.h l...
[ { "msg_contents": "Hi everyone\n\nI'm trying to test libxml on UnixWare and came with this problem:\n\nBackend crashes with the follolwing log during make check when libxml is\nenabled.\n\nparallel group (13 tests): text boolean name char int2 varchar int8 float8 oid float4 int4 bit numeric\n boolean ...
[ { "msg_contents": "I want to collect all XML todo issues (from my list, from Peter's and\nthose Tom just described in \"Loose ends in PG XML patch\") in one\nplace, to make the overall picture clear for everyone.\nHow can I gain access to developers wiki? (Actually, I've created the\npage\"XML Todo\" - http://d...
[ { "msg_contents": "Hi List(s);\n\nI'm wanting to find more details per the following methods, can someone \nexplain to me exactly what each of these methods is, how its implemented in \npostgres or point me to some docs or README's that explain these methods?\n\nSome of 'em are obviously no-brainers but I'm wri...
[ { "msg_contents": "Installing postgresql 8.2.0 on Windows XP Pro SP2 using the msi installer dated 2006-12-04, with libeay32.dll and ssleay32.dll (both dated 2005-07-06) (and libiconv-2.dll, libintl-2.dll, and libpq.dll) from a previous installation (of version 8.0.5) already present in c:\\windows\\system32. T...
[ { "msg_contents": "Hi all,\nI'm new to the forums, so bear with me on my questions. I've set up an\nauto-archive and auto-recover pair of databases using pg_standby, which\nI'm prototyping various products for high availability. I've noticed\nthat when I attempt to fail from the primary archiver to the secondar...
[ { "msg_contents": "I looked into the bug reported by Jean-Pierre Pelletier here:\nhttp://archives.postgresql.org/pgsql-bugs/2006-12/msg00163.php\nThe cause of the crash is a reference to an already-deallocated\nTupleDesc. The problem query has the structure of\n\n\tSELECT sum(x) FROM (complicated-subselect) GR...
[ { "msg_contents": "win32.h says\n\n/*\n *\tSignal stuff\n *\tWIN32 doesn't have wait(), so the return value for children\n *\tis simply the return value specified by the child, without\n *\tany additional information on whether the child terminated\n *\ton its own or via a signal. These macros are also used\n ...
[ { "msg_contents": "Several of the buildfarm machines are exhibiting repeatable signal 11\ncrashes in what seem perfectly ordinary queries. This started about\nfour days ago so I suppose it's got something to do with my\noperator-families patch :-( ... but I dunno what, and none of my own\nmachines show the fai...
[ { "msg_contents": "http://www.postgresql.org/docs/8.2/interactive/ddl-system-columns.html\nhas the following statement about ctid:\n\n\"The physical location of the row version within its table. Note that\nalthough the ctid can be used to locate the row version very quickly, a\nrow's ctid will change each time ...
[ { "msg_contents": "Hello,\n\nWhat is the status of supporting the \"WITH\" keyword?\n\n-- \nEdwin S. Ramirez, Senior Developer\nInformation Technology Department - ITDC\nMount Sinai Medical Center\nedwin.ramirez@mssm.edu * 646-217-3112\n\n", "msg_date": "Tue, 26 Dec 2006 12:50:19 -0500", "msg_from": "Ed...
[ { "msg_contents": "I've been skimming through the bitmap index patch...\n\nA scan needs to access at least five pages:\n\n1. B-tree index (root+others, depending on depth)\n2. The auxiliary heap page\n3. bitmap index meta page\n4. LOV page\n5. bitmap page\n\nThat seems like a lot of indirection. A high startup ...
[ { "msg_contents": "Log Message:\n-----------\nFix failure due to accessing an already-freed tuple descriptor in a plan\ninvolving HashAggregate over SubqueryScan (this is the known case, there\nmay well be more). The bug is only latent in releases before 8.2 since they\ndidn't try to access tupletable slots' d...
[ { "msg_contents": "Hi,\nThis simple patch lets someone specifies the xlog directory at initdb\ntime. It uses symlinks to do it, and create and/or set permissions at\nthe directory as appropriate.\n\n-- \n Euler Taveira de Oliveira\n http://www.timbira.com/", "msg_date": "Tue, 26 Dec 2006 23:56:37 -0200", ...
[ { "msg_contents": "I am sending the patch for the following TODO item:\nAllow the identifier length to be increased via a configure option\n\nDuring the configuration time, the user can set the identifier length.\n./configure.txt --with-identlen=128\n\nHowever, I am not clear about the requirement.\nCan somebod...
[ { "msg_contents": "Hi,\n\nI want to add my .c and .h source files into the postgresql project. What kind of changes should I make with the Makefiles. It seems that, it is not enough just to add the object file of the C files into the Makefile.\n\nCan anyone help to me please?\n\nkind regards,\n\ndakotali\n\n\n\...
[ { "msg_contents": "<!-- DIV {margin:0px;}-->Hi,\n\nI have one source and one header file which are called my_writer.h and my_writer.c. I included my_writer.h inside postgres.c and do the implementation of declared functions inside my_writer.c. When I include, some other header files of postgresql (like nodes/pg...
[ { "msg_contents": "I have made some more progress on this patch. I have fixed the issue\nwith aggregates:\n\n\ttest=> select avg(ff) from tt;\n\tERROR: type \"double precision\" value out of range: overflow\n\nand tested the performance overhead of the new CheckFloat8Val() calls\nthe fix requires using:\n\n\t...
[ { "msg_contents": "I notice that the latest pgindent run has decided that comments attached\nto \"else\" should be moved onto the next line, as in this example in\nsrc/bin/psql/mbprint.c:\n\n {\n linewidth += 4;\n format_size +...
[ { "msg_contents": "Hello,\n\nPer the TODO list:\n\nAllow pg_hba.conf to specify host names along with IP addresses \n\nHost name lookup could occur when the postmaster reads the pg_hba.conf\nfile, or when the backend starts. Another solution would be to reverse\nlookup the connection IP and check that hostname ...
[ { "msg_contents": "Folks,\n\nWhile using DBI-Link, I've noticed a little lacuna in how functions\nreturning (SETOF) RECORD work, namely, that you have to cast them to\nexplicit lists of columns, even when that list of columns corresponds\nto an existing complex type.\n\nWhat would be involved in fixing the cast...
[ { "msg_contents": "Hello,\n\nNTT staffs are working on TODO item:\n| Create a bitmap of pages that need vacuuming\n\nWe call the bitmap \"Dead Space Map\" (DSM), that allows VACUUM to scan\nonly pages that need vacuuming or freezing. We'd like to discuss the\ndesign on hackers and make agreements with community...
[ { "msg_contents": "Hello,\n\nI'd like to propose a new feature, Deadline-Based Vacuum Delay, the\nsyntax is something like \"VACUUM IN 6 HOURS\".\n\nVacuum is a non-trivial task to be performed. The database needs to be\nvacuumed before the system performance suffers from the garbage; it also\nneeds to ensure t...
[ { "msg_contents": "Hi,\n\nMy application is unable to connect to the postgresql database since the database is throwing fallowing error:\n\nUnspecified error: FATAL: 1 trigger record(s) not found for relation \"pg_shadow\"\n - PgOleDb; SQL= Error number: 80004005 FATAL: 1 trigger record(s) not found for rela...
[ { "msg_contents": "Hello,\n\nIs this really a TODO or is this someone being overzealous with the TODO\nlist?\n\nJoshua D. Drake\n\n-- \n\n === The PostgreSQL Company: Command Prompt, Inc. ===\nSales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240\nProviding the most comprehensive PostgreSQL so...
[ { "msg_contents": "Isn't this done?\n-- \n\n === The PostgreSQL Company: Command Prompt, Inc. ===\nSales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240\nProviding the most comprehensive PostgreSQL solutions since 1997\n http://www.commandprompt.com/\n\nDonate to the PostgreSQL Pro...
[ { "msg_contents": "Hello,\n\nWhat is the consideration here? I read the thread and it appears that\nOpenSSL is not compatible with GPL? But we don't care about that right?\nThe OpenSSL looks pretty BSDish to me, expect the advertising clause (is\nthat what caused XFree86.org to fork?).\n\nSincerely,\n\nJoshua D...
[ { "msg_contents": "Attached patch adds support for the recent XML-in-backend stuff to the\nMSVC build. Most config stuff was already present for contrib/xml2, but\nneeded to add the includes and defines to the backend build as well.\n\n//Magnus", "msg_date": "Fri, 29 Dec 2006 14:35:00 +0100", "msg_from"...
[ { "msg_contents": "The WITH that I am thinking about, lets you define and reuse queries which are executed once. For example: \n\nWITH\n MySummary AS (*SELECT b.dept_name, Sum(Salary) AS total_sal FROM emp a join dept b on (a.dept_id = b.dept_id) \n\t\t GROUP BY b.dept_name*)\n SELECT dept_name, total_sal ...
[ { "msg_contents": "\nI see the above-mentioned files in src/backend/utils/misc. A diff shows\nthe following:\n\n$ diff postgresql.conf.sample.orig postgresql.conf.sample\n223a224\n> log_destination = 'syslog'\n302a304\n> silent_mode = on\n363a366,367\n> \n> autovacuum = on\n\nWhat's the purpose of postgresql.c...
[ { "msg_contents": "Oneliner that adds the capability to deal with defines that set string\nvalues - \" needs to be quoted in XML.\n\n//Magnus", "msg_date": "Fri, 29 Dec 2006 21:59:08 +0100", "msg_from": "Magnus Hagander <magnus@hagander.net>", "msg_from_op": true, "msg_subject": "Small vcbuild p...
[ { "msg_contents": "So I've got this patch (attached, against 8.2)\n\nThe goal is to track temp file usage as an aid to server tuning (such as\nwork_mem)\n\nMost of the patch seems to work just dandy, except I'm getting weird\nsizes reported:\n\n2006-12-29 17:46:21 EST [45558]: [575-1] LOG: temp file: size 1407...
[ { "msg_contents": "The comment above TOAST_INDEX_HACK in tuptoaster.h is:\n\n/*\n * This enables de-toasting of index entries. Needed until VACUUM is\n * smart enough to rebuild indexes from scratch.\n */\n#define TOAST_INDEX_HACK\n\nDo we already have a TODO item to remove this hack? If not, I think there\nsh...
[ { "msg_contents": "This just so that somebody looking for TODO items in the source can find\nthis one too.\n\nRegards,\n\n-- \ngurjeet[.singh]@EnterpriseDB.com\nsingh.gurjeet@{ gmail | hotmail | yahoo }.com", "msg_date": "Sun, 31 Dec 2006 13:48:52 +0530", "msg_from": "\"Gurjeet Singh\" <singh.gurjeet@gm...
[ { "msg_contents": ">> I uninstalled postgresql, removed the 5 files mentioned above from\n>> system32. When I installed 8.2.0 again, the installer reported that\n>> \"The installer has detected an incompatible version of OpenSSL\n>> installed in your system PATH. PostgreSQL requires OpenSSL 0.9.7 or\n>> later. ...
[ { "msg_contents": "Hi,\n\nhttp://archives.postgresql.org/pgsql-committers/2005-11/msg00183.php\n\nthis one removes the original algorithm name of access method from\ncreate_index.sqml. why?\nwas that readded somewhere else?\n\n\n-- \nregards,\nJaime Casanova\n\n\"Programming today is a race between software eng...
[ { "msg_contents": "Hi,\n\nHere are patches against tsearch2 with CVS head. Currently tsearch2\ndoes not work with multibyte encoding which uses C locale. These\npatches are intended to solve the problem by using PostgreSQL in-house\nmultibyte function instead of mbstowcs which does not work with C\nlocale. Als...
[ { "msg_contents": "I'm wondering if Gevik has had any time for further work on\nhttp://archives.postgresql.org/pgsql-hackers/2006-09/msg01738.php ?\n\nFWIW, I'm running into this trying to create a 'raw' domain that would\nautomagically convert hex strings into actual binary data for storage in\na bytea. My int...
[ { "msg_contents": "The SQL2003 spec adds optional \"NULLS FIRST\" and \"NULLS LAST\" modifiers\nfor ORDER BY clauses. Teodor proposed an implementation here:\nhttp://archives.postgresql.org/pgsql-patches/2006-12/msg00019.php\nwhich I didn't care for at all:\nhttp://archives.postgresql.org/pgsql-hackers/2006-12...
[ { "msg_contents": "I will start processing the patches held for 8.3 this week or next, now\nthat the holiday break is over:\n\n\thttp://momjian.postgresql.org/cgi-bin/pgpatches_hold\n\n-- \n Bruce Momjian bruce@momjian.us\n EnterpriseDB http://www.enterprisedb.com\n\n + If your life is a hard drive, Chr...
[ { "msg_contents": "I came across this when looking through the patches_hold queue link that\nBruce sent out.\n\nhttp://momjian.us/mhonarc/patches_hold/msg00162.html\n\nThere is no patch or anything associated with it, just the suggestion that\nit be put in when 8.3 devel starts up.\n\nJust thought I'd put this ...
[ { "msg_contents": "I have been able to crash the database consistently on a Fedora Core 5 \nmachine running postgresql 8.2.0.\n\nThe attached files are an example database (crash.shema) and the query \nthat is used (crash.sql) as well as the log output from turning on all the \ndebugging (crash.log).\n\nI have ...