threads
listlengths
1
2.99k
[ { "msg_contents": "Philip Warner writes:\n\n> Just 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> \n> Tow questions:\n> \n> Do we already have a function to represent PG types as ANSI standard types?\n\nformat_type(p...
[ { "msg_contents": "Philip Warner writes:\n\n> Is there any reason that a security model does not exist for psql that\n> allows Unix user 'fred' to log in as PG user 'fred' with no password etc,\n> but any user trying to log on as someone other than themselves has to\n> provide a password?\n\nShort of someone si...
[ { "msg_contents": "It had occurred to me that it would be nice (if not necessary) that one\ncould use `configure --prefix=/usr/local', and good things would happen.\n(replace /usr/local with any other shared prefix)\n\nCurrently, bad things will happen, in particular in the include dir, but\nalso under share, w...
[ { "msg_contents": "Jan Wieck writes:\n\n> Anyway, it's good to hear you're still on it. What's the\n> estimated time you think it'll be ready to get patched in?\n\nNext release. I would hope we can get the current stuff into beta in a\nmonth or so, whereas this project would break open a lot of thi...
[ { "msg_contents": "Tom Lane writes:\n\n> Oh, that's interesting. What platform do you use? If RAND_MAX applies\n> to random() on some machines that'd probably explain why the code is\n> written like it is. But on my box (HPUX) the rand() function is old\n> and crufty and considerably different from random()....
[ { "msg_contents": "At 23:59 4/08/00 +0200, Peter Eisentraut wrote:\n>Philip Warner writes:\n>\n>> Is there any reason that a security model does not exist for psql that\n>> allows Unix user 'fred' to log in as PG user 'fred' with no password etc,\n>> but any user trying to log on as someone other than themselve...
[ { "msg_contents": "At 23:59 4/08/00 +0200, Peter Eisentraut wrote:\n>> \n>> Do we already have a function to represent PG types as ANSI standard types?\n>\n>format_type(pg_type.oid, pg_attribute.atttypmod)\n\nGood; I thought that might be why you sent me the info...\n\n\n>\n>I wrote format_type for exactly this...
[ { "msg_contents": "I've been looking at SQL99 while reviewing a book, and stumbled across\nsome (new to me) behavior for double-quoted identifiers. The SQL99 way\nto embed a double-quote into a quoted identifier is to put in two\nadjacent double-quotes (much like is done for embedding single-quotes\ninto string...
[ { "msg_contents": "It finally dawned on my how to easily implement the LIKE/ESCAPE clause.\nCurrently, LIKE is transformed to the \"~~\" operator in the parser. For\nLIKE/ESCAPE, we should instead transform it to a three-parameter\nfunction call. The rest of the implementation is likely to be trivial\n(as is th...
[ { "msg_contents": "\nI noticed that the COALESCE function is implemented as a case statement,\nwith the result that:\n\n update t1 set f = Coalesce( (select fn from t2 x where x.f1 = t1.f1),\nt1.f1)\n\nhas the following plan:\n\nSeq Scan on t1 (cost=0.00..20.00 rows=1000 width=10)\n SubPlan\n -> Seq Sca...
[ { "msg_contents": "How about it? The \";\" and \":\" operators were deprecated for 7.0 (and are\nlikely to be little-used anyway). For the 7.0 release, they print a\nnasty warning every time they are used. Can I remove them for 7.1?\n\n - Thomas\n", "msg_date": "Sun, 06 Aug 2000 04:24:10 ...
[ { "msg_contents": "\nI think my last message to Tom (and the list)\nabout the foreign key stuff and oids ended up \nin /dev/null due to a problem on the local \nmailer.\n\nTom had suggested storing a more \nunderstandable form of the foreign key constraint\nto make dumping more reasonable in its own table.\nI'd...
[ { "msg_contents": "I've bumped the system catalog version number and committed changes\nwhich:\n o implement LIKE/ESCAPE and related clauses\n o implement a case-insensitive ILIKE and related clauses\n o allow embedded double-quotes in double-quoted identifers\n o implement CREATE/DROP SCHEMA as a synonym for C...
[ { "msg_contents": "Is it just me (or my new dial-in drop) or is the scp server daemon not\ncompletely working on hub.org? I get a password prompt but it never\nstarts transferring files.\n\n - Thomas\n", "msg_date": "Sun, 06 Aug 2000 18:19:24 +0000", "msg_from": "Thomas Lockhart <lockh...
[ { "msg_contents": "> I suppose we could implement the conversion as \"float8in(float4out(x))\"\n> instead of \"(double) x\" but it'd be several orders of magnitude slower,\n> as well as being *less* useful to those who know what they're doing with\n> float math (since the result would actually be a less-precise...
[ { "msg_contents": "I've updated the LIKE code to make it more SQL9x compliant. I've left in\nthe \"permanent backslash\" escape character, but I would like to remove\nit now.\n\nHere's why:\n\nUsually, we would want to preserve the backward compatibility for a\nrelease or so. But in this case, we have to choose...
[ { "msg_contents": "1. like.c doesn't compile cleanly anymore:\n\n$ make\ngcc -c -I../../../../src/include -O1 -Wall -Wmissing-prototypes -Wmissing-declarations -g -o like.o like.c\nlike.c:143: warning: no previous prototype for `inamelike'\nlike.c:155: warning: no previous prototype for `inamenlike'\nlike.c:1...
[ { "msg_contents": "At 10:29 6/08/00 -0700, Stephan Szabo wrote:\n>\n>The problem with storing source is that it doesn't\n>get changed when things change. Try altering\n>a column name that has a check constraint, then\n>dump the database.\n\nOr renaming a referenced table - I think the current constraint system...
[ { "msg_contents": "\n> > > I think maybe what needs to be done to fix all this is to \n> restructure\n> > > postgres.c's interface to the parser/rewriter. What we want is to\n> > > run just the yacc grammar initially to produce a list of raw parse\n> > > trees (which is enough to detect begin/commit/rollback, ...
[ { "msg_contents": "\n> Brian Baquiran in the [GENERAL] list recently asked if it was \n> possible to\n> 'throttle-down' pg_dump so that it did not cause an IO bottleneck when\n> copying large tables.\n> \n> Can anyone see a reason not to pause periodically?\n\nHow about a simple renice ? (You mention that CPU g...
[ { "msg_contents": "\n> > hstenger@adinet.com.uy writes:\n> > > My goal is to make the backend accept erroneous commands, \n> not falling\n> > > in *ABORT STATE*, but rolling back automatically, & \n> continue accepting\n> > > commands.\n> > \n> > The way you're doing it, you might as well just not use transacti...
[ { "msg_contents": "\nIs this a known problem? Is there a work-around?\n\ncreate table t (c char, i int);\ninsert into t values ('a', 1);\ninsert into t values ('a', 1);\ninsert into t values ('a', 2);\ninsert into t values ('b', 2);\n\nselect distinct on (c, i) c, count(i) from t group by c;\nERROR: Attribute ...
[ { "msg_contents": "(copied to -hackers)\n\n> you were right about the wrong compiler-options: it was not the -O3 but\n> the -ffast-math option that made the wrong rounding (and other stuff) ;-)\n> I compiled a ManDrake source RPM that used the default rpmrc in\n> /usr/lib/rpm/rpmrc, in which the optflags are s...
[ { "msg_contents": "Is this a bug or have I just not noticed a nuance with SQL\n\nAssume I have create the two tables\n\ncreate table foo (\n id int4,\n);\n\ncreate table foo_child (\n name text\n) inherits (foo);\n\nIf I do\n\nselect id, name from foo_child union select id, null as name from foo...
[ { "msg_contents": "\n> > If I remember correctly,this has been only in case of SQL functions.\n> \n> True, the tlist is ignored except in SQL functions --- another reason\n> why attaching it to all function nodes is a waste. I believe that's\n> itself a bug, since it seems like PL functions ought to be capable...
[ { "msg_contents": "\n> I've bumped the system catalog version number and committed changes\n> which:\n\n> o implement CREATE/DROP SCHEMA as a synonym for CREATE DATABASE\n\nThis is imho wrong ! \nPlease do not preassume results to a discussion that is not over or has \nnot reached a consensus.\n\nSome of us (m...
[ { "msg_contents": "Jan Wieck <janwieck@Yahoo.com> writes:\n> PL/Tcl and PL/pgSQL will load a function's source only once a\n> session. The functions loaded are identified by OID, so if\n> you drop/create a function, the PL handler will simply load a\n> different function too (from his point ...
[ { "msg_contents": "\nI need to learn how to type headers I think... :(\n\nStephan Szabo\nsszabo@bigpanda.com\n\nOn Mon, 7 Aug 2000, Jan Wieck wrote:\n\n> > More generally, the PL functions need to be able to deal with\n> > recomputing saved plans after an ALTER of a table referenced by the\n> > function. I hav...
[ { "msg_contents": "> > select id, null as text from foo union select id, name from \n> foo_child;\n> > fails with\n> > unable to trasform {insert whatever type here} into unknown\n> > Each UNION | EXCEPT | INTERSECT clause must have \n> compatible target \n> > types\n> \n> The UNION type-resolution cod...
[ { "msg_contents": "I realized that the GRANT/REVOKE statements don't change the *seq tables. \nSo, if I call a currval(...) function in a transaction, I must use the\nGRANT for the sequence table, too. I find it as a bug. Is it? I suggest\ndoing some other GRANTs for the sequence tables of the relation if a GRA...
[ { "msg_contents": "When the WHERE clause includes a sub query the query plan seems to ignore\nindexes.\nSee the examples below. \nTable R1684 has one column, stockno, which is the same type as the stockno\nin the books_fti table. There is no index on R1684.\nIn the first case the index on books_fti(stockno) is ...
[ { "msg_contents": "I know that I've seen this answer before but can't seem to find it for\n7.0.2 in the archives. Which file(s) need to be changed to have Postgres\ndefault to 32K size row limits rather than 8K? Has anyone run into any\nhorror stories after going to 32K?\n\nThanks.\n-Tony\n\np.s. Could the proc...
[ { "msg_contents": "On Tue, 8 Aug 2000, Jan Wieck wrote:\n\n> That's not exactly what I said.\n> \n> PL/Tcl has spi_exec and spi_prepare/spi_execp commands. And\n> of course, when the function call's spi_prepare, it is known\n> which objects it uses in this one query. But in contrast to\n> ...
[ { "msg_contents": "Seems that it's not possible to combine arrays and foreign keys ?\n\nCREATE TABLE table1 (\n fld1 integer NOT NULL,\n number integer,\n level integer,\n PRIMARY KEY (fld1)\n);\n\nCREATE TABLE table2 (\n pkey integer NOT NU...
[ { "msg_contents": "Hi,\n\nI think I have found a bug in the handeling of 'deferred\ncontraints'. I have attached a small sql script that reproduces the\nerror.\n\nThe first transaction succedes, but the second one failes with\n'psql:bug.sql:58: ERROR: <unnamed> referential integrity violation -\nkey in p still...
[ { "msg_contents": "I would like to build Postgres from the srpm, but am unsure how to\nenable sending logging information to syslog. How would I do this in\nthe specfile?\n\n -Mike\n\n", "msg_date": "Wed, 9 Aug 2000 09:14:05 -0400", "msg_from": "\"Michael Mayo\" <michael-a-mayo@worldnet.att.ne...
[ { "msg_contents": "Hi,\n\nI tried to implement fulltext search using linguistic approach,\nfor example, using ispell like udmsearch does. We also save position\ninformation of each lexem in document to calculate relevancy\n(it's C-function using SPI-interface). We're still testing different\nstrategies but foun...
[ { "msg_contents": "Hi -\n\tSomeone on -general suggested I bring this up here. I'll try and\nexplain as much as I can. If you need more information from me, please\nlet me know. I think the easiest way to illustrate this is to just paste\nin the output. This is all happening on FreeBSD 3.4 running 7.0.2.\n\...
[ { "msg_contents": "\n\n> very strange numbers and no indices used) (I did run vacuume analyze)\n> \n> explain\n> select\n> txt.tid\n> from\n> txt, txt_lexem1 tl1_0, txt_lexem11 tl11_0\n> where\n> tl1_0.lid =17700\n> OR\n> tl11_0.lid =172751\n> ;\n> NOTICE: QUERY PLAN:\n\nDid you forget to join ...
[ { "msg_contents": "\n> > Your statement looks very strange (cartesian product), and \n> has nothing in \n> > common with the subselect statements you quoted.\n> \n> You're right, I simplified original query just to show plans.\n> Here is original query:\n> explain\n> select\n> txt.tid,\n> tl1_0...
[ { "msg_contents": "Hello,\n\nSuddenly I am getting errors with the following function:\n\n SELECT incr(max_price($1),0.05)\n\n 000810.17:20:41.181 [2246] ERROR: Bad float8 input format '0.05'\n 000810.17:20:41.181 [2246] AbortCurrentTransaction\n\nWhere incr() is defined as:\n\n CREATE FUNCTION \...
[ { "msg_contents": "Don Baccus wrote:\n> At 10:57 AM 8/10/00 +1000, Chris Bitmead wrote:\n> >Stephan Szabo wrote:\n> >> > This is an interesting point. Originally postgres integrity rules were\n> >> > based on a very general rules system where many things were possible to\n> >> > specify. I'm curious about the m...
[ { "msg_contents": "I recently increased the default tuple size to 32K on Postgres 7.0.2\nwith no problems. My colleague, however, told me that I can't pass a\ntext string greater than 16 K into the PQexec C function. So his claim\nis that the only way I can actually get > 16 K into the tuple is through\na binar...
[ { "msg_contents": "Before I run off and figure out how to syncronize a \"backup\" database\nwith a live one, I was wondering if anyone had any pointers on \nimplementing a delayed syncronization way of backing up a database\nwhile it's live. I'd really like to be able to only transfer over\nmodified rows, rath...
[ { "msg_contents": "I didn't hear anything back on this. Does someone have a little time or\na pointer to a good resource that will clarify the use of the SELECT FOR\nUPDATE syntax?\n\nTim\n\n-------- Original Message --------\nSubject: Re: haven't forgotten about you...\nDate: Mon, 07 Aug 2000 16:08:29 -0700\nF...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\n\n- -----BEGIN PGP SIGNED MESSAGE-----\n\nI've found a problem in pg_dump which results in unreliable dumps under the\nfollowing conditions:\n* The serial datatype is used\n* Either the table or a column name is mixed case\n\nExample:\nCREATE TABLE \"Test1\...
[ { "msg_contents": "Hi you all,\n\nI'm convincing my boss to drop Sybase and use Postgres exclusively for\nthe Partnership for Peace database (see www.ppc.pims.org if you are\ninterested in an account just fill in the form and use my name as the\nPOC). But is there someplace that has a comparisons of Postgres ...
[ { "msg_contents": "I'm trying to write a function that takes a text input and returns\na text output. I can get this to work. The problem is that I want\nto return NULL when the input string doesn't match the criteria I\ndesire. Unfortunately, returning NULL seems to crash the backend.\ni.e. if I did\n\n#inc...
[ { "msg_contents": "\nI have a table for which the SEQSCAN and INDEXSCAN estimates are the same\nup to a point, after which the SEQSCAN estimates remain fixed, and the\nindexscan estimates continue to grow. However, the actual speed of the\nindex scan is superior for a much greater period than the optimizer pred...
[ { "msg_contents": "\n> I have not yet done anything about this, mainly because I'm unwilling to\n> encourage people to use CLUSTER, since it's so far from being ready for\n> prime time (see TODO list).\n\nWell imho making the optimizer cluster aware is a step that has to be done\nanyway. No need to advertise th...
[ { "msg_contents": "Hello,\n\nI just finished a new C trigger that updated a \"modified\" column with\nthe current time upon an UPDATE event. It seems to work OK but I just\nwanted to bounce this off you guys to check for some non-kosher stuff or\nbetter way of doing it. Thanks in advance.\n\nHeapTuple update_mo...
[ { "msg_contents": "Gah, typo'ed the name of pgsql-hackers. This should be better. Sorry\nto those who got this twice, once on GENERAL, once on HACKERS.\n\nRoss\n\nOn Mon, Aug 14, 2000 at 02:33:55PM +1000, Tim Allen wrote:\n> I'm just trying out PG7.0.2, with a view to upgrading from 6.5.3, and I've\n> found one...
[ { "msg_contents": "\nJust letting y'all know that tonight around 9pm EST we are upgrading the\nmain server from a Single PIII-500 to a Dual PIII-700 to better handle\nboth web, mail and cvs traffic ...\n\nWe're expecting no more then 2 hours of downtime, and hoping for much less\nthen that ...\n\nMarc G. Fourni...
[ { "msg_contents": "Forwarded without comment; this remote connection is too slow to want\nto check into it. I doubt the shmem failure is due to the GRANT thing\nthough. Has anyone ever seen that before?\n\n\t\t\tregards, tom lane\n\n\n------- Forwarded Message\n\nDate: Mon, 14 Aug 2000 08:03:33 -0700 (PDT)...
[ { "msg_contents": "> I wouldn't say that this is exactly the first time we've heard\n> about problems with MySQL's famed \"speed\". Take the Tim Perdue\n> article that came out a while back:\n\n> http://www.phpbuilder.com/columns/tim20000705.php3?page=1\n\nYes, but the conclusion at that time was that PostgreS...
[ { "msg_contents": "On Tue, Aug 15, 2000 at 09:23:15AM +0200, Karel Zak wrote:\n> > Thank for the pointer to these functions, which are indeed convenient.\n> > But the problem remains of not being able to change the backend's locale\n> > on-the-fly. For example if an auction user is spanish and the next one\n> >...
[ { "msg_contents": "Hi,\n\nI've just found a good news on slashdot, it links to a good test published on Apache Today\nwhere PostgreSQL is tested against some other DBMS:\n\n\"In the AS3AP tests, PostgreSQL 7.0 significantly outperformed both the leading commercial and open source applications in speed and scala...
[ { "msg_contents": "Given all this performance discussion, has anyone seen any numbersregarding the \nspeed of PostgreSQl vs Oracle? \n\nThanks.\n- Brandon\n\n--\nsixdegrees.com\nw 212.375.2688\nc 917.723.1981\n", "msg_date": "Tue, 15 Aug 2000 12:08:17 -0400", "msg_from": "merlin <merlin@sixdegrees.com...
[ { "msg_contents": "copwatchcom@my-deja.com wrote:\n> \n> Our non-profit organization needs a skilled volunteer to create a\n> searchable database of abusive cops. Any SQL-type database program is\n> OK- others may be suitable also. We've already compiled the\n> questions/outline around which the database inpu...
[ { "msg_contents": "On v7.0.2:\n\nI have a function preferred(text, text). It returns the second argument \nif the second is not null or the first if the second is null.\nI understand I can use coalesce, but this is a simple case and not \npractical but illustrates the point.\n\nIf I do select col1, col2, pref...
[ { "msg_contents": ">Thomas -\n>A general design question. There seems to be a good reason to\n>allow +/-Inf in float8 columns: Tim Allen has an need for them, for\n>example. That's pretty straight forward, they seem to act properly if\n>the underlying float libs handle them.\n\nThanks for pursuing this, Ross. I...
[ { "msg_contents": "\nhttp://slashdot.org/article.pl?sid=00/08/16/0010230&mode=thread\n\nhttp://www.devshed.com/BrainDump/MySQL_Benchmarks/\n", "msg_date": "Wed, 16 Aug 2000 14:26:31 +1000", "msg_from": "Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>", "msg_from_op": true, "msg_subject": "MySQL...
[ { "msg_contents": "\n> The thing that was the most fun about this (the PostgreSQL steering\n> committee got a sneak preview of the results a couple of \n> months ago) was\n> that we have never made an effort to benchmark Postgres against other\n> databases, so we had no quantitative measurement on how we were d...
[ { "msg_contents": "\n> > Given all this performance discussion, has anyone seen any\n> > numbersregarding the speed of PostgreSQl vs Oracle?\n> \n> Oracle and MS SQL Server must have been the two\n> \"leading commercial RDBMSes\" mentioned in the\n> article.\n\nThey mention Linux as one of the OS'es tested. Don...
[ { "msg_contents": "Hello,\n\nMy name is Jimmy Wu. I work for a startup company called eServ. Our OS is\nFreeBSD, web server is Apache, and I use PHP to write some web application\naccessing PostgreSQL database(Version 7.0.2).\nI have some questions:\n1. I explicitly locked a table and the program somehow crashe...
[ { "msg_contents": "Is anyone working on a set of types and transformations suitable for\ngeographic coordinates, e.g., to use in mapping or GIS applications?\nDo there exist any such types already? Note that I'm familiar with\nthe \"normal\" geometry types, but these are not really suitable for\n\"real\" mappi...
[ { "msg_contents": "At 10:39 AM 8/16/00 +0200, Zeugswetter Andreas SB wrote:\n>\n>> > Given all this performance discussion, has anyone seen any\n>> > numbersregarding the speed of PostgreSQl vs Oracle?\n>> \n>> Oracle and MS SQL Server must have been the two\n>> \"leading commercial RDBMSes\" mentioned in the\n...
[ { "msg_contents": "Hi !!!\n\n\nA very little patch, but very important :D\n\nFiles like `global1.bki.source' and\n`local1_template1.bki.source' are generated with 'ame' (the\ncorrect is 'name').\n\n\n---------------------------------------------------------\n\ndiff -uNr postgresql-7.0.2.orig/src/backend/catalog...
[ { "msg_contents": "Howdy,\n\nI am having a little trouble with the runcheck regression testing of the compilation that I just performed. I am running a Linux Red-Hat 6.2 OS on an Alpha box and currently have Postgres 6.5.3 running in non-default directories and on a non-default port. I wanted to install Postg...
[ { "msg_contents": "Hello\n\nPostgreSQL 7.0.2 on Red Hat 6.2 & 5.2 & SuSe ?\n\nA long time ago it was advised that I use datetime_in(\"now\") to get the\ntime for use in contrib/spi/moddatetime.c.\n\n...\n Datum newdt; /* The current datetime. */\n...\n /* Get the current datetime. */\n n...
[ { "msg_contents": "Howdy,\n\nI am having a little trouble with the runcheck regression testing of the compilation that I just performed. I am running a Linux Red-Hat 6.2 OS on an Alpha box and currently have Postgres 6.5.3 running in non-default directories and on a non-default port. I wanted to install Postg...
[ { "msg_contents": "I ask myself about the following problem:\n\nWhen PostgreSQL generates an index of a string column: is this\ncolumn not only used for equal-tests but also for greater-than\nor smaller-than tests ?\n\n\nMarten Feldtmann\n", "msg_date": "Wed, 16 Aug 2000 22:01:24 +0100", "msg_from": "M....
[ { "msg_contents": "============================================================================\n POSTGRESQL BUG REPORT TEMPLATE\n============================================================================\n\n\nYour name\t\t:\tNeil Bloomer\nYour email address\t:\tneilbloomer@coneyislands...
[ { "msg_contents": "As postgres becomes better and more in the spotlight there are a couple of \nissues I think that the hacker group might want to address to better prepare \nit for the enterprise and highend production systems. Currently postgres \nwill support an incredible amount of tables whereas Interbase...
[ { "msg_contents": "> The thing that's especially funny to me is that Monty is the first one\n\n> to cry, but has been making qualitative, unsubstantiated claims about\n> Postgres' supposed shortcomings for years (OK, he thinks they are\n\nRemembering \"crash-me\" ...\n\n> substantiated by *his* single-user benc...
[ { "msg_contents": "Hi all,\n\nI downloaded the current ( 12 Aug ) development snapshot of the 7.1\ndevelopment software.\n\nIt runs great ! - except I am having trouble with the ssl enabled\nconnections...\n\nI used a certificate that I have generated via a mod_ssl installation\nto provide 2 files :\n\nserve...
[ { "msg_contents": "in C, I work on a database (4 table).\n\n\tCOPY FROM file ;\n\tSELECT, INSERT, UPDATE, DELETE for a result in the last \t\t\t\ttable.\n\tCOPY TO file ;\n\nin the file, are stored 10000 informations.\n\n-> It's slowly !!!\nCan you help me for optimization this?\n\nI didn't use Oid, trigger and...
[ { "msg_contents": "Hi,\n\nI've installed PostgreSQL 7.0.2 on Solaris following the INSTALL file\nthat comes with the source.\n\nWhen I do:\n\nmake runtest\n\nit gives out the following error message in regress.out:\n\npostmaster must already be running for the regression tests to succeed.\nThe time zone is set ...
[ { "msg_contents": "\ntest=# CREATE TABLE rrr (id int);\nCREATE\ntest=# CREATE RULE rrr_r AS ON DELETE TO rrr \n\tDO INSTEAD SELECT 'Not Delete';\nCREATE\ntest=# INSERT INTO rrr VALUES (1);\nINSERT 161557 1\ntest=# INSERT INTO rrr VALUES (2);\nINSERT 161558 1\ntest=# DELETE FROM rrr;\n ?column?\n------------\n ...
[ { "msg_contents": "> \n> > > \tThe patch is attached, just adds a line to the resultmap file as\n> > > the geometry-solaris-precision.out file matched the \n> Linux/Alpha output.\n> > > Also, the geometry-cygwin-precision.out is an exact match to the\n> > > geometry-solaris-precision.out file if anyone is \n> i...
[ { "msg_contents": "Hello,\n\ncan our autoconf guru create a test for checking the availability of AF_UNIX\nsockets? It could be defined in config.h as HAVE_UNIX_SOCKET or similar. It\nwill enable to use them in the newest cygwin where are this sockets\nimplemented.\n\n\t\tDan\n\n--------------------------------...
[ { "msg_contents": "This is because I never updated the SSL support after I initially added it.\nSomebody later added async support, and in the process broke SSL.\nThe machines I have running with SSL still runs 6.5+SSL-patch, so I haven't\nhad the time to fix it (yet).\n\nI've said for a long time I hope to fix...
[ { "msg_contents": "This solution isn't good when there are +10000 tuples in the table, it's\nslowly...\nanybody can help me ? :\n\n\n string = \"SELECT service, noeud, rubrique FROM table\" ;\n res = PQexec( conn, string.data() ) ;\n if ( (! res) || (status = PQresultStatus( res ) !=\nPGRES...
[ { "msg_contents": "Hi Postgresql Developers!\n\nA few weeks ago I posted a message on the pgsql-general list asking about a\npossible port of Postgresql to OpenVMS. \n\nBruce Momjian (who has a lot of VMS experience) wrote me back explaining\nthe difficulties involved in such a port.\n\nWell, since Bruce's note...
[ { "msg_contents": "Here's two ideas I had for optimizing vacuum, I apologize in advance\nif the ideas presented here are niave and don't take into account\nthe actual code that makes up postgresql.\n\n================\n\n#1\n\nReducing the time vacuum must hold an exlusive lock on a table:\n\nThe idea is that s...
[ { "msg_contents": "Hi,\n\nI'm having a bit of trouble with the pg_attribute table growing larger\nand larger and larger. Actually that's now the real problem, it's \nthe indexes that are the real problem. I run a site that get's a fair\namount of traffic and we use temporary table extensively for some more\nc...
[ { "msg_contents": "This solution isn't good when there are +10000 tuples in the table, it's\nslowly...\nanybody can help me ? :\n\n\n string = \"SELECT service, noeud, rubrique FROM table\" ;\n res = PQexec( conn, string.data() ) ;\n if ( (! res) || (status = PQresultStatus( res ) !=\nPGRES...
[ { "msg_contents": "I seem to remember that 7.1 was scheduled for August. I believe this\nwill not happen, giving the lack of activity on the list about this\ntopic.\n\nAny plans about when it scheduled for now?\n\nNote that I'm not pushing for it to happen sooner, it's just one of\nthese things that are nice to...
[ { "msg_contents": "I have plpgsql function that updates the table and may have (and also may\nnot have) null parameters:\n\ncreate function f_test(int4, int4) returns int4 as\n'\n declare\n\t\tv1 alias for $1;\n\tv2 alias for $2;\n\tv3 int4;\n begin\n\traise notice ''v1 = %'', v1;\n\tupdate _testtable set...
[ { "msg_contents": "configure seems to be having a problem with --without-CXX\nWhen given, the C++ compiler is set to 'no'.\n\nThis was with CVS as of about 10:00 EDT\n\nplatform is linux i386 running Debian 'woody'.\n \n --- commandline ---\n \n ./configure --enable-debug --enable-cassert --enable-depend --with...
[ { "msg_contents": "I have a friend who works at IBM on DB2, i showed\nher \"the benchmark\" just for kicks.. (we teach each\nother over who's is better etc.. all good fun)\n\nanyway she sends me back this article about how DB2\nblows the lid off of TPC-C.. just proof that any\nbenchmark can mean anything..\n\na...
[ { "msg_contents": "Using Postgresql 7.0.2 (Linux x86, 2.2.16)\n\nCERATE FUNCTION foo(text)\n\nCREATE TABLE bar(\n fud TEXT CHECK (foo(fud))\n);\n\nDROP FUNCTION foo(TEXT);\nCREATE FUNCTION foo( .....);\n\nINSERT INTO bar VALUES ('Hey'); results in the following error\n\nERROR init_fcache: Cache lookup f...
[ { "msg_contents": "Hi,\n\nI'm using the postgresql 7.0.2., the JDBC interface. I\nneed to optimise the database storage speeds in my\napplication. In order to do this I considered having\nmore than one connection so that I can have separate\ntransactions for performing a group of inserts into a\nspecific table ...
[ { "msg_contents": "\n\nI've coded up a module that implements python as a procedural language\nfor postgresql. A tarball can be downloaded at\n\nhttp://users.ids.net/~bosma\n\nIf anyone is interested, take a look at it. Comments and suggestions\nwould be appreciated. Functions and triggers are work. The SPI\...
[ { "msg_contents": "Here is a patch to bring SSL support back working. Sorry for the long delay\n:-(\n\nI also added the function sslinfo() to get information about the SSL\nconnection.\n (I'm not 100% sure I got that one right, though. Is it enough to put an \n entry in pg_proc.h, or do I need it anywhere else...
[ { "msg_contents": "I think the create and drop schema commands should throw a \"not\nimplemented\" error, rather than fiddle around with databases. Consider\nusers that try these commands just on luck.\n\nBtw., the grammar for these commands isn't implemented correctly either.\n\n\n-- \nPeter Eisentraut ...
[ { "msg_contents": "> Well, this is how it is supposed to work. \"select for update\" only\n> works within a transaction and holds the lock until the transaction\n> is complete.\n>\n> What exactly is it that you're trying to do?\n\n Let us suppose that we have 2 transactions, and attempt to block the\nsa...
[ { "msg_contents": "> > I also added the function sslinfo() to get information about the SSL\n> > connection.\n> \n> That strikes me as a very bizarre way of doing things. Why not add an\n> inquiry function to the libpq API, instead?\n\nWell. I did it mostly so I wouldn't have to change the API :-)\nBut your po...
[ { "msg_contents": "Barring protests, I will instruct configure and the makefiles to only look\nfor and use Flex rather than any old Lex, since the latter won't work\nanyway. If at a later date someone has a burning desire to make things\nwork with FooNix Lex it should be a relatively simple change back -- in\na...
[ { "msg_contents": "It seems that optimiser is unaware that currval('seq') can be treated as\na constant within \nan expression and thus produces suboptimal plans for WHERE clauses that\nuse currval \nthus using a seq scan instead of index scan.\n\nIs it possible (planned) to mark functions as returning a consta...