threads
listlengths
1
2.99k
[ { "msg_contents": "\nIs there an HTML standard that we try to follow in our HTML docs such as \nFAQs?\n\nIf there isn't an explicit standard, may I suggest that we adopt XHTML \n1.0 as the standard?\n\nAlso, I notice non-breaking spaces inserted in apparently odd spots in \nFAQ_MINGW.html - is there a particula...
[ { "msg_contents": "I have verfied this bug exists in all pg_restore versions greater than 8.0.0\nSomeone else reported it way back in Feb:\nhttp://groups.google.com/group/mailing.database.pgsql-bugs/browse_thread/thread/4dacdd43b894a2c3/e59e3203bb22745b?lnk=st&q=pg_restore+password+authentication+failed&rnum=9&...
[ { "msg_contents": "in the past we have faced a couple of problems with corrupted system \ntables. this seems to be a version independent problem which occurs on \nhackers' from time to time.\ni have checked a broken file and i have seen that the corrupted page has \nactually been zeroed out.\n\nmy question is: ...
[ { "msg_contents": "Hi,\n\nI have tried to post the following question in the general\nmalinglist, but haven't got any respons. I really hope\nsome pgsql-developer can help.\nBtw. this is my first mail to this list, so please bear\nwith me.\n\nI'm a computer science student doing a thesis on paging\nalgorithms, ...
[ { "msg_contents": "So far, we have tended to use -fpic to compile position-independent code \nuntil we have received some sort of overflow that forced the use of \n-fPIC. Since 8.0, the makefiles to build shared libraries are also \navailable to external modules through the pgxs system, so we cannot \nexactly ...
[ { "msg_contents": "I've recently been taking another look at the test case shown here:\nhttp://archives.postgresql.org/pgsql-performance/2004-04/msg00280.php\nThis is the infamous \"context swap storm\" problem that we've hacking\nat for so long. After the 8.1 buffer manager redesign, the problem\nof contentio...
[ { "msg_contents": "The test case I just posted shows that our spinlock code, which we had\nthought largely done, is once again becoming a performance bottleneck.\nIt's time to resurrect some of the ideas we kicked around in early\n2002, and didn't pursue because we decided spinlocks weren't our major\nperforman...
[ { "msg_contents": "I need a way to tell how many pages loaded from disk for a particular\nindex seek operation.\n\nWhat I did is to set a global flag to true before calling the\nfollowing statement\n(inside index_getnext() in \"/backend/access/indexam.c\")\n\n found = DatumGetBool(FunctionCall2(&scan->fn_getne...
[ { "msg_contents": "Dear friends and all,\n\nJohnathan Gardner did a wonderful job on materialized views:\nhttp://jonathangardner.net/PostgreSQL/materialized_views/matviews.html\n\nAre there any plans to integrate materialized views written in plain C in the \nfuture. This can help gain a lot of time in Web appl...
[ { "msg_contents": "Dear friends and all,\n\nJohnathan Gardner did a wonderful job on materialized views:\nhttp://jonathangardner.net/PostgreSQL/materialized_views/matviews.html\n\nAre there any plans to integrate materialized views written in plain C in the \nfuture. This can help gain a lot of time in Web appl...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Tino Wildenhain\n> Sent: Monday, September 12, 2005 3:04 AM\n> To: jm@poure.com\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Materialized ...
[ { "msg_contents": "Is there any documentation out there regarding the process used by the\npostgreSQL development team on how Autoconf is used to create template\nfiles for configuration of different operating systems (e.g. MinGW on\nWindows, Red Hat Linux, etc.) and/or different hardware systems (e.g.\nIntel p...
[ { "msg_contents": "\nOur customer reported a problem resulting from the hard drive failure.\nDatabase server would not start, generating this message:\n PANIC: The database cluster was initialized with LC_COLLATE\n'en_US.ISO8859-1',\n which is not recognized by setlocale().\n It looks like you need to initdb...
[ { "msg_contents": "Just occurred to me: perhaps we don't have a database corruption,\ninstead after replacement of the boot drive the locale on the host\nchanged from\nen_US.ISO8859-1 to 'C'\n\nStill I am not sure what to do. Is changing the locale back to\nen_US.ISO8859-1\nthe right thing to do now?\n\nMike.\n...
[ { "msg_contents": "I have used to declare cursors in the DECLARE section of a PL/pgSQL \nfunction. The example here seems to be broken in CVS tip:\n\nCREATE FUNCTION test () RETURNS void AS '\nDECLARE\n credit_cursor CURSOR (p_account integer, p_reference integer) FOR\n SELECT * FROM booking\n WHERE a...
[ { "msg_contents": "Hello, I'm getting this error with the code below (on 8.0.3 like the\nother guy in #1702. Is this a hard problem to fix?\n\nLooking at src/pl/plpgsql/src/pl_exec.c for the first time, is it a problem\nof make_tuple_from_row() not accounting for nested composite types?\n\ntest=# SELECT takes_c...
[ { "msg_contents": "Hi everyone,\n\nFor those of you watching the the daily results generated from STP\n(http://developer.osdl.org/markw/postgrescvs/dbt2/) I have callgraph\ndata from oprofile collected starting from the Sept 9 results. Here is\nan example of what it looks like:\n\n\thttp://www.testing.osdl.org...
[ { "msg_contents": "Hello all!\n\nOn my master course, I'm studying the PostgreSQL's optimizer.\nI don't know if anyone in this list have been participated from the \nPostgreSQL's Optimizer development, but maybe someone can help me on this \nquestion.\nPostgreSQL generates all possible plans of executing the qu...
[ { "msg_contents": "Hi,\n\nI have been looking around optimizer's code and found a comment:\n\n/*\n * process_duplicate_ors\n *\t Given a list of exprs which are ORed together, try to apply\n *\t the inverse OR distributive law.\n\nAnybody enlighten what \"inverse OR distributive law\" is?\n--\nSRA OSS, Inc. J...
[ { "msg_contents": "Two minor gripes about these new functions:\n\n(1) I think pg_total_relation_size() is a bit more concise and clear \nthan pg_complete_relation_size().\n\n(2) pg_cancel_backend(), pg_reload_conf(), and pg_rotate_logfile() all \nreturn an int indicating success (1) or failure (0). Why shouldn'...
[ { "msg_contents": "Hello,\n\nIt seems the new VACUUM VERBOSE output is not quite as helpful as 8.0.\nIn 8.0 I get a nice output at the end like this:\n\nINFO: free space map: 1377 relations, 22478 pages stored; 44112 total \npages needed\nDETAIL: Allocated FSM size: 100000 relations + 2000000 pages = 17702 kB...
[ { "msg_contents": "[Note: reposted because it didn't show up on the list after a day]\n\nI have used to declare cursors in the DECLARE section of a PL/pgSQL \nfunction. The example here seems to be broken in CVS tip:\n\nCREATE FUNCTION test () RETURNS void AS '\nDECLARE\n credit_cursor CURSOR (p_account integ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: 13 September 2005 23:03\n> To: Marko Kreen\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Spinlocks, yet again: analysis ...
[ { "msg_contents": "I've noticed that trying to parameterize a fetch statement via\nExecParams returns a syntax error:\n\nfetch $1 from my_cursor;\n\nThis is not really a big deal, but maybe it should be documented which\nstatements can be parameterized and which can't (I take it that any\nstatement that can be ...
[ { "msg_contents": "Folks,\n\nBob Ippolito found this while testing Bizgres.\n\nIt *seems* like our smarter type coercion rules do not apply when \nconstraints are being generated. That is, the types of constants in \nconstraints, if not coerced, still default to the old \"dumb\" casting where \nthe type of the...
[ { "msg_contents": "Hi all, I'm new to this list, and I haven't been able to find a solution\nto this problem by Googling, so I hope I'm not beating a dead horse\nhere.\n\nI'm using the postgresql-jdbc driver with OpenOffice.org 2.0, and I\ncan't get it to use GSSAPI authentication using my Kerberos credentials....
[ { "msg_contents": "To find out about boolean logic, take a look here:\nhttp://www.laynetworks.com/Boolean%20Algebra.htm\n\nWhere I work, we took the SIS toolkit from Berkeley and did a\nsimplification of the where clause as if it was a Boolean integrated\ncircuit. Of course, you may get answers that you do not...
[ { "msg_contents": "Hackers,\n\nAs you've probably heard too many times already, I'm thinking in\nimproving vacuum, so we can keep track of the freeze Xid on a table\nlevel, rather than database level. Hopefully this will eliminate the\nneed for database-wide vacuums.\n\nIn fact this seems pretty easy to do. A...
[ { "msg_contents": "Hi, i didn't know where to send this, so forgive me if this isn't the right\nlist.\nIn our company we had been using PostgreSQL for development for more than 2\nyears now, it's an excelent RDBMS, the only thing we miss is the ability to\ncall stored procedures (functions returning records in ...
[ { "msg_contents": "\nThe following bug has been logged online:\n\nBug reference: 1883\nLogged by: Kouber Saparev\nEmail address: postgresql@saparev.com\nPostgreSQL version: 8.0.3\nOperating system: Linux 2.6.11.4\nDescription: Renaming a schema leaves inconsistent sequence names\nDet...
[ { "msg_contents": ">Hi, i didn't know where to send this, so forgive me if this isn't the\nright >list.\n\nprobably general.\n\n> compiled pl/pgsql script that \"remembers\" the OID of temporary tables,\n\n\nHave you considered that if the temp table is created outside of the\nfunction that uses it, this is not...
[ { "msg_contents": "Hi,\n\nRobert Treat reminded me the other day that we don't currently save\npg_autovacuum settings on pg_dump. This is expected, because we don't\nwant to dump pg_autovacuum as a regular table, or it would force us to\naccept loading that forever; nor we do have ALTER TABLE commands to do\ni...
[ { "msg_contents": "\nTomorrow afternoon, we are planning on packaging up Beta2 .. if anyone is \nsitting on something that should get in before that happens, or has a bug \nthey are sitting on, please let us know ...\n\nI am planning on wrapping things at around noon my time (~3pm GMT, I \nbelieve, if I have my...
[ { "msg_contents": "Hi,\n \n I have a query on sql_numeric datatype Can you please clarify on this? \n While inserting numeric data type into a table can you please let me\nknow how you are storing the value in the database.\n Whether it is stored as double or character or directly storing it\na...
[ { "msg_contents": "Hi,\n \n I have a query on sql_numeric datatype Can you please clarify on this? \n While inserting numeric data type into a table can you please let me\nknow how you are storing the value in the database.\n Whether it is stored as double or character or directly storing it\na...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Neil Conway\n> Sent: 16 September 2005 03:48\n> To: Tom Lane\n> Cc: Marc G. Fournier; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Beta2 Wrap Up...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Neil Conway\n> Sent: 16 September 2005 06:38\n> To: Marc G. Fournier\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Beta2 Wrap Up ...\n> \n...
[ { "msg_contents": "\nHi,\n\nAfter / before 8.1 Beta 2, are there any plans to release new dot releases \nfor the back branches?\n\nRegards,\n--\nDevrim GUNDUZ\nKivi Bilişim Teknolojileri - http://www.kivi.com.tr\ndevrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr\n http:/...
[ { "msg_contents": "With there be a win32 version of beta2? or a beta1?\n\nThanks,\n\nTony\n\n", "msg_date": "Fri, 16 Sep 2005 05:19:15 -0500", "msg_from": "Tony Caduto <tony_caduto@amsoftwaredesign.com>", "msg_from_op": true, "msg_subject": "8.1 win32 beta?" }, { "msg_contents": "Tony Ca...
[ { "msg_contents": "Hello\n\nI am testing comformity between PostgreSQL and Oracle. I found one \ndifference. Century started 1900-01-01 for Oracle and 1901-01-01 for \nPostgreSQL. What value is good?\n\nBest regards\nPavel Stehule\n\n_________________________________________________________________\nChcete sdil...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tony Caduto\n> Sent: 16 September 2005 11:19\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] 8.1 win32 beta?\n> \n> With there be a win32 versio...
[ { "msg_contents": "It occurs to me that there is no longer any great need to have a\nseparate hackers list for win32 development. Perhaps we should close it\ndown now and keep all development on -hackers?\n\nRegards, Dave.\n", "msg_date": "Fri, 16 Sep 2005 11:54:10 +0100", "msg_from": "\"Dave Page\" <dp...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Neil Conway [mailto:neilc@samurai.com] \n> Sent: 16 September 2005 14:57\n> To: Dave Page\n> Cc: Marc G. Fournier; pgsql-hackers@postgresql.org\n> Subject: RE: [HACKERS] Beta2 Wrap Up ...\n> \n> On Fri, 2005-16-09 at 08:47 +0100, Dave Page wrote:\n> ...
[ { "msg_contents": "Hackers,\n\nI'm reading the vacuum code and I just noticed that the routines\nmove_plain_tuple and move_chain_tuple expect the dest and source blocks\nto be locked, and unlock them at exit. The only caller of both is\nrepair_frag, whose only caller in turn is full_vacuum_rel. Same thing\nfo...
[ { "msg_contents": "\n'k, beta2 is bundled and available on the main ftp server ... will \npropogate over the next little while to the various mirrors ... the \nannouncement for this will go out late Sun/early Mon, to give Dave a \nchance to get the Windows Installer built and available at the same time \n...\n\...
[ { "msg_contents": "In trying to determine why I had a corrupted piece of data (still\ninvestigating that) I created a temporary table that contained the row\nof data in question. In doing so, I must have done something to the\npg_catalog because I no longer was able to perform a dump without\ngetting the follo...
[ { "msg_contents": "pgman wrote:\n> Simon Riggs wrote:\n> > Currently, when we set a statement_timeout and a query runs over that\n> > time there is no log message to say that the statement has timed out. We\n> > do get a message which says \n> > \tERROR: canceling query due to user request\n> > and so in the s...
[ { "msg_contents": "Can we remove the BEOS-specific code? I don't think anyone has reported\nit working for quite a few releases. If someone wants to take it up\nlater, they can pull from the CVS commit that removed it.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.p...
[ { "msg_contents": "> > > I thought we'd more or less dropped that idea based on Andreas'\n> > > responses.\n> > \n> > I've heard no argument against renaming \n> pg_complete_relation_size() to\n> > pg_total_relation_size()\n> \n> Having spent days, no, weeks deciding on that name on list I \n> do not want to se...
[ { "msg_contents": "> It occurs to me that there is no longer any great need to \n> have a separate hackers list for win32 development. Perhaps \n> we should close it down now and keep all development on -hackers?\n\nI also think this is a good idea. The number of \"win32 only issues of\n-hacker level\" is signi...
[ { "msg_contents": "I am trying to write a C trigger. Essentially\n\n TriggerData *in = (TriggerData *) fcinfo->context;\n HeapTupleHeader tuple=in->tg_trigtuple->t_data;\n Datum datum; \n datum = GetAttributeByName(tuple, \"unit_id\", &isnull);\n\nand that last line fails with\n\nERROR: cache lo...
[ { "msg_contents": "> >>Having spent days, no, weeks deciding on that name on list I do not \n> >>want to see it change this late, especially as we'll now need to go \n> >>and update pgAdmin again!\n> \n> Fortunately, pgAdmin doesn't use that function, but only the \n> basic pg_relation_size(). Phew!\n\nGood for...
[ { "msg_contents": "My company has written a 64-bit large object API, extending the postgresql \nserver to be able to read/write/seek/tell/open/close objects larger than 2GB. \nIf the hackers community considers this valuable, we will submit the changes \nback for the rest of the community to share.\n\n\n From o...
[ { "msg_contents": "Hi,\n\nPostgreSQL's grammer allows you to specify the operator to sort with in\nthe ORDER BY clause. Various bits of the backend support this feature,\nyet it appears to partially undocumented. I can't find it in the ORDER\nBY [1] section but there is a paragraph on it under the SELECT\ndocum...
[ { "msg_contents": "I think beta 2 is a good time to start fixing up the translations again. \nAs I had previously announced, long-time translators are invited to \nregister themselves at <http://pgfoundry.org/projects/pgtranslation> \nand commit their work there. Those who do not want to do that can \ncontinu...
[ { "msg_contents": "Sorry for offtopic, since the pgsql-general ML does not seem to work I post \nhere.\n\nI checked the documentation, and still do not get it. I can use SPI_copytuple \nto return a modified version of a tuple, but how do I modify a column of \ntype HeapTuple.\n\nIn my case, I just want to modif...
[ { "msg_contents": "> >>> Also, the change to pg_cancel_backend breaks backwards \n> compatibility \n> >>> with 8.0, which is a whole lot worse than breaking it with\n> >> 8.1-beta1.\n> >>\n> >> Unfortunately, core doesn't see this as backward \n> compatibility break, \n> >> instead it's regarded as adjustment o...
[ { "msg_contents": "> > Also, the change to pg_cancel_backend breaks backwards \n> compatibility \n> > with 8.0, which is a whole lot worse than breaking it with \n> 8.1-beta1.\n> \n> Yeah, I thought about that (and Bruce and I already discussed \n> it offlist before I committed the changes). The function was \n...
[ { "msg_contents": "On Mon, 2005-19-09 at 16:27 +0200, Hans-J�rgen Sch�nig wrote:\n> I was wondering whether it is possible to teach the planner to handle \n> DISTINCT in a more efficient way:\n[...]\n> Isn't it possible to perform the same operation using a\n> HashAggregate? \n\nOne problem is that DISTINCT...
[ { "msg_contents": "> > Is there a reason the old/new can't be aliaseed to each \n> other, instead \n> > of the old just being removed?\n> \n> Any change like that would require another initdb. If we \n> were going to force another initdb, my vote would be to \n> revert these functions to where they were in bet...
[ { "msg_contents": "I seem to have an unhappy postgresql:\n\n(gdb) bt\n#0 0xbd99871b in kill () from /usr/lib/libc.so.12\n#1 0xbda217e7 in abort () from /usr/lib/libc.so.12\n#2 0x0820c1fa in ExceptionalCondition (\n conditionName=0x8298920 \"!(batchno > hashtable->curbatch)\", \n errorType=0x823919f \"F...
[ { "msg_contents": "-----Original Message-----\nFrom: \"Marc G. Fournier\"<scrappy@postgresql.org>\nSent: 19/09/05 16:56:23\nTo: \"Tom Lane\"<tgl@sss.pgh.pa.us>\nCc: \"Marc G. Fournier\"<scrappy@postgresql.org>, \"Magnus Hagander\"<mha@sollentuna.net>, \"Andreas Pflug\"<pgadmin@pse-consulting.de>, \"Dave Page\"<...
[ { "msg_contents": "\nWhile preparing for a presentation, I noticed some mildly ugly effects \nwith log_line_prefix during session startup if log_connections is turned on.\n\nExample (log_line_prefix = '%t %q%u@%d %r %p %c:%l'):\n\n2005-09-19 19:16:39 EDT [unknown]@[unknown] 6541 432f46d7.198d:1 LOG: \nconnect...
[ { "msg_contents": "The fact that cmpb isn't helping proves that getting the cache line \nin a\nread-only fashion does *not* do enough to protect the xchgb in this \nway.\nBut maybe another locking instruction would. Comments?\n\n\t\t\tregards, tom lane\n\nHi, Tom!\n\nPossible you help next link\n'Replay: Unkno...
[ { "msg_contents": "pgsql-8.1beta2 \"make check\" failed on Win32 under MinGW.\nHere is some lines from log/initdb.log.\n\n<skipped>\ncreating configuration files ... ok\ncreating template1 database in\nC:/MSYS/home/wlzhang/postgresql-8.1beta2/src/test/regress/tmp_check/data/bas\ne/1 ... FATAL: syntax error in ...
[ { "msg_contents": "I worked with Jim Nasby and we found this is the line that is failing on\nGerbil in the build farm during initdb: tqual.c, line 844 in 8.0.X\n\n\tif (HeapTupleHeaderGetCmin(tuple) >= snapshot->curcid)\n\nThis particular line was last modified in 2002. However, this was a\nfile that was chang...
[ { "msg_contents": "Hi there,\n\nit's desirable to be able to pass parameters to CREATE INDEX for\nGiST indices. Does SQL standard has something about that so we could\nimplement it for 8.2 ?\n\nExample from real life project - performance of tsearch2 could be\ngreatly improved if decrease signature size in gist...
[ { "msg_contents": "pg_dump emits COMMENT ON DATABASE (if the database has a comment)\neven when dumping only an individual schema or table. That seems\ninappropriate, especially when copying data to a different cluster\nwhere the named database might not exist or might have a different\ncomment that shouldn't ...
[ { "msg_contents": "hackers,\n\ncurrently we have to hack tons of export scripts for various customers.\nthe problem is: if tables can be exported straight forward COPY will \ngive you all you need but when data has to be transformed while \nexporting things start becoming a bit more complex. usually people want...
[ { "msg_contents": "Hi,\nI just installed the PostgreSQL 8.1-beta2 on my Windows box using the \nwindows installer. I then try to compile PL/Java. It fails to find pgxs. \nIs it moved to somewhere else? Or is it not included?\n\nRegards,\nThomas Hallgren\n\n\n\n From thhal at mailblocks.com Wed Sep 21 15:14:31 ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Thomas Hallgren\n> Sent: 21 September 2005 15:54\n> To: PostgreSQL-development\n> Cc: Pljava-dev@gborg.postgresql.org\n> Subject: [HACKERS] Where is p...
[ { "msg_contents": "> > Hi,\n> > I just installed the PostgreSQL 8.1-beta2 on my Windows box \n> using the \n> > windows installer. I then try to compile PL/Java. It fails to find \n> > pgxs.\n> > Is it moved to somewhere else? Or is it not included?\n> \n> It's not installed by default, but when it is selected ...
[ { "msg_contents": "Dear Sirs\n\n \n\nI know that that postgresql can be configured for high availability over a\nclustered environment using pgcluster, I am currently studying in my masters\nthe clustering using MPI and OpenMP, PVM and others packages and I have to\ndo a project, so I was thinking to use this o...
[ { "msg_contents": "Table Partitioning is in 8.1\n\nI've just read Peter Eisentraut's presentation to the Dutch gov (very\ngood BTW). On the last page I read that Table Partitioning is a future\nfor PostgreSQL....which is strange because Constraint Exclusion is an\n8.1 feature.\n\nI've had five other people ask ...
[ { "msg_contents": "Hi,\nI tried to compile PL/Java against PostgreSQL 8.1beta2. I use pgxs and \nuntil now that has been just fine. Now pgxs suggests that the include \nfiles reside under /usr/local/pgsql. They don't of course. Not on my \nwindows box anyway :-)\n\nI think it stems from the src/Makefile.global....
[ { "msg_contents": "\nI am puzzled about this. The strace output below is from CVS tip and \nshows the postmaster and children during a single (local) connection \nwhen the auth method is md5. What we see is 2 calls to clone() (that's \nLinux for fork(), more or less). When the auth method is set to trust or \ni...
[ { "msg_contents": "Hi,\n\nA bug/short coming in the parser leads to some pretty ambiguous errors\nand/or foot shooting. Consider the following:\n\ntemplate1=# create table foo(i int, b bool, t text);\nCREATE TABLE\ntemplate1=# insert into foo values(1, 'f', 'foo');\nINSERT 0 1\ntemplate1=# update foo set i=2,b=...
[ { "msg_contents": "Hey everyone,\n\nEvgen Potemkin has granted me a BSD license on the patch for hierarchical\nqueries (WITH and CONNECT BY) and I'd like to get it on track for PostgreSQL\n8.2. Tom, Bruce, Simon, Alvaro, Josh, et al., have you guys used the patch?\nIf so, what comments do you have as to what yo...
[ { "msg_contents": "\n\n\n\n\n\nHi,\nI'm not a member of this list, so please CC me on responses and\ndiscussion.\n\nAfter a system crash PostgreSQL startup is slow as the database recovers.  So the db_connect() call from pg_autovacuum terminates as soon as it tries to\nconnect to \"template1\".\n\nLooking at th...
[ { "msg_contents": "So is postgresql going into the direction of WITH or CONNECT BY (or\nboth)?\n\nI am authoring O'Reilly's \"SQL Cookbook\" and I'd like to mention it in\nthe \nHierarchical chapter to give the pg readers a heads up.\n\nThanks and regards,\n Anthony Molinaro\n\n-----Original Message-----\nFrom...
[ { "msg_contents": "Josh,\nThanks man, good to know.\n\nSorry if the question was a bit out of place on this list\nbut I wanted to make sure I reached the right people.\n\nI love what you guys are doing and made sure postgresql\nwas included in my book.\n\nalso, while I got your ear. I bugged Simon about this\ne...
[ { "msg_contents": "Josh,\n Great, thanks for the update.\n\n> It's a major feature implementation if \n> we want them to be at all worthwhile\n\nagreed. SS 2005 added partial support for window functions\n(can't create moving windows of aggregation, ie, \n the portion of the syntax the standard calls the \"fra...
[ { "msg_contents": "> From: Andrew Dunstan [mailto:andrew@dunslane.net]\n> Also, as nifty as this might be, we should also be prepared \n> for people \n> to complain that it runs a lot slower than vanilla COPY, because it \n> surely will.\n\nAt which point we point out to them that it's also much faster than any...
[ { "msg_contents": "Folks,\n\nWell, it took a while but I finally have the results of Satoshi's PCTFree \npatch back from the STP. Bad news about the STP, see below ...\n\nAnyway, a series of DBT2 runs doesn't seem to show any advantage to PCTFree \nover a 3-hour run with no vacuums:\n\ntest#\tpctfree\tfull_pag...
[ { "msg_contents": "With gcc 4 spreading, it seems like it's past time to do something about\nall those signed-vs-unsigned-char warnings that it emits. (Translation:\nnow that I have to use gcc 4 regularly, I got annoyed enough to fix it\n;-))\n\nI looked into it a little and determined that nearly all the warn...
[ { "msg_contents": "Hello,\n\n I did patch \nhttp://archives.postgresql.org/pgsql-patches/2005-09/msg00050.php SQL/XML \npublic functions. Can somebody help me with documentation? Or can somebody \nwrite doc..\n\nRegards\nPavel Stehule\n\n_________________________________________________________________\nNajdet...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Bruce Momjian\n> Sent: 22 September 2005 23:07\n> To: Thomas Hallgren\n> Cc: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] pgxs and pginstaller\n> \n...
[ { "msg_contents": "I have concerns about whether we are overallocating memory for use in\nexternal sorts. (All code relating to this is in tuplesort.c)\n\nWhen we begin a sort we allocate (work_mem | maintenance_work_mem) and\nattempt to do the sort in memory. If the sort set is too big to fit in\nmemory we the...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Thomas Hallgren [mailto:thhal@mailblocks.com] \n> Sent: 23 September 2005 10:49\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: pgxs and pginstaller\n> \n> Dave Page wrote:\n> > \n> > In the case of PostgreSQL itself, it's built...
[ { "msg_contents": "How To Hack Or Steal Credit Card Information\nHOW TO GAIN VALID CREDIT CARD NUMBERS\n \n\nIn August, 1999, Scientific American ( http://www.sciam.com/ ) has published an article entitled �How to stealmillions in chump change� which was about online credit card theft. The original articl...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Thomas Hallgren [mailto:thhal@mailblocks.com] \n> Sent: 23 September 2005 11:17\n> To: Dave Page\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: pgxs and pginstaller\n> \n> It's two things basically. One I think that the installer \n> team can fi...
[ { "msg_contents": "Hi,\nI have a problem with PL/Java that, if it's going to have a good \nsolution, requires your help.\n\nPL/Java runs a JVM. Since a JVM is multi threaded, PL/Java goes to \nfairly extreme measures to ensure that only one thread at a time can \naccess the backend. So far, this have worked we...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 23 September 2005 15:16\n> To: Dave Page\n> Cc: Thomas Hallgren; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] pgxs and pginstaller \n> \n> \"Dave Page\" <dpage@vale-housing.co.uk> writes:\n> >> ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: 23 September 2005 15:24\n> To: Michael Paesold\n> Cc: Thomas Hallgren; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] What has h...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 23 September 2005 15:48\n> To: Dave Page\n> Cc: Michael Paesold; Thomas Hallgren; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] What has happened to pgxs? \n> \n> \"Dave Page\" <dpage@vale-housin...
[ { "msg_contents": "System: Windows XP Pro SP2 \nRunning Postgres 8.0.3 for several months with the embedded PgAdmin3\n1.2.1 on the same machine with no problems. Postgres is configured to\nstart automatically as a service. I installed the PgAdmin3 1.2.2 which\nrequested a Windows reboot. I rebooted without stop...
[ { "msg_contents": "From: Simon Riggs <simon@2ndquadrant.com>\nSent: Sep 23, 2005 5:37 AM\nSubject: [PERFORM] Releasing memory during External sorting?\n\n>I have concerns about whether we are overallocating memory for use in\n>external sorts. (All code relating to this is in tuplesort.c)\n>\nA decent external s...
[ { "msg_contents": "Yep. Also, bear in mind that the lg(n!)= ~ nlgn - n lower bound on\nthe number of comparisions:\na= says nothing about the amount of data movement used.\nb= only holds for generic comparison based sorting algorithms.\n\nAs Knuth says (vol 3, p180), Distribution Counting sorts without\never c...
[ { "msg_contents": "From: Tom Lane <tgl@sss.pgh.pa.us>\nSent: Sep 23, 2005 2:15 PM\nSubject: Re: [PERFORM] Releasing memory during External sorting? \n\n>Mark Lewis <mark.lewis@mir3.com> writes:\n>> operations != passes. If you were clever, you could probably write a\n>> modified bubble-sort algorithm that only...
[ { "msg_contents": "\n\n\n\n\n\n\n\nHi,\nI'm not a member of this list (yet), so please\nCC me on responses and\ndiscussion.\n\nThe patch below seems to be completion of work already\nstarted, because the boolean remoteTrFlag was already defined, and all\nI had to add was its setting and two references.\n\nI hop...