threads
listlengths
1
2.99k
[ { "msg_contents": "Hi\nI have a postgres compiled with -mb=KOI8, store cyrillic data, get in the\nclient using different encoding (SET ENCODING=WIN1251, KOI8). The question\nis: what should return stored procedure if I want to see it's output in\ndifferent encodings? Win1251, KOI8, UTF-8, something else?\n\nTha...
[ { "msg_contents": "Now that the 6.5.3 release is official, I am announcing and releasing RPMs for\nversion 6.5.3. There is only one major enhancement -- the addition of an\nallowed architecture -- armv41, which was not available before. From my web\npage: \n-----------------------------------------------------...
[ { "msg_contents": "Hi,\n\nI have a problem updating my local working copy of PostgreSQL with CVS.\n\nI did the following\n\ncd /usr/local/src\nexport CVSROOT=:pserver:anoncvs@postgresql.org:/usr/local/cvsroot\ncvs login\ncvs -z3 co -P pgsql\n\nI get the entire tree in directory /usr/local/src/pgsql, which is wh...
[ { "msg_contents": "Greetings. I recently encountered a problem updating an array element on\na temp table. Instead of updating just the specified array element, it\ncopies the array values onto all the tuples. The command works as\nexpected with regular tables.\n\n\ncreate temp table tmpArray (\n id ...
[ { "msg_contents": "It's doing exactly what you told it to.\n\n>> update tmpArray set val[3] = 7;\n>> UPDATE 3\n>> select * from tmpArray;\n>> id|val\n>> --+---------\n>> 1|{1,2,7,4}\n>> 2|{1,2,7,4}\n>> 3|{1,2,7,4}\n>> (3 rows)\n\nYou didn't specify which rows to update, so it updates all. Try:\n\nupdate tmp...
[ { "msg_contents": "Hi,\n\nI have a small problem compiling the new psql code.\n\nThe dependency in the makefile on the sgml files seems to\nbe failing because of the '*'.\n\nIf I remove that dependancy everything is OK.\n\nPerhaps it's my version of make.\n\nbash-2.03$ make --version\nGNU Make version 3.77, by ...
[ { "msg_contents": "Sorry, all; ignore the last mail; I was having a stupid attack.\n\n-----Original Message-----\nFrom: Kristofer Munn\nTo: pgsql-hackers@postgreSQL.org\nSent: 99/11/06 10:09\nSubject: [HACKERS] Arrays broken on temp tables\n\nGreetings. I recently encountered a problem updating an array elemen...
[ { "msg_contents": "\n>From: Bruce Momjian <maillist@candle.pha.pa.us>\n>\n>> make[2]: Entering directory `/export/home/pgsql/src/bin/psql'\n>> make -C ../../interfaces/libpq libpq.a\n>> make[3]: Entering directory `/export/home/pgsql/src/interfaces/libpq'\n>> make[3]: `libpq.a' is up to date.\n>> make[3]: Leavi...
[ { "msg_contents": "There is a bug fix in the cvs tree to a problem that prevents pgsql from\nhandling single quotes in strings. The solution is described here:\n\n http://www.postgresql.org/mhonarc/pgsql-interfaces/1999-09/msg00154.html\n\nAs a newcomer to PostgreSQL, I lost several hours to this problem - not...
[ { "msg_contents": "\n>From: Tom Lane <tgl@sss.pgh.pa.us>\n>\n>Keith Parks <emkxp01@mtcc.demon.co.uk> writes:\n>>>> make[2]: *** No rule to make target `../../../doc/src/sgml/ref/*.sgml', \n>>>> needed \n>>>> by `sql_help.h'. Stop.\n>>>> make[2]: Leaving directory `/export/home/pgsql/src/bin/psql'\n>\n>>> Do yo...
[ { "msg_contents": "I am confused by nameout(). There are a number of places where table\nnames are output using nameout(), and many other cases where they are\njust output without calling nameout. Can someone explain why the dash\nis important? I can see the pstrdup as being important, but not in all\nof the...
[ { "msg_contents": "Hi all,\n\nI was wondering why all the regression tests failed for me so i ran one\nin the interactive mode.\n\n\nmtcc:[/usr/local/pgsql/src/test/regress](73)% /usr/local/pgsql/bin/psql \nregression\nWelcome to psql, the PostgreSQL interactive terminal.\n\nType: \\copyright for distribution ...
[ { "msg_contents": "[Charset iso-8859-1 unsupported, filtering to ASCII...]\n> \n> Has anyone noticed a few weirdnesses with psql under 6.5.3? Psql\n> doesn't know how to handle mixed case object names, at least on my machine\n> (RH 6.1). Anyone else have this problem or is it just my machine? I don't\n> ...
[ { "msg_contents": "\n>From: Bruce Momjian <maillist@candle.pha.pa.us>\n>\n>> Hi all,\n>> \n>> I was wondering why all the regression tests failed for me so i ran one\n>> in the interactive mode.\n>> \n>> \n>> mtcc:[/usr/local/pgsql/src/test/regress](73)% /usr/local/pgsql/bin/psql \n>> regression\n>> Welcome to ...
[ { "msg_contents": "Hello,\n\nI was writing a query using intersect and came across a strang error. \nIndependently, the two queries work fine but fail to compile when\nintersected. My first instinct was to rewrite the query with an\nin clause, and that too failed in even a stranger way. I've stripped\ndown t...
[ { "msg_contents": "--- Bruce Momjian <maillist@candle.pha.pa.us> wrote:\n> I am confused by nameout(). There are a number of places where table\n> names are output using nameout(), and many other cases where they are\n> just output without calling nameout. Can someone explain why the dash\n> is important? I ...
[ { "msg_contents": "Here's the situation...\n\nI had a few tables left over from a small 6.5.2 database. By '\\d'ing I can\nsee a table named Employee in the list. If I try to select from the table I\nget the following...\n\n\\d returns...\n\n | damond | Employee | table |\...
[ { "msg_contents": "I have overhauled the use of RelationGetRelationName() to it is used\nmore often.\n\nI have added a new macro NameStr to get a char * from Name. No more:\n\n\tvar.data\n\t&var\n\tvar->data\n\nto access Name as a character string.\n\nAlso, several calls to nameout() were removed and changed t...
[ { "msg_contents": "There are new border styles.\n\nI think I prefer \\pset border 1 as the default. What do other people\nthink? People have been slow to comment on the new psql features.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (61...
[ { "msg_contents": "Just need to know what sql statement to use to list the tables in a database. I\nneed to do this from C.\n", "msg_date": "Mon, 8 Nov 1999 00:29:50 -0800", "msg_from": "\"Matt M.\" <matt@boda.virtualave.net>", "msg_from_op": true, "msg_subject": "listing tables" } ]
[ { "msg_contents": "... at least on this machine.\n\n$ make -C backend\nmake: Entering directory `/home/fenix0/eh99/e99re41/pgsql/src/backend'\nmake -C access all \nmake[1]: Entering directory `/home/fenix0/eh99/e99re41/pgsql/src/backend/access'\n<snip>\nmake[1]: Leaving directory `/home/fenix0/eh99/e99re41/pgsq...
[ { "msg_contents": "Peter Eisentraut <e99re41@DoCS.UU.SE>\n>On Sun, 7 Nov 1999, Bruce Momjian wrote:\n>\n>> > This seems to be where it goes wrong. (mainloop.c)\n>> > \n>> > /* No more input. Time to quit, or \\i done */\n>> > if (line == NULL || (!pset->cur_cmd_interactive && *line == '\\0'))\n>\n>This line wa...
[ { "msg_contents": "\n\n> > CREATE USER sql command updates the file, but an UPDATE on pg_shadow\n> > does not.\n> \n> How about INSERT INTO pg_shadow? Or how do you judge the \n> following excerpt\n> from the createuser script:\n> \n> QUERY=\"insert into pg_shadow \\\n> (usename, usesysid, usecreatedb, ...
[ { "msg_contents": ">From FAQ_DEV:\n\n\"pgindent will format source files to match our standard format, which\n has four-space tabs, and an indenting format specified by flags to the\n your operating system's utility indent.\"\n\nThen why are all files indented with eight spaces? I personally like the\nfour spac...
[ { "msg_contents": "I agree with you Bruce, as replacing the current protocol with IIOP\nwould IMHO be a bad idea, and possibly not be implementable on some\nplatforms.\n\nPS: Theres a Corba/Java example in the source. Works only for Java2 (as\nit has a limited orb).\n\nPeter\n\n> -----Original Message-----\n> F...
[ { "msg_contents": "> Anyway, I know that at least one ORB, TAO, runs on many more types of\n> platforms than Postgres does (e.g. VxWorks, Lynx, Solaris, NT, ...),\n> though Postgres runs on more Unix-style platforms. But that particular\n> ORB is not a good candidate for us, for reasons I already mentioned\n> (...
[ { "msg_contents": "IMHO, I think this would be better for the short term.\n\nPeter\n\n> -----Original Message-----\n> From:\tDmitry Samersoff [SMTP:dms@wplus.net]\n> Sent:\t09 November 1999 16:56\n> To:\tThomas Lockhart\n> Cc:\tpgsql-interfaces@postgreSQL.org; pgsql-hackers@postgreSQL.org;\n> Brian E Gallew; Th...
[ { "msg_contents": "--- Peter Eisentraut <peter_e@gmx.net> wrote:\n> From FAQ_DEV:\n> \n> \"pgindent will format source files to match our standard format, which\n> has four-space tabs, and an indenting format specified by flags to the\n> your operating system's utility indent.\"\n> \n> Then why are all files ...
[ { "msg_contents": "I've (finally) copied Lamar's 6.5.3 RPMs to\npostgresql.org/pub/{SRPMS,RPMS}.\n\nVince, could we update our web page? It currently mentions v6.5.2 on\nthe main page as \"the current release\" and as having RPMs available on\nour web site; both of these version numbers need to be bumped up.\n\...
[ { "msg_contents": "Surely with autoconf, this becomes less of an issue. I mean, if this is the\nonly major problem (which it likely isn't, but anyway), then the whole\nexercise shouldn't be that hard.\n\nMikeA\n\n>> -----Original Message-----\n>> From: Thomas Lockhart [mailto:lockhart@alumni.caltech.edu]\n>> S...
[ { "msg_contents": "Goran Thyni <goran@kirra.net> writes:\n>I found that there is a fundamental problem\n>concerning the difference in process models\n>in pgsql and the POA (Portable Object Adaptor)\n>in CORBA implementations.\n>\n>AFAICS, POA assumes a threaded server while\n>PgSQL uses a traditional forking mo...
[ { "msg_contents": "Hi, Guys . I just installed the latest POSTGRES binary 6.5.2 for\nREDHAT 6.0 and reading the HISTORY file, it says that the deadlock\nproblem with the timeout was fixed in 6.3.\nSo, I went and open two psql sessions and tried to update the same\nrecord inside a transaction (one for each sess...
[ { "msg_contents": "Solaris 2.6/sparc; postgres 6.5.1\n\ndns=> create table test (zone int4, net cidr, unique(zone, net));\nNOTICE: CREATE TABLE/UNIQUE will create implicit index 'test_zone_key' for table 'test'\nCREATE\ndns=> insert into test (zone, net) values (1, '1.2.3/24');\nINSERT 21750 1\ndns=> insert in...
[ { "msg_contents": "Hello!\n\n Ross J. Reedstrom, current maintainer of PostgreSQL Database Adapter for\nZope (based, of course, on PyGreSQL), said very positive words about\nPostgreSQL and Postgres team:\n\n\"My experience with the PostgreSQL developers and mailing lists are very\nsimilar to the Zope lists: l...
[ { "msg_contents": "I have found that typing:\n\n\ttest=> select * from pg_class\\p\\g\n\nno longer works. I honors the \\p, but ignores the \\g.\n\nAny ideas Peter?\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If you...
[ { "msg_contents": "\n\nHi,\n\n in TODO is the item \"Allow compression of large fields or a \ncompressed field type\". It is good idea, but it prabably needs \nbinary field firstly (or not?). \n\n I see the inv_api and other LO routines, and my idea is add support \nfor bzip2 stream to the inv_api and allow in ...
[ { "msg_contents": "Hi\n\nI have a single table with two views. The table effectively contains both\nmaster and detail info (legacy stuff I'm afraid). The query in question is\nused to see if any records exist in the detail that do not exist in the\nmaster. The table and index definition is as follows\n\n creat...
[ { "msg_contents": "Hi,\n\nI was hoping one of the contributors here on the list could point me in\nthe right direction with some of the issues I am currently facing with\npostgres 6.5.0\n\nI apologize if these topics have been thoroughly discussed before, but I\nwasn't able to find anything in the archives.\n\n...
[ { "msg_contents": "Probably it is of interest for jou, or i did something very stupid:\nI had a little piece of code who works fine up till know, just after\ninstalling \nthe version 6.5.3 i got the message 'parse error near union'\n\n\ncreate table work as\n\tselect * from opdracht\n\tunion\n\tselect * from op...
[ { "msg_contents": "subscribe\n\n\n", "msg_date": "Fri, 12 Nov 1999 00:54:48 +0100", "msg_from": "Frans Van Elsacker <fve@atbib.be>", "msg_from_op": true, "msg_subject": "" } ]
[ { "msg_contents": "subscribe\n\n", "msg_date": "Fri, 12 Nov 1999 00:58:11 +0100", "msg_from": "Frans Van Elsacker <fve@atbib.be>", "msg_from_op": true, "msg_subject": "subscribe" } ]
[ { "msg_contents": "Probably it is of interest for jou, or i did something very stupid:\nI had a little piece of code who works fine up till know, just after\ninstalling \nthe version 6.5.3 i got the message 'parse error near union'\n\n\ncreate table work as\n\tselect * from opdracht\n\tunion\n\tselect * from op...
[ { "msg_contents": "> People may have problems with the NULL statements with some versions\n> of PostgreSQL. I have information about editing the applix macro\n> on that creates the tables my web site:\n> http://www.radix.net/~cobrien/applix/applix.txt\n\nJust in case someone cares ;)\n\nThe \"NULL\" co...
[ { "msg_contents": "Vadim wrote:\n\n> > I did the same on Informix Online 7 and it took less than two minutes...\n>\n> Could you run the query above in Informix?\n> How long would it take to complete?\n\nI include both explain and timing for the queries for both postgres and\nInformix.\n\nExplain from postgres f...
[ { "msg_contents": "> This is based on the premise that it would somehow be useful to link Unix\n> and PostgreSQL users. \n\nThis is useful, for a system like postgres, since due to the user types,\nsome user functions will eventually be executed with a setuid to a specific\nunix user.\nThis may be the function ...
[ { "msg_contents": "> I send you my last letter again, because I'am not sure if you obtain it\n> (you had problem with connection (?)).\n\nActually yes! I was off the air for a week or so, and didn't remember\nthat I had a mail to answer. Sorry about that...\n\n> > For normal strings, we can implement NATIONAL C...
[ { "msg_contents": "Is everyone okay with the following syntax:\n\nCREATE USER username\n[ WITH ID digits ]\n^^^^^^^^^^^^^^^^^^\n[ WITH PASSWORD password ]\n[ CREATEDB | NOCREATEDB ]\n[ CREATEUSER | NOCREATEUSER ]\n[ IN GROUP groupname [, ...] ]\n[ VALID UNTIL 'abstime' ]\n\nALTER USER username\n[ WITH ID...
[ { "msg_contents": "[[-Fri 12 November-]]\n Added su.c Unixware 7.0 local exploit by K2, posted by demi.(0-day)\n Added xlock.c Unixware 7.0 local exploit by K2, posted by demi.(0-day)\n Added Xsco.c Unixware 7.0 local exploit by K2, posted by demi.(0-day)\n\n[[-Thur 11 November-]]\n Added seyon.sh FreeBSD 3...
[ { "msg_contents": "> I don't know if there's a compression library available that\n> fit's our need. First and most important it must have a\n> license that permits us to include it in the distribution\n> under our existing license. Second it's implementation must\n> not cause ...
[ { "msg_contents": "i tried posting this to other groups, as well as searching the archives,\nand came up with nothing.\n\ni am using 6.5.2/Mandrake(RedHat)linux 6.0/pentium. i am trying to port\nan existing informix 7 web application to postgresql. all of the CGI\nprograms use embedded SQL. they all use constru...
[ { "msg_contents": "\ni tried posting this to other groups, as well as searching the archives,\n\nand came up with nothing.\n\ni am using 6.5.2/Mandrake(RedHat)linux 6.0/pentium. i am trying to port\nan existing informix 7 web application to postgresql. all of the CGI\nprograms use embedded SQL. they all use con...
[ { "msg_contents": "I need to create a cross-process producer/consumer data queue (e.g. singly-linked list). \n\nThat is - Processes A, B, and C add nodes to a controlled list and process D removes them.\nNot sure if the creation of the nodes would be best done by the producers or consumers,\nbut destruction wou...
[ { "msg_contents": "> Okay, the build went fine, but the following came up:\n> make -C parser all \n> make[1]: Entering directory `/home/fenix0/eh99/e99re41/postgresql-cur/src/backend/parser'\n> Makefile:39: warning: overriding commands for target `parse.h'\n> Makefile:34: warning: ignoring old commands for targ...
[ { "msg_contents": "What happened with this?\n\nI think I saw a response from Bruce but it wasn't fixed and\ndoesn't appear in the current CVS of V7.\n\nKeith.\n\n>From: Edwin Ramirez <ramirez@doc.mssm.edu>\n>Hello all,\n>\n>I was looking at the translate function and I think that it does not\n>behave quite righ...
[ { "msg_contents": "This message appeared from the backend when running vacuum \nanalyze on our live data. I remember seeing a posting \nregarding this sometime back but no longer have this message. \n\nThe version of postgres is 6.5.1 on RH6. There is more than \nsufficient disk space left, and postmaster does ...
[ { "msg_contents": "I see that src/bin/psql/sql_help.h is now generated automatically\nfrom the SGML documentation. This is a Good Thing. But: since\nsql_help.h is now a derived file, shouldn't it be removed from the\nCVS repository, for the same reasons that we don't keep gram.c\nand other derived files in CV...
[ { "msg_contents": "\nSome observations about compression (sorry if this is obvious):\n\nCompression won't work unless there is redundancy in the information\nbeing compressed. In a normal [1] database, there may be a little\nredundancy in each row. The real redundancy will be when you group\nrows together. I...
[ { "msg_contents": "Hi,\n\nA few time in the past, my indexes have become corrupted somehow\nand a vacuum analyze will cause the backend to dump core. I've\nseen other people post similiar problems on hackers and admin. All\nof the suggestions seem to be dumping the database and reloading it \nto have the inde...
[ { "msg_contents": "Hi all\nI'm very new to SQL server I can do allot of things in access database but I'm moving to SQL. isen that grate?\n\nWhat i m looking for is witch one of the datatype in table design view I can used for an autocount like in access?\n\nPlease reply to \nkenneth@internetcasino.ag\n\nWebmas...
[ { "msg_contents": "Hi,\n\n I need to keep track of changes to a set of tables in a generic way.\nTo do this, I want to keep track of oid's. I'm writing the code using\nthe SPI interface, but I've hit the following problem: after I have\ninserted a tuple into a table from the C routine, I cannot figure out\nh...
[ { "msg_contents": "Hello Tom,\n\nI was hoping you might have some insight on a problem we've encountered\nwith PostgreSQL 6.5.0 (RedHat 5.2) this morning, since you are the\n\"file descriptor\" king, as it were :-) . The database is backing a website\nused by a network of hospitals for materials management and ...
[ { "msg_contents": "Hi,\n\ntoday I found a problem with MB on freebsd-elf running 6.5.3 - \nI have compiled 6.5.3 with --enable-locale --with-mb=KOI8\nand in psql I tried set client_encoding to 'WIN'\nbut result of simple query looks like 8-bit was stripped. \nThe same query works as expected under Linux.\nAlso,...
[ { "msg_contents": "\nhttp://www.pgsql.com/app-index ...\n\nIts a start, at least. I have to add 'update' facilities for ppl to edit\nrecords, and it *looks* like hell, but its a start...\n\nI'm concentrating on apps first, and, eventually, its going to include\n'Usage of' records...\n\nAll input has to be appr...
[ { "msg_contents": "While chasing the apparent FD leakage reported by Mike Mascari,\nI realized that there are probably code paths in which the postmaster\nitself will invoke elog(ERROR) or elog(FATAL). This is fairly likely\nanyplace that the postmaster uses routines also used by the backend.\nMascari's exampl...
[ { "msg_contents": "\n Any clue why Postgresql version 6.5.1 can't handle null values for int8 in\na WHERE clause?\n\nincanta=> create table t(v int8);\nCREATE\nincanta=> insert into t(v) values(0);\nINSERT 101737 1\nincanta=> insert into t(v) values(1);\nINSERT 101738 1\nincanta=> insert into t(v) values(-1);\...
[ { "msg_contents": "--- Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Mike Mascari <mascarim@yahoo.com> writes:\n> > FATAL 1: ReleaseLruFile: No opened files - no one can be closed\n> \n> > This is the first time this has ever happened.\n> \n> I've never seen that either. Offhand I do not recall any post-6.5\n> chang...
[ { "msg_contents": "Are there any web hosting services that offer postgresql database\naccess (cgi would be nice too)?\n\n\n\n==============================================================\nHere's some for the killfiles\n@aol.com crush@home.com fredsanfordrules@aol.commedian\n@webtv.com\n", "msg_date": "...
[ { "msg_contents": "> > > I notice that the postgresql docs say that postgresql is a public domain\n> > > program, while they really carry a Berkley copyright. You might want to\n> > > correct this for the next release.\n> > > http://www.bbin.com/pd/\n> > Ooh. I guess I'm not familiar with the fine points here....
[ { "msg_contents": "\nDear Sir\n\nCan you help me with a problem I have:\n\nWhen more than 30 process query my Postgres data base, then my postmaster\ncreate zombies process.\nLike this:\nUSER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND\npostgres 4139 0.1 0.0 0 0 ? Z 18:38 0...
[ { "msg_contents": "Hello,\n Not sure is this is the place for this but, I have two object\ncreated a table (customers) and a view cust which joins customers and\ncust runs pretty slow when select count(*) from cust. I think it may be\nan index issue, can anyone help? there are about 1200 records in\ncust...
[ { "msg_contents": "Hey Hackers - \nI wouldn't normally forward an install problem from general to the\nhackers list, but Chris is the database guy at Digital Creations, the\ncompany behind Zope, the really cool web app. building tool, that Sybase\nrecently endorsed as their offical web frontend. Any of you Free...
[ { "msg_contents": "Hi,\n\n I know that it's the new psql output format why all the\n regression tests currently fail. But I think we are in this\n state for a little too long now. With the latest CVS I got\n this near the end of the suite after the plpgsql test:\n\nNOTICE: trying to dele...
[ { "msg_contents": "Hi All,\n\nI think I had read this question with count(*) before.....\n\nPgSql returns one row with a null field when we use select MIN or MAX on a\ntable, but the result should be \"no rows selected\".\n\nI didn't try with C function, but I got the same result with psql.\n\nSo, I'm sending a...
[ { "msg_contents": "> > I took Peter Eisentraut's advice and did it with the old pslq\n> > (thanks for the hint).\n> > \n> > This problem (as expected) remains and happens in the temp\n> > test. The two notices occur on creating the temp table and\n> > the index on it. After that, the ...
[ { "msg_contents": "\n\n> -----Original Message-----\n> From:\tNarayanan, Kannan \n> Sent:\tWednesday, November 17, 1999 10:47 AM\n> To:\t'pgsql-questions@postgresql.org'\n> Subject:\tHow to select the millisecond/microsecond parts of the\n> datetime column\n> Importance:\tHigh\n> \n> Hello,\n> \n> Product versi...
[ { "msg_contents": "\nThis was sent to webmaster@postgresql.org. Anyone have an answer\nto it? I'm not familiar with oracle so I don't know what he's\ntalking about.\n\nVince.\n\n\n\n-----FW: <19991117174920.10322.rocketmail@web2103.mail.yahoo.com>-----\nFrom: =?iso-8859-1?q?nitin=20thakkar?= <nitinthakkar@yah...
[ { "msg_contents": "Hi,\n\n I just committed some changes that require an initdb.\n\n New are the discussed, simple LZ compressor, placed into\n /utils/adt/pg_compress.c, and a new lztext data type based on\n it. You'll find a fairly detailed description of the\n compression algorit...
[ { "msg_contents": "No, we don't support anything like this. This is the ability to create a\nlink in one database that points to a table in another database, so that it\ncan be accessed as if local. The other database can be a separate instance\n(a concept which PG doesn't really have), or even on another mac...
[ { "msg_contents": "Hi,\n\n I just committed a little change to pg_rewrite.h and related\n sources. Needs a new clean compile and initdb. Attributes\n ev_qual and ev_action are now of type lztext (formerly text).\n\n This one is impressive:\n\n create table t1 (\n typname ...
[ { "msg_contents": "Hi,\n\nDoes anybody know how a user could change your own password ? (without\npg_shadow access, of course).\n\nI would like to transfer this task to each one.\n\nI don't remember. Trusted languages overlaps security restrictions, isn't it\n?\n\nIf I build a C function chgpwd(username,oldpass...
[ { "msg_contents": "The attached report is still correct as of 6.5.3; but will having a\ndatabase name that has to be quoted cause problems anywhere that SQL\nqueries are constructed to do internal operations?\n\nThe SQL command `CREATE DATABASE \"www-data\"' works correctly.\n\n------- Forwarded Message\n\nDate...
[ { "msg_contents": "Okay, here is my semiofficial take on the situation:\n\n* Use the psql from the 6.5.* distro to do regression tests until further\nnotice.\n\n\n* Although the output format in the current psql is not under intensive\ndevelopment anymore, I am not sure if I can guarantee a \"freeze\" soon.\nOn...
[ { "msg_contents": "Where is that file that makes an initdb required? We are supposed to\nchange that file when an initdb is needed.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 83...
[ { "msg_contents": "In writing the book, I see the serious limitation that there is no way\nin psql to access the most recently inserted oid. Without it, there\nseems to be no way to use the oid value as a foreign key in another\ntable.\n\nShould I add a function to return the most recently assigned oid to the\...
[ { "msg_contents": "Hi all,\n\nWe are converting Oracle system to PostgreSQL.\nBut some queries takes very looong time.\n\nI have tried variously and made a typical example\nin PostgreSQL 6.5.2 .\nIt's already known ?\n\nselect count(*) from a,b where a.id1=b.id1;\n\nreturns immeidaitely and EXPLAIN shows\n\nAgg...
[ { "msg_contents": "We currently only allow the words PRIMARY KEY on a SERIAL column. Is\nthere a reason we don't allow PRIMARY KEY on an integer field? Seems it\nshould be allowed.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-...
[ { "msg_contents": "Here are the major open issues for 7.0 that I remember:\n\n\tForeign Keys - Jan\n\tWAL - Vadim\n\tFunction args - Tom\n\tSystem indcxes - Bruce\n\t\nOuter joins and new multi-query parse tree are questionable items for\n7.0.\n\nIs this currect?\n\n-- \n Bruce Momjian ...
[ { "msg_contents": "With PostgreSQL compiled with support for locales and multi-byte encoding:\n\ninitdb -e BIG5\n\n[start postmaster]\npsql template1\n\\dS causes a segmentation fault in the backend\n\n>From the log:\n\nStartTransactionCommand\nquery: SELECT usename, relname, relkind, relhasrules FROM pg_class,...
[ { "msg_contents": "Hi,\n\nI think I found a bug in pg_dump:\nI created a table like:\n\nCREATE TABLE ut (\n Azienda CHAR(16) NOT NULL,\n ragione_sociale VARCHAR(45) NOT NULL,\n indirizzo CHAR(40),\n inizio_attivita DATE DEFAULT CURRENT_DAT...
[ { "msg_contents": "Welcome to the POSTGRESQL interactive sql monitor:\n Please read the file COPYRIGHT for copyright terms of POSTGRESQL\n[PostgreSQL 6.6.0 on i386-unknown-freebsd3.2, compiled by gcc 2.7.2.1]\n\n(a side note - wouldn't it be helpful to have a little more info about the\nbuild, namely its time ...
[ { "msg_contents": "I've installed Mandrake 6.1 on a new laptop (an early Christmas\npresent :) and notice a little trouble with the RPMs. Somehow, they\ninclude the old postgresql-clients-6.4.2 package as well as all of the\n-6.5.1 packages. I assume that RedHat 6.1 does not show the same\nproblem?\n\nDoes anyo...
[ { "msg_contents": "Check out http://www.linuxplanet.com/linuxplanet/tutorials/1251/1/\n\nSome interesting comments in there on us. This is a tutorial/comparison,\nso don't expect extreme accuracy -- but th author does have some\ncomments on features and documentation for PostgreSQL.\n\n--\nLamar Owen\nWGCR Inte...
[ { "msg_contents": "I't committed.\n\n There is a new shell script run_check.sh in the regression\n test directory. It is driven by the conficuration file\n ./sql/run_check.tests and runs most of our tests parallel. It\n is invoked with the new GNUmakefile target 'runcheck'.\n\n\n The re...
[ { "msg_contents": "I need some Unix guidance.\n\nFoolishly or not, I designed the new PostgreSQL logging subsystem\nto run as a process. It's forked off a function called by the\nPostmaster main program right before the if(...)pmdaemonize\nstatements -- meaning that the shared memory enviroment has been\nestabl...
[ { "msg_contents": "--- Jan Wieck <wieck@debis.com> wrote:\n> Bruce Momjian wrote:\n> \n> > > > Here are the major open issues for 7.0 that I remember:\n> > > > Foreign Keys - Jan\n> > > > WAL - Vadim\n> > > > Function args - Tom\n> > > > System indcxes - Bruce\n> > ...
[ { "msg_contents": "I tried the following:\n\n{CREATE|ALTER} USER username\n[ WITH ID/UID/<whatever> number ]\n[ WITH PASSWORD password ]\n[ etc. as usual ]\n\nwhich gives shift/reduce conflicts, even if I make PASSWORD and\nID/whatever a pure keyword (WITH is already one). So that won't work.\n\nI am currently ...
[ { "msg_contents": "Current list is:\n\n Foreign Keys - Jan\n WAL - Vadim\n Function args - Tom\n System indexes - Bruce\n\tDate/Time types - Thomas\n\tOptimizer\t- Tom\n\n\tOuter Joins - Thomas?\n\tLong Tuples - ?\n\n\n-- \n Bruce Momjian ...
[ { "msg_contents": "Hello all,\n\nDue to the large objects in our database, it's not easy to\ndump/reload. So if the 'pg_log' file becomes very big, can I\nsimply stop the server & delete it, and restart the server?\n(w/o dump/reloading.) to save the disk space.\n\nBest,\nC.S.Park\n\n", "msg_date": "Sat, 2...
[ { "msg_contents": "I have two tables of roughly 200,000,000 records and want\nto update one column in one of the tables according to\nvalues in the second table using a unique key.\n\nFor example:\n\n\tupdate table1 set x=1 from table2 where \n\t exists (select * from table2 table1.key=table2.key);\n\n(or...
[ { "msg_contents": "Hi,\nI'm trying to compile SPI function written on C++.\nCompile fail on using C++ keywords (typeid, typename) in header files. \nWrapping #include in extern \"C\" {} don't help.\nHere is output of the compiler:\n\n\n++ -I/home/akorud/develop/postgresql-6.5.3/src/include\n-I/usr/local/pgsql/i...