threads
listlengths
1
2.99k
[ { "msg_contents": "Hi all,\n\nI'm trying to create an index on a composite key using a DECIMAL type\nbut PostgreSQL raises the following error:\n\n\nCREATE TABLE header (\n year decimal(4) NOT NULL,\n number INTEGER NOT NULL,\n date DA...
[ { "msg_contents": "Philip Warner wrote:\n> \n> Did you ever make a decision about parrallel logging etc?\n\nYes. I decided to make first implementation without parallel \nlogging and run tests to see how many log spinlock contentions \nwill be there.\nI finally found parallel logging in Oracle - he uses it\nwit...
[ { "msg_contents": "\nThe poll on linuxdev is over. Here are the results:\n\n\n\n\nPostgreSQL\t\t38.6% - (598 Votes)\nMySQL\t\t\t23.9% - (371 Votes)\nmSQL\t\t\t20.7% - (321 Votes)\nInformix\t\t10.9% - (169 Votes)\nOracle\t\t\t 3.5% - (55 Votes)\nDB2\t\t\t 0.8% - (13 Votes)\nSybase\t\t\t 0.7% - (12 Votes)\nOther...
[ { "msg_contents": "\n\tGreetings, Is there any way to have an spi function return the result of a query, or \nto connect two tables in a view? Specifically, I have a table of times and locations from an \naerial flight, and a table of images from that flight, and I would like to select the images \nthat occur ...
[ { "msg_contents": "Sorry for the duplicate mail. Been having problems with outgoing (just to\ngive you an idea about the kinds of problems: I sent this message over 24\nhours ago).\nDEJ\n\n> -----Original Message-----\n> From:\tJackson, DeJuan [SMTP:djackson@cpsgroup.com]\n> Sent:\tMonday, August 09, 1999 3:15...
[ { "msg_contents": "I have been using MicroEmacs for 9 years, and have been looking for a\nnice X editor. I looked at Xemacs(too complex to configure), and some\nothers, but they did not have the required features. I like a powerful\nsearch/replace, tags support, macro support, as-you-type syntax\ncolorization...
[ { "msg_contents": "Correction on Crisp maintenance/upgrades prices per year, for August\nonly:\n\t\n\tNoncommercial Windows 50.00\n\tNoncommercial Linux/FreeBSD/BSDI 50.00\n\tNoncommercial Other Unix 100.00\n\t\n\tCommercial Windows 75.00\n\tCommercial Linux/FreeBSD/BSDI 75.00\n\tCommercial Other Unix 100.00\n\...
[ { "msg_contents": "Bruce Momjian writes:\n\n>I have been using MicroEmacs for 9 years, and have been looking for a\n>nice X editor. I looked at Xemacs(too complex to configure), and some\n>others, but they did not have the required features. I like a powerful\n>search/replace, tags support, macro support, as-...
[ { "msg_contents": "Hi,\n\nIn libpgtcl, pg_select an array field is return as the following string:\n\n{\"red\",\"blue\",\"green\"}\n\nand it's rather difficult to process them as a normal tcl list.\nThe same thing for pg_exec, pg_result/tupleArray\n\nI think it would be better to return the string as:\n\n\"red\...
[ { "msg_contents": "I have gotten as far as the tcop, now I need some help as far as\nyacc(bison?) goes. Yacc seems to use an input buffer called YY_BUFFER or\nsomething, which appears to be a fixed length string. Does anybody have any\nidea how I go about changing this so that I can pass a char * which I have...
[ { "msg_contents": "PostgreSQL 6.5.1 RPMS -- lamar owen (lo) series release 3 ready to bang\non. Visit http://www.ramifordistat.net/postgres for more details.\n\nThe short of it:\n\n3lo adds working regression testing to the mix, in package\npostgresql-test-6.5.1-3lo.i386.rpm.\n\n3lo includes the alpha patches t...
[ { "msg_contents": "We won!! Editor's Choice Award for Best Database Management System\nat the LinuxWorld Expo in San Jose. The sorry runnerup was Oracle :)\n\nDetails to follow later.\n\nCongrats to everyone.\n\n - Thomas\n", "msg_date": "Wed, 11 Aug 1999 20:47:11 GMT", "msg_from"...
[ { "msg_contents": "Hello all,\n\nCurrently,only the first column of multi-column indices\nis used to find start scan position of Indexscan-s.\n\nTo speed up finding scan start position,I have changed\n_bt_first() to use as many keys as possible.\n\nI'll attach the patch here.\n\nRegards.\n\nHiroshi Inoue\nInoue...
[ { "msg_contents": "Hi, all\n\nRight, it works. Patches will arrive as soon as I figure out how to get cvs\nto diff the whole lot into one patch. I managed to get a 97kB query\nthrough, where the normal max was 64kB. I have to warn though, it munches\nmemory. Disappearing at a rate of about 6MB a second, my ...
[ { "msg_contents": "I forgot, tokens are still limited to 16kB ;-)\n\n>> Right, it works. Patches will arrive as soon as I figure out how to get\ncvs \n>> to diff the whole lot into one patch. I managed to get a 97kB query\nthrough, \n>> where the normal max was 64kB. I have to warn though, it munches\nmem...
[ { "msg_contents": "\tGreetings, I'm having a peculiar problem that I seem unable to work my way around. \nusing pgtclsh I am attempting to load a file into postgres using the copy command specifically;\n\t\n\tcopy SensorDagta from '...../TempFile.txt' using delimiters '|';\n\t\nthe lines of the file themselves...
[ { "msg_contents": "> We won!! Editor's Choice Award for Best Database Management System\n> at the LinuxWorld Expo in San Jose. The sorry runnerup was Oracle :)\n\nCongratulations!\n\nIn my opinion it should make the web page\n\n\n\n", "msg_date": "Thu, 12 Aug 1999 22:09:58 +0200 (CEST)", "msg_from": "Ka...
[ { "msg_contents": "Here's a followup to my first message:\n\n When I just try 'vacuum verbose' the vacuum goes through fine\nwithout aborting the backend. So it appears to be a problem with\nanalyzing the optimizer indexing.\n\n-Tony\n\n\n\n================================================================\n\n...
[ { "msg_contents": "Hi\n\nDoes postgres support the notion of single row fetch without having to use \ncursors with libpq.\n\nWhat I want to do is something like\n\n myResult = PQexec(myConnection, \"select * from mytable where field >= ''\")\n\n for (int i = 0; i < PQntuples(myResult); i++) {\n PQfetchRow(...
[ { "msg_contents": "Hi\n\nDoes anyone know why the following occurs?\n\n coza=> explain select * from accounts where domain >= '%' order by domain;\n NOTICE: QUERY PLAN:\n\n Index Scan using domain_idx on accounts (cost=1434.50 rows=19611 width=106)\n\nand\n\n coza=> explain select * from accounts order by...
[ { "msg_contents": "I have mailed patches for this to the patches mailing list. Some testing\nand feedback would be appreciated.\n\nThanks\n\n\nMikeA\n\n", "msg_date": "Fri, 13 Aug 1999 10:28:37 +0200", "msg_from": "\"Ansley, Michael\" <Michael.Ansley@intec.co.za>", "msg_from_op": true, "msg_sub...
[ { "msg_contents": "Hi\n\nI've been doing some big imports using COPY. Problem I have is COPY\naborting if a field could not be parsed. What's the feeling about\nchanging the behaviour so it does not abort, yet writes the offending line\nnumber to the error log and continues with the next line?\n\nI'm happy to d...
[ { "msg_contents": "Hi,\n\nNow that the query strings are effectively unlimited in length, the point\nthat I mentioned in a previous mail about the token length being limited to\n16kB becomes an issue. One of the reasons for wanting a large query string\nlength is to allow people to insert long text strings int...
[ { "msg_contents": "Hi,\n\nI've got several complaints about case-nonsensitive search doesn't\nworking with 6.5.1 and locale enabled (koi8-r) under FreeBSD 3.1 release\nEverything works fine if locale was hardcoded in main.c ! \nThey checked that environment is set before running postmaster\nand locale works fin...
[ { "msg_contents": ">> (Actually I think the limit is currently 64k not 16k, because of the\n>> hack that parser/Makefile applies to scan.c, but the point is there\n>> shouldn't be any hardwired limit...)\nYes, I noticed that hack. \n\n>> Yes, and yes. It's not a critical issue as long as we have limited\n>> t...
[ { "msg_contents": "I'm just getting started with PostgreSQL, and I love it; I hope to\neventually use it in all of my projects. The only thing holding me back is\nthe lack of a good way to perform left outer joins. I scanned all of the\nmailing lists, and it seems that the issue has come up several times, and...
[ { "msg_contents": "Tom Lane wrote:\n\n> However, there should have been an \"ERROR\" message if something reported\n> an error. You said you only saw \"NOTICE: AbortTransaction and not in\n> in-progress state\" and not any \"ERROR\" before or after it? The NOTICE\n> presumably came out of AbortTransaction its...
[ { "msg_contents": "I discovered that I could reproduce the coredump Oliver and Tony were\ntalking about by the simple expedient of removing pg_vlock manually\nwhile vacuum is running. Armed with a debugger it didn't take long to\nfind out what's going wrong:\n\n(a) vacuum.c does a CommitTransaction to commit i...
[ { "msg_contents": "I need to run psql really quiet - no messages, just returning RC.\npsql -q doesn't works as supposed from man page - \nI'm still getting messages like:\nNOTICE: CREATE TABLE/PRIMARY KEY will create implicit index .....\nIs it a feature or I need to find some workaround \n\n regards,\n ...
[ { "msg_contents": "Tom and Oliver,\n\n I added the patch and re-built everything. No more problems with the\nvacuum analyze (knock on wood since this is still Friday the 13th).\n\n Tom, does this patch address the problem you found in your\nEndPortalAllocMode comments? I'm just wondering whether another p...
[ { "msg_contents": "Mark Dalphin <mdalphin@amgen.com> writes:\n> Using the UNIQUE constraint in a TABLE definition no longer does anything.\n\nInteresting. Playing with some variants of your example shows that\nUNIQUE works fine *unless* there is another column marked PRIMARY KEY.\nThen the UNIQUE constraint is...
[ { "msg_contents": "Mark Dalphin <mdalphin@amgen.com> writes:\n> And this is the error I get when I try to insert anything, regardless\n> of whether the foreign key exists or not:\n\n> ERROR: There is no operator '=$' for types 'int4' and 'int4'\n\nI see it too. Looks like a bug ...\n\n\t\t\tregards, tom lane\...
[ { "msg_contents": "> Actually I have several cron tasks and they bored me emailing\n> every night output from psql.\n> I need emails only if some problems occur.\n> Ok. I could easily redirect all messages to some file if I would\n> sure psql returns return code in right way. Then I could \n> echo this file if...
[ { "msg_contents": "I�m trying to implement Statement Triggers in postgreSQL. The basic idea is\ncheck (in ExcutePlan) if there are statement before call first time to\nExecAppend, ExecDelete or ExecUpdate (or after the last call in case of\nafter statement).\n\nBut if I exec \"Insert into tbtest values (22,'c...
[ { "msg_contents": "While poking at the vacuum-induced coredump we were discussing on\nFriday, I noticed that psql did not report \n\tERROR: vacuum: can't destroy lock file!\neven though this message was showing up in the postmaster log.\nEven more interesting, psql *did* report the\n\tNOTICE: AbortTransaction...
[ { "msg_contents": "I have committed following changes to both the current and the statble\ntree. They should fix some problems when compiling libpq on Windows\nwith MB enabled, according to Hiroki Kataoka, the author of the\npatches.\n---\nTatsuo Ishii\n\n--------------------------------------------------------...
[ { "msg_contents": "> Other then that we won *woo hoo!!* ...\n> what ever did happen? *raised eyebrow*\n\nOK, I was sort of waiting for an update to be posted on the LinuxWorld\nsite, but I still don't see anything, so you'll have to take my word\nfor it ;)\n\nHere's the full story:\n\nI hadn't heard *anything* ...
[ { "msg_contents": "Hi,\n\nI think I have fixed the freezing of the postgres backend on Windows NT. Now\nit survives 5 regression test in a cycle with some concurrent connections\nduring running the tests.\n\nWhere the problem was (manual backtrace):\n- InitPostgres() (utils/init/postinit.c)\n- InitProcess() (st...
[ { "msg_contents": "> They should never be \"initialized a second time\". And the \n> preallocation\n> is *not* for performance reasons, it is to make sure we can \n> actually get\n> enough semaphores (rather than dying under load when we fail \n> to get the\n> N+1'st semaphore when starting the N+1'st backend)...
[ { "msg_contents": "Hi,\n\nI am using the libpq interface with binary cursors and am using numeric\nfields. There seems to be no conversion routines available in the\nfront end library for numeric types. Am I missing something or do\nI have to roll my own from numeric.c as per the backend?\n\nI also can't find a...
[ { "msg_contents": "> Hi there.\n> \n> I remember someone talking about compiling pgsql so that it could use \n> table names longer than 32 bytes, but that it would require some \n> changes in the source code. Could anyone tell me what changes these \n> are, and how safe it would be to do it (that is, should I a...
[ { "msg_contents": "Does anyone know why make_noname (in createplan.c) insists on putting\na SeqScan plan node above the Sort or Material node it's generating?\nAs far as I can tell, it's a waste of cycles:\n\n1. planner.c doesn't bother with a SeqScan above the Sorts it makes.\n2. The executor's nodeSeqscan.c j...
[ { "msg_contents": "> > Thomas,\n> > \n> > Before sending the box to world trip could you make a 3D picture and\n> > publish it on the Web. Take a look at Freedom VR \n> > http://www.honeylocust.com/vr/ - it's free and works fine.\n> \n> Yes, I think Marc wants to do that.\n\nWow, that VR is amazing. It downloa...
[ { "msg_contents": "> In any case, when one backend quits and another one is \n> started, the new\n> one will re-use the semaphore no longer used by the defunct backend.\n\nI have tested my solution a bit more and I have to say that reusing a\nsemaphore by a new backend works OK. But it is not possible for a new...
[ { "msg_contents": "-----------------------------------------------------------------------------------------------------------------------------\nI have posted this mail to psql-general. But i didn't get any answer yet.\n------------------------------------------------------------------------------------------...
[ { "msg_contents": "Hi,\n\nHas anybody received the patches that I sent making query strings\nextensible? I posted them twice, and didn't even get them back from the\npatches list myself. Is there a problem with attachments? There were two\nfiles attached.\n\nMikeA\n\n", "msg_date": "Tue, 17 Aug 1999 14:2...
[ { "msg_contents": "-----------------------------------------------------------------------------------------------------------------------------\nI have posted this mail to psql-general. But i didn't get any answer yet.\n------------------------------------------------------------------------------------------...
[ { "msg_contents": "-----------------------------------------------------------------------------------------------------------------------------\nI have posted this mail to psql-general. But i didn't get any answer yet.\n------------------------------------------------------------------------------------------...
[ { "msg_contents": "> Horak Daniel <horak@mmp.plzen-city.cz> writes:\n> > I have tested my solution a bit more and I have to say that \n> reusing a\n> > semaphore by a new backend works OK. But it is not possible \n> for a newly\n> > created backend to use a semaphore allocated by postmaster \n> (it freezes on\n...
[ { "msg_contents": "No, it appears that the flex module doesn't handle any tokens with a length\nabove this value. I didn't realise that it happened at about 4k in normal\noperation though; I had intentionally set my YY_BUF_SIZE to 4096 to try some\ntesting. I thought that this was causing the problem. \n\nDo...
[ { "msg_contents": "Postgres Developers Tip 10001:\n\n>> > Tom, I just discovered that the web mail archive facility \n>> handles the\n>> > attachments quite well. If you go to the archive, it \n>> gives you a download\n>> > link for each attachment, and you just need to give the \n>> file a decent name.\n>> \n...
[ { "msg_contents": "> How do you know it has no negative effects? The problem that it was\n> intended to fix only showed up with large numbers of backends \n> (ie, more\n> than the system limit on number of semaphores, which is depressingly\n> small on many old-line Unixes). Perhaps cygipc has no limit on numb...
[ { "msg_contents": "Thank you for answering all my stupid questions. I did read the User manual\nas well as Programmer and Admin, and what i was able to get out was not\nmuch. I guess i wasn't used to the way that postgres work coming from a\nmicrosoft background. But wouldn't you agree that the manuals was a li...
[ { "msg_contents": "> > It seems that you have found a bug in the cygipc library. I suggest\n> > reporting it to the author of same...\n> \n> Yes, but can we expect all NT sites to get the patch before using\n> PostgreSQL? Is there a workaround we can implement?\n\nThe workaround is in my first mail in this th...
[ { "msg_contents": "Hi All,\n\nTwo weeks ago somebody had reported that drop user don't remove rights from\nrelacl field of pg_class. This problem is more serious if you delete a group\nfrom pg_group without remoking rigths before. It causes backend terminates\nabnormally.\n\nMaybe interesting for others!! Could...
[ { "msg_contents": "Hi All,\n\nTwo weeks ago somebody had reported that drop user don't remove rights from\nrelacl field of pg_class. This problem is more serious if you delete a group\nfrom pg_group without revoking rigths before. It causes backend terminates\nabnormally.\n\nMaybe interesting for others!! Could...
[ { "msg_contents": "> > > i filed a bug report at one time noting that:\n> > > \"ALTER TABLE tbname RENAME TO tbname_new;\"\n> > > was not renaming all of the extents.\n> > > \n> > > do you know if this has been fixed?\n> > \n> > Yes, in 6.5.*.\n> \n> cool.\n> \n> if i'm annoying you, tell me to go away.\n> \n> ...
[ { "msg_contents": "Do we have a list of projects using PostgreSQL?\n\nThis should be on it.\n\nIt's an impressive linking of our DB engine with Gimp,\nthe best free graphics package.\n\nKeith.\n------------- Begin Forwarded Message -------------\n\nDate: Mon, 16 Aug 1999 16:41:57 +0200\nFrom: Alessandro Baldoni...
[ { "msg_contents": "I have just checked in a little test script that I've been using for a\nwhile (since before 6.5) to pound on lesser-used paths in the optimizer.\nIt's called src/test/regress/regressplans.sh, and it just runs the\nregular regression tests with different PGOPTIONS settings to force\nvarying pl...
[ { "msg_contents": "\ni have a table which uses an abstime to store a time/date.\n\nthe data originates as unix time_t, which i convert to a string when inserting\nthe data into the table.\n\ni do select's from the table with WHERE clauses that use the abstime stuff.\n\ni want to get the results of a select as u...
[ { "msg_contents": "> On Tue, 17 Aug 1999, Bruce Momjian wrote:\n> \n> > > On Tue, 17 Aug 1999, Bruce Momjian wrote:\n> > > \n> > > > > > My wife would not mind the trip. We have friends in Toronto. It is 10\n> > > > > > hours. Yikes.\n> > > > > \n> > > > > 22 for me, definitely not a \"weekend trip\" :( But...
[ { "msg_contents": "Hi, all\n\nI have found out what the problem is, although not (yet) the solution. \n\nExecutive summary:\n------------------\nThe scan.l code is not flexing as intended. This means that, for most\nproduction installations, the max token size is around 64kB.\n\nTechnical summary:\n----------...
[ { "msg_contents": "Hello,\n\nWe are using v6.3.2 with patches, and using many tables which\nuses 'large object'. Main problem with it is\n\n(1) cannot dump large object, is this still true in v6.5.1 ?\n or no plan for immplementing dumping blobs in near future?\n(2) if I want to clone dbs from linux to s...
[ { "msg_contents": "Just for a testing I made a huge table (>2GB and it has 10000000\ntuples). copy 10000000 tuples took 23 minutes. This is not so\nbad. Vacuum analyze took 11 minutes, not too bad. After this I created\nan index on int4 column. It took 9 minutes. Next I deleted 5000000\ntuples to see how long ...
[ { "msg_contents": "If I understand things right, the postgres process is both a reader and\nwriter. Is this right? If it is, would there be any value in separating\nthe reader and writer portions of the program? This is site specific, but\nmost production environments require far more reading than writing, a...
[ { "msg_contents": "> > > In any case, when one backend quits and another one is\n> > > started, the new\n> > > one will re-use the semaphore no longer used by the \n> defunct backend.\n> >\n> > I have tested my solution a bit more and I have to say that \n> reusing a\n> > semaphore by a new backend works OK. Bu...
[ { "msg_contents": "> > I made the following patch for cygipc library on trial.\n> > This patch was effective for Yutaka's test case.\n> \n> I will try it right now, it looks interesting. It could also \n> explain some\n> \"non-deterministic\" behavior of the cygipc library.\n\nAfter first few tests I can say, t...
[ { "msg_contents": "I need to parse this format:\n\n<Database ftpdatabase [hostname[:port]]>\n [<DatabaseID somebody>]\n [<DatabasePWD mypwd>]\n [<Table ftp_users>\n [<Uname uname>]\n [<CryptedPwd cryptedpwd>]\n [<FtpPath ftppath>]\n </Table>]\n</Database>\n\nThat's all that I currently have.\nSo, which of th...
[ { "msg_contents": "I'm trying to write a ncftp_auth deamon that will utilize PostgreSQL. The\nbase SDK is in C. I'm adapting it to C++ because I feel like it, but Perl\nwould be a slightly steeper learning curve (sockets and all that). I'm\ntrying to get a conf file parser such that the login's can be in mul...
[ { "msg_contents": " Hello \n\nThank's very much for your help.\n\nI have already installed two copies of PostgreSQL DB. One was installed from RPM, another one was compiled without RPM. The copy installed from RPM has problem with query length, another copy haven't this problem! \n\nI decide to compile it ...
[ { "msg_contents": "Taking this further:\n\nI have discovered why flex is inserting YY_USES_REJECT into the generated .c\nfile; it's because scan.l uses variable-length trailing context. This is\nmentioned by the flex documentation as a performance degrader of note, as\nwell as not allowing dynamic token resizi...
[ { "msg_contents": "Please read the Inprise Linux Developers survey. The most interesting thing\nthat I picked out was the db platform question:\n\nWhich local database or database server do you plan to use with your Linux\napplication development? \n\nPG came 4th with 22.0%. This is quite a good indication ...
[ { "msg_contents": "Dave Page <dpage@vale-housing.co.uk> writes:\n> BTW what's this 'Check out \"PostgreSQL Wearables\" @ http://www.pgsql.com'\n> that seems to be appearing on the bottom of the last 5 or 6 messages on the\n> list - I'm not sure I want that added to my sig.\n\nI don't like it either. Please rem...
[ { "msg_contents": "\nThe following is from the web stats for www.PostgreSQL.org,browser report:\n\n 133414: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)\n 125351: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)\n 116392: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)\n 100206: Mozilla/4.0 (compatible...
[ { "msg_contents": "I work at and Advertising Firm and I recently had the misfortune of learning\nthat MSIE current supplies two-thirds of total user hits. It is painful,\nand I wept with great despair upon the hearing of it.\n\tDEJ\n\n> -----Original Message-----\n> From:\tThe Hermit Hacker [SMTP:scrappy@hub.o...
[ { "msg_contents": "Thanks guys, for all the help. \nThe reason that I was thinking 'grammar parser' was that the spec of this\nformat may change. I was looking for something that would be quick, but\neasily extended as the grammar changed/evolved. Also my next project will\nneed the same functionality if no...
[ { "msg_contents": "Hi!\n\nI'm currently fooling around with Postgres's parser, and I must admit\nsome things puzzle me completely. Please tell me what these things in\nlexer stand for:\n\n{operator}/-[\\.0-9]\t{\n\t\t\t\t\tyylval.str = pstrdup((char*)yytext);\n\t\t\t\t\treturn Op;\n\t\t\t\t}\nIs it an operator ...
[ { "msg_contents": "camm@enhanced.com wrote:\n >Package: postgresql\n >Version: 6.5.1-6\n \nI'm forwarding this to the hackers list, because it presumably is an issue\nto be addressed in the code for rolling back an aborted transaction. I\nsuppose that there is nothing there to handle the case that the index...
[ { "msg_contents": "Hello in 6.5.1 i noticed this strange behavior;\nI have databaze vith about 50 table and the whole amount of date in them\nis aprox 30M.\nBut the size of pg_log after a two weeks of osing the db is 0.5G !!?\nI am using large object - so the dump and reload is rathe painfull. I have\nscript wh...
[ { "msg_contents": "auth 30105652 subscribe pgsql-hackers xbouska@bsdi.infima.cz\n\n", "msg_date": "Fri, 20 Aug 1999 10:07:57 +0200 (CEST)", "msg_from": "Richard Bouska <xbouska@bsdi.infima.cz>", "msg_from_op": true, "msg_subject": "auth 30105652 subscribe pgsql-hackers xbouska@bsdi.infima.cz" ...
[ { "msg_contents": "Hello in 6.5.1 i noticed this strange behavior;\nI have database vith about 50 table and the whole amount of date in them\nis aprox 30M.\nBut the size of pg_log after a two weeks of using the db is 0.5G !!?\nI am using large object - so the dump and reload is rathe painfull. I have\nscript wh...
[ { "msg_contents": ">> Hi!\nHi, Leon\n\n>> I'm currently fooling around with Postgres's parser, and I must admit\n>> some things puzzle me completely. Please tell me what these things in\n>> lexer stand for:\n>> \n>> {operator}/-[\\.0-9]\t{\n>> \t\t\t\t\tyylval.str = pstrdup((char*)yytext);\n>> \t\t\t\t\treturn ...
[ { "msg_contents": "To further this thread:\n\nI have downloaded an example implementation of SQL which, thankfully, does\nnot use vltc's. I'm going to see where we have problems, and see if I can\nreduce the scanner rules to something that is not variable-length trailing.\n\nIf anybody with significant scanner...
[ { "msg_contents": "I�ve a problem with CVS to get the source, when trying to login I get the\nbash-2.02$ cvs -d :pserver:anoncvs@postgresql.org:/usr/local/CVSROOT login\n(Logging in to anoncvs@postgresql.org)\nCVS password:\ncvs [login aborted]: authorization failed: server postgresql.org rejected\naccess\n\n...
[ { "msg_contents": ">> >> Is it an operator followed by mandatory '-' and (dot or digit) ?\n>> I think this is used to recognize an operator followed by a minus or any\n>> single character (the period is escaped, the character can be used to\ndenote\n>> the base of the number) or a single digit.\nSorry, make tha...
[ { "msg_contents": "At the very least, couldn't vc_vpinsert() double\nvpl->vpl_num_pages whenever vpl->vpl_num_pages\nneeds to be expanded instead of expanding linearly\nby PG_NPAGEDESC, or by the original 100?\n\nMike Mascari\n(mascarim@yahoo.com)\n\n--- Hiroshi Inoue <Inoue@tpf.co.jp> wrote:\n> Hi all,\n> \n> ...
[ { "msg_contents": "Leon, I see that you have been running into the vltc problem ;-) I just run\na flex -p, and went to line 314.\n\nMikeA\n\n>> -----Original Message-----\n>> From: Ansley, Michael [mailto:Michael.Ansley@intec.co.za]\n>> Sent: Friday, August 20, 1999 11:27 AM\n>> To: 'Leon'; hackers\n>> Subject...
[ { "msg_contents": "I figured it out. The first thing the code does is set the state to xm\n(BEGIN (xm)). If you look in the comments at the top, Tom Lane put these in\nto deal with numeric strings with embedded minuses. Tom, can you give us a\nrun-down of what the problem was that required this stuff. Perha...
[ { "msg_contents": "Sorry, Tom, I saw the tgl initals, and assumed it was you, before realising\nthat there are a couple of people who could be identified by those initials.\ntgl, please stand up ;-)\n\nMikeA\n\n>> -----Original Message-----\n>> From: Ansley, Michael \n>> Sent: Friday, August 20, 1999 12:37 PM\n...
[ { "msg_contents": ">> > \n>> > Leon, I see that you have been running into the vltc \n>> problem ;-) I just run\n>> > a flex -p, and went to line 314.\n>> \n>> I got it. It is done to prevent minus from sticking to number in\n>> expressions like 'a -2'. Dirty, but it works.\n\nDirty, but it also breaks the sca...
[ { "msg_contents": "Leon, if you manage to find a replacement for this, please let me know.\nI'll probably only pick it up after the weekend.\n\nI think that we need to find another way to tokenise the minus. First of\nall, though, how is the parser supposed to tell whether this:\na -2\nmeans this:\n(a - 2)\nor...
[ { "msg_contents": "\nvoip=> select * from billing;\nBackend message type 0x44 arrived while idle\nBackend message type 0x44 arrived while idle\nWe have lost the connection to the backend, so further processing is\nimpossible. Terminating.\n\nselect vendor_ip, sum(duration) as sumdur from billing where( call_ty...
[ { "msg_contents": "Mark,\n\n The error you are experiencing was discussed on the hacker's list\nlast week. Oliver Elphick and Tom Good worked out a patch for SQL to\nsolve the problem. You're right that the pg_vlock is getting created and\nthen getting deleted during the vacuuming of the last table. This end...
[ { "msg_contents": "I have just noticed that the optimizer's indexing code is doing\nsomething that looks pretty bogus for non-btree-type indexes.\nIn optimizer/util/plancat.c, there's a routine index_info() that\npulls the necessary information about an index out of the catalogs.\nIt is picking up whatever oper...
[ { "msg_contents": "I have just committed changes that alter the representation of\nSortClause nodes (making them like GroupClause, instead of the\ncrufty way they were done before). This breaks stored rules!\nYou will need to initdb next time you pull current sources...\n\nThe good news is that the optimizer i...
[ { "msg_contents": "I've just grabbed it now, I'll get back to you Monday.\n\n>> -----Original Message-----\n>> From: Leon [mailto:leon@udmnet.ru]\n>> Sent: Friday, August 20, 1999 8:28 PM\n>> To: Ansley, Michael\n>> Cc: hackers\n>> Subject: Re: [HACKERS] Postgres' lexer\n>> \n>> \n>> Ansley, Michael wrote:\n>> ...
[ { "msg_contents": "\n Hi,\n\n I'am programming a trigger in 'C' and I need know that a trigger run in\na transaction. How check in a trigger that is transacton set (BEGIN before\ntrigger)? \n\nAnd - exist some check function for table lock? (But _not_ table in current\nrelation (CurrentTriggerData->tg_relation)...
[ { "msg_contents": "What does it mean?\n\nprova=> select nome from prova group by nome having count(*) > 1;\nnome\nCarlos\nHenrique\nJose\n(3 rows)\n\nprova=> select oid,* from prova where nome in (select nome from prova\ngroup by nome having 1 < count(*));\nERROR: pull_var_clause: Cannot handle node type 108\n...
[ { "msg_contents": "Hy all!\n\nI posted this mail on the general and sql mailing-list, but I got no\naswer, so I try to post it here;\nif the question is bad-explained, please ask me more details...\n\nI want to make a many-to-many relation on my db, and I would like to use\n\nan array-field of the external keys...
[ { "msg_contents": "Hy all!\n\nI posted this mail on the general and sql mailing-list, but I got no\naswer, so I try to post it here;\nif the question is bad-explained, please ask me more details...\n\nI would like to use OIDs as a primary key on every table of my db,\nbecause this seem to me a very smart thing ...