threads
listlengths
1
2.99k
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Nicolai Tufar [mailto:ntufar@pisem.net] \n> Sent: 05 February 2004 00:01\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] PITR Dead horse? \n> \n> Totally agree. Robustness and rock-solidness are the only \n> things missing for PostgreSQ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Nicolai Tufar [mailto:ntufar@pisem.net] \n> Sent: 05 February 2004 08:15\n> To: Dave Page\n> Subject: RE: [HACKERS] PITR Dead horse? \n> \n> > -----Original Message-----\n> > From: Dave Page [mailto:dpage@vale-housing.co.uk] Well I've \n> only been \...
[ { "msg_contents": "> I don't think the bgwriter is going to be able to keep up with I/O bound\n> backends, but I do think it can scan and set those booleans fast enough\n> for the backends to then perform the writes.\n\nAs long as the bgwriter does not do sync writes (which it does not, \nsince that would need ...
[ { "msg_contents": "The attached patch applies to CVS tip as of 02/05/2004 and implements \nthe cost based vacuum delay feature.\n\nA detailed description with charts of different configuration settings \ncan be found here:\n\n http://developer.postgresql.org/~wieck/vacuum_cost/\n\nThere is a problem left th...
[ { "msg_contents": "Hello,\n I've been experimenting with dblink recently, and have encountered some\nlimitations I'd like to discuss.\n\nI've been trying to create views of remote tables, like so:\n\nCREATE VIEW stuff AS\nSELECT *\nFROM dblink(' ... remote connection info ... ',\n 'SELECT id, title, title_i...
[ { "msg_contents": "\nWhat has become of the \"dollar quoting\" mechanism that we had so much \ndiscussion about back in August/September?\n\nIIRC, a consensus was reached on the actual format of the quote \ndelimiters (either $$ or $identifier$), and Tom had a proof of concept \npatch to the parser to handle it...
[ { "msg_contents": "\nThe current release of DBD::Pg contains this in the CHANGES file:\n\n - $dbh->prepare() rewrites the SQL statement into an internal form,\n striping out comments and whitespace, and if PostgreSQL \n > 7.3 takes the\n stripped statement and passes that to...
[ { "msg_contents": "\n> People keep saying that the bgwriter mustn't write pages synchronously\n> because it'd be bad for performance, but I think that analysis is\n> faulty. Performance of what --- the bgwriter? Nonsense, the *point*\n\nImho that depends on the workload. For a normal OLTP workload this is \nc...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Nicolai Tufar [mailto:ntufar@pisem.net] \n> Sent: 05 February 2004 17:35\n> To: Dave Page; pgsql-hackers@postgresql.org\n> Subject: RE: [HACKERS] PITR Dead horse? \n> \n> > -----Original Message-----\n> > From: Dave Page [mailto:dpage@vale-housing.co...
[ { "msg_contents": "A long time ago Vadim proposed that we should revise smgr.c's API so\nthat it does not depend on Relations (relcache entries); rather, only\na RelFileNode value should be needed to access a file in smgr and lower\nlevels. This would allow us to get rid of the concept of \"blind\nwrites\". A...
[ { "msg_contents": "hello hackers,\n\nsome time ago i played with PgSQL and have written simpliest working \nprototype of WITH clause for it.\nit don't do any checks and performs only simpliest selects, but it works.\ni can contribute it and develop it further to production state.\n\nregards,\n.evgen\n\n", "...
[ { "msg_contents": "Folks,\n\nJust occurred to me that we have no code to prevent a user from running two \nsimultaneos lazy vacuums on the same table. I can't think of any \ncircumstance why running two vacuums would be desirable behavior; how \ndifficult would it be to make this an exception?\n\nThis become...
[ { "msg_contents": "I sent this a while ago to general and then\nhackers and got no response.\n\nThe question is whether to qualify the return value\nof a function when it returns a domain with\na check clause.\n\nI believe it should--otherwise the domain is\nonly useful on insert and is not acting\nlike a full ...
[ { "msg_contents": "I would like some configuration parameters to Pl/Java and I would like some\nadvice. Where should they go?\n\n1. Something similar to postgresql.conf (it's not extendable though, is it?)\n2. A Table in the database in the \"sqlj\" schema\n3. Java properties file (cumbersome, must be available...
[ { "msg_contents": "Just wanted to let you know that if we would be interested in adding\nthat patch to our main cvs the guy who wrote it would be more than\nwilling to change his license to BSD.\n\nMichael\n-- \nMichael Meskes\nEmail: Michael at Fam-Meskes dot De\nICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabbe...
[ { "msg_contents": "I'm using substring. Since I'm a coder more than a database guy, I \nexpected this:\n\nselect substring('abcdefgh',0,4);\n\nwould give me \n\nabcd\n\nbut it gives me a left aligned 'abc'\n\nselect substring('abcdefgh',1,4);\n\nworks fine.\n\nselect substring('abcdefgh',-4,4);\n\ngives me not...
[ { "msg_contents": "Hello folks,\n Not sure how critical this is, but I ran in to a problem building a fresh \ncheckout of HEAD with 'make -j 6 all'. Below is the system CV plus the final \nseconds from the black box. Everything worked fine rerunning make with no -j \nswitch.\n\nThanks, and everyone have a gr...
[ { "msg_contents": ">> Tracing the bgwriter process on my machine makes it real \n>obvious that in\n>> fact the select delay is allowed to finish out when SIGTERM \n>is received.\n>> In fact worse than that: it's restarted from the beginning. If 5\n>> seconds have already elapsed, another 10 still elapse before...
[ { "msg_contents": "Hi. I think postgresql is an incredible piece of software, I am \nlearning how to use it all the time. I ran into a nasty situation \nwhere 1 out of my 3 postgresql machines could not get any stats \nlogged at all. I did some research and found out why, but it also \nled me to believe mayb...
[ { "msg_contents": "Kevin Brown wrote:\n\n> I have no idea whether or not this approach would work in Windows.\n\nThe win32 API has ReadFileScatter/WriteFileScatter, which was developed\nto handle these types of problems. These two functions were added for\nthe sole purpose of making SQL server run faster. The...
[ { "msg_contents": "Hello!\n\nThe following SQL works:\n\nALTER TABLE a.foo RENAME TO bar;\n\nBut the following doesn't:\n\nALTER TABLE a.foo RENAME TO b.bar;\n\nThe capability to move objects to other schemas\nwould be quite useful.\n\nApparently, everything works OK if you change\npg_class.relnamespace with UP...
[ { "msg_contents": "Hello again.\n\nRecently, an application of mine, which faces the internet, came under\nattack. The form of the attack was the standard DOS attack. Open a\nbunch of sockets, don't close them, and see if you can break the\navailability of the application.\n\nThis attack came within six hours o...
[ { "msg_contents": "Recently I was tasked with creating a \"distribution system\" for\npostgres nodes here at work. This would allow us to simply bring up a\nnew box, push postgres to it, and have a new database.\n\nAt the same time, we have started to approach the limits of what we can\ndo with postgres on one ...
[ { "msg_contents": "\n\nHello everyone, \nI've been going through the PostgreSQL code, and I've reached a point\nwhere I need help.\nFirst of all, when is the PostgresMain() function for the backend executed?\nI've inserted some debugging prints, but they never get executed. What\nmost puzzels me, is that when I...
[ { "msg_contents": "\nThe attached tiny patch (not intended for application yet) provides a \nspace for plperl functions to create and share session persistent data, \nwhich I should think would increase the utility of plperl. Essentially \nit creates a hash called %session_globals which it then injects into the...
[ { "msg_contents": "While reviewing Andrew Dunstan's patch that implements the\nlog_disconnections GUC var, I noticed that tab-complete.c in psql\nclaims that only \"USERSET and possibly SUSET\" GUC variables should be\nincluded in the list of variables that can be auto-completed.\n\nThat policy is clearly not f...
[ { "msg_contents": "Hello all!\n\nI've been eyeing providing links between the previously separated \ndocumentation books, e.g., linking this sentence \"Please familiarize \nyourself with the pg_dump reference page.\" in the backup and restore \nsection <http://www.postgresql.org/docs/current/static/backup.html...
[ { "msg_contents": "Fresh checkout of CVS HEAD yesterday, updated today :\n\n$ ./configure --prefix=/usr/local/pgsql/7.5\n$ make\ngmake[4]: Entering directory \n`/usr/home/postgres/develop/c/pgsql/src/backend/access/nbtree'\ngcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes \n-Wmissing-declarations -I../.....
[ { "msg_contents": "Recently, I was surprised to learn that psql variables are case\nsensitive. Furthermore, there is no error when one attempts to '\\set'\na non-existent variable (arguably for good reason: I suppose it's too\nlate now to get rid of user-defined psql variables). That leads to\nconfusing situati...
[ { "msg_contents": "Adnrew,\n\n> The attached tiny patch (not intended for application yet) provides a\n> space for plperl functions to create and share session persistent data,\n> which I should think would increase the utility of plperl.\n\nYou want to really make PL/Perl more useful? Add an SPI interface, a...
[ { "msg_contents": "Alex,\n\n> As such, I would like to see some documentation about securing the\n> database at a data and application level. It would be nice to have some\n> general guidelines, as well as being able to cite documentation when\n> setting up a security policy for a database application.\n\nI'd b...
[ { "msg_contents": "Anyone please help... I'm a newbie on creating functions in postgresql.\n\nHere is an oracle package that I'm trying to port to postgresql:\n\nCREATE OR REPLACE PACKAGE BODY NewsPkg.NewsTools\nAS\n PROCEDURE del_news (i_id IN VARCHAR2)\n IS\n BEGIN\n DELETE FROM tbl_news_type\n ...
[ { "msg_contents": "Hello all,\n\nHow can i find out if a prepared statement already exists..? Is there a function or a query i can execute ..??\n\nBest Regards,\n\r\nFabrizio Mazzoni\nMacron Srl\n\n", "msg_date": "Mon, 9 Feb 2004 11:40:36 +0100", "msg_from": "\"veramente@libero.it\" <veramente@libero....
[ { "msg_contents": "\nWe use postgresql 7.4 running on a modified redhat\nlinux system as our database to store network related\ndata. The tables have millions of rows and several\njoins on these tables are typically done in response\nto user queries. The database itself takes about 40Gb\nof disk space. Our appl...
[ { "msg_contents": "On 6 Feb, To: tgl@sss.pgh.pa.us wrote:\n> On 5 Jan, Tom Lane wrote:\n>> Josh Berkus <josh@agliodbs.com> writes:\n>>> 2) DEVELOP BETTER PLANS FOR \"OR GROUP\" QUERIES\n>> \n>>> Summary: Currently, queries with complex \"or group\" criteria get devolved by \n>>> the planner into canonical and...
[ { "msg_contents": "Is there a quick way to use the BYTE_ORDER define\nas set by pgsql ? I can't find an \"entry point\"\ninclude for it. \n\nIt's needed for postgis (problems with Solaris BYTE_ORDER).\n\n--strk;\n", "msg_date": "Mon, 9 Feb 2004 19:51:22 +0100", "msg_from": "strk <strk@keybit.net>", ...
[ { "msg_contents": "I'm running Postgres v.7.3.4.\nIn my database dump file I see this:\n\nCREATE FUNCTION plpgsql_call_handler () RETURNS language_handler\n AS '/home/tmichael/build/relipg21/syncinc/lib.sol2/plpgsql',\n'plpgsql_call_handler'\n LANGUAGE c;\n\nThe hardcoded library path may become an obstac...
[ { "msg_contents": "Hey guys,\n\nI just set up a remote SSL port to our production db servers. Yeah, \nyeah, it's iffy, but management...\n\nI generated a server.crt and server.key as per docs.\n\nI set ssl = true in postgresql.conf\n\nI put this in pg_hba.conf:\n\nhostnossl all all 127.0.0.1 ...
[ { "msg_contents": "Hi Guys,\n\nI have a suggestion for fixing a long-term and painful\nproblem in PostgreSQL that is holding up many very\nimportant commercial projects, including ours!\n\nThis problem has been reported numerous times:\n\nWhen one process has a \"row lock\" on one or more rows\nin a table, usin...
[ { "msg_contents": "Hi all,\n\nJust stumbled upon this. just an FYI,\n\nhttp://www.microsoft.com/sql/yukon/productinfo/top30features.asp\n\n Shridhar\n", "msg_date": "Tue, 10 Feb 2004 17:38:26 +0530", "msg_from": "Shridhar Daithankar <shridhar@frodo.hserus.net>", "msg_from_op": true, "msg_subject...
[ { "msg_contents": "Most of the new features are new database tools, etc. That has always\nbeen a strong point with SQL server. IMO, the weak point of the\ndatabase (aside from the vendor and the price), is a lack flexibility of\nthe client APIs and the stored procedure syntax. \n\nThe interesting features ar...
[ { "msg_contents": "Mark Feit wrote:\n> This patch against 7.4.1's psql and the documentation adds the option\n> of reading rows from the \"current\" input stream (standard input, -f\n> xxx, \\i xxx) during a \"\\copy ... from\" operation in psql. The details\n> were proposed and discussed (somewhat) here:\n> \...
[ { "msg_contents": "POSTGRESQL: Summary of Changes since last release (7.4.1)\n----------------------------------------------------------\n10 Feb 2004\n\nThis is a summary of most changes since code versions marked 7_4_1. The\nintention is to help everybody understand what's coming and what might\nbe affected, t...
[ { "msg_contents": "Hi, all\n\nWhat should I do if I want to have 2 completely seperated databases in\nPostgreSQL? I want each database to have its own data, log and\neverything needed to access that database. I don't want them to share\nanything. Has anyone done this before? Or,\ncould anyone give me some clue ...
[ { "msg_contents": "I just saw the parallel regression tests hang up again. Inspection\nrevealed that StrategyInvalidateBuffer() was stuck in an infinite loop\nbecause the freelist was circular.\n\n(gdb) p StrategyControl->listFreeBuffers\n$5 = 579\n(gdb) p BufferDescriptors[579]\n$6 = {bufNext = 106, data = 49...
[ { "msg_contents": "PostgreSQL 7.4 on i386-linux-gnu, compiled by GCC 2.96\n\n-- about 10 records\nCREATE TABLE my.Small\n(\n id my.dint NOT NULL,\n code my.dvalue NOT NULL,\n CONSTRAINT pk_1 PRIMARY KEY (id),\n) WITHOUT OIDS;\n\n-- about 80M rows\nCREATE TABLE my.Large \n(\n id my.dlong NOT NULL, \n small_...
[ { "msg_contents": "Hi all,\n\nI've been thinking about triggers on system tables. The motivation for\nthis is to allow for better interaction between the system and interfaces.\nFor example, interfaces could store database meta data (list of tables)\nand have the cache invalidated by a trigger on pg_class (call...
[ { "msg_contents": "\n>> Improving on \"not ideal\" would be good, and would get even closer to\n>> full Oracle/SQLServer migration/compatibility. However, since I've never\n>> looked at that section of code, I couldn't comment on any particular\n>> approach nor implement such a change, so I'll shut up and be pa...
[ { "msg_contents": "Hey there everyone.\n\n\tSorry for what seems to be a rather strange\nthought but, could we change the seperator used to\ndistinguish 'cross-database' vs 'cross-schema' ?\n\n\tFor example, i would expect the following\nto work:\n\n\tCREATE OR REPLACE FUNCTION test_autohist() RETURNS trigger\n...
[ { "msg_contents": "Hi there fellow admins,\n\nOne of our databases had to be restored from a backup tape. Since there\nweren't any dumps made. All I had was a live backup (I know I know) of\n/var/lib/postgres/data/base/<number>. The number for the corresponding\ndatabase I manages to discover after some searchi...
[ { "msg_contents": "\n> In both cases, the transaction either commits or rollback occurs. No\n> other option is possible at the end of the transaction, but in the first\n> style of transaction semantics you get a \"mid-way\" decision point. This\n> only refers to retryable errors, since errors like access rights...
[ { "msg_contents": "\n> > It seems to me, that leaving all this to the client (which implicitly\n> > inserts savepoints) can never be as efficient as a serverside feature.\n> \n> I think this is an overly narrow view of \"efficiency\". With client\n> control, the client can insert savepoints whereever it needs ...
[ { "msg_contents": "Hello,\n\nI just saw a different documents not translate in the progresql project.\nSo i want participate to the translation in English to French, i am \njust a french guy using linux since 8 years. It's time for me to give \nsome of my time to the Open Source Community .\n\nSo if it's poss...
[ { "msg_contents": "I've got a custom (-Fc) pg_dump output from a fairly complex 7.2.x db \nschema. It has such things as user defined functions, OIDs, rules and \ntriggers, etc. When I try to restore it to a 7.4 database, it fails \nbecause of some differences in the CREATE TABLE commands (I've got a \ncolumn...
[ { "msg_contents": "Bruce,\n\n> > So, whatever \"error handling mode\" conveniences we wish to put in should\n> > be put in on the client side.\n> \n> Added to TODO:\n> \n>         * Use nested transactions to prevent syntax errors from aborting\n>           a transaction\n\nHmmm .... I'm not sure how you arrive...
[ { "msg_contents": "markw@osdl.org writes:\n> http://developer.osdl.org/markw/dbt3-pgsql/66/\n\n> There's a run with a modified Q21. Made a huge improvement in Q21.\n\nOkay, looks like we know what we need to attack to solve Q21... actually\nsolving it will be a tad harder ;-) but we understand where the proble...
[ { "msg_contents": "\n\nDoes anyone know if the code for the Main Memory Storage Manager is\navailable somewhere (Berkeley??)?\nAlso, in released versions, MM.c is included but not used, does anyone\nknow if it should work if we define the STABLE_MEMORY_STORAGE, or do a\nlot coding has to be done for it to work...
[ { "msg_contents": "I am running PostgreSQL 7.3.3 on OS X Server 10.2\n\nThe database has been running just fine for quite some time now, but \nthis morning it began pitching the error:\n\tERROR: cannot read block 176 of tfxtrade_details: Numerical result \nout of range\nany time the table tfxtrade_details is a...
[ { "msg_contents": "Kernel 2.4.23 on redhat 8.0Please cc any response from\nlinux kernel list. TIA.\n\nOn or about 7:50am Friday 13 2004 my postgresql server\nbreaks down. I can ssh and use \"top\" and \"ps\" but\npostgresql stops accepting connection. A small perl\nscript that logs system load average also h...
[ { "msg_contents": "> Interesting, when I went to copy my data directory out of the way, I \n> received this from cp:\n> \n> cp: data/base/16976/17840: Result too large\n> \n> might be a clue\n\nI don't think it's PostgreSQL. I would suggest unmounting the volume and\nrunning fsck (or the equivalent for your env...
[ { "msg_contents": "I have an IO congested database (PostgreSQL 7.2) with too many\n(overlapping) indexes, so the obvious solution is to drop them.\n\nDROP INDEX seems to want to take several minutes to complete, which\ncauses a backup of clients and me to eventually abort the process to let\nall the backed up q...
[ { "msg_contents": "I just implemented eRServer for one of my clients and found many problems\nwith it.\n\n1.\tIt crashes when using �ers_addtable� to add big tables. The problem is\nthat it used pg_dump �d then tried to read the whole output in memory. I\nfixed it by reading one row at a time and insertin...
[ { "msg_contents": "Does anybody think there might be some interest in an ISAM driver for\nPostgreSQL? I've written a functional alpha that allows PostgreSQL to\nbe a drop in (or as easy as reasonably possible) replacement for an ISAM\nfile system driving a COBOL application. It is a STL based thin wrapper\nar...
[ { "msg_contents": ">Kenneth Marshall would like me to post this:\n> I agree that in order to manage today's large memory machines, we\n> need to have less contention in our buffer management strategies.\n> The two main main choke points are in the buffer hash table routines\n> and in the buffer management linke...
[ { "msg_contents": "Chris KL recently pointed out to me that we currently don't raise an\nerror when attempting to cast a zero-length string to a float:\n\nnconway=# select ''::float8;\n float8\n--------\n 0\n(1 row)\n\nnconway=# select ''::float4;\n float4\n--------\n 0\n(1 row)\n\nSimilarly for oid:\...
[ { "msg_contents": "I can reproduce the following behavior with CVS HEAD.\n\n 1. Have a process do INSERTs into a table in a tight loop (I've\n attached a trivial libpq app that does this)\n\n 2. In another session, repeatedly drop and re-create the table\n that is being modified\n\nYou sho...
[ { "msg_contents": "Recently I installed and started pg_autovacuum against my new Pg 7.4.1 \ninstallation. We use a fairly large number of temporary tables within an \napplication (that is, several copies of this application may be running, \nand each creates and drops several temp tables as they cycle through \...
[ { "msg_contents": "I am wanting to fiddle with the latest Win32 stuff, using the Mingw\ntools.\nIs it included in the current (2-17-04) snapshot?\n \nI did a download of the tarball and expanded it.\nI changed directory to the /postgresql-snapshot directory and performed\na ./configure\n \nconfigure: creating ....
[ { "msg_contents": "Without checking into details, this sounds like it could be a broken\nming/msys installation. Are you on the latest release version?\n \nAlso, check for the Makefile.port file manually. configure cleraly\nthinks it has created it... If it's not there, check if you can create\nsymbolic links m...
[ { "msg_contents": "Hi all,\n\nI'm in the process of writing an OLE DB provider for postgres. I am, \nright now, at the point where updating an entry becomes an issue. \nIdeally, I would open an updateable cursor for a table/view, and use \nthat. Unfortunetly, Postgres doesn't seem to support those at all.\n\nAs...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Shachar Shemesh [mailto:psql@shemesh.biz] \n> Sent: 18 February 2004 13:18\n> To: Hackers; PostgreSQL OLE DB development\n> Subject: [HACKERS] OIDs, CTIDs, updateable cursors and friends\n> \n> Would adding \"OID\" to the rows returned by each \"Sele...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Shachar Shemesh [mailto:psql@shemesh.biz] \n> Sent: 18 February 2004 14:10\n> To: Dave Page\n> Cc: Hackers; PostgreSQL OLE DB development\n> Subject: Re: [HACKERS] OIDs, CTIDs, updateable cursors and friends\n> \n>\n> I would, except I'm not sure how...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Shachar Shemesh [mailto:psql@shemesh.biz] \n> Sent: 18 February 2004 14:56\n> To: Dave Page\n> Cc: Hackers; PostgreSQL OLE DB development\n> Subject: Re: [HACKERS] OIDs, CTIDs, updateable cursors and friends\n> \n> I'll have a look at that. How would...
[ { "msg_contents": "> > Without checking into details, this sounds like it could be \n> a broken \n> > ming/msys installation. Are you on the latest release version?\n> > \n> > Also, check for the Makefile.port file manually. configure cleraly \n> > thinks it has created it... If it's not there, check if you \n...
[ { "msg_contents": "hi everyone ...\n\ni have attached a patch implementing NO WAIT with the help of a GUC \nvariable.\ndocumentation should be included as well.\nit works nicely for me.\n\ntest=# begin;\nBEGIN\ntest=# show wait_for_locks;\n wait_for_locks\n----------------\n row share\n(1 row)\n\ntest=# lock ...
[ { "msg_contents": "POSTGRESQL: Summary of Changes since last release (7.4.1)\n----------------------------------------------------------\n18 Feb 2004\n\nThis is a summary of most changes since code versions marked 7_4_1. The\nintention is to help everybody understand what's coming and what might\nbe affected, t...
[ { "msg_contents": "Hi all,\n\nI'm looking at ways to improve PG performance where index scans are\nconcerned. The layout of our database and our access habits really hit PG's\nindex code square in the chops. Many of our queries spend way too much time\nwaiting for disk seeks, and I believe this is fully cause...
[ { "msg_contents": "Do these need to be fixed in backend/catalog/system_views.sql to have \npg_catalog. before everything?\n\neg.\n\nCREATE VIEW pg_rules AS\n SELECT\n N.nspname AS schemaname,\n C.relname AS tablename,\n R.rulename AS rulename,\n pg_get_ruledef(R.oid) AS defin...
[ { "msg_contents": "Hello ,\nCan i get any design documentation apart from the readme files and the \ncomments those are available with the source code .\n\nIn particular any document explaining the data structures related to \noptimizer and executor parts of the system\n\nThansk in adv,\n\n-regards\nRamu\n\n___...
[ { "msg_contents": "\n> I believe the ODBC driver uses CTID for this sort of problem. CTID is\n> guaranteed to exist and to be fast to access (since it's a physical\n> locator). Against this you have the problem that concurrent updates\n> of the record will move it, leaving your CTID invalid. However, that\n\...
[ { "msg_contents": "\n> > The question is whether we should have a GUC variable to control no\n> > waiting on locks or add NO WAIT to specific SQL commands.\n> > \n> > Does anyone want to vote _against_ the GUC idea for nowait locking. (We\n> > already have two voting for such a variable.)\n> \n> I vote against...
[ { "msg_contents": "\n> > I personally think a wait period in seconds would be more useful.\n> > Milli second timeouts tend to be misused with way too low values\n> > in this case, imho.\n> \n> I understand, but GUC lost the vote. I have updated the TODO list to\n> indicate this. Tatsuo posted a patch to add N...
[ { "msg_contents": "Could have sworn this was already listed as a TODO, but can't see it on the \ndeveloper website. IMHO it's something that's needed, especially with \ndiffering behaviour due to compiled plans.\n\n-- \n Richard Huxton\n Archonet Ltd\n", "msg_date": "Fri, 20 Feb 2004 09:53:03 +0000", ...
[ { "msg_contents": "Hello,\n\nI am trying to test some of my techniques, and for that i need the nested \nloop join plan node (NestLoop) not to restart the scan of the inner relation \nfor a change of outer relation correlation value, instead start from the \ncurrent position where the search ended for the previ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nI've implemented a pretty simple Materialized Views scheme. It's not \nterribly complicated, and it works quite well.\n\nThis is what I do.\n\n0) Initialize the materialized view environment. This will allow the \nsystem to track which tables ...
[ { "msg_contents": "Anyone have a good pre-built user-defined type definition for creating /\nmaintaining / manipulating a SSN ... where valid chars are in the range\n000-00-0000 through 999-99-9999.\n\nI imagine that the storage column is probably varchar(11) -- I am looking\nfor a type definition that\n\n 1...
[ { "msg_contents": "Hoping someone can help me figure out why I can't get PL/Tcl to load \nwithout crashing the backend on Mac OS 10.3.2.\n\nI compile Tcl, PostgreSQL, create the database and then run the \nfollowing:\n\ncreate function plpgsql_call_handler() RETURNS LANGUAGE_HANDLER\nas 'plpgsql.so' language ...
[ { "msg_contents": "I've looked into Olivier Hubaut's recent reports of 'Too many open\nfiles' errors on OS X. What I find is that on Darwin, where we are\nusing Posix semaphores rather than SysV semaphores, each Posix semaphore\nis treated as an open file --- it shows up in \"lsof\" output, and more to\nthe po...
[ { "msg_contents": "Two Pl/Java implementations exists today. Due to the architecture of\nPostgreSQL, compromises have been made in both of them to deal with the fact\nthat each connection lives in its own process. One, I'll call it\n\"Pl/Java_JNI\" will spawn a JVM on demand for each connection and the other,\n...
[ { "msg_contents": "Hi all\n\nHow can i read transactions from \"write ahead log \" pg_xlog ?\nIt is possible ?\n\nregards\nS.W\n\n\n", "msg_date": "Sat, 21 Feb 2004 15:46:51 +0100", "msg_from": "\"qmis\" <qmis@nospamblitz.pl>", "msg_from_op": true, "msg_subject": "pg_xlog" }, { "msg_...
[ { "msg_contents": "\nHackers,\n\nFYI here are some of my thoughts I just sent to Joshua Drake.\n\nI would add a couple of points:\n. since there is a security advisory for Safe.pm prior to version 2.08, \nmaybe we should replace \"require Safe;\" with \"use Safe 2.08;\".\n. I thought about some sort of precompi...
[ { "msg_contents": "The core committee has agreed that it's about time to put out new\ndot-releases in both the 7.3 and 7.4 branches. (The main thing forcing\nthis is the realization that permissions checks on view updates were\npretty badly broken by the now-reverted patch of 13-Feb-03 --- this\ncould be label...
[ { "msg_contents": "\n> > Attached is the test program I used.\n> \n> Can folks please try this on other platforms?\n\n[after some minor changes] Can confirm that LoadLibrary (aka dlopen) does\nnot reduce the files limit under Win32.\n\nCheers,\nClaudio\n\n--- \nCertain disclaimers and policies apply to all emai...
[ { "msg_contents": "\nCan some one tell me what are the changes that i have to do , if i want the \ninner scan node of a nested loop join to start the scaning from thepoint \nwhere it had left previously .\nAs of now the scan for the inner relation re-starts for a change in the \ncorrelation value from the outer...
[ { "msg_contents": "Hello,\n\nCan some one tell me what and when (Plan*)()->chgParam will contain ?? One \nof the comments mentions that it contains the list of changed ones from \nouter.. can some be more eloborate .. ( if possible with a eg )\n\nThanks,\nRamu\n\n________________________________________________...
[ { "msg_contents": "Hi all,\n\nI was just going thr. the ecpg sources checking for thread safety. \n\nIt looks like the mutex protects the connections list in connection.c. I do \nnot like that from a application developers perspective.\n\nIf I am developing an application and using multiple connections in multi...
[ { "msg_contents": "http://developer.osdl.org/markw/ia64/dbt2/\n\nI have a summary of intial results from our DBT-2 workload with\nPostgreSQL 7.4.1 on a 4-way Itanium2 system with 16GB of memory and 56\ndrives using LVM2 and linux-2.6.3. There's readprofile\nand oprofile data, but oprofile is seg faulting when ...
[ { "msg_contents": "I noticed while doing some debugging this morning that if the postmaster\ncrashes for some reason (eg kill -9) the bgwriter process never goes\naway. Backends will eventually exit when their clients quit, and the\nstats collection processes shut down nicely, but the bgwriter process\nhas to ...
[ { "msg_contents": "Attached is a patch for tagging log lines produced by backends. It is \nnot quite ready for application - this is for people to look over and \nplay with.\n\nFor my testing I used the following settings:\n\nlog_connections = true\nlog_disconnections = true\nlog_line_info = '%T [%P] %U@%D(%C:%...
[ { "msg_contents": "Kind people,\n\nI bumped across this several times, and am wondering what SQL99 and\nSQL200x have to say about column numbers or aliases in HAVING. SQL92\nis fairly clear (no) but also somewhat out of date.\n\nHere's a scenario:\n\nSELECT foo_name, count(*) as foo_count\nFROM foo\nGROUP BY fo...