threads
listlengths
1
2.99k
[ { "msg_contents": "\nHere's my response to the inaccurate article cmp produced. After\nchatting with Marc I decided to post it myself.\n\nSince I know Ned reads this list, I formally request that he also\ninsists PUBLICALLY that cmp correct their inaccuracies. I'm rather\ndisappointed (for lack of a more desc...
[ { "msg_contents": "\nTom and Peter,\n\nAfter looking at and thinking about the direction of the PostgreSQL\nproject and the release of 7.1, I wanted to personally thank the both\nof you for your hard work and contributions to the project which without\nyour efforts there might not only not be a 7.1, PostgreSQL ...
[ { "msg_contents": "Hi pgsql-hackers,\n\n Could anyone advise me how to do modular test in any partial\nPostgreSQL's modules?\n I am interested in the PostgreSQL development. I have begun study the\nDBMS source code by developer documentation provided by postgresql.org\nespecially internal.ps that is the bes...
[ { "msg_contents": "Hi,\n\nSorry, per OOC...\n\nSomebody could tell me where I can find documentation online about SQL2\nand SQL3 (especially the last).\n\nThis the SQL3 approved finally?\n\nThat match is between SQL92,SQL96,SQL99 and the SQL2 and SQL3?\n\nThanks,\n\nSergio\n", "msg_date": "Sun, 15 Apr 2001 ...
[ { "msg_contents": "Folks,\n\nBy now, I imagine a number of people have seen the piece on the\nComputer Reseller News website about Great Bridge and PostgreSQL.\nWhile I think we're all happy to see the increased visibility for\nPostgreSQL (especially as compared to the Oracles of the world),\nit's fair to say t...
[ { "msg_contents": "The \"Current Release Docs\" on the PostgreSQL website still look 7.0.Xish.. \n\nJust an FYI... \n\n-Mitch\n\n\n", "msg_date": "Sun, 15 Apr 2001 13:11:34 -0400", "msg_from": "\"Mitch Vincent\" <mitch@venux.net>", "msg_from_op": true, "msg_subject": "The \"Current Release Docs\...
[ { "msg_contents": "There was a discussion once about using 64 bit long long compiler support to\nincrease the size of the transaction ids to solve the wrap around problem. I\nunderstand that there is a different solution for this now.\n\nHowever, my question is: Are we to the point where int64's can be used in...
[ { "msg_contents": "What does this error mean - and how can I avoid it in the future?\n\npostmaster: StreamConnection: accept: Too many open files in system\n\nAny help would be much appreciated!\n\n\nRyan Mahoney\n", "msg_date": "Mon, 16 Apr 2001 03:43:50 GMT", "msg_from": "ryan@paymentalliance.net", ...
[ { "msg_contents": "\nOK, looks like we have a Tru64 problem with 7.1 too. Can you tell us\nhow to get a NAN value. Zero is not it. I see the following mentions\nof NAN in the code. Does NAN exist in one of your /usr/include files?\n\n\n\ninclude/port/qnx4.h:18:#ifndef NAN\n...
[ { "msg_contents": "\nNo, those don't do it. We need an actual NaN value. These are just\nflags, I think.\n\n\n\n> There are two things I found from fp_class.h, FP_SNAN (a signaling NaN), \n> and FP_QNAN (a quiet NaN). Don't know which you want:\n> alphapc.ourservers.net> grep FP_SNAN /usr/include/*\n> /usr/in...
[ { "msg_contents": "May I please ask you guys a question about Postgres.pm. Right now I'm\nworking on a Red Hat 6.2, Apache 1.3.9 and Perl5. I've finally got\nApache setup which was no easy task even with a $80.00 Mohawk GUI\nadministration front end. But now I get the following from my perl/cgi\nprogram erro...
[ { "msg_contents": "I have looked and I have looked, it is not immediately clear to me how integer\narrays are passed to C function.\n\ncreate table fubar (vars integer[]) ;\n\nselect c_function(vars) from fubar;\n\ninsert into fubar (vars) values ('{1,2,3,4,5,6}');\n\n\n........\n\nextern \"C\" c_function (varl...
[ { "msg_contents": "The ability to place database objects into a logical partitioning of \ndata. For example, in Oracle, each user creates tables, views, \nsequences, synonyms, and snapshots in their own schema. So if I were \nto create a table called 'Employees', I could query it as:\n\nSELECT * FROM employees;...
[ { "msg_contents": "Hi,\n\nWhile doing some testing with Postgresql 7.1, I noticed some perculiar \nbehaviour with the JDBC driver. Selecting a single record from a table is \n5-10 times slower than doing an insert (even if the table only contains a \nsingle record, and the select query does not contain any join...
[ { "msg_contents": "CREATE FUNCTION userHasAll (int4,int4) RETURNS boolean AS '\nDECLARE\n row RECORD;\n kirakorow kirakok%ROWTYPE;\n userID ALIAS FOR $1;\n kirakoID ALIAS FOR $2;\n megvan int4:=0;\n kepdarabok INTEGER:=0;\n query text;\nBEGIN\n SELECT * INTO kirakorow FROM kirakok WHERE kirako_id=kirako...
[ { "msg_contents": "\n> I was thinking SET because UPDATE does an auto-lock.\n\nOptimal would imho be a SET that gives a maximum amount of time in seconds \nthe client is willing to wait for any lock. But I liked the efficiency of Henryk's code.\n\n> \n> > Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > > I ...
[ { "msg_contents": "Hi guys,\n\nI've just come up with a hypothetical which, in my opinion, points to a\nflaw in the foreign key implementation in Postgres. All tests were\nconducted on 7.1beta4 -- not the most up to date, but I have seen no\nreference to this in the mailing list/todo (ie, in 'foreign' under\nTO...
[ { "msg_contents": "No, they shouldn't. If you want to delete only those tuples that aren't\nreferenced in b then you must explicitly say so:\n\ndelete from a where not exists (select * from b where b.b = a.a);\n\nThe query that you tried will explicitly delete all rows from a, thus\nviolating the constraint on...
[ { "msg_contents": "Hi\n\nI have been volunteered to give a talk at a Linux conference \n(http://www.linuxafrica.co.za).\n\nThe context is the following\n\nA Comparative Analysis of Opensource and Proprietry Database Technologies\n\nSeveral options exist for selecting a database on Opensource operating\nsystems ...
[ { "msg_contents": "Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> I envisioned:\n\n> \tSET TIMEOUT TO 10;\n> \tUPDATE tab SET col = 3;\n> \tRESET TIMEOUT\n\n> Can't we get that work work properly? Let the timeout only apply to the\n> 'tab' table and none of the others.\n\nAs Henryk has implemented it, it WO...
[ { "msg_contents": "\n> > Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > > Added to TODO:\n> > > \t* Add SET parameter to timeout if waiting for lock too long\n> > \n> > I repeat my strong objection to any global (ie, affecting all locks)\n> > timeout. Such a \"feature\" will have unpleasant consequences.\...
[ { "msg_contents": "\n> > I envisioned:\n> \n> > \tSET TIMEOUT TO 10;\n> > \tUPDATE tab SET col = 3;\n> > \tRESET TIMEOUT\n> \n> > Can't we get that work work properly? Let the timeout only \n> apply to the\n> > 'tab' table and none of the others.\n> \n> As Henryk has implemented it, it WON'T only apply to the ...
[ { "msg_contents": "\n> > Added to TODO:\n> > \t* Add SET parameter to timeout if waiting for lock too long\n> \n> I repeat my strong objection to any global (ie, affecting all locks)\n> timeout. Such a \"feature\" will have unpleasant consequences.\n\nExcept that other people like myself, see those consequence...
[ { "msg_contents": "Greetings which it is the driver JDBC that allows me the connection of \nMatlab and PostgreSQL and where I look for it there am I install.\nHe/she would have some simple example of the code that I should add Matlab.\nThank you.\n________________________________________________________________...
[ { "msg_contents": "\n> > The timeout will be useful to let the client or user decide on an\n> > alternate course of action other that killing his application (without\n> > the need for timers or threads in the client program).\n> \n> This assumes (without evidence) that the client has a good idea of what\n> the...
[ { "msg_contents": "In our DB schema we have defined a class of tables containing important\ndata for which we'd like to keep an audit trail of any change. These\ntables have the following inheritance structure:\n\n +----> <table> (real, live table with constraints)\n<table>_type |\n ...
[ { "msg_contents": "Michael Ansley <Michael.Ansley@intec-telecom-systems.com> writes:\n> Sorry for my forgetfulness (and a search through geocrawler didn't turn up\n> anything useful), but what was the problem with something like NOWAIT?\n> e.g.: SELECT * FROM a FOR UPDATE NOWAIT;\n> where, if the required lock ...
[ { "msg_contents": "\nHi,\n\nI have just modified the jdbc 7.1rc4 source to let the PreparedStatement\nhandle null values in setXXX methods gracefully...\n\nAccording to JDBC a setXXX method should send a NULL if a null value is\nsupplied (and not raise an exception or other)\n\nHow can I contribute?\n\nJeroen\n...
[ { "msg_contents": "I just read on -general that it is envisoned to have a SET command to\ntemporarily change the effective user id (for superusers only), so that\npg_dump generated scripts won't have to use \\connect and be forced to run\nunder excessively loose permissons.\n\nThis isn't hard to do, in fact we ...
[ { "msg_contents": "\n Hi:\n\n One of the most obvious things that should do a database is to check\nfor data integrity and values, but programming with PHP and other\nlanguages I see that we duplicate this task: one on the client side\n(with javascript), sometimes on server side (on PHP) and finally\non the d...
[ { "msg_contents": "\nHi,\nWith PGSQL you can authenticate with KRB5 or a proprietary /etc/passwd\nIs it planned to use other methods of authenticating?\nLDAP?\nPAM?\nSASL?\n\nI'm in the process of centralizing authentication of users for all our\nservices but it's not possible in the current state of PGSQL.\n\n...
[ { "msg_contents": "> > Added to TODO:\n> > \t* Add SET parameter to timeout if waiting for lock too long\n> \n> I repeat my strong objection to any global (ie, affecting all locks)\n> timeout. Such a \"feature\" will have unpleasant consequences.\n\nBut LOCK TABLE T IN ROW EXCLUSIVE MODE WITH TIMEOUT X will no...
[ { "msg_contents": "This one probably needs the 'iron hand and the velvet paw' touch. The\niron hand to pound some sense into the author, and the velvet paw to\nmake him like having sense pounded into him. Title of article is 'Open\nSource Databases Won't Fly' --\nhttp://www.dqindia.com/content/enterprise/dataw...
[ { "msg_contents": "I noticed a quite strange behaviour of to_char() in 7.0 and 7.1. It treats \nabbreveated forms of a date completely wrong. Example:\n\n-- this one is ok\nmario=# select to_date('04.01.2001', 'dd.mm.yyyy');\n to_date\n------------\n 2001-01-04\n\n-- this is completly wrong, but NO error raise...
[ { "msg_contents": "> > The timeout will be useful to let the client or user decide\n> > on an alternate course of action other that killing his\n> > application (without the need for timers or threads in the\n> > client program).\n> \n> This assumes (without evidence) that the client has a good\n> idea of what ...
[ { "msg_contents": "Hello Dave & friends,\n\nI am working on the PgAdmin query loader project writing as much possible \ncode server-side in PL/pgSQL.\n\nFor the purpose of function 'compilation' (let's call it like that), I \ncreate two temporary tables: compiler_function which holds the list of \nPL/PgSQL func...
[ { "msg_contents": "I want to thank you for the excellent and fast responses I have received\nin the past. Especially while troubleshooting the sfio problem. These\nproblems are VERY minor and easily worked around. Part of the reason I\nam posting them is just in case someone else runs across the same\nthings...
[ { "msg_contents": "The postgresql interactive terminal will dump core on any script that is\nrun via the -f command line option if their exists a connect line without\na valid user. An example connect line is in one of the attached files.\nThe user that I have choosen is just testuser, you will see what I mean...
[ { "msg_contents": "In latest 7.1 (checked out 2 days ago from CVS), I see following\nbehaviour:\n\ncreate table foo(x int4);\ncreate function xx(foo) returns int4 as ' return 0;' language 'plpgsql';\ncreate view tv2 as select xx(foo) from foo;\n\nusers=# \\d tv2\nERROR: cache lookup of attribute 0 in relation ...
[ { "msg_contents": "\n> > In short, I think lock timeout is a solution searching in vain for a\n> > problem. If we implement it, we are just encouraging bad > application\n> > design.\n> \n> I agree with Tom completely here.\n> \n> In any real-world application the database is the key component of a \n> larger ...
[ { "msg_contents": "\n> \"Henryk Szal\" <szal@doctorq.com.pl> writes:\n> > YES, this feature should affect ALL locks.\n> > 'Timeout on lock' parameter says to server \"I CAN'T WAIT WITH THIS\n> > TRANSACTION TOO LONG BECAUSE OF (ANY) LOCK\",\n> \n> It still seems to me that what such an application wants is not ...
[ { "msg_contents": "\n> In latest 7.1 (checked out 2 days ago from CVS), I see following\n> behaviour:\n> \n> create table foo(x int4);\n> create function xx(foo) returns int4 as ' return 0;' language 'plpgsql';\n> create view tv2 as select xx(foo) from foo;\n\nregression=# create function xx(foo) returns int4 a...
[ { "msg_contents": "I am in the middle of a rather nasty experience that I hope someone out\nthere can help solve.\n \n My hard disk partition with the postgres data directory got full. I\ntried to shut down postgres so I could clear some space, nothing\nhappened. So I did a reboot. On restart (after clearing so...
[ { "msg_contents": "Where would I find a postgres DBA for the Toronto area? Are there are\nany web-based user groups for job hunters?\n\nThank you,\nDanielle\n\n\n\n", "msg_date": "Wed, 18 Apr 2001 15:57:35 GMT", "msg_from": "\"Opensoft.ca\" <info@osft.com>", "msg_from_op": true, "msg_subject": "...
[ { "msg_contents": "\n> > It is not something that makes anything unrelyable or less robust.\n> \n> How can you argue that? The presence of a lock timeout *will* make\n> operations fail that otherwise would have succeeded; moreover that\n> failure will be pretty unpredictable (at least from the point of view\n>...
[ { "msg_contents": "> This is the real reason why I've been holding out for restricting the\n> feature to a specific LOCK TABLE statement: if it's designed that way,\n> at least you know which lock you are applying the timeout to, and have\n> some chance of being able to estimate an appropriate timeout.\n\nAs I ...
[ { "msg_contents": "\ntgconstrrelid (in pg_trigger) holds table references in a RI trigger.\nThe value in this field is not successfully recreated after a\ndump/restore.\n\n---\n\nIf I create a simple relationship:\n\n create table p (id int primary key);\n create table c (pid int references p);\n\nand query...
[ { "msg_contents": "Hello Group!\nDoes anybody knows how I can get the difference between two date (timestamp)\nis secondes or convert timestamp to integer or float type (in any acceptable\nsense).\n\nThank you in advance,\nSergiy.\n\n\n\n", "msg_date": "Wed, 18 Apr 2001 20:43:38 +0300", "msg_from": "\"S...
[ { "msg_contents": "I am in the middle of a rather nasty experience that I hope someone\nout\nthere can help solve.\n \n My hard disk partition with the postgres data directory got full. I\ntried to shut down postgres so I could clear some space, nothing\nhappened. So I did a reboot. On restart (after clearing s...
[ { "msg_contents": "I just checked the CRN PostgreSQL article at:\n\n http://www.crn.com/Sections/Fast_Forward/fast_forward.asp?ArticleID=25670\n\nI see no changes to the article, even though Vince our webmaster, Geoff\nDavidson of PostgreSQL, Inc, and Dave Mele of Great Bridge have\nrequested it be fixed. No...
[ { "msg_contents": "> One idea Tom had was to make it only active in a transaction, \n> so you do:\n> \n> \tBEGIN WORK;\n> \tSET TIMEOUT TO 10;\n> \tUPDATE tab SET col = 3;\n> \tCOMMIT\n> \n> Tom is concerned people will do the SET and forget to RESET \n> it, causing all queries to be affected by the timeout.\n\...
[ { "msg_contents": "\n> > > The only way PG could apply reasonable timeouts would be for the \n> > > application to dictate them, \n> > \n> > That is exactly what we are talking about here.\n> \n> No. You wrote elsewhere that the application sets \"30 seconds\" and\n> leaves it. But that 30 seconds doesn't hav...
[ { "msg_contents": "\nI tried to do a 'kill <pid>' like I would have in v7.0.3, doesn't affect\nit ... so, how to get rid of idle process that have been sitting around\nfor a long time, without having to shutdown the database itself?\n\npgsql 64484 0.0 1.0 15352 10172 p4- I Sat08PM 0:00.15 postmaster: ...
[ { "msg_contents": "Oldtimers might recall the last thread about enhancements of the access\nprivilege system. See\n\nhttp://www.postgresql.org/mhonarc/pgsql-hackers/2000-05/msg01220.html\n\nto catch up.\n\nIt was more or less agreed that privilege descriptors should be split out\ninto a separate table for bett...
[ { "msg_contents": "What did you do to the CVS server? It takes hours to update a single\nfile, half a day to run cvs diff. This has been like that for about 48\nhours.\n\n-- \nPeter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter\n\n", "msg_date": "Thu, 19 Apr 2001 18:03:11 +0200 (CEST)",...
[ { "msg_contents": "I figured out the bug that Alex Pilosov was reporting about constructs\nlike\n\tcreate table customers (...)\n\tcreate function cust_name(customers) ...\n\tselect cust_name(a) from customers a, addresses b ...\n\nThe problem is that whole-tuple parameters to functions are represented\nas poin...
[ { "msg_contents": "Dear Hackers,\n\ni'm using 7.1 in a production environment, porformace is very good, you've \nmade a vesy good job.\n\nBut there are problems, sometimes backend \"failed to start\":\n\n(mandrake 7.2, mod_perl 1.24, apache 1.3.14, Apache::DBI)\n(deadlock_timeout=2000\nmax_connections=300)\n\nD...
[ { "msg_contents": "Request for comments:\n\nOverview\n--------\n\nThe planner is currently badly handicapped by inadequate statistical\ninformation. The stats that VACUUM ANALYZE currently computes are:\n\nper-table:\n\tnumber of disk pages\n\tnumber of tuples\n\nper-column:\n\tdispersion\n\tminimum and maximu...
[ { "msg_contents": "Hi,\nI am a newbie for developing with postgresql. I have included the header file \nby : #include <postgresql/libpq++.h> (I am using 7.1) When I compile it i get \nthe following errors:\nIn pgconnection.h\nline 41 postgres_fe.h: No such file or directory\nline 42 libpq-fe.h: No such file or ...
[ { "msg_contents": "\n> But you don't really need to look at the index (if it even exists\n> at the time you do the ANALYZE). The extent to which the data is\n> ordered in the table is a property of the table, not the index.\n\nThink compound, ascending, descending and functional index.\nThe (let's call it) clu...
[ { "msg_contents": "Philip Warner wrote:\n> At 08:42 19/04/01 -0500, Jan Wieck wrote:\n> [...]\n> > and the required\n> > feature to correctly restore the tgconstrrelid is already in\n> > the backend, so pg_dump should make use of it\n>\n> No problem there - just tell me how...\n\n Add a \"FR...
[ { "msg_contents": "I've posted the 7.1 hardcopy (postscript) docs at\n\n ftp://ftp.postgresql.org/pub/doc/7.1/*.ps.gz\n\nand\n\n http://www.postgresql.org/users-lounge/docs\n\nI've also generated standalone html versions of the docs in case someone\nwants that format. All are available at the http reference a...
[ { "msg_contents": "Hi Vince. I've put the 7.1 docs on the web site in the appropriate\nplace. Nice auto-generating web page stuff btw. \n\nI modified and compiled *but did not check into cvs* build.c to get nice\nreferences for the new Developer's and Reference docs.\n\nOK? If you want to inspect the changes, t...
[ { "msg_contents": "You probably already thought of this - but - why not just set up a \ncentralized server and have each office interact to the db via a web \ninterface. Let your application enforce security (apacheSSL, use db for \nuser auth) and to prevent two users from editing the same record \nsimultaneou...
[ { "msg_contents": "We use Postgres 7.0.3 to store data for our scientific research. We have\ntwo other labs in St. Louis, MO and Tempe, AZ. I'd like to see if\nthere's a way for them to mirror our database. They would be able to\nupdate our database when they received new results and we would be able\nto update...
[ { "msg_contents": "This call\n\nsetuid(geteuid());\n\nis found in backend/utils/init/postinit.c. AFAICT, this does nothing.\nAnyone got an idea?\n\n-- \nPeter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter\n\n", "msg_date": "Sat, 21 Apr 2001 17:04:34 +0200 (CEST)", "msg_from": "Peter ...
[ { "msg_contents": "Is there an easy way to read the WAL files generated by Postgres? I'm\nlooking into writting a replication deamon for postgres and think that\nthe WAL files are the best way to know what has happened to the db and\nwhat has to be replicated. I have a roughed out idea of how to code it\nup b...
[ { "msg_contents": "It's nothing but unused definitions. PostgreSQL7.1 compiles and works for me.\n\nI got following warnings for PL/PgSQL\n\nmake[2]: `/opt/rh7/postgresql/postgresql-7.1/src/pl'\nmake[3]: `/opt/rh7/postgresql/postgresql-7.1/src/pl/plpgsql'\nmake -C src all\nmake[4]: `/opt/rh7/postgresql/postgres...
[ { "msg_contents": "What I'd like to see in 7.2 is a WAL API with the following\nfunctionality:\n * Get the latest transaction in the WAL\n * Get transaction, transId, from the WAL\n * Was a given transaction rolled back?\n\nWhat I don't want to have to worry about is all the internals needed for\nwritting...
[ { "msg_contents": "\nI am trying to add another authentication mechanism to PostgreSQL... And,\nin doing that, I need to verify the existance of an user within PG. Short\nof hacking together code from verify_password(), is there any way to check\nif a user exists in postgresql? (The actuall password verificatio...
[ { "msg_contents": "I have a question about pg_statistic: Can we safely remove all records\nfrom pg_statistic? In my understanding, we could do it safely, since\nthe table is just a result holder of vacuum analyze.\n--\nTatsuo Ishii\n\n", "msg_date": "Mon, 23 Apr 2001 15:25:15 +0900", "msg_from": "Tatsuo...
[ { "msg_contents": "\n> >> But you don't really need to look at the index (if it even exists\n> >> at the time you do the ANALYZE). The extent to which the data is\n> >> ordered in the table is a property of the table, not the index.\n> \n> > Think compound, ascending, descending and functional index.\n> > The ...
[ { "msg_contents": "Hi,\n\nI'm about to write a simple one-way replication script relying on xmin\nand would like to speed up things by putting an index on it.\n\nSo I have a few questions:\n\n1. Will something bad happen if I put index on xmin ?\n\n2. Is it just a bad idea to do it that way ?\n (there will b...
[ { "msg_contents": "I noticed in the documentation that row length is unlimited. I think I\ntook that to mean row name length is now unlimited. But, row\nname length still appears to be set to a static width. Do I still need to\nrecompile postgres to get 64 character row headers?\n\nPostgres 7.1 RPMS\nRedhat ...
[ { "msg_contents": "\nFolks:\n I'm planning a port of Postgres to a multiprocessor\narchitecture in which all nodes have both local memory \nand fast access to a shared memory. Shared memory it more\nexpensive than local memory.\n\n\tMy intent is to put the shmem & lock structures in\nshared memory, but use ...
[ { "msg_contents": "\nFolks:\n I'm planning a port of Postgres to a multiprocessor\narchitecture in which all nodes have both local memory\nand fast access to a shared memory. Shared memory it more\nexpensive than local memory.\n\n\tMy intent is to put the shmem & lock structures in\nshared memory, but use a...
[ { "msg_contents": "Postgresql Programmer's Guide\nby Thomas Lockhart, Thomas Lochart (Editor)\n\n http://www.amazon.com/exec/obidos/ASIN/0595149170/ref=pd_sim_elt_l1/107-6921356-0996510\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 85...
[ { "msg_contents": "Actually, the text I quoted was wrong. It was from the Amazon web page.\nThe book cover says:\n\n\tPostgresql Programmer's Guide\n\tby The PostgreSQL Development Team\n\tEdited by Thomas Lochart\n\nAlso, somone reviewed my book at:\n\n\thttp://Linuxiso.org/bookreviews/postgresql.html\n\nThis...
[ { "msg_contents": "\nAnyone thought of implementing this, similar to how sendmail does it? If\nload > n, refuse connections?\n\nBasically, if great to set max clients to 256, but if load hits 50 as a\nresult, the database is near to useless ... if you set it to 256, and 254\nidle connections are going, load wo...
[ { "msg_contents": "\nBruce Momjian wrote:\n> > A different approach that's been discussed on pghackers is to make use\n> > of btree indexes for columns that have such indexes: we could scan the\n> > indexes to visit all the column values in sorted order. I have rejected\n> > that approach because (a) it doesn'...
[ { "msg_contents": "Hi,\n\n I just got trapped by one of my own features in the\n referential integrity area.\n\n The problem is, that the trigger run on the FK row at UPDATE\n allways checks and locks the referenced PK, even if the FK\n attributes didn't change. That's because if th...
[ { "msg_contents": ">Nathan Myers wrote:\n>> On Mon, Apr 23, 2001 at 03:09:53PM -0300, The Hermit Hacker wrote:\n>> >\n>> > Anyone thought of implementing this, similar to how sendmail does it?\nIf\n>> > load > n, refuse connections?\n>> > ...\n>> > If nobody is working on something like this, does anyone but me...
[ { "msg_contents": "\nHi,\n\nI believe i found two minor bugs in the linux start/stop scripts for the\ndownloadable rpm version of postgres 7.1. I don't think these have been\nreported already (i did some quik searches). Please look these over and see\nif i'm just smoking something or if these bugs are valid. Al...
[ { "msg_contents": "Is anyone else seeing this?\n\nI have the current CVS sources and \"make check\" ends up with one\nfailure. My regression.diffs shows:\n\n\n*** ./expected/join.out Thu Dec 14 17:30:45 2000\n--- ./results/join.out Mon Apr 23 20:23:15 2001\n***************\n*** 1845,1851 ****\n -- UNION JOIN...
[ { "msg_contents": "\nGot a query that looks like:\n\n========================================================================\n\nSELECT card_info.main_cat, category_details.sub_cat_flag,count(*)\n FROM send0,card_info,category_details\n WHERE send0.card_id=card_info.card_id\n AND category_details.mcategory='...
[ { "msg_contents": "\nTom:\n Notice that WriteBuffer would just put the fresh copy of the page\nout in the shared space.\n Other backends would get the latest copy of the page when\nTHEY execute BufferAlloc() afterwards. [Remember, backends would\nnot have a local buffer cache, only (temporary) copies of on...
[ { "msg_contents": "Doug McNaught wrote:\n> A very valid objection. I'm also dubious as to the utility of the\n> whole concept. What happens when Sendmail refuses a message based on\n> load? It is requeued on the sending end to be tried later. What\n> happens when PG refuses a new client connection based on ...
[ { "msg_contents": "who is it distributed by then? it was on the postgres ftp mirror sites, so\nit probably can't be redhat. I have found workarounds, so its not a big\ndeal, but... Also, i wonder what else is different from this package from\nthe \"real\" source distribution. I am sorry if this has been discuss...
[ { "msg_contents": "Does anybody know:\n\n1) Is the tar/custom format of pg_dump is portable accross different\n platforms?\n\n2) if I want to dump out all of database cluster contents including\n large objects, is following procedure correct?\n\n (dump procedure)\n pg_dumpall -g\n pg_dump -F c .... fo...
[ { "msg_contents": "\nHi,\nI think the pg_log file of my postgreSQL is corrupted.\nI can;t access to tables in my database now.\nThe error message appear when I tried to list all tables is as below :\n\" cannot flush block 8 of pg_log to stable store \"\nAnybody know how can I restore back the pg_log file.\nThan...
[ { "msg_contents": "Hello.\n\nI have a particular query which performs a 15-way join; I believe in \nnormalization ;-). Under 7.0.3, using the defaults where GEQO is \nenabled after 11, the query (which returns 1 row) takes 10 seconds. \nWith GEQO turned off, it takes 18 seconds. Naturally I intend to \nupgrade ...
[ { "msg_contents": "While searching for some info and using google.com I came across\n\n<http://www.epinions.com/ensw-review-7F55-42531AD1-3A43D81B-prod3>\n\nI am the first to understand that the opinion in such a site is\nworthless and the guy seems not to understand anything about DBMSs but\nit's quite harsh a...
[ { "msg_contents": "Now that 7.1 is safely in the can, is it time to consider\nthis patch? It provides cursor support in PL.\n\n http://www.airs.com/ian/postgresql-cursor.patch\n\nNathan Myers\nncm@zembu.com\n", "msg_date": "Wed, 25 Apr 2001 13:36:45 -0700", "msg_from": "ncm@zembu.com (Nathan Myers)", ...
[ { "msg_contents": "I want to extract tables schema information, i've looked at \nsrc/bin/psql/describe.c but i cannot determine the datatype 'serial' and \n'references' from pg_*, i understand that triggers are generated for serial \nand references, so how i can understand from my perl application the full \ns...
[ { "msg_contents": "Just a little note of pseudo humor.\n\nWe could not postmaster (pg version 7.0.3) and I could not figure out why. I\nchecked directory permissions, all that. It kept complaining that it could not\ncreate the pid file.\n\nI did not understand why it would not work. I grepped through all the po...
[ { "msg_contents": "Dear friends,\n\nPgAdmin provides new features for dropping/creating functions, triggers and \nviews and relinking the whole system without restarting PostgreSQL.\nBy now, this new feature is only available as a patch to PgAdmin \nhttp://www.greatbridge.org/project/pgadmin/patch/patchlist.php...
[ { "msg_contents": "I am getting a bit concerned about Postgres 7.1 performance with multiple\nconnections. Postgres does not seem to scaling very well. Below there is a list\nof outputs from pgbench with different number of clients, you will see that\npostgres' performance in the benchmark drops with each new c...
[ { "msg_contents": "i know \"password\" can be used in creating/altering user\ninformation (as used via GRANT and REVOKE) but is there any\nfacility within postgres to CRYPT() a value?\n\n\tcreate rule new_folk as on insert to view_folk do instead\n\t\tinsert into folk_table\n\t\t\t(created,login,password)\n\t\t...
[ { "msg_contents": "\nI want to extract tables schema information, i've looked at\nsrc/bin/psql/describe.c but i cannot determine the datatype\n'serial' and\n'references' from pg_*, i understand that triggers are generated for\nserial\nand references, so how i can understand from my perl application the\nfull\n...
[ { "msg_contents": "\n> We are currently calling 'vacuum' from within our code, using the psql++\n> PgDatabase ExecCommandOk() to send the SQL statement 'vacuum'. I seems to\n> work when we only have one process running, but when two processes (both\n> invoking the vacuum) are running it immediately hangs. Som...