threads
listlengths
1
2.99k
[ { "msg_contents": "Jeff wrote:\n> Is there a practical use for retrieving > 2^31 records at once?\n> \n> (this is a serious question, I'm not arguing that it should cause a\n> syntax error)\n> \n> Regards,\n> \tJeff Davis\n> \n> On Mon, 2005-01-24 at 14:13 -0500, Merlin Moncure wrote:\n> > I was browsing the TO...
[ { "msg_contents": "FYI, I am doing training for SRA in New York City today (Monday) until\nWednesday. I might be behind in reading email and responding.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 359-1001\n + If your life is a ha...
[ { "msg_contents": "Someone at Fujitsu pointed out the following bug in 8.0:\n\nbegin;\nsavepoint x;\ncreate table abc (a int);\ninsert into abc values (5);\ndeclare foo cursor for select * from abc;\nrollback to x;\nfetch from foo; -- hits an Assert()\ncommit;\n\nThe stacktrace is:\n\n#2 0x0826367b in Exceptio...
[ { "msg_contents": "contrib/ltree includes text2ltree and ltree2text functions, but no\nimplicit casts. Is there any particular reason for this?\n\n--- ltree.sql.in.orig Mon Jan 24 22:47:01 2005\n+++ ltree.sql.in Mon Jan 24 22:58:40 2005\n@@ -155,10 +155,14 @@\n AS 'MODULE_PATHNAME'\n LANGUAGE 'C' WITH ...
[ { "msg_contents": "Hello, all.\n\nI think that there is room for improvement in WAL. \nHere is a patch for it.\n - Multiple pages are written in one write() if it is contiguous.\n - Add 'open_direct' to wal_sync_method.\n\nWAL writer writes one page in one write(). This is not efficient\nwhen wal_sync_method ...
[ { "msg_contents": "Hi all !\n\nI need a mechanism to keep my queries in optimized \nstate so that multiple processes can use them.\n\n\n\t\t\n__________________________________ \nDo you Yahoo!? \nYahoo! Mail - Easier than ever with enhanced search. Learn more.\nhttp://info.mail.yahoo.com/mail_250\n", "msg_d...
[ { "msg_contents": "> > [ yawn... ] Create a table with a \"name\" column, put some rows in\nit,\n> > lock the rows.\n> \n> What would guarantee that the OIDs of those rows don't conflict with\n> some other OIDs in the system?\n> \n> BTW, this becomes a real issue if you're trying to write code that is\n> meant...
[ { "msg_contents": "> > 3) Change to using SHGetFolderPath() linked from shfolder.dll (note \n> > that this function exists in two different dlls. We'd need \n> the one in \n> > shfolder.dll to have any effect). And then point people who \n> don't have \n> > shfolder.dll to the Microsoft download site for this f...
[ { "msg_contents": "Hello Every one,\n\nI am a student and working on my final year project,\nI chose postgres as my development database,because of\nits flexable architecture and extensibility.\n\nI need to add a column of text type in pg_proc table\nwhich is the part of the system catalog.I need to have\nit so...
[ { "msg_contents": "You can put your password in pgpass.conf, see\nhttp://www.postgresql.org/docs/8.0/static/libpq-pgpass.html. It will\naffect all libpq applications though, and not just psql.\n\nYou can also put it in the PGPASSWORD environment variable with SET, but\nit's deprecated for security reasons (see\...
[ { "msg_contents": "Hi there,\n\nwe just submitted to CVS several changes to tsearch2:\n\n1. change struct {} WordEntryPos to typedef uint16, for details see\n http://www.pgsql.ru/db/mw/msg.html?mid=2035188\n2. improved support for compound words\n\n \"A compound is a word containing a stem that is made up...
[ { "msg_contents": "I think this may have been discussed before but I found this a bit \nsurprising:\n\nfoo=# SELECT version();\n \nversion \n-----------------------------------------------------------------------------------------------------...
[ { "msg_contents": "Today someone posted (or tried to post, I didn't get the attachment) an\nimplementation of strxfrm using setlocale again. I think this is the second or\nthird time someone has tried their hand at this. Clearly there's a demand for\nit and I fear some of the users trying to do this aren't awar...
[ { "msg_contents": "The core committee has agreed that we need to put out security releases\nto deal with the LOAD vulnerability described here:\nhttp://archives.postgresql.org/pgsql-bugs/2005-01/msg00269.php\nAccordingly we'll be releasing 8.0.1, 7.4.7, 7.3.9, 7.2.7.\nCurrent thought is to wrap these on Thursda...
[ { "msg_contents": ">The core committee has agreed that we need to put out security releases\n>to deal with the LOAD vulnerability described here:\n>http://archives.postgresql.org/pgsql-bugs/2005-01/msg00269.php\n>Accordingly we'll be releasing 8.0.1, 7.4.7, 7.3.9, 7.2.7.\n>Current thought is to wrap these on Th...
[ { "msg_contents": "Tom Lane wrote:\n> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > However, it would be nice to have system generated unique tuple\n> > identifier. There isn't one currently that would fit in the\nuserlock\n> > restriction of 48 bits.\n> \n> Sure there is: the ctid of a row in...
[ { "msg_contents": "Tgl wrote:\n> [ shrug... ] Since userlocks are only advisory, a non-cooperating\n> client can break anything in sight anyway. I don't find the above\n> argument convincing. But in any case, you can use an OID or serial\n> sequence identifier if you prefer that to CTID. They're just intege...
[ { "msg_contents": "Alvaro wrote:\n> Please search this message in the archives:\n\nright. heh. Well, moving on...\n\ntgl wrote:\n> Since subids and offnums are only 16 bits, we could pack all of these\n> cases into 64 bits with a 16-bit type identifier to distinguish the\n> cases. That would mean that LOCKTAG ...
[ { "msg_contents": "On Mon, 24 Jan 2005, Robert John Shepherd wrote:\n\n> Anyone else had problems with the performance of Tsearch2 when you reduce\n> the words significantly in the stopword list? Tsearch1 was the same.\n>\n> Not really understanding Tsearch beyond installing and using it, I can't\n> really be s...
[ { "msg_contents": "I have a situation where a VACUUM VERBOSE ANALYZE of table\nloops on the table and its indexes.\n\nThere are inserts happening on the table while the vacuum\nis going on. We sure that there are no other vacuums or\nre-indexing going on.\n\n From the archives, the only similar case \nhttp://a...
[ { "msg_contents": "Luiz Gonzaga da Mata <gonzaga@pbh.gov.br> writes:\n> Although to have changed they sort_mem/work_mem it for 1 MB, it did not \n> use this area in available memory for the connection to make the \n> creation of the temporary table.\n\nWhy would you expect it to, and why would you think there ...
[ { "msg_contents": "> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > Is it possible for one backend (with superuser privs) to release a\nlock\n> > held by anotether?\n> \n> As of 8.0 this is not possible for regular locks, because there'd be\nno\n> way to update the other backend's internal data ...
[ { "msg_contents": "pgman wrote:\n> > Not yet --- I suggested it but didn't get any yeas or nays. I don't\n> > feel this is solely core's decision anyway ... what do the assembled\n> > hackers think?\n> \n> I am not in favor of adjusting the 8.1 release based solely on this\n> patent issue. I think the probabi...
[ { "msg_contents": "If you store the temp tables in RAM, how will you preserve the ACID\nproperty on power failure (without using write-through which would\nnegate the speed advantage)?\n\nThe temp tables may be participating in a transaction.\n\n-----Original Message-----\nFrom: pgsql-hackers-owner@postgresql.o...
[ { "msg_contents": "I wanted to bounce the idea of a BOF at the Linux Symposium in\nOttawa and see if anyone would like to attend. The deadline to\nproposal is Feb 1st, sort of short notice... I thought the dicussion\ncould revolved around these two topics:\n\nLinux features that PostgreSQL should take advanta...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n \n \nAttached is a patch that takes advantage of savepoints to enable\ntransactions to continue even after errors in psql. The name of it\nis \\reseterror, and it is off by default. It's backwards compatible,\nand allows things like this to wor...
[ { "msg_contents": "I have been trying to find information on PostgreSQL for running it on \ngreater then 4 processors. Are there any benchmarks out there and have \nthere been any problems or does anybody forsee any issues running \nPostgreSQL with more then 4 processors?\n\nBenjamin\n\n", "msg_date": "Tue...
[ { "msg_contents": "It looks it couldn't happen this a way.\nDid somebody find out an alternative.\nIs reasonable some idea based on a connection pool ?\n-Bozhidar\n\n__________________________________________________\nDo You Yahoo!?\nTired of spam? Yahoo! Mail has the best spam protection around \nhttp://mail....
[ { "msg_contents": "Hi,\n\nI just read about this IBM-patent-issue at www.heise.de. IBM grants this \npatens to all projects, which follow one of the licenses, which are approved \nby the open-source-initiative. And the BSD-license is as far as I see \napproved (I found \"New BSD license\").\n\nWhen releasing co...
[ { "msg_contents": "> > ... a prepared version that is local to the backend that invokes the\n> > function, yes (i.e. it will be planned once per backend). So ISTM\nthis\n> > is equivalent functionality to what you can get using PREPARE or the\n> > extended query protocol.\n> \n> Are you sure it's only per-backe...
[ { "msg_contents": "I think it would be great to backport 8.0's pg_dump utilities with all \ntheir fixes and corrections back to 7.4. I don't think it would take \nmuch to alter the output to be 7.4 compatible...\n\nChris\n", "msg_date": "Wed, 26 Jan 2005 15:18:52 +0000", "msg_from": "Christopher Kings-...
[ { "msg_contents": "Hello Every one,\n\nCan some one explain me the under mentioned Data\nstatement format including the insert\nparameters....which is excessively used in\npg_attribute.h ,pg_class.h,pg_proc.h and at many more\nplaces..... \n\nDATA(insert ( 1255 prosrc 26 -1 -1 -1 0 -1 -1 f x\ni f f f t 0));\n\n...
[ { "msg_contents": "I noticed that implementing deferrable unique constraints is on the\nTODO list. I don't think its been said yet, but currently you can\nimplement a deferrable unique constraint by using a deferrable\nconstraint trigger together with a procedural language like plpgsql.\nIf you need an index o...
[ { "msg_contents": "Hello,\nIt looks like teodor's latest commits to tseach2 has broken building on SPARC \nsolaris 8. See \nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=potorooo&dt=2005-01-26%2008:30:02 \nfor more details.\n\n\n-- \nDarcy Buskermolen\nWavefire Technologies Corp.\nph: 250.717.0200\nfx: 250.76...
[ { "msg_contents": "Speaking of bitmapped indexes for PostgreSQL ...\n\nSomeone is working on adding bitmapped indexes into PostgreSQL:\nhttp://new.foo-baz.com/en/index.php/archives/2004/12/06/id/25/\n\nThis also is interesting:\nhttp://www.it.iitb.ac.in/~rvijay/dbms/proj/\n\n-----Original Message-----\nFrom: TJ...
[ { "msg_contents": "Hello all,\n\nWith this \"paten issue\" on hand, can't we come up with a \"pluggable\" API\nand pluggable cache-replacement modules so that folks who care not for US\npatents can simply download and load in the \"PgARC\" module, and those who\ncan't, just load the \"NeilLRU\", or a \"BetterTh...
[ { "msg_contents": "Hi Tom + *,\n\nas I learned from severall posts this TODO splits into two distinct \nTODO's\n\nTODO1: Allow GRANT/REVOKE permissions to be applied to all schema \nobjects with one command.\nTODO2: Assign Permissions to schemas wich get automatically inherited \nby objects created in the schem...
[ { "msg_contents": "> TODO1: Allow GRANT/REVOKE permissions to be applied to all schema\n> objects with one command.\n> TODO2: Assign Permissions to schemas wich get automatically inherited\n> by objects created in the schema.\n> \n> a) should we pursue both of them?\n> b) how can a syntax for TODO1 look like? A...
[ { "msg_contents": "Hi there,\n\nwe have a table with 500mln rows:\n\nwsdb=# \\d usno\n Table \"public.usno\"\n Column | Type | Modifiers \n--------+--------+-----------\n ra | real |\n dec | real |\n bmag | real |\n rmag | real |\n ipix | bigint | \nIndexes:\n \"ipix_ind\" ...
[ { "msg_contents": "Marc, Tom, Robert, Bruce, et al:\n\n> Bruce is advocating waiting until the Patent has been Granted, instead of\n> doing something about it now, when we know the patent is going through the\n> system (and will likely get granted) ... a \"reactive\" vs \"proactive\"\n> response to the problem....
[ { "msg_contents": "\nIt is ~22:00GMT right now ... I will start the packaging process in \napprox. 3hrs and will announce once they are all ready ...\n\nJust to clarify, we're doing:\n\n8.0.1\n\nAnd 7.4/7.3/7.2 branches ... correct?\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub...
[ { "msg_contents": "I just noticed that there is no permission check anywhere in CREATE\nAGGREGATE concerning the aggregate's transition and final functions.\nThis means anyone can trivially bypass the function EXECUTE permission\ncheck: just make an aggregate function to call it for you. (Now, this\nworks only...
[ { "msg_contents": "Folks,\n\nI ran into an interesting issue when installing PostgreSQL 8.0 that I'm\nnot sure how to resolve correctly. My system is a Sun machine (Blade\n1000) running Solaris 9, with relatively recent patches. After install-\ning 8.0, I went to run the 'initdb' command and was greeted with t...
[ { "msg_contents": "I tried that, and it just runs into the problem with the first sub dir\nit tries to create:\n\ned9i03:/home/dparker/temp\n% initdb -D /home/dparker/temp/testdb\nThe files belonging to this database system will be owned by user\n\"dparker\".\nThis user must also own the server process.\n\nThe ...
[ { "msg_contents": "Yes, thanks very much!\n\n- DAP \n\n>-----Original Message-----\n>From: pgsql-hackers-owner@postgresql.org \n>[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Kenneth Lareau\n>Sent: Thursday, January 27, 2005 8:10 PM\n>To: Tom Lane\n>Cc: Kenneth Lareau; pgsql-hackers@postgresql.org\n>...
[ { "msg_contents": "Will this make it into 8.1? \n\n>-----Original Message-----\n>From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n>Sent: Thursday, January 27, 2005 7:38 PM\n>To: Kenneth Lareau\n>Cc: David Parker; pgsql-hackers@postgresql.org\n>Subject: Re: [HACKERS] Strange issue with initdb on 8.0 and \n>Solaris au...
[ { "msg_contents": "Hello everyone\n\ni have been studying postgres's function handling philosophy lately. I\ngot stuck at a point where i could'nt get the answer myself\n\nAll the information related to functions are stored in pg_proc system\ncatalog. But when a function is compiled (probably the data structure...
[ { "msg_contents": "> a) start from the user:\n> Search for useroid in pg_auth_members.member\n> For each returned role, search for that role in member column\n> Repeat until all roles the useroid is in have been found\n> [Note: This could possibly be done and stored per-user on \n> connection,\n> ...
[ { "msg_contents": "I got a complaint from a fellow Red Hatter that PG 8.0 is way slower\nthan 7.4 on some statistical analysis tasks he was doing. Investigation\nshowed that the primary problem was selection of Sort/GroupAgg in place\nof HashAgg to compute some grouped aggregates. Essentially he was doing\n\n...
[ { "msg_contents": "There looks to be an issue with gram.y as seen in the following 2 FreeBSD6 \nboxen:\n\nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=herring&dt=2005-01-28%2018:33:43\nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=echidna&dt=2005-01-28%2018:30:01\n\n\n-- \nDarcy Buskermolen\nWavefire Technolo...
[ { "msg_contents": "Tom,\n\n> The only real solution, of course, is to acquire cross-column\n> statistics, but I don't see that happening in the near future.\n\nY'know, that's been on the todo list for a while. Surely someone is inspired \nfor 8.1/8.2? At least for columns which are indexed together?\n\n> As...
[ { "msg_contents": "> > 1. TABLE\n> > 2. DATABASE\n> > 3. FUNCTION\n> > 4. LANGUAGE\n> > 5. SCHEMA\n> > 6. TABLESPACE\n> \n> You left out SEQUENCES.\n\nAnd views, but he was just listing the acceptable targets to the 'grant'\ncommand. Basically, views and sequences are treated as tables in this\nrespect.\n\nMer...
[ { "msg_contents": "> From: Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>\n> >>>>> \"Tom\" == Tom Lane <tgl@sss.pgh.pa.us> writes:\n> \n> Tom> The only real solution, of course, is to acquire cross-column\n> Tom> statistics, but I don't see that happening in the near\n> Tom> future.\n> \n> Another ...
[ { "msg_contents": "Hello.\n\nI'd like to implement bitmap indexes and want your comments. Here is\nan essence of what I've found regarding bitmaps for the last month.\n\nConsider the following table So, the bitmap for attribute A will be the\nwith 1 attribute A(int2): following:\n # | A ...
[ { "msg_contents": "\nWe have a frequently updated (peak > 5/sec) table with about 1000 rows.\n\nWe run VACCUM FULL on this table every 5 minutes.\n\nThe regular updates are not long in duration, and the vacuum is fast, so they\ndo not produce noticeable delays.\n\nWhen we run a pg_dump on the database:\n\n- the...
[ { "msg_contents": "* Pawe� Niewiadomski <new@foo-baz.com> [29.01.2005 17:45]:\n> > I'd like to implement bitmap indexes and want your comments. Here is\n> > an essence of what I've found regarding bitmaps for the last month.\n> \n> Do you think it would be possible to work on it as a team?\n\nYes, why not.\n\nB...
[ { "msg_contents": "I just noticed that all of tsearch2's \"dict init\" routines are declared\nlike this:\n\nCREATE FUNCTION dex_init(text)\n\treturns internal\n\tas 'MODULE_PATHNAME' \n\tlanguage 'C';\n\nThis is really unacceptable, because it breaks the type safety of the\n\"internal\" pseudotype. I quote fro...
[ { "msg_contents": "Hi,\n\nI've successfully built PostgreSQL 8.0.0\non SPARC/Solaris (7), with gcc-3.2.2.\nHardware is SPARCstation 5, 170 MHz.\n\nBecause it doesn't build optimally right\nout of the box, I'd like to provide you\nwith some feed-back.\n\n From my understanding, the preferred way\nfor Solaris is ...
[ { "msg_contents": "\r\nThe following seems to me a bug in either initdb or create operator:\r\n\r\nCREATE FUNCTION my_func (inet, inet) as '$libdir/my_func.so' LANGUAGE 'C' IMMUTABLE STRICT;\r\nCREATE OPERATOR <<< (\r\n\tPROCEDURE = my_func,\r\n\tLEFTARG = cidr,\r\n\tRIGHTARG = cidr,\r\n\tRESTRICT = contsel,\r\...
[ { "msg_contents": "Hi there,\n\nseems I have a serious problem with vacuuming of rather big table\n(500,000,000 rows) on dual Intel(R) Xeon(TM) CPU 2.40GHz, 1Gb RAM,\nrunning Linux 2.6.7. I have PostgreSQL 8.0 release installed with\nslightly changed postgresql.conf:\n\nshared_buffers = 24576 # min 16, a...
[ { "msg_contents": "Greetings,\nI would like to submit my changes to src/port/snprintf.c to\nenable %n$ format placeholder replacement in snprintf() and\nvsnprintf(). Additionally I implemented a trivial printf().\n\nI also attach a diff for configure.in to include snprintf.o\nin pgport but I am sure it is not t...
[ { "msg_contents": "> I suspect that the right thing to do is to kill the inet type \n> entirely, and replace it with a special case of cidr. (And \n> possibly then to kill cidr and replace it with something that \n> can be indexed more effectively.)\n\nYes, which is actually what brought this to my attention.\n...
[ { "msg_contents": "Hi,\r\n\r\nAttached, an rtree implementation for inet/cidr values.\r\n\r\nIt's beyond me to implement this as a patch, but if anyone has the time and energy to do so, feel free!\r\n\r\nComments, positive and negative welcome - and appreciated :)\r\n\r\n\r\nKind Regards,\r\n\r\nJohn Hansen", ...
[ { "msg_contents": "\nAny last minute show stoppers that needs a bit more time, let me know \nbefore 23:00 GMT\n\n\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664\n", "msg_date": "Sun, 30 Jan 200...
[ { "msg_contents": "\nPrimarily to give Magnus/Dave a chance at the code as early as possible \nfor the Windows package, the 8.0.1 bundles are now available ... I'm \nworking on the 7.x series bundles, but due to some delays in maintenance \nwork on the servers this past weekend, they are taking a wee bit longer...
[ { "msg_contents": "I set up MinGW and msys distributive.\nAlso i did download CVS source of PostGre.\n\n\nWhat command should i do next to compile sources.\nPlease help, never worked with MinGW.\n\nthank in advance.\n\nDmitry Konnov\n\n\n", "msg_date": "Mon, 31 Jan 2005 10:45:51 +0300", "msg_from": "\"D...
[ { "msg_contents": "Hi all,\nI have a query that is something like this:\n\n\nSELECT DISTINCT ON ( x ) x, foo(x)\nFROM ...\n\n\nnow what do I see is that for each different x value\nthe foo is executed more than once, I guess this is because\nthe distinct filter out the rows after executing the query.\n\nIs this...
[ { "msg_contents": "Hi everyone,\n\nI'm trying to install a copy of PostgreSQL 7.3.8 on FC3 x86_64, and having a\nvery strange problem with shared memory in that PostgreSQL seems to be\ntaking far too many semaphores for the parameters in the postgresql.conf\nfile. I've raised this with some of the members of th...
[ { "msg_contents": "\nWhen SQL that returns many tuples with character code conversion\nis executed, the FunctionCall3/FunctionCall5 becomes a bottleneck.\nBecause MemSet is used to initialize FunctionCallInfoData in these\nfunctions, a lot of cycles are spent. \n\n<test query>\nset client_encoding to 'SJIS';\ns...
[ { "msg_contents": "> Josh's last suggestion (ALL TABLES IN someschema) seems to me to be a\n> reasonable compromise between usefulness, syntactic weirdness, and\n> hiding implementation details.\n\nMaybe it is not necessary to extend the syntax to distinguish between\nthe two cases. Maybe it's worth considerin...
[ { "msg_contents": "\n8.0.1 & 7.4.7 are currently both available for testing, and 7.3.9 is \ncurrently being built ... will pop a note once both 7.3. and 7.2 are also \nready ...\n\n\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: ysc...
[ { "msg_contents": "Hi Merlin,\n\nsorry - I replied to Tom & PG hackers before I saw you last post.\n\nI think it is best to code the basic functionallity within the two new \ncommands, and see\nhow this works out. We can add your idea and others on top of it later \non.\n\nwhat about that?\n\ncheers,\n\nMatthia...
[ { "msg_contents": "\nPlease review them to make sure they look already ...\n\nDave, I've changed the symlink's as well ...\n\nWill announce everything publicly around 4am GMT tonight (midnight my \ntime) to give ~10hrs for the rest to propogate out ...\n\n----\nMarc G. Fournier Hub.Org Networking Serv...
[ { "msg_contents": "Matthias wrote:\n> I think it is best to code the basic functionallity within the two new\n> commands, and see\n> how this works out. We can add your idea and others on top of it later\n> on.\n\nI think you should do whatever you think is most\nappropriate...discussion can of course continue ...
[ { "msg_contents": "i'm setting up a data entry entry form. once the data\nis entered in a pgsql, i want to have it redisplay the\nblank form with the text just entered displayed.\n\nI have it so it enters data. i'm having a problem\nwith permissions so i have to use the database creator\nand owner to access t...
[ { "msg_contents": "Hello again.\n\nThis time I'd like to speak about in-memory bitmap to combine index scan\nresults. I know, this code should use minimal amount of memory, so I really\nwant to hear any possible pros and cons.\n\nBelow, pseudocode is given. After running it, we'll have a list of CTID\npointers,...
[ { "msg_contents": "> > GRANT SELECT ON ALL TABLES IN public TO phpuser;\n> > GRANT SELECT ON NEW TABLES IN public TO phpuser;\n> \n> > Really better than this?\n> > GRANT { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES |\nTRIGGER\n> > | EXECUTE | CREATE | ALL [ PRIVILEGES ] } ON SCHEMA schemaname [,\...
[ { "msg_contents": "\nPlease check this one over ... Tom foudn some issues with the docs build \nthat should be fixed ...\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664\n", "msg_date": "Mon, 31 ...
[ { "msg_contents": "[bcc to -hackers, -general]\n\n\nFolks,\n\nI'm happy to announce that PostgreSQL will have a home at LinuxWorld in two weeks after all. My company, OpenMFG, is teaming up with SRA America to wave the elephant flag at booth #1411 - right next door to the \".org Pavillion\", two booths up from...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Marc \n> G. Fournier\n> Sent: 31 January 2005 18:30\n> To: pgsql-hackers@postgresql.org\n> Cc: David Fetter\n> Subject: [HACKERS] 7.2.7 -> 8.0.1 Bundles R...
[ { "msg_contents": "I just noticed that our port/getopt_long.c substitute implementation\ndoes not accept abbreviated names for long options:\n\n$ pg_dump --username tgl regression\n... works ...\n$ pg_dump --user tgl regression\npg_dump: illegal option -- user\nTry \"pg_dump --help\" for more information.\n$\n\...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Tom Lane\n> Sent: 31 January 2005 22:24\n> To: Dave Page\n> Cc: Marc G. Fournier; pgsql-hackers@postgresql.org; David Fetter\n> Subject: Re: [HACKERS] 7.2...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Marc G. Fournier [mailto:scrappy@postgresql.org] \n> Sent: 31 January 2005 22:35\n> To: Tom Lane\n> Cc: Dave Page; pgsql-hackers@postgresql.org; David Fetter\n> Subject: Re: [HACKERS] 7.2.7 -> 8.0.1 Bundles Ready ... \n> \n> On Mon, 31 Jan 2005, Tom ...
[ { "msg_contents": "Merlin, Tom:\n\n> A table or function privilege, if it exists, will override anything for\n> the table. This will be faster (FWIW) than a multiple table grant\n> because it's just setting one permission at the schema level. Someone\n> else will have to comment on how effectively this will w...
[ { "msg_contents": "Tom Lane Writes:\n> Michael Fuhr <mike@fuhr.org> writes:\n> > On Tue, Feb 01, 2005 at 12:56:20AM -0500, Tom Lane wrote:\n> >> His point stands though: if you are accessing Postgres \n> through some \n> >> kind of connection-pooling software, currval() cannot be trusted \n> >> across transacti...
[ { "msg_contents": "I notice the CONNECT BY patch has been updated for 8.0:\n\nhttp://gppl.moonbone.ru/\n\nSeriously, we really need to get this into 8.1. Convert it to the \nstandard WITH RECURSIVE syntax if necessary...\n\nChris\n", "msg_date": "Tue, 01 Feb 2005 11:07:29 +0000", "msg_from": "Christoph...
[ { "msg_contents": "Hello all, I saw that STABLE-defined functions\ndon't get replaced by their output, shoudn't they ?\n\nFollowing shows that VOLATILE and STABLE functions outputs\nwon't get into the Filter, while IMMUTABLE will.\n\nDocumentation says that STABLE is the modifier to use for functions\nwhich don...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: Marc G. Fournier [mailto:scrappy@postgresql.org] \n> Sent: 01 February 2005 10:52\n> To: Peter Eisentraut\n> Cc: Dave Page; Marc G. Fournier; Tom Lane; \n> pgsql-hackers@postgresql.org; David Fetter\n> Subject: Re: [HACKERS] 7.2.7 -> 8.0.1 Bundles Re...
[ { "msg_contents": "> > Since OID's are now deprecated, and will eventually disappear, \n> > wouldn't it be a good idea, to have INSERT and UPDATE \n> return a copy of \n> > the tuple that was inserted/updated?\n> \n> How about the TID?\n\nYea, that'd work. As long as you can get an arbitrary column back out, 'a...
[ { "msg_contents": "I am getting a float4 regression test failure. I have extracted the SQL from both the float4 and float8 tests below. \nBoth should return NAN\n\nI looked at the code, The float4div does the operation as float8's then checks the value. The value is a valid \nfloat8 NAN. The call to CheckF...
[ { "msg_contents": "I have udpated our main FAQ. I was shocked at out stale some of the\ninformation was. It wasn't technically wrong but needed a good\ncleaning.\n\nLet me know if anyone sees any other needed improvements.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@cand...
[ { "msg_contents": "I tried asking on postgis-users@postgis.refractions.net, and Mark\nCave-Ayland suggested\nI ask you folks.\n\nI installed PostGIS, which appeared to work just fine. The I\ninstalled contrib/btree_gist, and since then I've had issues.\n\nSome background: My postgres setup is on Red Hat linux...
[ { "msg_contents": "Hi Tom and others,\n\n> I think the correct solution is not to mess with what's admittedly a\nlegacy aspect of\n> our client API. Instead we should invent the \"INSERT RETURNING\" and\n\"UPDATE RETURNING\"\n> commands that have been discussed repeatedly (see the pghackers archives).\nThat wo...
[ { "msg_contents": "Hello\n\nI have a problem running initdb 8.0.1. I get this error message when I\ntry to run this command in my system:\n\n-------------------------------------------------------------------\n-bash-2.05b$ /local/opt/postgresql/bin/initdb \nThe program \"postgres\" is needed by initdb but was n...
[ { "msg_contents": "Martin Pitt has detected that the libpq API has changed incompatibly\nbetween 7.4 and 8.0. This has the effect, for example, that 7.4's psql\ncannot run with 8.0's libpq. Example:\n\n$ LD_LIBRARY_PATH=/home/peter/devel/pg80/pg-install/lib /home/peter/devel/pg74/pg-install/bin/psql --help\n/...
[ { "msg_contents": "> Tom Lane <tgl@sss.pgh.pa.us> writes:\n> \"INSERT/UPDATE ... RETURNING\" isn't something a driver can take\nadvantage\n> of.\n> It would require it to modify your statements which it can't do\nsafely. So\n> your application would have such non-portable SQL code written into\nit.\n> Switch\n>...
[ { "msg_contents": "Allow ASC/DESC direction modifiers for index columns.\n\n \n\nAlmost every database has this, and it is a pest to have to write a\nfunction for every index column you want descending.\n\n \n\nNow, it is not technically difficult (nothing more than -compare(x,y)\ninstead of compare(x,y) to pro...
[ { "msg_contents": "Obviously, you cannot create ordering in hash indexes, which is why\nnobody else does that either.\n\nThe list of relational database systems that offer asc/desc on btree\nindex files is quite extensive.\n\nThe list of relational database systems that do not offer it is:\n1. PostgreSQL\n2. ...
[ { "msg_contents": "Hello,\n\nRan into this little gem with a customer today:\n\nThis works:\n\ncreate table foo (foo int not null, bar text);\ncreate sequence foo_seq;\nalter table foo alter column foo set default nextval('foo_seq');\n\npg_dump will correctly dump the table:\n\nCREATE TABLE foo (\n foo integ...
[ { "msg_contents": "> Tom Lane <tgl@sss.pgh.pa.us> writes:\n> \n> > Greg Stark <gsstark@mit.edu> writes:\n> > > Tom Lane <tgl@sss.pgh.pa.us> writes:\n> > >> How is what you're suggesting more portable?\n> For postgres it looks like currently it requires you to pass in the\ntable\n> and\n> field might even need a...