threads
listlengths
1
2.99k
[ { "msg_contents": "Hi list,\n\nI noticed on a forum a query taking a surprisingly large amount of time \nin MySQL. Of course I wanted to prove PostgreSQL 8.0.1 could do it much \nbetter. To my surprise PostgreSQL was ten times worse on the same \nmachine! And I don't understand why.\n\nI don't really need this ...
[ { "msg_contents": "Hackers,\n\nAgain I come back to this topic. Now I have a better hold on an idea\nthat is hopefully implementable and doesn't have expensive performance\npenalties.\n\nForget the idea of using the regular lock manager directly on tuples.\nIt's folly because we can't afford to have that many ...
[ { "msg_contents": "http://archives.postgresql.org/pgsql-hackers/2005-03/msg00260.php\n\nI don't see any other discussions about it in the archives.\n\nI too get these from time to time on my W2K box. Mostly the permission denied entries. \n\nIf \"1663/17269/1677179: Permission denied\" refers to a file under ...
[ { "msg_contents": "Hi,\n\nI have found comments in backend/catalog/index.c, that\nindex_build closes the passed rels ( heapRelation and indexRelation ).\nBut in backend/access/nbtree/nbtree.c I see something like this:\n\n if (IsNormalProcessingMode())\n {\n ....\n heap_c...
[ { "msg_contents": "\nWhy is there so different \"Total runtime\" for ('now'::text)::date) and\n'2005-04-06'::date ?\n\nI think both is constant during execution.\n\n\n CREATE TABLE test (\n _time timestamp with time zone,\n _platform character(5),\n _tld character(5)\n) WITHOUT OIDS;\n\n\nexplain...
[ { "msg_contents": "\nWill be on the main ftp site within the next 30 minutes ...\n\ntar sizes look right compared to 8.0.1 ... please check her over to make \nsure there are no problems ...\n\n\n----\nMarc G. Fournier Hub.Org Networking Services (http://www.hub.org)\nEmail: scrappy@hub.org Y...
[ { "msg_contents": "Hi,\n\n1. Fire up psql.\n2. Press Ctrl-4\n3. Crash, core dump...\n\nChris\n", "msg_date": "Fri, 08 Apr 2005 12:37:49 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": true, "msg_subject": "Weird psql crash" }, { "msg_contents":...
[ { "msg_contents": "Folks,\n\nI'm wondering if it might be useful to be able to add estimated selectivity to \na function definition for purposes of query estimation. Currently function \nscans automatically return a flat default 1000 estimated rows. It seems \nlike the DBA ought to be able to ALTER FUNCTION ...
[ { "msg_contents": "Hi All, \n\nI observed an a bit strange behaviour of the Tab-completion in postgres\n8.0.1\n\nI have the following command \n\nleda=# ALTER TABLE any_table RENAME TO \n\nAfter the \"TO\" there is one space and the cursor is after that space\nI press tab and I get\n\nleda=# ALTER TABLE any_tab...
[ { "msg_contents": "We've been talking about this long enough ... let's try to actually do it ...\n\nIn the last go-round, the thread starting here,\nhttp://archives.postgresql.org/pgsql-hackers/2004-11/msg00371.php\nwe spent a lot of time agonizing over GROUP BY and whether the\noptimization is usable for anyth...
[ { "msg_contents": "I was wondering if there is some way I'm missing to get the table and \ncolumn information from a cursor. If I fetch from a cursor, the table \nOID and column number values are 0 in the row description. If I execute \nthe same query directly without a cursor, the row description has the \ncor...
[ { "msg_contents": "Is there a way to set case sensitivity on?\n\nThanks in advance\njuan\n\n\n\n\n\n\nIs there a way to set case sensitivity \non?\n \nThanks in advance\njuan", "msg_date": "Sat, 9 Apr 2005 21:02:34 +0200", "msg_from": "<juan@conigma.com>", "msg_from_op": true, "msg_subject": "Ca...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Bruce Momjian\n> Sent: Sunday, April 10, 2005 8:18 AM\n> To: Christopher Kings-Lynne\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Unicode...
[ { "msg_contents": "\n[ This email to hackers from last night got lost so I am remailing.]\n\nTom Lane wrote:\n> \"John Hansen\" <john@geeknet.com.au> writes:\n> >> That is backpatched to 8.0.X. Does that not fix the problem reported?\n> \n> > No, as andrew said, what this patch does, is allow values > 0xffff a...
[ { "msg_contents": "Hi,\nThe genericcostestimate function is currently static. This limits the \ndevelopment of new access methods as loadable modules without touching \npgsql sources. Currently I have to include a copy of the function in the \nmodule, which is obviously too bad.\nIs there any reason to keep thi...
[ { "msg_contents": ">On 2005-04-10, Tom Lane <tgl ( at ) sss ( dot ) pgh ( dot ) pa ( dot )\nus> wrote:\n>> Andrew - Supernews <andrew+nonews ( at ) supernews ( dot ) com>\nwrites:\n>>> I think you will find that this impression is actually false. Or\nthat at\n>>> the very least, _correct_ verification of UTF-8 ...
[ { "msg_contents": "Ola' juan,\n\n> Is there a way to set case sensitivity on?\n> \nNo. Discussions about this thread are in the archives\n(http://archives.postgresql.org). Take a look at:\nhttp://www.postgresql.org/docs/8.0/interactive/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS\n\n\nEuler Taveira de Oliveira\neuler...
[ { "msg_contents": "Bruce,\n\n> If everyone else is OK with having it fail, that is fine with me, but I\n> wanted to make sure folks saw this was happening.  I basically saw no\n> discussion that we were disabling that syntax.  [CC moved to hackers.]\n\nI believe we hashed this out when we added add_missing_from...
[ { "msg_contents": "In working on the newsysviews project we've discovered that there's no\ndefinitive way to determine if a cast is a system cast (system as in\npart of postgresql/created by createdb) or not. What pg_dump does (and\nwhat we're doing now for lack of a better solution) is any cast that\ndoesn't i...
[ { "msg_contents": "Tom,\n\nNow that I'm beginning serious performance testing of clock-sweep, I was going \nback through the lock discussion and am not sure what the patch that actually \nwent in 3 weeks ago consisted of. Is it clock-sweep with a used/unused bit \nor a counter? How is it handling seq scans?...
[ { "msg_contents": "Consider the following:\n\ncreate table foo ( id serial primary key, path text);\nalter table foo add ref foo;\n\n Table \"public.foo\"\n Column | Type | Modifiers\n--------+---------+-----------------------------------------------------\n id ...
[ { "msg_contents": "Hi,\n\nit appears all of PostgreSQL's binaries are linked against libreadline and \nlibncurses, but the only one that really needs them seems to be psql.\n\nIs there a reason behind this other than that it might be easier to have \nonly one set of linker switches that can be used for everythi...
[ { "msg_contents": "Hi,\n\nI recently got the following bug report. It appears to be a bug in\npthread implementation in ecpglib/connect.c where \n\npthread_getspecific(actual_connection_key);\n\ndoesn't return the value of actual_connection, the variable used for\nnon-threaded mode. Problem is I never really us...
[ { "msg_contents": "Hi,\n\nMy buildfarm member, osprey, has been crashing on the union regression \ntest on CVS tip since after march 11th with a segmentation fault.\nSee the backtrace further down.\n\nThe crash occurs in pg_sprintf, work on which has been done beginning \nmarch 11th....\n\nI'm not sure I'm rea...
[ { "msg_contents": "Is PostgreSQL supposed to enforce a LATIN1/ISO-8859-1 encoding if that's \nthe database encoding?\n\nBecause people using this database can happily insert any old non-LATIN1 \njunk into the database, then when I export as XML, all XML validation \nfails because the encoding is not correct.\n\...
[ { "msg_contents": "\nPostgreSQL uses two different sorting algorithms, qsort and the external\nsorting method in tuplesort.c. There are some possible improvements in\nexternal sorting, so I'd like to check on the solidity of the testing\nmechanisms. \n\nWhether external sorting can be improved upon is a differe...
[ { "msg_contents": "I've read about changes in CVS head needed to accomodate OUT parameters. \nI tried to compile PL/Java and it fails (of course). Is there any brief \ntext somewhere that highligts the changes that where made and explains \nhow the new stuff works? It's hard and somewhat time consuming to try t...
[ { "msg_contents": "Hi\nin the function ExecChooseHashTableSize() \n(~/src/backend/executor/nodeHash.c)\nare determined the bytes of the hash table. The correspondent code is: \n\n/*\n* Target in-memory hashtablesize in SortMem kilobytes\n*/\n hash_table_bytes = SortMem *1024L \n\n(~/src/include/miscadmin.h)\ne...
[ { "msg_contents": "I get the following error message when I try to do an initdb with CVS \nHEAD on a Win32 platform:\n\ncreating configuration files ... ok\ncreating template1 database in data-head/base/1 ... FATAL: access \nmethod \"btree\" does not support unique indexes\nchild process was terminated by sign...
[ { "msg_contents": "Hello...\n\nI'm in rather dire-straits here. I just mistakenly deleted all the \nentries in a table and I need to recover them. I'm told that there's \nsomething I can do along the lines of \"hacking up a PG to show deleted \n'tuples'\" ...\n\nAny help would be VERY much appreciated.\n\n--Jos...
[ { "msg_contents": "Currently there are three mechanisms for assigning OIDs to system\nobjects during initdb:\n\n1. Manual assignment of OIDs in the include/catalog/*.h files. (We need\nto do this for objects that are cross-referenced in other DATA entries\nor that we have or might want #define macros for. So,...
[ { "msg_contents": "While thinking about the use of hand-assigned OIDs for pg_proc and\npg_operator, it occurred to me to wonder why we don't have hand-assigned\nOIDs for all system catalogs and indexes. Currently, most of the time\nthat the C code wants to reference a specific catalog or index, it has\nto refe...
[ { "msg_contents": "Tom,\n\n> BTW, as for your original question about performance, the current\n> external sort algorithm is mainly designed to conserve disk space,\n> not to be as fast as possible.  It could probably be a good bit faster\n> if we didn't mind taking twice as much space (mainly because the\n> ph...
[ { "msg_contents": "Hi all,\n\nJust wanted everyone to know what we're pulling CVS HEAD nightly so it\ncan be tested in STP now. Let me know if you have any questions.\n\nTests are not automatically run yet, but I hope to remedy that\nshortly.\n\nFor those not familiar with STP and PLM, here are a couple of lin...
[ { "msg_contents": "Greetings,\n\nI'm trying to run a Perl script connecting to a PostgreSQL database via \nDBI and DBD::Pg as a cron job. I'm already using the .pgpass mechanism \nfor managing md5 passwords on the client side and would like to use the \nsame mechanism for connecting from the Perl script. This d...
[ { "msg_contents": "Hi guys,\n\nAfter working on PHP for a few weeks, I see that what they do with their \ninteractive docs is have any comments posted get emailed to the docs \nlist. Do we do this?\n\nThat was, good comments are immediately integrated into the manual.\n\nChris\n", "msg_date": "Thu, 14 Apr ...
[ { "msg_contents": "I did 'gmake distclean' and rebuild and I still get the attached failures.\n\nChris", "msg_date": "Thu, 14 Apr 2005 09:52:11 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth.com.au>", "msg_from_op": true, "msg_subject": "Regression failures on freebsd" }, ...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Greg Stark\n> Sent: 14 April 2005 04:54\n> To: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Interactive docs idea\n> \n> Alvaro Herrera <alvherr...
[ { "msg_contents": "Recent discussions on PERFORM have made me look into some aspects of \nB-tree index code, especially with regard to bulk loading high volumes\nof data.\n\nI now have cause for concern about the way that Btree index code\ncurrently works when inserting large volumes of data into a table with\n...
[ { "msg_contents": "Hello, pgsql-hackers.\n\nI think It would be useful to cache return values for stable\nand immutable functions. Now thay are really called everytime.\n\nDemonstration (Postgresql 8.0.1 SlackWare10.0):\n\ncreate table t\n(\n i int PRIMARY KEY\n) without oids;\n\ninsert into t values (1);\nins...
[ { "msg_contents": "Hi,\nI hope its not off topic.\nI have an algorithm to implement where it needs\nto hold the tuples (complete tuples - all columns)\neither in a b+tree or a hashtable.\nI am concerned about the space such an index will require.\nWhat is the difference in percentages from the size of all\nthe ...
[ { "msg_contents": "Hi,\n I am unable to restart the PostgreSQL. I am using redhat Linux 9\nwith postgresql 7.4.5. Unexpectedly due to ups problem my server was\nshutdown once. After that i am unable to restart the server. How to\nstop and start.\n Present status is running. If i tried to start i am getting as...
[ { "msg_contents": " \n\n> -----Original Message-----\n> From: gsstark@mit.edu [mailto:gsstark@mit.edu] \n> Sent: 14 April 2005 18:39\n> To: Dave Page\n> Cc: Greg Stark; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Interactive docs idea\n> \n> \"Dave Page\" <dpage@vale-housing.co.uk> writes:\n> \n> > W...
[ { "msg_contents": "This is *great* news. It's certainly going to help a lot in getting\nlegacy apps running on postgresql, where you can't change the actual\nqueries that are being run (or can but only after fighting about it for\nhours and hours). And it'll do wonders to those who run \"amateur\nbenchmarks\" a...
[ { "msg_contents": "Hi,\n I am unable to restart the PostgreSQL. I am using redhat Linux 9\nwith postgresql 7.4.5. Unexpectedly due to ups problem my server was\nshutdown once. After that i am unable to restart the server. How to\nstop and start.\n Present status is running. If i tried to start i am getting as\n...
[ { "msg_contents": "Hi!\n\nI'd like to vote in favor of this patch:\nhttp://candle.pha.pa.us/mhonarc/patches2/msg00025.html.\n\nI know Tom said he didn't really like it, but I'd ask you to reconsider\nthat. \n\nMy use would be mainly for my integrate-with-active-directory project.\nAD requires uppercase principa...
[ { "msg_contents": ">> I'd like to vote in favor of this patch:\n>> http://candle.pha.pa.us/mhonarc/patches2/msg00025.html.\n>\n>> I know Tom said he didn't really like it, but I'd ask you to \n>reconsider\n>> that. \n>\n>The patch is unacceptable as is because (a) it adds a libpq\n>configuration parameter that ...
[ { "msg_contents": ">> Tom, assuming we fix this, are you fine with the concept?\n>\n>Mostly. Should the --with-krb-srvnam configure parameter go away?\n>Or is it now seen as establishing an installation default? (Either\n>way implies some documentation work.)\n\nThe original way kept it in there to establish ...
[ { "msg_contents": "In parse_func.c there are routines argtype_inherit() and\ngen_cross_product() that date from Berkeley days. The comments\nexplain their reason for existence thus:\n\n * This function is used to handle resolution of function calls when\n * there is no match to the given argument types, but ...
[ { "msg_contents": "I had a problem using PITR recovery just now. If I do:\n\n\tSELECT pg_start_backup('label');\n\tdo my tar\n\tSELECT pg_stop_backup();\n\nand stop the server, delete /data, then recover from the tar, delete\nfiles in pg_xlog, then set recovery.conf to restore, it fails, I think\nbecause no ac...
[ { "msg_contents": " Greetings,\n\n I suggest function for \"inet\" increment w/ int8 (signed).\n\nFUNCTION inet_inc(int, int8) RETURNS inet\n\nFunction, useful for making address pools (using also\nexisting \"inet\" compare functions to trap boundaries).\n\nNotes:\n This version lets address wrap around 0-*...
[ { "msg_contents": "Can you tell me more about the good ODBC driver being worked on?\nI was thinking of working on this myself, but if someone is already\nsolving the problem, that's great!\n\n\n-----Original Message-----\nFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On B...
[ { "msg_contents": "pgman wrote:\n> I figured that part of the goal of PITR was that you could recover from\n> just the tar backup and archived WAL files --- using the pg_xlog\n> contents is nice, but not something we can require.\n> \n> I understood the last missing WAL log would cause missing information,\n> b...
[ { "msg_contents": "Hi,\n My postgresql was running successfully in my Redhat LInux 9. After\n1 day when i try to login to the folder /usr/local/pgsql/data to\nupdate the ip address i am getting\nas \n[root@reset data]# ls\nSegmentation fault\n\nI am unable to see the files under /usr/local/pgsql/data/,\nI nee...
[ { "msg_contents": "Hello All\n Can any one tell me how can I get triggerOid from triggerName\nin c code. I first tried to use SearchSysCache Function but it does\nnot search o the basis of triggername.\n", "msg_date": "Mon, 18 Apr 2005 13:26:42 +0500", "msg_from": "rafaqat ali <rafaqat.ali@gmail...
[ { "msg_contents": "Hello,\nif i need to add a column in pg_proc ,is any body can\ngive me overview to do this.\n\nThanks,\nAsif Ali\n\n\n\t\t\n__________________________________ \nDo you Yahoo!? \nYahoo! Mail - Find what you need with new enhanced search. \nhttp://info.mail.yahoo.com/mail_250\n", "msg_date"...
[ { "msg_contents": "Hello All\n Can any one tell me how can I get triggerOid from triggerName\nin c code. I first tried to use SearchSysCache Function but it does\nnot search o the basis of triggername.\n", "msg_date": "Mon, 18 Apr 2005 14:26:36 +0500", "msg_from": "Rafaqat Ali <smoken0@gmail.com>...
[ { "msg_contents": "Hello All\n Can any one tell me how can I get triggerOid from triggerName\nin c code. I first tried to use SearchSysCache Function but it does\nnot search o the basis of triggername.\n", "msg_date": "Mon, 18 Apr 2005 14:27:46 +0500", "msg_from": "Rafaqat Ali <smoken0@gmail.com>"...
[ { "msg_contents": "Hi,\n I am using Redhat Linux 9, I need to uninstall postfesql 7.3.2 and \n i have to install postgresql 7.4.5. Plz let me know how to uninstall\ncompletely - postfesql 7.3.2\n\n-- \nWarm Regards,\n\nS.ElayaRaja\nMobile: (+91) 98450 59540\nE-Mail: elayaraja.s@gmail.com \n raja_...
[ { "msg_contents": "ElayaRaja S said:\n> Hi,\n> I am using Redhat Linux 9, I need to uninstall postfesql 7.3.2 and i\n> have to install postgresql 7.4.5. Plz let me know how to uninstall\n> completely - postfesql 7.3.2\n>\n> I am getting as [root@set root]# rpm -e postgresql\n> error: package postgresql is not i...
[ { "msg_contents": "Greetings,\n\nI don't really know if this is the correct place to ask this question, if \nnot please direct me to the correct mailing list.\n\nI'm trying to develop a new operator for PostGreSQL (actually for \nTelegraphCQ, which is an extension of PSQL). Part of the operator's \nprocedure is...
[ { "msg_contents": "Greetings,\n\nI don't really know if this is the correct place to ask this question, if not please\ndirect me to the correct mailing list.\n\nI'm trying to develop a new operator for PostGreSQL (actually for TelegraphCQ, which\nis an extension of PSQL). Part of the operator's procedure is the...
[ { "msg_contents": "\n> I'd say it's very not cool :) It's not we all\n> expected from PITR.\n> I recall now Simon mentioned about that and have it\n> in his TODO.\n> Other thing I don't understand what's the problem to\n> generate WAL file\n> by demand ? Probably, TODO should says about this.\n\nThis would defi...
[ { "msg_contents": "HI, \nHi,\n I am using Redhat Linux 9, I need to uninstall postfesql 7.3.2 and\n i have to install postgresql 7.4.5. Plz let me know how to uninstall\ncompletely - postfesql 7.3.2\n\nif i install the postgreSQL 7.4.5 and i used the command,\nbash-2.05b$ psql\npsql: relocation error: psql: und...
[ { "msg_contents": "\nRob Butler <crodster2k@yahoo.com> wrote on 18.04.2005, 15:05:20:\n> \n> > I'd say it's very not cool :) It's not we all\n> > expected from PITR.\n> > I recall now Simon mentioned about that and have it\n> > in his TODO.\n> > Other thing I don't understand what's the problem to\n> > generate...
[ { "msg_contents": "FYI, I did a presentation on the porting of PostgreSQL to Win32 on\nSaturday:\n\n\thttp://candle.pha.pa.us/main/writings/pgsql/win32_port.pdf\n\nIt has few diagrams because I did the diagrams on a white board.\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@...
[ { "msg_contents": "Bruce,\n\n> FYI, I did a presentation on the porting of PostgreSQL to Win32 on\n> Saturday:\n\nGood thing, too, you're doing this preso for OSCON.\n\n>         http://candle.pha.pa.us/main/writings/pgsql/win32_port.pdf\n>\n> It has few diagrams because I did the diagrams on a white board.\n\n...
[ { "msg_contents": "Hi,\n I am using Redhat linux 9. i had configure in pg_hba.conf as\nhost postgres postgres 10.10.0.76 255.255.255.0 password\n\nIf i try to connect with postgresql admin i am getting excpetion as\n\nAn erro has occured:\n\nError connecting to the server: could not connect to server:...
[ { "msg_contents": "> -----Original Message-----\n> From: ElayaRaja S [mailto:elayaraja.s@gmail.com]\n> Sent: Monday, April 18, 2005 1:38 PM\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] pg_hba.conf\n> \n> \n> Hi,\n> I am using Redhat linux 9. i had configure in pg_hba.conf as\n> host postgres p...
[ { "msg_contents": "Hi!\n\nFor bitmaps, I need to search each value being inserted (for each column of\nthe index) in the list of already existing values (stored in index's header\narea). To do that I need:\n\n1) create Datum from PageItem's value (I store each value in it's own\n PageItem);\n2) compare newly ...
[ { "msg_contents": "Hackers,\n\nHere is another attempt at the shared locks patch. This is a radically\ndifferent approach, using Xmax in the tuples and SLRU areas instead of\nthe lock manager.\n\nThe idea is that a tuple's Xmax can either be a real TransactionId\n(which is used normally like current CVS tip), ...
[ { "msg_contents": "I hope I am on good list, else point me where I should ask.\n\nI create a C function like this:\n\nCREATE\n-- IFUPDATE or REPLACE\n FUNCTION rpmquery(rpmheader, INT) RETURNS SETOF TEXT AS\n 'MODULE_PATHNAME', 'header_query' LANGUAGE C IMMUTABLE STRICT;\n\n(do not take care, code come fr...
[ { "msg_contents": "Use the DirecFunctionCall1, DirecFunctionCall2, etc. functions.\n\n... John\n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of kim@billes.dk\n> Sent: Monday, April 18, 2005 10:40 PM\n> To: pgsql-hackers@post...
[ { "msg_contents": "Should that sequence really stick around as an integer, numeric and text \nfield???\n\n\ntest=# create table test (a serial);\nNOTICE: CREATE TABLE will create implicit sequence \"test_a_seq\" for \nserial column \"test.a\"\nNOTICE: CREATE TABLE will create implicit sequence \"test_a_seq\" ...
[ { "msg_contents": "\nHello,\n\nthe nls_string function that makes it possible to sort by arbitrary\nlocale has been updated to reflect the changes in error handling in\nPostgreSQL 8.0, due to users using the nls_string sorting on 7.4 and\nrequesting it for 8.0 as well. The distribution can be downloaded from\n\...
[ { "msg_contents": "Folks,\n\nParams: PostgreSQL 8.0.1 on Solaris 10\nStatistics = 500\n(tablenames have been changed to protect NDA)\n\ne1=# select tablename, null_frac, correlation, n_distinct from pg_stats where \ntablename = 'clickstream1' andattname = 'session_id';\n tablename | null_frac | corr...
[ { "msg_contents": "Hi,\n\nCan you put a foreign key constraint on an array column that says that \neach element of the array must match a primary key?\n\nIf not, is this a TODO perhaps?\n\nChris\n", "msg_date": "Wed, 20 Apr 2005 14:20:11 +0800", "msg_from": "Christopher Kings-Lynne <chriskl@familyhealth...
[ { "msg_contents": "\nIs there a reason (other then it hasn't been implemented yet?) that the \nfollowing couldn't work?\n\n SELECT id,count(id) AS cnt\n FROM table\n WHERE id IN ( 1,2,3,4,5)\nGROUP BY id\n HAVING cnt = 2;\n\ninstead of:\n\n SELECT id,count(id) AS cnt\n FROM table\n WHERE id ...
[ { "msg_contents": "> -----Original Message-----\n> From: Jim C. Nasby [mailto:decibel@decibel.org]\n> Sent: Tuesday, April 19, 2005 5:56 PM\n> To: Christopher Browne\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] argtype_inherit() is dead code\n> \n> [...]\n> On Sun, Apr 17, 2005 at 07:01:41PM -0...
[ { "msg_contents": "Bruce,\n\n> > Good god - how old was that email? 2002???\n>\n> Yep, and been in my mailbox since then, waiting for me to process it\n> into a TODO entry.\n\n> > >     * Add tool to query pg_stat_* tables and report indexes that aren't\n> > > needed or tables that might need indexes\n\npg_stat...
[ { "msg_contents": "Greetings,\n\n There appears to be some deficiencies in both the documentation of the\n 'md5' authentication methology (in pg_hba.conf) and in the md5 hash\n generation which is stored in pg_shadow.\n\n The md5 hash which is generated for and stored in pg_shadow does not\n use a random s...
[ { "msg_contents": "A range of WAL/PITR items still need work. I'm fairly sure I won't be\ndoing any of these in time for 8.1, so feel free to have a go.\n\n1. PITR archive recovery could do more to overlap recovery of files, so\nthat recovery overall is faster. This is already possible by designing\nyour archiv...
[ { "msg_contents": "Folks,\n\nAt OSDL we're seeing a wierd performance crash on 8.1cvs. What's wierd about \nit is that it doesn't happen all the time -- about 1 out of 4 test runs. \nWhat it looks like happens sometimes is that performance drops dramatically \nat the first checkpoint, and never comes back....
[ { "msg_contents": "I talked to a few people on IRC about this and they didn't think I was\nnuts, so maybe this is something practical...\n\nIn a nutshell, my idea is to use the normal transactional/XID code to\nrelocate tuples in the heap. Think of doing an UPDATE field=field if you\ncould tell update what page...
[ { "msg_contents": "Log Message:\n-----------\nInstall some slightly realistic cost estimation for bitmap index scans.\n\nModified Files:\n--------------\n pgsql/src/backend/nodes:\n outfuncs.c (r1.247 -> r1.248)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/outfuncs.c.di...
[ { "msg_contents": "Joshua Drake wrote:\n\n> If you aren't paying close enough attention to your database server to\n> see that someone is trying to brute force your MD5 password you have \n> bigger problems.\n\nEverybody is completely missing the point. :-(\n\nThe point of a random salt is *NOT* to increase the...
[ { "msg_contents": "* Josh Berkus (josh@agliodbs.com) wrote:\n> David, Stephen,\n\n[Changed back to pgsql-hackers]\n\n> Well, from our perspective, a random salt only protects against a very narrow \n> range of attack types -- ones in which the attacker already has access to the \n> physical database and wants t...
[ { "msg_contents": "I just discovered that my previous post concerning this had the same \nsubject line as a discussion that took place in January. I'm not asking \nthe same question though, so here I go again with my question about \nsyntax and feasibility.\n\nI do the following:\n\nCREATE FUNCTION xyz(int, int...
[ { "msg_contents": "pgman wrote:\n> Stephen Frost wrote:\n> -- Start of PGP signed section.\n> > * Andrew Dunstan (andrew@dunslane.net) wrote:\n> > > The docs say: \"only md5 supports encrypted passwords stored in \n> > > pg_shadow; the other two require unencrypted passwords to be stored \n> > > there.\" So ei...
[ { "msg_contents": "A few hours ago, I gave a talk at linux.conf.au on the internals of the \nPostgreSQL query optimizer. The slides are here:\n\n http://neilc.treehou.se/optimizer.pdf\n\nCorrections or suggestions for improvement are welcome. The LaTeX source \nis also available if anyone wants it. If you'd...
[ { "msg_contents": "Hi list,\n\nI'm trying to find out, from a client, how many characters will fit in a \nvarchar field \n(http://pgfoundry.org/tracker/index.php?func=detail&aid=1000286&group_id=1000085&atid=394). \nProblem is that when I do \"PQfmod\" on a varchar field defined as \n\"varchar(20)\", PQfmod ret...
[ { "msg_contents": "\n==================\nDate: Fri, 22 Apr 2005 00:15:31 -0700\nFrom: Mark Mitchell <mark@codesourcery.com>\nTo: gcc-announce@gcc.gnu.org, gcc@gcc.gnu.org\nSubject: GCC 4.0.0 has been released\n\nGCC 4.0.0 has been released.\n\nThis release is a major release, containing (among many other featur...
[ { "msg_contents": "> -----Original Message-----\n> From: Marc G. Fournier [mailto:scrappy@postgresql.org]\n> Sent: Friday, April 22, 2005 8:56 AM\n> To: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] Woo hoo ... a whole new set of compiler headaches!!\n> :)\n> \n> GCC 4.0.0 has been released.\n> [...]\n\nI ...
[ { "msg_contents": "> -----Original Message-----\n> From: Marc G. Fournier [mailto:scrappy@postgresql.org]\n> Sent: Friday, April 22, 2005 9:46 AM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler\n> headaches!! :)\n> \n> [...]\n> With GCC 4.x,...
[ { "msg_contents": "\nFetching data from just indexes has been discussed on this list several\ntimes before, and it has been told that this can't be done with postgres\nthanks to MVCC.\n\nBut this is true only when data is changing. In a data-warehousing\nscenario what it is often needed is a possibility for fas...
[ { "msg_contents": "Fetching data from just indexes has been discussed on this list several\ntimes before, and it has been told that this can't be done with postgres\nthanks to MVCC.\n\nBut this is true only when data is changing. In a data-warehousing\nscenario what it is often needed is a possibility for fast ...
[ { "msg_contents": "> -----Original Message-----\n> From: Marc G. Fournier [mailto:scrappy@postgresql.org]\n> Sent: Friday, April 22, 2005 10:17 AM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler\n> headaches!! :)\n> \n> [...]\n> See Tom's po...
[ { "msg_contents": "> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> Sent: Friday, April 22, 2005 10:56 AM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler\n> headaches!! :)\n> \n> [...]\n> I dunno about \"fundament...
[ { "msg_contents": "> -----Original Message-----\n> From: Joshua D. Drake [mailto:jd@commandprompt.com]\n> Sent: Friday, April 22, 2005 11:42 AM\n> To: Dave Held\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler\n> headaches!! :)\n> \n> [...]\n> Uhmmm that isn'...
[ { "msg_contents": "> -----Original Message-----\n> From: Alvaro Herrera [mailto:alvherre@dcc.uchile.cl]\n> Sent: Friday, April 22, 2005 12:06 PM\n> To: Tom Lane\n> Cc: Dave Held; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Woo hoo ... a whole new set of compiler\n> headaches!! :)\n> \n> [...]\n> Why ...