threads
listlengths
1
2.99k
[ { "msg_contents": "> I believe that the equal-key performance problem largely \n> comes from the bogus way we've been handling duplicates, in particular\n\nIt comes from the way we look for page for new tuple - _bt_insertonpg tries\nto avoid duplicate page splitting, i.e. if there is no space for new tuple\non ...
[ { "msg_contents": "Can anyone suggest how I can regain access to some PGSQL files\nthat are in a directory below /usr/local/pgsql/data/base\nbut aren't in the catalog due to an errant initdb?\n\nThanks!\n\nLER\n\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 972-414-9812 (voice)...
[ { "msg_contents": "FYI,\n\n TOAST is now vacuum-safe. When needed, the toaster creates a\n second heap tuple, containing only plain or compressed\n values. This one is then returned by the heap access methods\n to the caller, so indices will never contain external\n references.\n...
[ { "msg_contents": "FYI,\n\n PATH seems to be an SQL3 reserved keyword (someone added it\n to the parser as such).\n\n But there is a geometric function path(), which cannot be\n used any more, thus breaking the regression test. Neither\n could path be used as identifier for tables/att...
[ { "msg_contents": "\nExecutive summary: \n\nI have discarded the idea of (partially) implementing Info Schemas as part\nof a pg_dump/psql enhancement, and returned to my original plan. You can\nnow skip to 'Questions', below.\n\n----------- Discussion --------\nHaving now waded through the SQL standards rather ...
[ { "msg_contents": "I could have sworn I saw a post where you (Tom Lane) figured out how\nto get tables to be read-only while performing a vaccuum rather than\nbeing completely locked.\n\nIs this true? Is it in the -PATCHES branch?\n\nthanks,\n-- \n-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]\n...
[ { "msg_contents": "Ah, the reason I couldn't see the problem is I was using the wrong\nquery. I happened to look at the 'test' file you had sitting there\nand saw that it was a join against one more table than I was using;\nthere wasn't anything about the 'stock' table in the query you'd sent\nby mail.\n\nOnce...
[ { "msg_contents": "I'm going to be on vacation for essentially the next month. So if there's\nanything that you'd like fixed before that, now's a good time to tell.\n\n\nMeanwhile a few TODO updates:\n\n* Creating index of TIMESTAMP & RELTIME fails, or rename to DATETIME(Thomas)\n\nLooks obsolete to me. (Reltim...
[ { "msg_contents": "At 14:58 23/07/00 +0200, Peter Eisentraut wrote:\n>\n>* Some database schema's are not dumpable; do dumps in oid order\n>* make pg_dump dump in oid order, so dependencies are resolved\n>\n\nAs of the latest pg_dump, it dumps in modified oid order: rules, triggers,\nviews and indexes always g...
[ { "msg_contents": "I noticed a discussion on this list about a re-do of the INET/CIDR\ntypes. I was wondering if there was ANY way at all to add\nan output function that ALWAYS returns all 4 octets of an INET or CIDR\ntype with and without the /netmask?\n\nI'm writing a IP Allocation/Tracking app for the ISP ...
[ { "msg_contents": "What can I do to help get this resolved?\n\nI've gotten some suggestions, but I'm still at a loss to \nget the functionality (and I sure as heck don't want to break\nthe backend...).\n\nI think what we've come up with is to store the manufacturer information\nin a table (my ouiparse.awk scrip...
[ { "msg_contents": "Lamar et al: what is the current state of the posted (and upcoming)\nRPMs? Did the Mandrake stuff get integrated into The One True SpecFile\n(modulo the .bz input files)?\n\nI've got Mandrake-7.1 up on my home system (after an\nupgrade/hosed/install cycle :( and would like to build some fresh...
[ { "msg_contents": "\n> > WAL can solve the versioned relations problem.\n> > Remember that a sure new step in postmaster startup will be a\n> > rollforward of the WAL,\n> > since that will have the only sync write of our last txn's. \n> > Thus in this step it can also\n> > do any pending rename or delete of fil...
[ { "msg_contents": "Looks like your postgres binary is not the correct one.\nThat is: the make step for the target postgres.imp failed or went into the\nwrong directory, and you thus have a postgres binary that is not converted \nto export all symbols.\n \nThis is one point that bugs me in the aix port. Maybe we...
[ { "msg_contents": "With the TEXT form of COPY IN, is it possible to specify which columns?\n\nIf not, it would be nice to be able to do this:\n\nCOPY tablename (row1, row2, row3) from stdin;\n\nAbout binary copy...\n\nMaybe this is new, but the COPY IN with 'binary format', would this\nwork via a libpq connecti...
[ { "msg_contents": "\n> > It does not postpone anything. WAL only logs what it does:\n> > \n> > 1. log i now start to rename file\n> > 2. rename file\n> \n> How do we log *rename* ?\n\nNo, step 2 was meant to do the actual rename.\nYou log before and after the actual rename.\n\n> What I've meant by *rename* is t...
[ { "msg_contents": "\nWho here is very familiar with pg_shadow?\n\nVince.\n-- \n==========================================================================\nVince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net\n 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking\n ...
[ { "msg_contents": "\n> OK,I see. Your idea seems to be close to Vadim's *relink*. \n> However it isn't clear if *relink* has no problem.\n> In my test case on cygwin port ,*relink* doesn't work well.\n> *relink* caused an error if concurrent backends open the\n> *relink*ing table.\n\nAll actions involving a ren...
[ { "msg_contents": "\n> > All actions involving a rename of a file imho involve exclusive access\n> > to the table, thus no concurrent access is allowed/possible.\n> >\n> \n> Once a table file was opened,it is not closed until the end of the\n> backend process except due to the shortage of file descriptors.\n\n...
[ { "msg_contents": "Here it is:\n\n Proposal for a new\n PostgreSQL Privilege System\n\n July 2000, Jan Wieck\n\n Introduction\n\n The existing permission checking system, implemented in\n the PostgreSQL database, has alot ...
[ { "msg_contents": "\nAn interesting problem has been brought to my attention in pg_dump\n(V7.0.2+, I think).\n\nIt uses the following code to disable triggers prior to a data load:\n\n UPDATE \"pg_class\" SET \"reltriggers\" = 0 WHERE \"relname\" !~ '^pg_';\n\nwhich works fine if it is currently connected as...
[ { "msg_contents": "\t\nI know as far as 7.0.x and back you cannot delete/drop columns from a \ntable. Is this expected to be in the 7.x series?\n\n", "msg_date": "Tue, 25 Jul 2000 11:05:15 -0500", "msg_from": "Thomas Swan <tswan@olemiss.edu>", "msg_from_op": true, "msg_subject": "DELETE/DROP o...
[ { "msg_contents": "And that was the problem!!! Each time I recompiled (and finally got \neverything to compile properly), I did a gmake install. What I didn't \nrealize was that, instead of overwriting the previous installation with the \nnew installation, it would simply skip it. Hence I was using a new \nl...
[ { "msg_contents": "Here is a good article about the mistakes Mozilla made:\n\n\thttp://www.osopinion.com/Opinions/MontyManley/MontyManley11.html\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive,...
[ { "msg_contents": "Bruce Momjian wrote:\n> Yo, Jan. Get that extra space removed.\n>\n\n Caused by some changes to the macro package I use to format\n my emails with groff(1).\n\n Sorry and thanks to ALL who noticed me.\n\nJan\n\n--\n\n#===============================================================...
[ { "msg_contents": "\nI have Postgres 6.5 running on a 4-cpu Linux server with 2GB RAM, however\nit does not seem to be taking full advantage of the available memory, even\nduring large queries. How do I tell Postgres that more memory is available?\n\nBrian\n\nP.S. Yes, I know we should upgrade to 7, but it look...
[ { "msg_contents": "> SUPERUSER A special System Privilege,\n\nThis priv is usually called DBA\n\n> CREATE SESSION Permission to login. Checked after\n\nusually called CONNECT\n\nThe several CREATE privs are usually all granted with one grant \nRESOURCE statement\n\n> ...
[ { "msg_contents": "\n> The trouble with depending on WAL to handle undo of external \n> operations\n> (ie, filesystem calls as opposed to DB record updates) is \n> that you don't\n> know all the facts if you have to recover/undo the operation. \n> Consider\n> the following not-too-implausible example:\n> \n> \...
[ { "msg_contents": "I was wondering if anyone could help me with the following questions.\nThey are all related to user defined types and functions.\n\n 1. Environment variables in function pathname. We would like to\nhave multiple environments (i.e. production, backup, reporting, test\netc) with each enviro...
[ { "msg_contents": "Hello,\n\nI have started a free auction system project at http://www.apartia.org\nwhich is closely tied to PostgreSQL. \n\nThe system is voluntarily closely tied to Postgres for several reasons:\n\n- political decision to support free DB, Postgres being the only one\n with advanced features;...
[ { "msg_contents": "\n> Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:\n> >> We scan the log and come upon the rename.\n> >> Hmm, there's a file foo and no file bar ... looks like the \n> >> rename didn't get done, so do it. Ooops.\n> \n> > No again. You come upon \"starting rename operation\" an...
[ { "msg_contents": "Fabrice Scemama wrote:\n\n> Hello;\n>\n> we've been using Postgres for nearly 2 years now, and have\n> followed updgrades, from 6.4.2 to 7.0.2. Our applications\n> are mainly shell scripts, and CGI. All is done in perl.\n> We have long, heavy, and simultaneous transactions.\n>\n> With 7.0.x v...
[ { "msg_contents": "I'm wondering why insert doesn't temporarily ignore foreign key\nconstraints until after the rows are inserted and then check referential\nintegrity. If the inserted rows are invalid, then simply rollback the\ntransaction.\n\nThis might make more sense with an example:\n\nI was rebuilding so...
[ { "msg_contents": "\n> Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:\n> >> If there are no more records, then you are reduced to \n> guessing whether\n> >> you have to undo the rename or not. If you guess wrong, \n> you leave the\n> >> database in a corrupted state.\n> \n> > If the original fil...
[ { "msg_contents": "\n> > TOAST is now vacuum-safe. When needed, the toaster creates a\n> > second heap tuple, containing only plain or compressed\n> > values. This one is then returned by the heap access methods\n> > to the caller, so indices will never contain external\n> > ...
[ { "msg_contents": "\nCan anybody tell me, how I can insert text data larger then 20k in database \nwihtout using large objects?\n\n Vladimir\n\n\n", "msg_date": "Thu, 27 Jul 2000 11:36:28 +0300", "msg_from": "\"Vladimir Terziev\" <vladimirt@rila.bg>", "msg_from_op": true, "msg_subject": "L...
[ { "msg_contents": "Hi all,\n\nI'm banging my head over this one:\n\nI want to set a table like this:\nCREATE TABLE readers (\nname varchar not null primary key,\ndocuments int[]);\n\nwhere name is the name of a reader and documents a list of documents he\ncan access.\n\nSo it's easy to say: hi, you're authorize...
[ { "msg_contents": "\n\n> Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:\n> > Why do you declare dlopen, dlsym, ... in dynamic_loader.h ?\n> > They are defined in the port specific dynloader.h .\n> > Why do you use \"void pg_dlclose\" when dlclose is \"int dlclose\" ?\n> > This makes a wrapper fun...
[ { "msg_contents": "\n> > But yes the rename log entries (only those) would need to be \n> > written immediately. Is this a performance issue? I guess not.\n> \n> Two fsyncs per rename is probably not a performance killer, but you'd\n> have to also fsync log entries for file creates and deletes, which\n> might b...
[ { "msg_contents": "I've been trying to work on a system of using classes as a variation on \nnormalization of data.\n\nHowever, I've run into a really frustrating problem. I had posted this \npreviously but not in this form to the PGSQL SQL list.\n\n From that posting...\n--begin--\ncreate table foo (id int8);...
[ { "msg_contents": "I realized that 7.0.2 still doesn't have documentation about 'database\nrecovery'. Searching the PostgreSQL web server, I found worthy comments.\nWhat are the results of this discussion? My poor idea is to create a text\nfile which made from the debugging messages (via syslog and pg_options)\...
[ { "msg_contents": "I spent some time looking around for possible causes of the recently\nreported deadlock conditions. I couldn't find any smoking gun, but\nI found a couple of things that look fishy:\n\n1. I notice that ProcReleaseAll does not act quite the same way that\nProcRelease does. Look in particular...
[ { "msg_contents": "Didn't know if this is a known issue or not, but I think the following ought to fail, and it does not:\n\nmschout=# create table foo (f1 int not null, primary key (f1));\nNOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'foo_pkey' for table 'foo'\nCREATE\n\nso far, so good.\n\nno...
[ { "msg_contents": "(sorry for sending this 2x. I accidently omitted the Subject on the first\ncopy)\n\n----------------\n\nDidn't know if this is a known issue or not, but I think the following ought to fail, and it does not:\n\nmschout=# create table foo (f1 int not null, primary key (f1));\nNOTICE: CREATE ...
[ { "msg_contents": "\nJust looking at the TODO list for other pg_dump related items, and saw:\n\n add pg_dump option to dump type names as standard ANSI types \n\nTow questions:\n\nDo we already have a function to represent PG types as ANSI standard types?\nHow should types that are not in the standard be rep...
[ { "msg_contents": "\nYou might want to add:\n\n insert/update...returning {[new.|old.]col [as name],...}\n\nto TODO. I intend to do it eventually...\n\n\n----------------------------------------------------------------\nPhilip Warner | __---_____\nAlbatross Consulting Pty. Ltd. |----/...
[ { "msg_contents": "Hello,\n\nWhat does this mean?????\n\n---------- Forwarded Message ----------\nSubject: Postgres update\nDate: Fri, 28 Jul 2000 04:00:09 -0500 (EST)\nFrom: webmail@webmailstation.com (WebmailStation User)\n\n\nCREATE\nDROP\nALTER\npsql:/home/www/www.webmailstation.com/sql/reindex.lo.sql:5: ...
[ { "msg_contents": "Tom,\n\n AFAICS, only \"text\", \"lztext\" and all arrays are yet\n toastable. Which of the other base types do we want to have\n in 7.1?\n\n Who else is willing to contribute to this?\n\n\nJan\n\n--\n\n#==================================================================...
[ { "msg_contents": "Hello dear people,\n\nWe all know PostgreSQL inability to handle exceptions. Inside a transaction, any\nerror will make it fall in *ABORT STATE*, and any further action not being\nROLLBACK, ABORT or COMMIT, will ask for a ROLLBACK, ABORT or COMMIT statement. I\nwant to know what exact code is...
[ { "msg_contents": "Hello dear people,\n\nWe all know PostgreSQL inability to handle exceptions. Inside a transaction, any\nerror will make it fall in *ABORT STATE*, and any further action not being\nROLLBACK, ABORT or COMMIT, will ask for a ROLLBACK, ABORT or COMMIT statement. I\nwant to know what exact code is...
[ { "msg_contents": "\nApologies if this has been asked before, but the mailing list archive seems\nto be down again.\n\nIs there any reason that a security model does not exist for psql that\nallows Unix user 'fred' to log in as PG user 'fred' with no password etc,\nbut any user trying to log on as someone other...
[ { "msg_contents": "\nBrian Baquiran in the [GENERAL] list recently asked if it was possible to\n'throttle-down' pg_dump so that it did not cause an IO bottleneck when\ncopying large tables.\n\nCan anyone see a reason not to pause periodically?\n\nThe only problem I have with pausing is that pg_dump runs in a si...
[ { "msg_contents": "I've committed changes to gram.y to get PATH accepted as both a data\ntype and a column label (the latter is what the regression test has been\ncomplaining about).\n\nThere is some difference in \"edge case\" names allowed for ColId and, for\nexample, function names, though I think the curren...
[ { "msg_contents": "I have just noticed something that's been broken for a good long while\n(at least since 6.3): bufmgr.c expects that I/O errors will result in\nan SM_FAIL return code from the smgr.c routines, but smgr.c does no\nsuch thing: it does elog(ERROR) if it sees a failure. All of the\n\"error handli...
[ { "msg_contents": "I've noticed that adding an index on a column has no effect on \"select\ndistinct\" (index or no index, the entire table is sequence scanned; see\nexample below). Couldn't you just traverse the index to get the\ndistinct values?\n\nTim\n\nkeitt=# vacuum analyze test;\nVACUUM\nkeitt=# select ...
[ { "msg_contents": "I'm updating path & polygon for TOAST/new fmgr. I'm not going to\nbother to fix the following functions; they'll be deleted instead:\n\n/* isoldpath, upgradepath, upgradepoly, revertpoly are used to update pre-v6.1 to v6.1 - tgl 97/06/03 */\n\nAny objections?\n\n\t\t\tregards, tom lane\n", ...
[ { "msg_contents": "I just noticed that path_distance() in geo_ops.c (the \"<->\" operator\nfor path datatype) claims to be computing the minimum distance between\nany two line segments of the two paths, but actually it's computing the\nmaximum such distance.\n\nIsn't this broken?\n\n\t\t\tregards, tom lane\n", ...
[ { "msg_contents": "Dear all, \n\nI need drawing tools to show the table relationship. I have used pgaccess but \nit seems that the effect is not very good. Are there any recommendations? \n\n\nBest regards,\nBoris\n", "msg_date": "Sat, 29 Jul 2000 15:15:11 +0800", "msg_from": "<database@gurubase.com>", ...
[ { "msg_contents": "I'm thinking of removing the datatype \"filename\", which is a fixed-size\narray of 256 characters with no support functions other than input and\noutput converters. Apparently it was once used in the system tables,\nbut it is so no longer AFAICT. Since it's fixed-length, it cannot be\nmade...
[ { "msg_contents": "I notice that ACL lists are represented as arrays of aclitem, which\nmeans they are now theoretically toastable. (In practice, I haven't\nfinished fixing all the routines that touch ACLs, but will soon.)\n\nDo we need long lists of ACLs? If so, is there any danger in giving\npg_class a toas...
[ { "msg_contents": "Unfortunately I managed to create a problematic database. The problem\noccurs if I execute pg_dump and then try to reload the database. Details:\n\nMy only definitions in this database are:\n\n> create function x(int4) returns bool as 'select $1 > 10;' language 'sql';\n> create table y(z int4...
[ { "msg_contents": "At 21:18 29/07/00 +0200, Kovacs Zoltan Sandor wrote:\n>Unfortunately I managed to create a problematic database. The problem\n>occurs if I execute pg_dump and then try to reload the database. Details:\n>\n>My only definitions in this database are:\n>\n>> create function x(int4) returns bool a...
[ { "msg_contents": "Hi all,\n\nI found another(??) lock freezing phenomenon.\nSeems I'm guilty for the bug.\n\nsession-1\n\tbegin;\n\tlock table a in share mode;\n\nsession-2\n\tbegin;\n\tlock table a;\n\t[blocked]\n\nsession-3\n\tbegin;\n\tlock table a in share mode;\n\t[blocked]\n\nsession-2\n\t^C\n\tCancel re...
[ { "msg_contents": "I have a quick question. What is the quickest way to determine\nthe next highest power of two which is greater than a given\ninteger in 'C'. For example, given the number 7, I would like to\nreturn 8. Given the number 13, I would like to return 16, etc. Is\nthere a gem to do this without shif...
[ { "msg_contents": "Hello,\n\nSometime ago I did a patch to have large objects rollbackable.\nThat patch was against the current (on that moment) CVS.\nIt worked fine.\n\nNow I tried to port the patch to 7.0.2 and have the following problem:\nSomehow index which I made is not updated.\nIt can be figure out quite...
[ { "msg_contents": ">Subject: Re: Inprise InterBase(R) 6.0 Now Free and Open Source \nTom Lane <tgl@sss.pgh.pa.us> writes:\n>It is not possible to be \"tainted\" by looking. There are only two kinds\n>of intellectual property rights (at least in the USA) and neither one\n>creates that risk:\n>\n>1. Copyright me...
[ { "msg_contents": "> -----Original Message-----\n> From: Alfred Perlstein [mailto:bright@wintelcom.net]\n> \n> * Hiroshi Inoue <Inoue@tpf.co.jp> [000729 18:38] wrote:\n> > Hi all,\n> > \n> > I found another(??) lock freezing phenomenon.\n> > Seems I'm guilty for the bug.\n> > \n> [snip]\n> > \n> > Either the ca...
[ { "msg_contents": "OK, so what do I have to do to make a function that returns a \nmasked macaddr? I.E. sets the last 3 bytes to 0x00?\n\nThat in conjunction with some changes to my ouiparse.awk script and \nwe can put this to bed.\n\nLarry\n-- \nLarry Rosenman http://www.lerctr.org/~ler\n...
[ { "msg_contents": "Here is my ouiparse.awk script for your amusement....\n\n\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 972-414-9812 (voice) Internet: ler@lerctr.org\nUS Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749", "msg_date": "Sun, 30 Jul 2000 20:34:46 -...
[ { "msg_contents": "make[3]: Entering directory `/home/postgres/pgsql/src/backend/parser'\nbison -y -d gram.y\n12 rules never reduced\ngram.y contains 3 useless nonterminals and 12 useless rules\n\n\t\t\tregards, tom lane\n", "msg_date": "Sun, 30 Jul 2000 21:35:59 -0400", "msg_from": "Tom Lane <tgl@sss....
[ { "msg_contents": "Hello nice people,\n\nSlowly & happily I'm becoming a PostgreSQL hacker ;-) What a pleasure. Last\ndays, I learned to use the debugger, to follow code, & understood some of\nPostgreSQL internals. In spanish we say someone is a 'cabeza dura' when tries\nhard to do something against the odds, &...
[ { "msg_contents": "Hi,\n\nWhat do we mean in the last two lines of the following comment?\n\n /* ----------------\n * Here we are in the middle of a\ntransaction block but\n * one of the commands caused an abort so\...
[ { "msg_contents": "I'd like to inform the pghackers community that I've accepted an offer\nof employment from Great Bridge. I expect to be doing essentially\nthe same sort of work I've been doing on Postgres for the last two\nyears; except that now I'll be able to do it full-time rather than\njust in my spare ...
[ { "msg_contents": "I didn't know if this had made it to the list or not... if it has, please \nexcuse...\n\nI've been trying to work on a system of using classes as a variation on \nnormalization of data.\nHowever, I've run into a really frustrating problem. I had posted the \nfollowing but not in this form to...
[ { "msg_contents": "Hi Lamar. I got around to building 7.0.2 RPMs for Mandrake, and afaict\nyour .src.rpm built without trouble. It even got the \".bz2\" man page\ncompression right (of course, without explicitly doing this in the spec\nfile).\n\nWill post on ftp.postgresql.org soon. Is a new RPM coming out befo...
[ { "msg_contents": "\nRecent testing of the BLOB restoration code of pg_dump has highlighted\nsomething that *may* be a problem, but I am not sure. BLOBs create tables,\nand AFAICT those tables are owned by the user who was connected at the\ntime. This theoretically means that even though a user has access to a\...
[ { "msg_contents": "The comment in the random() function indicates that its author thought\nit'd produce output in the range 0..1, which seems like a pretty\nreasonable definition:\n\n\t/* result 0.0-1.0 */\n\tresult = ((double) random()) / RAND_MAX;\n\nUnfortunately, at least on my box, it produces no such thin...
[ { "msg_contents": "Any comments at all from anyone on my mail from Sunday Nite on\nmaking the macaddr_manuf function just return a \nmasked MACADDR (I.E. set the low 3 bytes to 0x00) and how we\ndo this in the code?\n\nAny comments on the ouiparse.awk script?\n\nLER\n\n-- \nLarry Rosenman h...
[ { "msg_contents": "Hope this function won't be removed. I'm using it\nto select a random row like \"select xxx from yyy\norder by random() limit 1\". It's painful to do it\nbefore 7.0.\n\nRegards,\n-- \nGuo Bin\n\n--- Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> \n> As far as I can find, random() isn't mentioned in t...
[ { "msg_contents": "I am wondering what's the best way to to build a database where rows of tables\nare like objects.\nAn object (a row of table t1) can have a collection of\npointers to other objects (rows of table t2).\nTo make an analogy, a man has a collection of thousands of\nestates which can also be share...
[ { "msg_contents": "I am having trouble understanding the relationship between passwords in the\n\"passwd\" flat file and the system table pg_user. It seems that if I don't\nperform a sql \"create user\" with the \"with password\" option I can't connect\nto the database when I use password authentication even t...
[ { "msg_contents": "Can anyone explain the ERROR below? Is this a bug or a feature?\nThis is 7.0.2.\n\ntest=# select (1,2,3) = (1,2,3);\n ?column? \n----------\n t\n(1 row)\n\ntest=# select (1,2,3) = (1,2,9);\n ?column? \n----------\n f\n(1 row)\n\ntest=# select (1,2,3) = (1,2,null);\n ?column? \n----------\n \n...
[ { "msg_contents": "Hi all,\n\nI have a question.\nAs far as I see,constraints are stored into PG database ordinarily\nas follows.\n\n 1) RelationAddRawConstraints() converts each raw constaint\n to bin form.\n 2) StoreRelCheck() converts the bin form to src form and store\n them into pg_relcheck tup...
[ { "msg_contents": "> Well, there's no basis for deciding what the datatype of the third\n> column is.\n> \n> The only reason you don't get the same error from the non-row case\n> \n> regression=# select null = null;\n> ?column?\n> ----------\n> t\n> (1 row)\n> \n> is that we have an ugly, horrible kluge in th...
[ { "msg_contents": "At 10:15 AM 8/3/00 +0200, Magnus Hagander wrote:\n\n>Isn't it just plain *wrong* to state that null = null? After all, NULL is\n>unknown, and is not equal to anything, no?\n\nAccording to the standard, yes, it is wrong. \n\n>Perhaps it would be more correct for postgresql to provide an optio...
[ { "msg_contents": "> Magnus Hagander <mha@sollentuna.net> writes:\n> > Summary of MS:\n> > When it runs in ANSI mode, null != null.\n> > When it runs in backwards compatible mode , null=null.\n> \n> Oh, that's interesting, they fixed their bug.\n> \n> foo = NULL should produce NULL (*not* true, and *not* false ...
[ { "msg_contents": "> > Summary of MS:\n> > When it runs in ANSI mode, null != null.\n> > When it runs in backwards compatible mode , null=null.\n> \n> Oh, that's interesting, they fixed their bug.\n> \n> foo = NULL should produce NULL (*not* true, and *not* false either,\n> though it'd act like false in a CASE ...
[ { "msg_contents": "I'm thinking of diving into the bit/varbit stuff, mainly because it's\npractically the last area left on the list of functions not converted\nto new fmgr style.\n\nIn a quick look at the code, I wonder why we are bothering with separate\nbit and varbit functions/operators when they all do the...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\n\nFirst, I built from the 7.0.2 source RPM.\n\nThis RPM seems to have installed /usr/lib/pgsql/os.h as a symlink to\n.././include/port/linux.h which doesn't exist.\n\nroland\n- -- \n\t\t PGP Key ID: 66 BC 3B CD\nRoland B. Roberts, PhD ...
[ { "msg_contents": "I find the following varlena (ie, potentially toastable) columns\npresent in the system tables:\n\n relname | attname | typname | attstorage\n----------------+--------------+----------+------------\n pg_aggregate | agginitval | text | x\n pg_attrdef | adbin | t...
[ { "msg_contents": "Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:\n> I believe these are all the cases I saw of heap_openr with no lock\n> and no check in the actual trigger functions (patch to\n> hopefully elog(ERROR) instead of crashing attached).\n> [ patch snipped ]\n\nWe had a discussion about that...
[ { "msg_contents": "The \"target list\" that's added to function-call nodes in expressions\nhas bugged me for a long time, because it seems to clutter expression\ntrees quite a bit (thus wasting space in stored rules, for example)\nwithout really being used for much.\n\nI've now dug around and determined that th...
[ { "msg_contents": "> -----Original Message-----\n> From: Hiroshi Inoue [mailto:Inoue@tpf.co.jp]\n> \n> > -----Original Message-----\n> > From: Tom Lane [mailto:tgl@sss.pgh.pa.us]\n> > \n> > \"Hiroshi Inoue\" <Inoue@tpf.co.jp> writes:\n> > > Is pg_relcheck.rcsrc equivalent to the original raw constraint ?\n> > \...
[ { "msg_contents": "\nNow that I *seem* to have a pg_dump/restore that handles BLOBs (for 7.0.2\nand 7.1), would there be any value in adding a 'conversion' option to\npg_restore (for 7.1)?\n\nThe idea being that there are probably people out there who use BLOBs for\nlarge text fields, who *might* be better serv...
[ { "msg_contents": "Tom, \n I noted you edited mac.c, did you pick up the suggestions\n from myself and Bruce re: macaddr_manuf?\n\n Larry\n-- \nLarry Rosenman http://www.lerctr.org/~ler\nPhone: +1 972-414-9812 (voice) Internet: ler@lerctr.org\nUS Mail: 1905 Steamboat Springs Drive,...
[ { "msg_contents": "See below...\n\n--\nPeter Mount\nEnterprise Support\nMaidstone Borough Council\nAny views stated are my own, and not those of Maidstone Borough Council\n\n\n-----Original Message-----\nFrom: Philip Warner [mailto:pjw@rhyme.com.au]\nSent: Friday, August 04, 2000 2:29 AM\nTo: Tom Lane\nCc: pgsq...
[ { "msg_contents": "> Mike Mascari <mascarm@mascari.com> writes:\n> > Please don't. It seems true that Microsoft has enabled a mode for\n> > SQL Server, but the main problem was Access. And Access 95/97 has\n> > a huge installed base of users that would not be able to use its\n> > automated query tools with Post...
[ { "msg_contents": "I am using a new dial-in drop for my network connection, and a somewhat\nunfamiliar mail handling system (postfix) on my local computer. A large\namount of outbound mail is getting returned because the recipient\nmachine is not found (these include such obscure names as redhat.com :/\n\nAnywa...
[ { "msg_contents": " I have been looking at all of the online docs, and I can't find it, or just didn't see it. What is the max length string than can be stored in a TEXT field. I am running v7.0.2 on RedHat 6.2\n\nThanks,\nDale.\n\n\n", "msg_date": "Fri, 04 Aug 2000 15:58:42 -0500", "msg_from": "\"D...
[ { "msg_contents": "Henry B. Hotz writes:\n\n> Shouldn't there be an option to disable shared libraries altogether?\n\nThe promised land for all of this is GNU libtool, which offers all these\nlittle options. I brought up the rpath thing a while ago, and while it\nmight look the same on a lot of platforms, it's ...