threads
listlengths
1
2.99k
[ { "msg_contents": "Thomas Lockhart wrote:\n> ...\n> > Seems that isn't helping enough to reduce the number of people who are\n> > surprised by our behavior. I don't think anyone would be surprised by\n> > statement time.\n> \n> I think that there is no compelling reason for changing the current \n> behavior. T...
[ { "msg_contents": "Did anybody think about threaded sorting so far?\nAssume an SMP machine. In the case of building an index or in the case \nof sorting a lot of data there is just one backend working. Therefore \njust one CPU is used.\nWhat about starting a thread for every temporary file being created? \nThis...
[ { "msg_contents": "\n> > I'd give you the first and third of those. As Andrew noted, the\n> > argument that \"it's more standard-compliant\" is not very solid.\n> \n> The standard doesn't say anything about transaction in this regard.\n\nYes, it sais statement.\n\nNote also, that a typical SELECT only session ...
[ { "msg_contents": "I, probably, will have a chance to work with postgres on Linux IA-64.\nIs there any optimization for postgresql ?\n\n\tRegards,\n\t\tOleg\n_____________________________________________________________\nOleg Bartunov, sci.researcher, hostmaster of AstroNet,\nSternberg Astronomical Institute, M...
[ { "msg_contents": "\n> > > I am confused how yours differs from mine. I don't see how the last\n> > > matching tagged query would not be from an INSTEAD rule.\n> > \n> > You could have both INSTEAD and non-INSTEAD rules firing for the same\n> > original query. If the alphabetically-last rule is a non-INSTEAD ...
[ { "msg_contents": "\n> > ... most file systems can't process fsync's\n> > simultaneous with other writes, so those writes block because the file\n> > system grabs its own internal locks.\n> \n> Oh? That would be a serious problem, but I've never heard that asserted\n> before. Please provide some evidence.\n> ...
[ { "msg_contents": "Hello hackers,\n\nI'm thinking about ALTER TABLE ... ADD COLUMN working properly when\nchild tables already contain the column.\n\nI have two proposals. First one:\n\nThere are two cases: one when specifying ALTER TABLE ONLY, and other\nwhen specifying recursive (not ONLY).\n\nIn the first (...
[ { "msg_contents": "Hello hackers,\n\nI'm looking at implementing the btree reorganizer described in \"On-line\nreorganization of sparsely-...\", ACM SIGMOD proceedings 1996, by Zou and\nSalzberg. It seems to me I'll have to add some amount of lock types\nin the lock manager. Does that bother you?\n\n-- \nAlva...
[ { "msg_contents": "\n> Hmmm ... if you were willing to dedicate a half meg or meg of shared\n> memory for WAL buffers, that's doable.\n\nYup, configuring Informix to three 2 Mb buffers (LOGBUF 2048) here. \n\n> However, this would only be a win if you had few and large transactions.\n> Any COMMIT will force a w...
[ { "msg_contents": "Hi all,\n\nGCC has supported block re-ordering through __builtin_expect() for some\ntime. I could not see and cannot recall any discussion of this in the\narchives. Has anyone played with GCC block re-ordering and PostgreSQL?\n\nGavin\n\n", "msg_date": "Sat, 5 Oct 2002 19:44:15 +1000 (EST...
[ { "msg_contents": "pgman wrote:\n> Curtis Faith wrote:\n> > Back-end servers would not issue fsync calls. They would simply block\n> > waiting until the LogWriter had written their record to the disk, i.e.\n> > until the sync'd block # was greater than the block that contained the\n> > XLOG_XACT_COMMIT record. ...
[ { "msg_contents": "I've been getting only about 60% of the emails sent to the list. \n\nI see many emails in the archives that I never got via email.\n\nIs anyone else having this problems?\n\n- Curtis\n", "msg_date": "Sat, 5 Oct 2002 09:41:49 -0400", "msg_from": "\"Curtis Faith\" <curtis@galtair.com>",...
[ { "msg_contents": "I currently develop an interface to simulate a indexed sequential file management with PostgreSql. I must reproduce the same philosophy used of control of locking of the records.\n\nI seek a solution to lock and unlock implicitly a row of a table. The locking of several rows, of the same tabl...
[ { "msg_contents": "I currently develop an interface to simulate a indexed sequential file management with PostgreSql. I must reproduce the same philosophy used of control of locking of the records.\nI seek a solution to lock and unlock implicitly a row of a table. The locking of several rows, of the same table ...
[ { "msg_contents": "I spent a little time reviewing the xlog.c logic, which I hadn't looked\nat in awhile. I see I made a mistake earlier: I claimed that only when\na backend wanted to commit or ran out of space in the WAL buffers would\nit issue any write(). This is not true: there is code in XLogInsert()\nth...
[ { "msg_contents": "I do not think the situation for ganging of multiple commit-record\nwrites is quite as dire as has been painted. There is a simple error\nin the current code that is easily corrected: in XLogFlush(), the\nwait to acquire WALWriteLock should occur before, not after, we try\nto acquire WALInse...
[ { "msg_contents": "Hello hackers,\n\nWhat's the naming convention for new functions/variables? I've seen\nthis_way() and ThisWay() used without visible distinction. I've used\nboth in previously submitted and accepted patches...\n\nDoes it matter?\n\n-- \nAlvaro Herrera (<alvherre[a]atentus.com>)\n\"La libert...
[ { "msg_contents": "Hello,\nI am looking at moving our company away from MS SQL. Have been looking at\nDB2 and it looks to have some good features. Now wondering if POSTGRESQL\ncould be a viable alternative. I have a few questions though;\n1. What is the postgresql equiv to Stored procedures and can they be writ...
[ { "msg_contents": "Hello hackers,\n\nI'm trying to get something from pg_filedump. However, the version\npublished in sources.redhat.com/rhdb doesn't grok a lot of changes in\ncurrent CVS. I changed all those and made it compile... but looks like\nthat's only the easy part. I get bogus values everywhere (blo...
[ { "msg_contents": "Thankyou very much for your enlightened comment, it worked a treat.\n\nI do not seem to be able to find references to this kind of useful\ninformation in the postgresql online manual or in books such as bruce\nmomjian's 'postgresql-introduction and concepts'. Where is this info to be\nfound o...
[ { "msg_contents": "\n> > Keep in mind that we support platforms without O_DSYNC. I am not\n> > sure whether there are any that don't have O_SYNC either, but I am\n> > fairly sure that we measured O_SYNC to be slower than fsync()s on\n> > some platforms.\n\nThis measurement is quite understandable, since the cu...
[ { "msg_contents": "Hello, \n\ncurently I am downloading the E-Mails from different Accounts in an \nInternet-Cafe of Strasbourg and transfet it to my home-Network \n(Debian-samba-Server) where it will filterd to the user-accounts \nwith Floppys... :-) \n\nBecause I do not like Attachment in my Mails I let it un...
[ { "msg_contents": "\n> if i'm not mistaken, a char(n)/varchar(n) column is stored as a 32-bit\n> integer specifying the length followed by as many characters as the\n> length tells. On 32-bit Intel hardware this structure is aligned on a\n> 4-byte boundary.\n\nYes.\n\n> | opc0 char (3) no no 8 ...
[ { "msg_contents": "\nSince 7.4 is getting real close and docs are going to be going through\ntheir final once-overs. Please remember to have a look at the DocNote\ncomments that have been submitted. Once 7.4 is released the current\nnotes will be gone.\n\n\thttp://www.postgresql.org/idocs/checknotes.php\n\nTh...
[ { "msg_contents": "Hello hackers,\n\nI'm thinking about the btree metapage locking problem.\n\nIn the current situation there are three operations that lock the\nmetapage:\n1. when looking for the root page (share lock, \"getroot\")\n2. when setting a new root page (exclusive lock, \"setroot\")\n3. when extendi...
[ { "msg_contents": "Hello to all the Doers of Postgres!!!\n\nLast time I went through forums, people spoke highly about 7.3 and its capability to do hot backups. My problem is if the database goes down and I lose my main data store, then I will lose all transactions back to the time I did the pg_dump.\n\nOther d...
[ { "msg_contents": "Hmmm, Then are there any new enhancements as far as backups are concerned between current 7.2.x to 7.3.x.\nLike can we do a tar when database is up and running or another feature.\n\nThanks a bunch in advance.\n\n-----Original Message-----\nFrom: Neil Conway [mailto:neilc@samurai.com]\nSent: ...
[ { "msg_contents": "Request from sender:\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your life is a hard drive, | 13 Roberts Road\n + Christ can be your backup. | Newtown Square, Pennsylvania 19073\n\nBr...
[ { "msg_contents": "I've been taking a look at improving the performance of the GEQO\ncode. Before looking at algorithmic improvements, I noticed some\n\"low-hanging fruit\": gprof revealed that newNode() was a hotspot. When\nI altered it to be an inline function, the overall time to plan a\n12-table table join ...
[ { "msg_contents": "I noticed that the new EXECUTE statement does not call SetQuerySnapshot,\nwhich seems like a bad thing. The omission is masked by the defensive\ncode in CopyQuerySnaphot, which will automatically do SetQuerySnapshot\nif it hasn't been done yet in the current transaction. However, this\ndoes...
[ { "msg_contents": "\nI sent this yesterday, but it seems not to have made it to the list... \n\n\nI have a couple of comments orthogonal to the present discussion. \n\n1) It would be fairly easy to write log records over a network to a \ndedicated process on another system. If the other system has an \nuninter...
[ { "msg_contents": "\n> ISTM aio_write only improves the picture if there's some magic in-kernel\n> processing that makes this same kind of judgment as to when to issue the\n> \"ganged\" write for real, and is able to do it on time because it's in\n> the kernel. I haven't heard anything to make me think that th...
[ { "msg_contents": "Hi,\n\nMy friend just notice me with some thing that make using dump files harder \nto use.\n\nSo here we go:\nfirst we make some chaos :)\n\\c template1 postgres\ncreate user foo with password 'bar' createdb nocreateuser;\n\\c template1 foo\ncreate database foodb;\n\\c template1 postgres\nal...
[ { "msg_contents": "Check out this link, if you need something to laugh at:\nhttp://www.postgresql.org/idocs/index.php?1'\n\nKeeping in mind, that there are bunch of overflows in PostgreSQL(really?),\nit is\nvery dangerous i guess. Right?\n\n\n\n___________________________________________________________________...
[ { "msg_contents": "What I understood from the Administrator's guide is:\n\n - Yes, PostgreSQL provides hot backup: it's the pg_dump utility. It'h hot because users can still be connected and work whil pg_dump is running ( though they will be slowed down). ( See Administrator's guide ch9)\n\n - No, PostgreSQL ...
[ { "msg_contents": "Nice. That little, cute admin :-). \nThis is already fixed, and where is 'thanks' i wonder?\nI've been talking about sql injection.\n\nHow about that in http://www.postgresql.org/mirrors/index.php:\n-------\nWarning: PostgreSQL query failed: ERROR: invalid INET value 'r'\nin /usr/local/www/ww...
[ { "msg_contents": "\nMvO> http://www.postgresql.org/idocs/index.php?wal.html \n- The URL you refer to is the ch11 I was refering to. It seems that this chapter is not as easily understandable as it should...\nIt says that with WAL, \"pg is able to garantee consistency in the case of a crash\".\nOK, but I think ...
[ { "msg_contents": "\n> > Can the magic be, that kaio directly writes from user space memory to the \n> > disk ?\n> \n> This makes more assumptions about the disk drive's behavior than I think\n> are justified...\n\nNo, no assumption about the drive, only the kaio implementation, namely, that\nthe kaio implement...
[ { "msg_contents": "Hi,\n\n First of all, sorry for disturbing you all guys with my email talking about \nthis subject again.\n\n I am a Spanish student and I following a course about Genetic Algorithms. My\nteacher suggested me to search for some information of how to optimize things\nin a database. Then I thou...
[ { "msg_contents": "\nA lot of different things going on but my perl program (whose backend crashed)\nwas doing a lot of insert into table as select * from another table for a\nlot of different tables. I see triggers referenced here and it should be\nnoted that for one of the tables the triggers were first disab...
[ { "msg_contents": "Hi everyone,\n\nThe Italian translation of the PostgreSQL \"Advocacy and Marketing\" site,\ndone by Stefano Reksten <sreksten@sdb.it> is now complete and ready for\npublic use:\n\nhttp://advocacy.postgresql.org?lang=it\n\nThanks heaps Stefano, you've put in a lot of effort and it's really\ngo...
[ { "msg_contents": "I'd say yes replication can solve lot of issues, but is there a way to do replication in postgres(active-active or active-passive)\n\n-----Original Message-----\nFrom: Bruce Momjian [mailto:pgman@candle.pha.pa.us]\nSent: Tuesday, October 08, 2002 8:27 PM\nTo: shridhar_daithankar@persistent.co...
[ { "msg_contents": "\nI've been working on kludging a working\nfor update barrier style lock (*) for reads\nusing HeapTupleSatisfiesDirty to test\naccessibility to make the foreign keys\nwork better. I'm fairly close to getting\na testable kludge for the fk/noaction cases\nfor people to check real sequences aga...
[ { "msg_contents": "\nJust think, that maybe a postgresql php coder (or admin if you like it),\nemail me, and give me *.php sources. Seems like most of his scripts written \nin a very insecure and lame style.\n\nBest regards.\n\n________________________________________________________________________\nThis lette...
[ { "msg_contents": "Sure not. I even don't argue that.\nBut i dont like that a postgresql.org could be just that easily owned.\n>On Wed, 9 Oct 2002, Sir Mordred The Traitor wrote:\n>\n>>\n>> Just think, that maybe a postgresql php coder (or admin if you like it),\n>> email me, and give me *.php sources. Seems li...
[ { "msg_contents": "I'd have agree on most of what you said. I still think most crashes occur due to data corruption which can only be recovered by using a good backup. \n\nAnyways my problem is I have a 5 gig database. I run a cron job every hour which runs pg_dump which takes over 30 minutes to run and degrade...
[ { "msg_contents": "Now that we have relaxed the restriction on functions/languages, should\nwe make sure we have GRANTS for all of them, including /contrib, or\nremove them all.\n\nNot knowing what we will do for 7.4, it seems we should make sure they\nall have GRANTs. \n\nComments?\n\n-- \n Bruce Momjian ...
[ { "msg_contents": "Hello, i've got this query that's really slow...\nFigure this:\n\ntestdb=> select now() ; select gid from bs where gid not in ( select x\nfrom z2test ); select now();\n now\n-------------------------------\n 2002-10-09 22:37:21.234627+02\n(1 row)\n\n gid\n----------\n <lotsa ro...
[ { "msg_contents": "dear hacker,\r\nhello.\r\nI want to know how to build a function of my own which returns rows of resultset, not just a row.\r\nCan anybody help me?\r\nThank you in advance.\r\n\r\nJinqiang Han\r\n", "msg_date": "Thu, 10 Oct 2002 12:11:55 +0800", "msg_from": "=?GB2312?Q?=BA=AB=BD=FC=C7...
[ { "msg_contents": "Hi,\n\nI just learned that bison 1.50 was released on Oct. 5th and it indeed\ncompiles ecpg just nicely on my machine. Could we please install this on\nour main machine and merge the ecpg.big branch back into main?\n\nMichael\n-- \nMichael Meskes\nMichael@Fam-Meskes.De\nGo SF 49ers! Go Rhein ...
[ { "msg_contents": " \r\nHello,\r\nwhich global variable is the path of postgresql binary? such as /usr/local/pgsql/bin\r\nI only find pg_pathbname stand for postgres full pathname.\r\nthank you in advance.\r\nJinqiang Han\r\n", "msg_date": "Thu, 10 Oct 2002 20:12:50 +0800", "msg_from": "=?GB2312?...
[ { "msg_contents": "\nHere are the open items. There are only a few major ones left. I would\nlike to get those done so we can shoot for a final release perhaps at\nthe end of October.\n\n---------------------------------------------------------------------------\n\n P O S T G R E...
[ { "msg_contents": "\nI'm selecting a huge ResultSet from our database- about one million rows,\nwith one of the fields being varchar(500). I get an out of memory error from\njava.\n\nIf the whole ResultSet gets stashed in memory, this isn't really surprising,\nbut I'm wondering why this happens (if it does), ra...
[ { "msg_contents": "Did anything come of this discussion on whether SET initiates a \ntransaction or not?\n\nIn summary what is the right way to deal with setting autocommit in clients?\n\nthanks,\n--Barry\n\n\n-------- Original Message --------\nSubject: Re: [JDBC] Patch for handling \"autocommit=false\" in pos...
[ { "msg_contents": "Denis A Ustimenko wrote:\n> Hello Bruce!\n> \n> You have patched fe-connect.c and dropeed out one check in line 1078:\n> \n> < while (rp == NULL || remains.tv_sec > 0 || (remains.tv_sec == 0 && remains.tv_usec > 0))\n> ---\n> > while (rp == NULL || remains.tv_sec > 0 || remains.tv_usec > 0)\n...
[ { "msg_contents": "Is it possible to get rid of the \"t_natts\" fields in the tuple header? Is this field only for \"alter table add/drop\" support? Then it might\npossible to get rid of it and put the \"t_natts\" field in the page header, not the tuple header, if it can be assured that when updating/inserting\...
[ { "msg_contents": "I guess we had this discussion before but I have just gone through the \ngeneral list and I have encountered a problem I had a least VERY often \nbefore.\nSometimes the planner does not find the best way through a query. \nLooking at the problem of query optimization it is pretty obvious that...
[ { "msg_contents": "\nHi all,\n\nI am trying to add some replication features to postgres (yes, I have\nalready looked at ongoing work), in a peer to peer manner. The goal\nis to achive `nearly complete fault tolerence' by replicating data.\n\nThe basic framework I have in mind is somewhat like this.\n\n- Postm...
[ { "msg_contents": "For give me for responding to the beginning of this thread, but my \ncomments only apply to this post.\n\n> already looked at ongoing work), in a peer to peer manner. The goal\n> is to achive `nearly complete fault tolerence' by replicating data.\n\nA worthy goal indeed!\n\n> - Postmasters a...
[ { "msg_contents": "\nHello,\n\nI sometimes need to perform client-side merges, sometimes between two \ntables on the same database, sometimes between two different databases.\n\nWhen the merge key is numeric all goes well but, when the merge key is a \nstring a problem arises: string comparison operators often ...
[ { "msg_contents": "Now that we are changing relfilenode in 7.3, I think we need to rename\noid2name to relfilenode2name, and perhaps move it into the main tree.\n\nTODO item added:\n\n\tRename oid2name to relfilenode2name and install by default\n\n-- \n Bruce Momjian | http://candle.pha...
[ { "msg_contents": "\nI've been testing contrib/dbmirror with 7.3 and schema's and have come \nacross a problem.\n\nSPI_getrelname(tg_relation) can be used by a trigger to get the name of \nthe table that the trigger was fired on. But that just gives the \ntablename and not the schema that the table is in. If ...
[ { "msg_contents": "Hi,\n\nI must be missing something obvious here but it seems that bitfromint4 \nis not working under 7.3b2. I can still see bitfromint4 in the source \ncode, utils/adt/varbit.c, but it is no longer working. Any ideas why?\n\nBest wishes,\nNeophytos\n\nPS. It is also not working with the lates...
[ { "msg_contents": "Isn't this a bug?\n\nregression=# create table FOO (f1 int);\nCREATE TABLE\nregression=# \\copy FOO from stdin\nERROR: Relation \"FOO\" does not exist\n\\copy: ERROR: Relation \"FOO\" does not exist\nregression=#\n\nThis happens because \\copy takes the given table name and slaps\ndouble qu...
[ { "msg_contents": "Hello hackers,\n\nIs there some established way of debugging the bootstrapping sequence?\nIf not, does anyone have a tip on how would one do it?\n\nI mean getting the standalone boostrapping backend into gdb...\n\nThank you.\n\n-- \nAlvaro Herrera (<alvherre[a]dcc.uchile.cl>)\n\"La naturaleza...
[ { "msg_contents": ">That doesn't seem to work any more:\n\n>>>>help set warrenmassengill@hotmail.com\n\n= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =\nhelp unknowntopic\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nERROR - the document you requested is not avail...
[ { "msg_contents": "Hi, all\n\nWhile trying dblink_exec(), one of dblink()'s functions, I noticed there was an\nodd situation: case 1 and case 2 worked well, but case 3 didn't(see below). \n I hadn't been aware of it so that I only executed BEGIN and END in\ndblink_exec() at first . This time, however, I noticed...
[ { "msg_contents": "\ncreate table test (col_a bigint);\nupdate test set col_a = nullif('200', -1);\n\nThe above works fine on 7.2 but the update fails on 7.3b2 with the \nfollowing error:\n\nERROR: column \"col_a\" is of type bigint but expression is of type text\n\tYou will need to rewrite or cast the express...
[ { "msg_contents": "\nI was spending some time investigating how to fix the jdbc driver to \ndeal with the autocommit functionality in 7.3. I am trying to come up \nwith a way of using 'set autocommit = on/off' as a way of implementing \nthe jdbc symantics for autocommit. The current code just inserts a \n'begi...
[ { "msg_contents": "I just cut and pasted someone's mac address:\n\npatrimoine=# update ethernet set mac='00-00-39-AB-92-FO' where id=623;\nUPDATE 1\npatrimoine=# select mac from ethernet where id=623;\n mac \n-------------------\n 00:00:39:ab:92:0f\n(1 row)\n\n\nNote the typo \"O\" instead of \"0\...
[ { "msg_contents": "----- Forwarded message from Bruce Momjian <pgman@candle.pha.pa.us> -----\n\nI don't know. Would you ask hackers list, and perhaps CC the author of\nthat patch.\n\n---------------------------------------------------------------------------\n\nDenis A Ustimenko wrote:\n> Bruce, why have all p...
[ { "msg_contents": "\nOK, I would like to shoot for 7.3 final in the next few weeks. Can we\nget some of these items completed so we can make that happen and move on\nto 7.4? Remeber, PITR and Win32 are waiting!\n\nLet me comment on these:\n\n--------------------------------------------------------------------...
[ { "msg_contents": "Hi there,\nmy question is short, quite simple and \ndefinately a hacker thing (hopefully).\n\nFIRST of all:\nPOSTGRES is a great database system! Thanks \na lot for your perfect work.\n\nNow my Question:\nWouldn't it be possible to change the \ndefault setting of NAMEDATALEN in\nall distribut...
[ { "msg_contents": "Hi everyone,\n\nThe Turkish translation of the PostgreSQL \"Advocacy and Marketing\" site,\ndone by Devrim GUNDUZ <devrim@oper.metu.edu.tr> is now complete and\nready for public use:\n\nhttp://advocacy.postgresql.org/?lang=tr\n\nPretty cool stuff. Thanks Devrim. :-)\n\nRegards and best wish...
[ { "msg_contents": "\nOops, overoptimized a little. ptmp_timeout is needed in case no time is\npassed; ptmp_timeout restored.\n\n---------------------------------------------------------------------------\n\npgman wrote:\n> Tom Lane wrote:\n> > Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > > That whole re...
[ { "msg_contents": "I have applied the following comment patch. The current code resets the\ntimer when select() is interruped. On OS's that modify timeout to show\nthe remaining time, we should be using that value instead of resetting\nthe timer to its original value on select retry.\n\n----------------------...
[ { "msg_contents": "I'm about to go off and implement this, so just to make sure we are all\non the same page, here's what I think we agreed to:\n\nIn the presence of rewrite rules, the command status returned by a\nrewritable query will behave thusly:\n\n1. If the original query is executed (ie, there is no unc...
[ { "msg_contents": "The Internet Society (ISOC) won the bid to replace Verisign as the .org\nregistry. They're going to subcontract to Afilias, who has been running the\n.info registry.\n\nSee:\nhttp://www.icann.org/announcements/announcement-14oct02.htm\nhttp://www.afilias.info/about_afilias/dotorg/index_html\n...
[ { "msg_contents": "I just noticed that rewriteHandler.c contains a subroutine orderRules()\nthat reorders the rules for a relation into the order\n\tnon-instead rules\n\tqualified instead rules\n\tunqualified instead rules\nThis conflicts with the feature we'd added to 7.3 to fire rules in\nalphabetical order. ...
[ { "msg_contents": "The Internet Society (ISOC) won the bid to replace Verisign as the .org\nregistry. They're going to subcontract to Afilias, who has been running the\n.info registry.\n\nSee:\nhttp://www.icann.org/announcements/announcement-14oct02.htm\nhttp://www.afilias.info/about_afilias/dotorg/index_html\n...
[ { "msg_contents": "After turning autocommit off on my test database, my cron scripts that \nvacuum the database are now failing.\n\nThis can be easily reproduced, turn autocommit off in your \npostgresql.conf, then launch psql and run a vacuum.\n\n[blind@blind databases]$ psql files\nWelcome to psql 7.3b2, the ...
[ { "msg_contents": "Yep, that's them. This is a big win from a PostgreSQL advocacy position,\nespecially since oracle pr made an official statement against the use of\nPostgreSQL. Has this info hit any of the linux oriented news sites\n(linux-today, slashdot, etc...) If not someone from the PostgreSQL\nmarketing...
[ { "msg_contents": "Looking at a 7.2.3 dump of a database I've been using for development, I\nnoticed that a type that was used in a ALTER TABLE ADD COLUMN (for an\nexisting table) was CREATE TYPE **AFTER** the CREATE TABLE for said\ntable. \n\nI suspect this will give me grief on reload. \n\n(I can get around i...
[ { "msg_contents": "I have encountered unexpected behavior of DROP USER in 7.2.1.\n\nOne would normally expect, that when DROP USER someuser is issued, all \nassociated data structures will be readjusted, especially ownership and access \nrights.\n\nThis however does not happen.\n\nAfter droping an user, that ha...
[ { "msg_contents": "Hi everyone,\n\nThanks to the French members of the PostgreSQL Community (mainly\nFran�ois Suter <dba@paragraf.ch>), the French translation of the\nPostgreSQL \"Advocacy and Marketing\" site, is now complete and ready for\npublic use:\n\nhttp://advocacy.postgresql.org/?lang=fr\n\nThat's 4 c...
[ { "msg_contents": "In any contrib module 'make installcheck' runs infinite time...\n\nFor example, contrib/ltree\n% gmake installcheck\ngmake -C ../../src/test/regress pg_regress\ngmake[1]: О©╫О©╫О©╫О©╫ О©╫ О©╫О©╫О©╫О©╫О©╫О©╫О©╫ `/spool/home/teodor/pgsql/src/test/regress'\ngmake[1]: `pg_regress' О©╫О©╫ О©╫О©╫О©...
[ { "msg_contents": "I'm currently using 7.3b2 for test and development. I ran into a problem\nusing a dumped schema from pg_dump. After importing the dumped schema,\nany delete or update involving a foreign key results in a relation 0\ndoes not exist error. I noticed that all my foreign key declarations\nwere mo...
[ { "msg_contents": "According to the syntax diagram in the documenation, I can write\n\nCOPY table TO STDOUT WITH BINARY OIDS;\n\nShouldn't the \"binary\", being an adjective, be attached to something?\n\n-- \nPeter Eisentraut peter_e@gmx.net\n\n", "msg_date": "Tue, 15 Oct 2002 20:54:16 +0200 (CEST)", ...
[ { "msg_contents": "On Tue, 2002-10-15 at 15:12, Stephan Szabo wrote:\n> On 15 Oct 2002, John Halderman wrote:\n> \n> > I'm currently using 7.3b2 for test and development. I ran into a\nproblem\n> > using a dumped schema from pg_dump. After importing the dumped\nschema,\n> > any delete or update involving a fore...
[ { "msg_contents": "On Tue, 2002-10-15 at 15:38, Stephan Szabo wrote:\n> \n> On 15 Oct 2002, John Halderman wrote:\n> \n> > On Tue, 2002-10-15 at 15:12, Stephan Szabo wrote:\n> > > On 15 Oct 2002, John Halderman wrote:\n> > >\n> > > > I'm currently using 7.3b2 for test and development. I ran into a problem\n> > ...
[ { "msg_contents": "Hi all,\n\nI'm thinking that there is an improvement to vacuum which could be made\nfor 7.4. VACUUM FULLing large, heavily updated tables is a pain. There's\nvery little an application can do to minimise dead-tuples, particularly if\nthe table is randomly updated. Wouldn't it be beneficial if...
[ { "msg_contents": "\nIs there any plans to make postgresql multithreading?\n\nThanks in advance (and also for all who commented to my question\nregarding replication.)\n\n\tAnuradha\n\nNB: please don't open fire to declare war on whether multithreading is\nneeded for PGSql or not. I am just expecting a black a...
[ { "msg_contents": "\n> > > > To work\n> > > > around this you can use explicit cursors (see the DECLARE CURSOR,\n> > > > FETCH, and MOVE sql commands for postgres).\n\nI'm unable to get this to work using the default distribution JDBC driver. \n(7.2). Here's a code snippet\n\n conn.setAutoCommit(false) ;\n...
[ { "msg_contents": "\n Hi,\n\n I have SQL query:\n\n SELECT * FROM ii WHERE i1='a' AND i2='b';\n\n There're indexes on i1 and i2. I know best solution is use one\n index on both (i1, i2).\n\n The EXPLAIN command show that optimalizer wants to use one index:\n\ntest=# explain SELECT * FROM ii WHERE i1='a' AND i1=...
[ { "msg_contents": "\nRight now we assume \\XXX is octal. We could support \\x as hex because\n\\x isn't any special backslash character. However, no one has ever\nasked for this. Does anyone else think this would be benficial?\n\n---------------------------------------------------------------------------\n\n...
[ { "msg_contents": "1. Why i do this:\n I try to migrate a database with a 200 tables from Sybase SQL Anywhere to PostgreSQL,\n but SQL Anywhere escapes special characters like a HEX values ( like \\x0D \\x2C ..... ).\n PostgreSQL COPY FROM recognize only OCT values ( lie \\001 ... )\n2. How-to it' easy...
[ { "msg_contents": "As of current CVS, PL/Perl doesn't seem to compile against Perl 5.8. I\nget the following compile error:\n\ngcc -O2 -g -fpic -I. -I/usr/lib/perl/5.8.0/CORE -I../../../src/include -c -o plperl.o plperl.c -MMD\nIn file included from /usr/lib/perl/5.8.0/CORE/op.h:480,\n from /u...
[ { "msg_contents": "Hello\n\nI wonder if there is a possibility to not \nonly loop through record's with a FOR loop, \nbut also loop through the record itselfs. \nMeaning something like that:\n\nFOR record IN SELECT * FROM table LOOP\n\n FOR each field IN record LOOP\n\n return all field va...
[ { "msg_contents": "On Thu, 2002-10-17 at 23:34, Teodor Sigaev wrote:\n> wow=# select 5.3::float;\n> ERROR: Bad float8 input format '5.3'\n\nCould it be something with locales ?\n\nTry:\n\nselect 5,3::float;\n\n-------------\nHannu\n\n\n\n", "msg_date": "17 Oct 2002 22:47:01 +0500", "msg_from": "Hannu K...
[ { "msg_contents": "I am cleaning up /contrib by adding \"autocommit = 'on'\" and making it\nmore consistent. Should I be adding this too:\n\n\t-- Adjust this setting to control where the objects get created.\n\tSET search_path = public;\n\nand doing all object creation in one transaction, like /contrib/cube\nd...