threads
listlengths
1
2.99k
[ { "msg_contents": "I've been seeing trouble with varchar() columns for a little while, and\nsince it is still there with a fresh install of the development tree\nit's time to report it:\n\npostgres=> create table t (v varchar(80),i int);\nCREATE\npostgres=> insert into t values ('hi',1);\nINSERT 18122 1\npostgr...
[ { "msg_contents": "\n> OK, we never installed this for 6.2 because we were already in Beta. \n> Can we do this for 6.3? Vadim suggested we make this part of libpq, so\n> all applications could make use of it.\n> \n> I have one of the original patches, but not the others. Martin, what do you\n> think? Any othe...
[ { "msg_contents": "unsubscribe\n", "msg_date": "Mon, 12 Jan 1998 09:06:50 -0600", "msg_from": "Andy Doerr <donjon@neosoft.com>", "msg_from_op": true, "msg_subject": "(no subject)" } ]
[ { "msg_contents": "Try changing your OS default memory size. Unsure how to do this under\nAIX.\n\n> \n> \n> ============================================================================\n> POSTGRESQL BUG REPORT TEMPLATE\n> =================================================================...
[ { "msg_contents": "\n\nHi...\n\n\tWell, since this has all sort of died off, and since I'd like to\nget some resolution on it.\n\n\tDoes anyone here *understand* the LGPL? If we put the ODBC\ndrivers *under* src/interfaces, does that risk contaminating the rest of\nthe code *in any way*? Anyone here done a re...
[ { "msg_contents": "Hi,\n\nI can confirm that I see the same problem here.\n\nMaybe todo with the recent varchar() storage changes.\n\nKeith.\n\n\n\"Thomas G. Lockhart\" <lockhart@alumni.caltech.edu>\n\n> I've been seeing trouble with varchar() columns for a little while, and\n> since it is still there with a fr...
[ { "msg_contents": "unsubscribe\n", "msg_date": "Mon, 12 Jan 1998 10:33:10 -0800", "msg_from": "Kevin Witten <kwitten@qdt.com>", "msg_from_op": true, "msg_subject": "(no subject)" } ]
[ { "msg_contents": "\nAbout commercial databases lacking access control \nfunctionality to a degree \"similar\" to PG: hmm, I dunno\nabout that. Seems like kind of a slur on the commercial\nproducts :-)\n \nThe two Big Names (Oracle and Sybase) have pretty well- \ndeveloped access control. I can't speak to O...
[ { "msg_contents": "*sigh* we have the same problem and i used the libpq c interface and i\nbased it from pg_dump.c (and bruce mentioned psql.c). as with the Gtk+,\nis this the tcl/tk library? i'm not sure but someone made PgAccess which\nmay be similar to what you're doing. in any case, i'm forwarding this t...
[ { "msg_contents": "Forwarded message:\n> > The problem was that some things were copied using VARSIZE rather than\n> > subtracting out VARHDRSZ first (actually, I think it might have use\n> > sizeof(int) and other dangers too). I patched that near the end of the year\n> > and my 980101.d tree and 980106.d tree ...
[ { "msg_contents": "Since PostgreSQL doesn't have column level permissions, I tried to do\nsomething with views like this.\n\nCREATE TABLE account (\n uid int, # Unique UID for account\n login char8, # User login - must also be unique\n cdate date, # Creation date\n a_active...
[ { "msg_contents": "Well, I've rebuilt postgres again, using a fresh cvs snapshot, and grant\nis still broken.\n\nInfact, it gets worse. Once you try to use the grant statement, then any\nother connection that was active at that time - even on different\ndatabases, will die with the same message, hinting it may ...
[ { "msg_contents": "Hi All,\n\nI wonder if it might be useful to maintain a \"bugs\" regression test, where\nwe could include various tests that people have supplied to highlight bugs\nin the system and that have subsequently been fixed?\n\nI'm thinking along the lines of the current varchar() bug that can be\ne...
[ { "msg_contents": "Sorry for the response delay. I was out of town.\n\nI don't believe that pg_user needs to be readable by users in general. They\ndon't really need to know who else has access to the DB, and they certainly \ndon't need to know what access they do have (e.g. usesuper and createuser).\n\nAs fo...
[ { "msg_contents": "\nI would like to suggest the following augmentation to the PostgreSQL DBMS.\nThis augmentation is to add a pg_privileges table for each database instance.\nSuch a table should be responsible for maintaining the SELECT, UPDATE, INSERT,\nand DELETE permissions on all database objects. Further...
[ { "msg_contents": "On Tue, 13 Jan 1998, todd brandys wrote:\n\n> On Sun, 11 Jan 1998, Bruce Momjian wrote:\n> \n> > OK, general question. Does pg_user need to be readable? Do\n> > non-postgres users want to see who owns each table? I don't know.\n> \n> I'd say yes, as we have stuff in JDBC yet to implement t...
[ { "msg_contents": "On Wed, 14 Jan 1998, Ralf Mattes wrote:\n\n> Yes, i agree. Mike's implementation is the way to go in a traditional\n> realtional db (BTW, a question about oids: lurking on this list \n> i overheard the idea of dropping oids. This would break a lot\n> of my code! What's the last word on this ?...
[ { "msg_contents": "> Bruce,\n> \n> I did some homework. Here is what I have. The default max data segment size on our (AIX 4.1.4) box is around 130000 kbytes.\n> \n> I put together a query which put me just past the threshold of the palloc \"out of memory error\". It is as follows:\n> \n> create table outl...
[ { "msg_contents": "On Wed, 14 Jan 1998, Bruce Momjian wrote:\n\n> > \n> > \n> > Check out:\n> > \n> > http://www.hub.org/stats/postgresql.current.html\n> > \n> > At the bottom of it is the referrer report, which attempts to show where\n> > ppl are coming from. Its not auto-generated, just something that I did\...
[ { "msg_contents": "On Wed, 14 Jan 1998, Mattias Kregert wrote:\n\n> May I suggest a minor change?\n> \n> - \"Keep the directory tidy\"\n> \n> The \"data/base/*/\" directories looks awful, almost as bad as the\n> c:\\windows dir on my dos partition... ;-) All types of files are\n> just thrown in, without ...
[ { "msg_contents": "\n\nJust added July, August and September of 1997 to the MHonarc\narchive...searchable index will be updated later tonight\n\nAlso, am working on automating the cvs2html script to produce an HTML\ndisplay of the CVS logs (http://www.postgresql.org/cvs-logs/pgsql.html)\n\n\n\n", "msg_date"...
[ { "msg_contents": "> \n> Hi, Bruce!\n> \n> vac=> \\d t\n> \n> Table = t\n> +----------------------------------+----------------------------------+-------+\n> | Field | Type | Length|\n> +----------------------------------+--------------------------------...
[ { "msg_contents": "I have kept qry_numAgg, so the code can easily determine if it should go\nlooking for Aggreg entries. I will have a qry_numSubLink field, so you\ncan easily know if SubLinks exist in the Query.\n\n-- \nBruce Momjian\nmaillist@candle.pha.pa.us\n", "msg_date": "Wed, 14 Jan 1998 14:59:51 -0...
[ { "msg_contents": "\nSeems like the discussion on views and access control is\ndrifting in a direction that interests me. At the risk of\nonce again bringing up an issue that's already been solved\nand tabled, I offer the following wish item:\n\nContent-based access control (CBAC). In my experience,\nwhen the...
[ { "msg_contents": "\n\nJust finished adding in May and June's archives into MHonarc...only, what,\n6 months to go :)\n\n\n\n", "msg_date": "Wed, 14 Jan 1998 15:48:23 -0500 (EST)", "msg_from": "The Hermit Hacker <scrappy@hub.org>", "msg_from_op": true, "msg_subject": "May & June added..." } ]
[ { "msg_contents": "> > > > I came across the same grouping problem myself. In my installation it\n> > > > only happens with tables containing thousands of rows (for example 10000\n> > > > or more).\n\nI've been keeping track of this problem and was preparing to send a message to the\nlist saying that it had dis...
[ { "msg_contents": "Got my Linux Journal today and the first featured article is entitled\n\n \"PostgreSQL - The Linux of Databases\"\n\nNow scrappy, before you get bent out of joint, they mean this in a nice\nway ;-)\n\nThe author is Rolf Herzog from Germany. It seems like a good article,\nwith a few factual e...
[ { "msg_contents": "> Content-based access control (CBAC). In my experience,\n> when these words are uttered, DBAs and MIS designers groan.\n> I wish CBAC were never required. Unfortunately sometimes\n> it is, and I wonder if the PG team is thinking about it.\n\nWe handle this with views in our Informix Data W...
[ { "msg_contents": "I have a potential patch for the glibc2 date problem; however I can't\ntest it because the snapshot won't build. \n\n\nHas this build error been cured recently, or do I have my own unique problem?\n\n\nO/S: Linux 2.0.32\nGlibc: 2.0.6\nGcc: 2.7.2.3\nFlex: 2.5.4\nBison: 1.25\nPostgreSQL: snapsh...
[ { "msg_contents": "\nHiya...\n\n\tWould send email directly, but only have the address at home :(\n\n\tD'Arcy...you've been working on a Python interface, correct? Do\nwe want to include that as part of src/interfaces? *raised eyebrows*\n\n\n", "msg_date": "Thu, 15 Jan 1998 11:57:17 -0500 (EST)", "msg_...
[ { "msg_contents": "Hi,\n\nI have installed PostgreSQL6.2.1 from my own user account (I was just trying\nto test out something first). It seems to be running too slow. For example,\nthe self join of a table with roughly 300K records takes 2-3 hours. There is\nan index on the join attribute.\nI am running it on a...
[ { "msg_contents": "\n> OIDs are a bastardization of the relational model. If you have to keep\n> them, then do so, but their use should be SEVERELY discouraged.\n\nExplain yourself, please.\n\nIn my opinion, I view the OID in the same way as I view the SERIAL datatype\nin Informix. It is usually a primary key...
[ { "msg_contents": "\nHi...\n\n\tI've just installed (massaged in?) a major major patch for PL(?)\nthat was submitted in Nov...snapshot will be created in about 18hrs or\nso...please test and report back any problems...haven't had a chance to\ntest compile it here yet :(\n\n\n\n", "msg_date": "Thu, 15 Jan 19...
[ { "msg_contents": "I keep getting:\n\nToo Large Allocation Request(\"!(0 < (size) && (size) <= \n(0xfffffff)):size=-3 [0xfffffffd]\", File: \"mcxt.c\", Line: 232)\n!(0 < (size) && (size) <= (0xfffffff)) (0) [No such file or directory]\n\nfrom a simple select:\n\nSELECT * from provinces;\n\nincidentally, \"SELE...
[ { "msg_contents": "\nI wish ppl would quite dropping off CC's :( Especially when this stuff\n*should* be being discussed in pgsql-hackers@postgresql.org...\n\nAs for the pg_privileges relation and whatnot...is this something we want\nfor v6.3 (can it be done in 2weeks?) or wait until after v6.3 is released?\n\...
[ { "msg_contents": "> Fork off the postgres process first, then authenticate inside of\n> there...which would get rid of the problem with pg_user itself being a\n> text file vs a relation...no?\n\nYes, yes, yes. This is how authentication should be done (for HBA, etc.)\nFurthermore, we could reduce the ...
[ { "msg_contents": "> As for the pg_privileges relation and whatnot...is this something we want\n> for v6.3 (can it be done in 2weeks?) or wait until after v6.3 is released?\n\nI don't think (realistically) that such a task could be done in two weeks. No.\nRather, we should wait until after release 6.3, and the...
[ { "msg_contents": "subscribe\n", "msg_date": "Thu, 15 Jan 1998 14:42:31 -0600", "msg_from": "todd brandys <brandys@eng3.hep.uiuc.edu>", "msg_from_op": true, "msg_subject": "subscribe" } ]
[ { "msg_contents": "Forwarded message:\n> > Why attlen should be -1 ?\n> > attlen in pg_attribute for v in table t is 84, why run-time attlen\n> > should be -1 ? How else maxlen constraint could be checked ?\n> > IMHO, you have to change heap_getattr() to check is atttype == VARCHAROID\n> > and use vl_len if yes...
[ { "msg_contents": "> scan.l: In function `yylex':\n> scan.l:202: `ABORT' undeclared (first use this function)\n\nSince the snapshot is intended for experienced (or wanting to become so)\npostgresql'ers\nthat would like to help the team and don't have CVS (like me on AIX),\nmaybe the snapshot shoud be moved to a...
[ { "msg_contents": ">> OIDs are a bastardization of the relational model. If you have to\nkeep\n>> them, then do so, but their use should be SEVERELY discouraged.\n>\n>\tActually, I use them quite extensively...I have several\nWWW-based\n>search directories that are searched with:\n>\n>select oid,<fields> from ...
[ { "msg_contents": "unsubscribe b.aerts@syntegra.net\n", "msg_date": "Fri, 16 Jan 1998 10:29:07 +0100", "msg_from": "bas aerts <b.aerts@syntegra.net>", "msg_from_op": true, "msg_subject": "(no subject)" } ]
[ { "msg_contents": "unsubscribe pgsql-hackers\n", "msg_date": "Fri, 16 Jan 1998 10:29:31 +0100", "msg_from": "bas aerts <b.aerts@syntegra.net>", "msg_from_op": true, "msg_subject": "(no subject)" } ]
[ { "msg_contents": "> > \n> > > Fork off the postgres process first, then authenticate\ninside of\n> > > there...which would get rid of the problem with pg_user itself\nbeing a\n> > > text file vs a relation...no?\n> > \n> > Yes, yes, yes. This is how authentication should be done (for HBA,\netc.)\n> \n...
[ { "msg_contents": "\nAnother *cool* project would be a LDAPd front-end to PgSQL,\nor perhaps rather a PgSQL-backend to SLAPD.\n\nI am planning to look into this when I got the neccesary time,\nbut feel free to start ahead of me if you like the idea.\n\n happy hacking,\n-- \n----------------------------------...
[ { "msg_contents": "> On 12-Jan-98 The Hermit Hacker wrote:\n> > Does anyone here *understand* the LGPL? If we put the ODBC\n> >drivers *under* src/interfaces, does that risk contaminating the rest of\n> >the code *in any way*? Anyone here done a reasonably thorough study of\n> >the LGPL and can comment ...
[ { "msg_contents": "> Got my Linux Journal today and the first featured article is entitled\n> \n> \"PostgreSQL - The Linux of Databases\"\n> \n> Now scrappy, before you get bent out of joint, they mean this in a nice\n> way ;-)\n> \n> The author is Rolf Herzog from Germany. It seems like a good article,\n> wi...
[ { "msg_contents": "> On Thu, Jan 15, 1998 at 09:27:21AM +0700, Vadim B. Mikheev wrote:\n> > The Hermit Hacker wrote:\n> > > \n> > > On Wed, 14 Jan 1998, Ralf Mattes wrote:\n> > > \n> > > > Yes, i agree. Mike's implementation is the way to go in a traditional\n> > > > realtional db (BTW, a question about oids: l...
[ { "msg_contents": "> > The remaining part of the patch is to force the undefinition of\n> > HAVE_INT_TIMEZONE; again this is glibc2-specific, but I don't know\n> > any reason to suppose it wouldn't be needed on any machine with glibc2.\n> > \n> > It would really be helpful to have someone on a non-Linux machine...
[ { "msg_contents": "> > > ObCaveat: I'm not a lawyer. I don't look like a lawyer, I don't smell like a\n> > > lawyer, and I don't lie like a lawyer.\n> > > \n> > > \n> > My understanding is pretty much the same. Originally there was only GPL. This\n> > really says that anything you link with GPL code must be d...
[ { "msg_contents": "\n> OK, we never installed this for 6.2 because we were already in Beta. \n> Can we do this for 6.3? Vadim suggested we make this part of libpq, so\n> all applications could make use of it.\n> \n> \n\nAny more comments about adding support for .psqlrc? The original\nproposal was that psql sh...
[ { "msg_contents": "\n\n\n\nPG Version: CVSup src from 15:00 EST Jan 16, 1998\n OS: Linux 2.0.30 (Slackware 3.3)\n\nI am trying to test a patch I created for the pg_dump utility. I cvsuped\nthe latest sources\nand created the patch. I used the following procedure:\n 1 configure --prefix=/usr/local/pg...
[ { "msg_contents": "Hi,\n\nquestion that i couldnt get answered in Questions, so at the risk of \nbeing shot sending it here.\n\nIs it possible to compile only lib(pq) and not the rest of the DBMS.\nI'm facing the problem where i have to install client software on\nmultiple platforms, and wanting to make C stubs...
[ { "msg_contents": "Hi, I'm running Postgres 6.2.1 on IRIX 5.3 using native compiler.\n\nRunning test/examples/testlibpq3 generates the following erroneous\nresults. Can anyone shed some light on the matter? Thanks,\n\ntype[0] = 23, size[0] = 4\ntype[1] = 700, size[1] = 4\ntype[2] = 604, size[2] = -1\n\ntuple ...
[ { "msg_contents": "OK, I have created the SubLink structure with supporting routines, and\nhave added code to create the SubLink structures in the parser, and have\nadded Query->hasSubLink.\n\nI changed gram.y to support:\n\n\t(x,y,z) OP (subselect)\n\nwhere OP is any operator. Is that right, or are we doing o...
[ { "msg_contents": "\nWhile looking thru the nodeGroup code, I noticed the following\nthat I'm not sure is correct.\n\n-- Using 01-09 snapshot\ncreate table t1 (a int4, b char(2), c char(2));\nCREATE\ninsert into t1 (a,c) values (1,'x');\nINSERT 149419 1\ninsert into t1 (a,c) values (2,'x');\nINSERT 149420 1\nin...
[ { "msg_contents": "On Sat, 17 Jan 1998, Tom wrote:\n\n> How are large users handling the vacuum problem? vaccuum locks other\n> users out of tables too long. I don't need a lot performance (a few per\n> minutes), but I need to be handle queries non-stop).\n\n\tNot sure, but this one is about the only major ...
[ { "msg_contents": "> > Also, how are people handling tables with lots of rows? The 8k tuple\n> > size can waste a lot of space. I need to be able to handle a 2 million\n> > row table, which will eat up 16GB, plus more for indexes.\n>\n\n16GB?!? Not unless your tuples are 8k. The 8k is/was the max _tuple_ ...
[ { "msg_contents": "> > > Also, how are people handling tables with lots of rows? The 8k tuple\n> > > size can waste a lot of space. I need to be able to handle a 2 million\n> > > row table, which will eat up 16GB, plus more for indexes.\n> > \n> > \tThis oen is improved upon in v6.3, where at compile time y...
[ { "msg_contents": "\nI installed some patches today for the univel port, and one of the changes\ndid the following to include/storage/s_lock.h:\n\n302c318\n< __asm__(\"xchgb %0,%1\": \"=q\"(_res), \"=m\"(*lock):\"0\"(0x1)); \\\n---\n> __asm__(\"lock xc...
[ { "msg_contents": "\nvacuuming template1\nAltering pg_user acl\npostgres in free(): warning: modified (chunk-) pointer.\npostgres in free(): warning: modified (chunk-) pointer.\nloading pg_description\n\n\n> psql template1\npsql in free(): warning: junk pointer, too high to make sense.\nWelcome to the POSTGRESQ...
[ { "msg_contents": "\nIn trying to use gdb to step through the code, it appears that the problem\nis manifesting itself in PQsetdb():\n \n(gdb) s\n2518 if (settings.getPassword)\n(gdb) s\n2533 settings.db = PQsetdb(host, port, NULL, NULL, dbname);\n(gdb) s\npsql in free(): warning: ...
[ { "msg_contents": "unsubscribe\n", "msg_date": "Sat, 17 Jan 1998 20:09:39 -0800 (PST)", "msg_from": "gordoni@base.com (Gordon Irlam)", "msg_from_op": true, "msg_subject": "unusb" } ]
[ { "msg_contents": "\n\n Hi,\n\n I got no answer from pgsql-questions list.\n\n basically I'm using only one table at a time, and I need only a few\nsimple operations on tuples (find, add, updates, delete).\n\n -- after a quick look at all `cd src; find . -name '*.h'` I didn't\nfind any such similar in...
[ { "msg_contents": "> Well, I can create the table quite easily. The issue is what type of\n> flack we will get by haveing pg_user non-readable, and removing the user\n\nWhat if we were to put the pg_user accessibility to the admin setting up\nPostgreSQL (at least until pg_privileges could become a reality.). ...
[ { "msg_contents": "> \n> Bruce,\n> \n> The new varchar() stuff looks good, just a minor problem with \"select into\"\n> where the new table does not seem to get a copy of the atttypmod value\n> from the source table.\n> \n> I had a quick look at the code but guess you'll find the problem 10 times\n> faster than...
[ { "msg_contents": "Felix Morley Finch wrote:\n> \n> >>In article <34C1BD06.1712ABAC@sable.krasnoyarsk.su>, \"Vadim B. Mikheev\" <vadim@sable.krasnoyarsk.su> writes:\n> \n> > Felix Morley Finch wrote:\n> >>\n> >> I tried searching and ran into several new lessons in SQL; I ended up\n> >> with this --\n> >>\n> >>...
[ { "msg_contents": "\nOK, I have added code to allow the SubLinks make it to the optimizer.\n\nI implemented ParseState->parentParseState, but not parentQuery, because\nthe parentParseState is much more valuable to me, and Vadim thought it\nmight be useful, but was not positive. Also, keeping that parentQuery\n...
[ { "msg_contents": "\nIt hangs at the following error, CVSup'd and built as of this morning:\n\nScript started on Mon 19 Jan 1998 10:16:17 AM AST\n%./initdb --pglb\b\u001b[Kib=/loc/pgsql/lib --pgdata=/loc/pgsql/data\ninitdb: using /loc/pgsql/lib/local1_template1.bki.source as input to create the template databas...
[ { "msg_contents": "HI\n\nI found some bug:\nWhen I select from table (select A,B,count(*) INTO table tmp1 FROM AAA\ngroup by A,B; ) in \nbig table some touples are duplicated ;(,\n\n A,\tB,\tcount(*)\n321\t1\t3\t\\\t?\n321\t1\t2\t/ \t?\n321\t2\t5\n...........\n\nPS: I use linux 2.0.33 and solaris 2.5.1 and po...
[ { "msg_contents": "I removed the 'lock' in the source tree. I think Lock is a valid 386\nopcode, but gcc under Freebsd and BSDI does not support it.\n\nCan you put some ifdef in there so Unixware uses it, but non-unixware\ndoes not?\n\n-- \nBruce Momjian\nmaillist@candle.pha.pa.us\n", "msg_date": "Mon, 19 ...
[ { "msg_contents": "Thanks Bruce,\n\nIt was obviously not quite as simple a problem as I had 1st imagined.\n\nI did have a root around in the code but could not work out how the\nattributes were copied to the newly created table.\n\nThanks for the fix,\nKeith.\n\nBruce Momjian <maillist@candle.pha.pa.us>\n> emkx...
[ { "msg_contents": "\nThis comes up since the varchar will no longer be padded...\n\nShould the user be allowed to create a table with fields that\nwould go over the maximum tuple size if all fields were max'd?\n\nExample...with a block size of 8192...\n\ncreate table foo (a varchar(4000), b varchar(4000), c var...
[ { "msg_contents": "Hi,\n\nIf I want to compile the PostgreSQL 6.2.1 code with the -g flag, which Makefile\nshould I add it. I would like to run it thru a debugger. I am compiling it\nwith gcc; so I should be able to use xgdb, right?\n\nThe sort cost in the planner is assumed to be 0. So, there is an unfair bias...
[ { "msg_contents": "\n Hi,\n\n I'm trying to figgure out how does the locking work.\n\n If I get a ``Result Table'' from a select with, say, only one row which\ncomes from only one ``Schema Table'', and I lock the ``Result Table'',\nwill it not prevent updates of the row in ``Schema Table'' that appeared \ni...
[ { "msg_contents": "I have cleaned up the parser code as best I could. I still am very\nconfused by much of the code in parser_func, parser_oper, and\nparser_type, and others. If someone wants to study this stuff and get a\nclearer layout, that would be great.\n\nI have added 'lock;' to the i386 asm.\n\nI have...
[ { "msg_contents": "I can't figure out how to properly do the the Var->sublevels_up search in the\nexisting code, partly because I can't figure out what it is doing.\n\nIt will take me a few days more to do it. I just can't look at the code\nanymore.\n\n-- \nBruce Momjian\nmaillist@candle.pha.pa.us\n", "msg...
[ { "msg_contents": "> \n> I can't figure out how to properly do the the Var->sublevels_up search in the\n> existing code, partly because I can't figure out what it is doing.\n> \n> It will take me a few days more to do it. I just can't look at the code\n> anymore.\n\nOK, I think I have a handle on it now. Shou...
[ { "msg_contents": "Defining CUSTOM_LDFLAGS in Makefile.custom does not have any\neffect on the compilation. I found that LDFLAGS is hardcoded\nin Makefile.global. Perhaps it would be a good idea to change\nthis? I had to edit Makefile.global and add '-pg' to LDFLAGS\nmanually.\n\nI thought it was about time to ...
[ { "msg_contents": "PostgreSQL seem to have a lot of names;\n Postgres 95, Postgres, Pg, Pgsql ... All these names are used in\n FAQ, filenames, docs, installation info, messages etc.\n\nExamples:\n The backend executable is 'postgres', why not 'postgresql'?\n INSTALL: \"User postgres is the Postgres superus...
[ { "msg_contents": "\nHello,\n\nAfter installing the latest cvs tree this morning, I cannot use \ncreateuser and createdb. They break when trying to run psql. I can\nconnect with psql to the template1 database after setting up hba to use\npassword authentication and starting it with the -u option. \n\nDoes the h...
[ { "msg_contents": "I have completed adding Var.varlevelsup, and have added code to the\nparser to properly set the field. It will allow correlated references\nin the WHERE clause, but not in the target list.\n\nI did not make many changes in the optimizer or executor because I\nbelieved varlevelsup would be ze...
[ { "msg_contents": "\nWe are only going to have subselects in the WHERE clause, not in the\ntarget list, right?\n\nThe standard says we can have them either place, but I didn't think we\nwere implementing the target list subselects.\n\nIs that correct?\n\n-- \nBruce Momjian\nmaillist@candle.pha.pa.us\n", "ms...
[ { "msg_contents": "OK, I now have rewrites working with subselects. At least, I think it\nwill work. No way to test it yet.\n\nIt basically rewrites all the subqueries first, then the main query. It\ndoes the lowest queries first. I do this so if a rewrite adds a\nsubquery as part of the rewrite, the new su...
[ { "msg_contents": "Bruce wrote:\n> I have completed adding Var.varlevelsup, and have added code to the\n> parser to properly set the field. It will allow correlated references\n> in the WHERE clause, but not in the target list.\n\nselect i2.ip1, i1.ip4 from nameip i1 where ip1 = (select ip1 from nameip\ni2);\n...
[ { "msg_contents": "> > In all tests crash_me crashed backend server - postgres but postmaster\n> > still run and allow to work with all dbs. I run crash_me several times\n> > with postmaster started once upon boot time.\n> \n> \tIs there any indication as to why the crash?\n\nI can tell indirect only using limi...
[ { "msg_contents": "> We are only going to have subselects in the WHERE clause, not in the\n> target list, right?\n> \n> The standard says we can have them either place, but I didn't think we\n> were implementing the target list subselects.\n> \n> Is that correct?\n\nWhat about the HAVING clause? Currently not ...
[ { "msg_contents": "Hi\n\nI find next bug:\nin query \"select a,b,count(*) from q group by a,b;\" postgres do:\na\t,b\t,count(*)\n5\t2\t3\t???\n5\t2\t2\t???\n6\t3\t6\n.................\n\ntable - about 10000-30000 tuples.\n\nPS: i use linux 2.0.33 & solaris 2.5.1\n\n-- \nSY, Serj\n", "msg_date": "Wed, 21 Jan...
[ { "msg_contents": "> \n> \n> Anyone know what the heap_modifytuple error refers to down below?\n> \n> The error is generated around line 884 of\n> backend/access/common/heaptuple.c, where 'repl[attoff]' != 'r' \n> \n> Haven't had a chance to test this under FreeBSD yet, will hopefully try it\n> out tonight...\n...
[ { "msg_contents": "\n> \tIf its easy to add in the next couple of days, sure, go for\n> it...but can someone explain to me *why* you would use a subselect in\n> the\n> target list? I've actually never seen that before :9\n> \n> \nI think it is always possible to rewrite a 'subselect in the target\nlist' as a j...
[ { "msg_contents": "\nMoved to pgsql-hackers@postgresql.org, where it should have been moved\n*ages* ago\n\n\nOn Wed, 21 Jan 1998, Igor Sysoev wrote:\n\n> > The result you're seeing is, IMHO, *correct*.\n> > \n> > The first row in the table, when the update is undertaken, produces a \n> > duplicate key. So you ...
[ { "msg_contents": "Do people want the overhead of char(), varchar(), and text to be reduced\nfrom 4-bytes to 2-bytes. We store the length in this overhead, but\nsince we have a size limit on tuple size, we can't have a field over 8k\nin size anyway. Even if we up that to 32k for 6.3, we still only use 2\nbyte...
[ { "msg_contents": "> Do people want the overhead of char(), varchar(), and text to be reduced\n> from 4-bytes to 2-bytes. We store the length in this overhead, but\n> since we have a size limit on tuple size, we can't have a field over 8k\n> in size anyway. Even if we up that to 32k for 6.3, we still only use...
[ { "msg_contents": "Here they are:\n---------------------------------------------------------------------------\n\nGROUP BY bug of duplicates\nGROUP BY nulls bug\nORDER BY nulls(Vadim?)\nmany OR's exhaust optimizer memory(Vadim?)\nmax tuple length settings(Darren & Peter)\npg_user defaults to world-readable unti...
[ { "msg_contents": "subscribe\n\n", "msg_date": "Thu, 22 Jan 1998 11:46:02 +0100", "msg_from": "expertel <postgres@expertel.fr>", "msg_from_op": true, "msg_subject": "(no subject)" } ]
[ { "msg_contents": "> Here they are:\n> ---------------------------------------------------------------------------\n> \n> GROUP BY bug of duplicates\n> GROUP BY nulls bug\n> ORDER BY nulls(Vadim?)\n> many OR's exhaust optimizer memory(Vadim?)\n> max tuple length settings(Darren & Peter)\n> pg_user defaults to w...
[ { "msg_contents": "> > max tuple length settings(Darren & Peter)\n> \n> The last I saw, we agreed (on the client side) to leave the current\n> settings for 8k tuples.\n> \n> PS: I'm having to commute to London all this week, so I'm not getting the\n> time to do anything :-(\n> \n> Hopefully it should ease after...
[ { "msg_contents": "> > \n> > I had forgotten about your mention of this. I am running some tests\n> > now, and things look promising. However, if we go to 64k or 128k\n> > tuples, we would be in trouble. (We can do 64k tuples by changing the\n> > 'special variable' length value from -1 to 0.\n> > \n> \n> I a...
[ { "msg_contents": "\nHello.\n\nZeev Suraski <zeev@php.net> is making some changes to the PostgreSQL code \nin PHP3 so that the Oid is returned in the pg_exec funtion if it is an \ninsert.\n\nWhat is the size of the Oid (unsigned, signed etc) and will it ever be \nzero.\n\nMichael\n\n* Michael J. Rogan, Networ...
[ { "msg_contents": "Here is the top part of my gprof output from a simple session, creating\ntwo tables, inserting some rows, creating an index and doing a couple\nof simple selects (one minute of typing):\n----------\n % cumulative self self total \n time seconds seconds c...