threads
listlengths
1
2.99k
[ { "msg_contents": "Does anyone want to do the coding we've talked about? I'm afraid I'll\nbreak stuff.... (I also don't have the current dev sources checked out, \nI just have 7.0.2 running). \n\nI'd really like to see this in 7.1....\n\nLarry\n-- \nLarry Rosenman http://www.lerctr.org/~l...
[ { "msg_contents": "Hi!\n\n I've done an interface for GNU-Prolog/PostgreSQL. It's is still in alpha\nstages in terms of functionality, but what is implemented seems to be\nworking with no problems. If someone is interested in this please contact\nme.\n Probably in the next couple of weeks I'll make a first pu...
[ { "msg_contents": "Hello Everybody,\n Sorry for mailing at both the addresses. The situation is a nightmare \nat our installation facility, hence the need to capture as much attention as \npossible.\n We are using PostgreSQL 7.0 along with Enhydra 3.0 application server \nto host a web site. It has been...
[ { "msg_contents": "> > o Two new functions, trunc(macaddr) and text(macaddr), where the former\n> > returns the mac address with the low (non-manufacturer) fields zeroed\n> > out, and the latter converts to a text string. The text conversion is\n> > nice because capabilities such as LIKE can be used transparent...
[ { "msg_contents": "I have made a first cut at completing integration of Adriaan Joubert's\nBIT code into the backend. There are a couple little things left to\ndo (for example, scalarltsel doesn't know what to do with BIT values)\nas well as some not-so-little things:\n\n1. SQL92 mentions a bitwise position fu...
[ { "msg_contents": "As of latest commit:\n\tnew-style internal functions: 1061\n\told-style internal functions: 0\n\nMan, I'm glad to be done with that...\n\n\t\t\tregards, tom lane\n", "msg_date": "Mon, 21 Aug 2000 01:42:13 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, ...
[ { "msg_contents": "There's several problems here.\n\n1. JDBC doesn't support more than one transaction per connection - the\nmethods for controlling them are in Connection.\n\n2. PostgreSQL doesn't (yet) support nested transactions (unless someones\ndone that without me noticing). This is a problem with some of...
[ { "msg_contents": "> > * I changed the meaning of \"-l\" from \"Listen to only SSL\" to\n> > \"Disable SSL\". It seems safe to me to do this since the \n> > previous function of \"-l\" never worked anyway.\n> > Using this switch, you can start the postmaster without\n> > having the secret key and the ce...
[ { "msg_contents": "> > can't you just do a link test that checks that AF_UNIX is defined?\n> \n> That doesn't say anything about whether the Unix sockets \n> really work, as\n> systems where they don't work define this occasionally.\n\nMy idea was to create a test that will try to compile, link and run a small\...
[ { "msg_contents": "\n> foo=# \\d pg_attribute_relid_attnam_index\n> Index \"pg_attribute_relid_attnam_index\"\n> Attribute | Type\n> -----------+------\n> attrelid | oid\n> attname | name\n> unique btree\n> \n> foo=# \\d pg_attribute_relid_attnum_index\n> Index \"pg_attribute_relid_attnum_index\"\n> Attr...
[ { "msg_contents": "Mark Hollomon <mhh@mindspring.com> writes:\n> Attached is a patch to allow\n> functinal indecies to use functions that\n> are for 'binary-compatible' types.\n\nUm, thanks for working on this, but I already fixed that...\n\n\t\t\tregards, tom lane\n", "msg_date": "Mon, 21 Aug 2000 11:19:31...
[ { "msg_contents": "Is there anyway to do a query from one database that accesses tables in another database, like synonyms in oracle.\n\nThanks,\nAdam\n\n\n\n\n\n\n\n\n\nIs there anyway to do a query from one database \nthat accesses tables in another database, like synonyms in oracle.\n \nThanks,\nAdam", "...
[ { "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\nLet us suppose that we have 2 transactions, and attempt to block the\nsame row i...
[ { "msg_contents": "How nasty would dropping columns be?\n\nI've just now started going through the source and am trying to find where \nit would fit in... if it could be done without a nightmare.\n\nAny pointers?\n-\n- Thomas Swan\n- Graduate Student - Computer Science\n- The University of Mississippi\n-\n- \"...
[ { "msg_contents": "\n\n---------- Forwarded message ----------\nDate: Mon, 21 Aug 2000 18:33:39 +0300 (EEST)\nFrom: sergiy grigoriev <serg@localhost.localdomain>\nTo: pgsql-questions@postgresql.org\nSubject: postgresql-java (fwd)\n\n\n\n\n\t\tHi !\n\tWhile developing a Java GUI front-end to Postgresql I've face...
[ { "msg_contents": "The Hermit Hacker <scrappy@hub.org> writes:\n>Actually, the one that gets me is those that refer to it as Postgres\n>... postgres was a project out of Berkeley way back in the 80's, early\n>90's ... hell, it was based on a PostQuel language ... this ain't\n>postgres, its only based on it :(\n...
[ { "msg_contents": "> > Also, I propose to consolidate and eliminate README.fsync, which\n> > duplicates (or will duplicate) info available in the Admin Guide. The\n> > fact that it hasn't been touched since 1996, and still refers to\n> > Postgres'95, is a clue that some changes are in order.\n> A coupla weeks t...
[ { "msg_contents": "A thanks to everyone on this list and especially; Jeffery Rhines, Chris\nKnight, Chris Bitmead, and Sevo Stille.\n\nThe solution turned out to be very simple. After catching a SCSI BUS\nspeed mismatch problem which caused a NT Backup 'Restore' failure I\ndiscovered that the actual data was i...
[ { "msg_contents": "...\n>Actually, I think I understand the question. The original person wants to\n>be able to do a query and get a result containing a list of\n>databases. AFAIK, there isn't a way to do this using standard SQL-like\n>statements. Somebody correct me if I'm wrong.\n\n\nI cannot test this no...
[ { "msg_contents": "I am trying to create a view and have run across a, to me, bizarre\noccurance. One CREATE VIEW statement creates the view fine; changing\nthe name of the view and repeating the same statement does not. This\nhas nothing to do with conflicting names as appropriate DROP commands\nare issued f...
[ { "msg_contents": "I am having some problems getting optimised queries when I use TEXT\nfields in records. It seems that PostgreSQL is assuming that these\nfields are 4 bytes wide so the record width calculation is wrong and\nthis means that all of the dependant calculations are wrong.\n\nWill it be a big deal...
[ { "msg_contents": "Allright, I'm running 7.0.2 with Tom Lane's backwards index scan patch\napplied.\n\nI'm attempting to select out of a large table (10GB) with about 4\nmillion rows, and it winds up just sitting and doing \"nothing\" forever.\nIf I check the process list, I see it using about 9% of the CPU.\n\...
[ { "msg_contents": "I've committed changes to the main tree which update the pg_proc system\ncatalog, so initdb is required.\n\nAs discussed recently, I've added some contrib/mac/ routines to support\ngenerating a table, macoui, which contains current manufacturers'\nidentification fields for hardware MAC addres...
[ { "msg_contents": "Around here the primary product is Postgres. The version of the RDBM\nbeing used is PostgreSQL and the ODBC driver is Postdrv... etc. Kind of\nlike using Windows and the version is NT.... So any plans for trade\nmarking Postgres?\n\nAllan in Belgium\n\n", "msg_date": "Wed, 23 Aug 2000 ...
[ { "msg_contents": "Hi!\n\n About analyze.c:\n If taken out vacuum, couldn't it be completly taken out of pg? Say,\nto an external program? What's the big reason not to do that? I know that\nthere is some code in analyze.c (like comparing) that uses other parts of\npg, but that seems to be easily fixed.\n\n I...
[ { "msg_contents": "Hi,\nI am doing a \"Vaccum verbose analyze;\" on the database. The first time\nI did the vacuum it stucked at a table and I canceled it ctrl z. Then I\ndeleted the file pg_Vlock and I tried to do it again, but this time it\ndoesn't do anything. It is just hangs there doing nothing.\n\nI use ...
[ { "msg_contents": "Here's a quick patch for contrib/mac/ouiparse.awk to fix some commenting\nchanges due to Thomas' updates.\n\n\n*** ouiparse.awk.old\tWed Aug 23 01:02:23 2000\n--- ouiparse.awk\tWed Aug 23 07:44:09 2000\n***************\n*** 10,19 ****\n # manufacturer text);\n # the table name is set...
[ { "msg_contents": "The query:\n\nINSERT INTO table_resultat( origine, service, noeud, rubrique,\nnb_passage, temps, date) \n\tSELECT DISTINCT temp2.origine, temp2.service, temp2.noeud,\ntemp2.rubrique, temp2.nb_passage, temp2.temps, temp2.date FROM temp2\nWHERE not exists \n\t\t( SELECT table_resultat.origine, ...
[ { "msg_contents": "> > I think I wasn't clear enough. :-) It can *already* be \n> specified by any\n> > client application as long as you use PQconnectdb(). For example:\n> > PQconnectdb(\"dbname='foo' host='localhost' requiressl=1\")\n> \n> I understand but this setting needs to be made available externally in...
[ { "msg_contents": "\nWe had a crash this morning of our server ... not the machine, just the\npostmaster processes ... all three of them spread across three seperate\nports ...\n\nJust looking through logs now, I'm finding:\n\nFATAL: s_lock(20048065) at spin.c:127, stuck spinlock. Aborting.\n\nIn one of them .....
[ { "msg_contents": "Hi!\n\n I've made a small (2 hours work) program to make \"histograms\" on data.\n Giving a table and column he tries to put in buckets special values\n(special means the most/least used values). It tries to be a little smart,\nie, if there are lots of guys with most/least values it will no...
[ { "msg_contents": "\nHow do pronounce PostgreSQL - the final word (pun intended). Listen to \nthe wav file to know for sure how it's pronounced.\n\n http://www.postgresql.org/postgresql.wav\n\nAnd no, it's not my voice.\n\nVince.\n-- \n======================================================================...
[ { "msg_contents": "At 8/23/2000 04:47 PM -0400, Vince Vielhaber wrote:\n\n>How do pronounce PostgreSQL - the final word (pun intended). Listen to\n>the wav file to know for sure how it's pronounced.\n>\n> http://www.postgresql.org/postgresql.wav\n\nYou couldn't ship it as an mp3 stream? :)\n\n", "msg...
[ { "msg_contents": "I take it the \"PostgreSQL BugTool Submission\" posts that've been\nappearing on pgsql-bugs for the last day or so are output from our\nmuch-discussed new bug tracking system. I have a couple of major\nproblems with these reports:\n\t1. Utterly useless Subject: line. Why does the form ask\...
[ { "msg_contents": "\n> The Hermit Hacker <scrappy@hub.org> writes:\n> >Actually, the one that gets me is those that refer to it as Postgres\n> >... postgres was a project out of Berkeley way back in the 80's, early\n> >90's ... hell, it was based on a PostQuel language ... this ain't\n> >postgres, its only base...
[ { "msg_contents": "\n> In my personal experience, out in the real world, people refer to it as\n> \"Postgres\". The QL being a mouthful, and contrary to the common practice\n> of pronouncing SQL as SEQUEL. While Marc points out that technically\n> Postgres died when it left Berkeley, that discontinuity is reall...
[ { "msg_contents": "[Meta: Please advise if this is the wrong list. I think, since this\nobservation relates to Pg internals, this might be the right one, but\nfeel free to move it back to -general if I'm wrong; I subscribe to\nboth in any case]\n\nAs some of you will have inferred if you've read my last couple...
[ { "msg_contents": "At 10:29 AM 8/24/00 +0200, Zeugswetter Andreas SB wrote:\n>\n>> The Hermit Hacker <scrappy@hub.org> writes:\n>> >Actually, the one that gets me is those that refer to it as Postgres\n>> >... postgres was a project out of Berkeley way back in the 80's, early\n>> >90's ... hell, it was based on...
[ { "msg_contents": "All,\n\nAs I mentioned the other day, we're working on a free project\nhosting site for tools and applications that work with PostgreSQL.\n\nIs anyone familiar with the tigris.org hosting infrastructure?\nThey're doing a lot of what we're going to be doing, and we'd be\ninterested in people's...
[ { "msg_contents": "> Hello.\n> \n> Has anybody got any experience using libpq.dll from Visual Basic\n> (currently using Visual Studio 6), and if so, do you have the\n> declarations handy. I have a little trouble finding out how the PGconn\n> and PGresult should look like, and as far as I know these are required...
[ { "msg_contents": "Hello.\n\nHas anybody got any experience using libpq.dll from Visual Basic\n(currently using Visual Studio 6), and if so, do you have the\ndeclarations handy. I have a little trouble finding out how the PGconn\nand PGresult should look like, and as far as I know these are required\nto use the...
[ { "msg_contents": "", "msg_date": "Thu, 24 Aug 2000 10:37:41 -0700", "msg_from": "Don Baccus <dhogaza@pacifier.com>", "msg_from_op": true, "msg_subject": "Re: Mainframe access" }, { "msg_contents": "I've looked through the docs and didn't see reference to connecting to\nPostgreSQL from t...
[ { "msg_contents": "Has anyone else seen this sort of behaviour? After my CLUSTER command\nmy other index has vanished! I know someone mentioned they had done a\nlot of work on CLUSTER, so perhaps this has been fixed.\n\nI'm running Debian 7.0.2-4, on i386.\n\nRegards,\n\t\t\t\t\tAndrew.\n\nnewsroom=# \\d code...
[ { "msg_contents": "Weird. When I sent this 24 hours ago, it didn't go through to the\nlist, although I successfully sent a message to the list only an hour\nor so before that.... as far as my mail-server can tell it went off in\nthe right direcion...\n\n\n----- Forwarded message from Jules Bean <jules@jellybea...
[ { "msg_contents": "> > If you also need the function definitions, check libpq-fe.h for C\n> > style syntax. (It's in src/interfaces/libpq)\n> \n> I need function definitions and structure (called Type in VB) \n> definitions, and yes I have looked in libpq-fe.h, actually this is \n> the placed where the dll is b...
[ { "msg_contents": "I'm in the process of extending PostgreSQL and need a bit of advice\nthat I don't seem to get from the manuals.\n\n- When dynamically linking functions must there be at most one\n function per shared object module or can there be multiple external\n entry points within a single shared objec...
[ { "msg_contents": "We have a serious problem with vacuum locking up our tables for\ntoo long, (large amount of data + large number of updates == long\nvacuum)\n\nAs a hack I'm thinking about using the RULE system to forward select\nqueries and alternate between two backing data tables.\n\nthe concept is:\n\n ...
[ { "msg_contents": "Is anybody considering this? So that people can write program which access\na database via the Internet. What I'm getting at is that we have\napplications which run on our Intranet. They query and update\ndatabases. There is interest in a work at home solution. Since the company\nhas multiple...
[ { "msg_contents": "Hi,\n\nI am interested in how to speed up storage. About 1000\nor more inserts may need to be performed at a time ,\nand before each insert I need to look up its key from\nthe reference table. So each insert is actually a\nquery followed by an insert.\n \nThe tables concerned are :\nCREATE TA...
[ { "msg_contents": "I would like to see if we can't get some amount of OUTER JOIN functionality\ninto the 7.1 release. It seems that the executor implementation should be\npretty simple, at least for the left-join case (which is what people appear\nto need the most). What we are mostly missing is a suitable pa...
[ { "msg_contents": "\nForwarded from the webmaster mailbox, please be sure to include \nwoutdejong@yahoo.com in your responses.\n\n---------- Forwarded message ----------\nDate: Fri, 25 Aug 2000 17:38:23 GMT\nFrom: Wout de Jong <woutdejong@yahoo.com>\nTo: \"webmaster@postgresql.org\" <webmaster@postgresql.org>\n...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\n\nHi!\n\nI'm currently checking how difficult it would be to create something like \nOracle TNS (I think that what it's called) service for the frontend library. \nThe idea is:\n\n1. Modify conninfo_parse() to accept parameters like \"service=myservice\"\n\...
[ { "msg_contents": "I hate these discussions. Endless back and forth -- much ado about nothing. \n Yet...\n\n\"PostgresSQL\" does seem kinda unwieldy and awkward. And the \"SQL\" part does \nseem superfluous since most databases now support SQL in some way shape or \nform. Adding \"SQL\" now seems almost as ...
[ { "msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\n\nI've checked the sources and found out that the implementation is quite \ntrivial. I've modified fe-connect.c and will deploy this modification on our \nsite. Is there any interest in a patch?\n\nThis will allow to have important connection parameters in ...
[ { "msg_contents": "I was a little startled to find that current sources refuse to compile\non a rather old redhat release (4.2). The observed failure is\n\npqcomm.c: In function `StreamConnection':\npqcomm.c:314: `socklen_t' undeclared (first use this function)\n\nwhich is pretty reasonable seeing that socklen...
[ { "msg_contents": "There is a critical PostgreSQL server at SMU (Southern Methodist\nUniversity) that is down. Rebooting does not help and pg_dump fails. \nThey are running 6.5.3. The site is down, and the administrator is\nstuck. The previous pg_dump is four days old.\n\nIf someone is interested in assistin...
[ { "msg_contents": "I noticed you've got some really ugly stuff in gram.y to handle\n\tSELECT * FROM foo UNION JOIN bar\nwhich has a shift/reduce conflict with\n\tSELECT * FROM foo UNION SELECT * FROM bar\nLooks like you resolved this by requiring parens around a UNION JOIN\nconstruct. So, aside from being ugly...
[ { "msg_contents": "CREATE FUNCTION CHANGE_PASSWORD (text, text) RETURNS bool AS '\nBEGIN\nALTER USER $1 WITH PASSWORD ''$2'';\nRETURN ''t'';\nEND;\n' LANGUAGE 'plpgsql';\n\nselect CHANGE_PASSWORD('USER','PASS');\n\nthis get me \"ERROR: parser: parse error at or near \"$1\"\n\ncould I make a function that not re...
[ { "msg_contents": "It seems current cvs has a problem with --enable-multibyte\ngcc -c -I../../../include -O2 -Wall -Wmissing-prototypes -Wmissing-declarations mbutils.c -o mbutils.o\nmbutils.c:178: conflicting types for \u0010g_mb2wchar'\n../../../include/mb/pg_wchar.h:98: previous declaration of \u0010g_mb2w...
[ { "msg_contents": "> > > It is trivial to connect clients and servers across an ssh-piped\n> > > connection. I'm not sure of the details as far as getting \n> things set up\n> > > to be automated for turnkey installations.\n> > > \n> > \n> > Thomas,\n> > \n> > Thanks for the thought. I just found something call...
[ { "msg_contents": "Can someone comment on this?\n\n$ pg_dump -o regression >/dev/null\nCan not create pg_dump_oid table. Explanation from backend: 'ERROR: Illegal class name 'pg_dump_oid'\n\tThe 'pg_' name prefix is reserved for system catalogs\n'.\n--\nTatsuo Ishii\n", "msg_date": "Sun, 27 Aug 2000 20:11...
[ { "msg_contents": "Hi!\n\nWhy does not work this?\n\nCREATE FUNCTION PWDCHG () RETURNS OPAQUE AS '\nBEGIN\nALTER USER utest WITH PASSWORD ''ptest'';\nEND;\n' LANGUAGE 'plpgsql';\n\nselect PWDCHG();\nERROR: typeidTypeRelid: Invalid type - oid = 0\n\n\nand this other?\n\nCREATE FUNCTION PWDCHG () RETURNS bool AS...
[ { "msg_contents": "> > Docs of the SSL stuff is coming up as soon as I get \"final \n> approval\" of \n> > the patch that brings SSL up to working (e.g. either applying or \n> > rejectnig :-). I have a very rough outline so far, but I don't want \n> > to put down too much work into it until I know I am document...
[ { "msg_contents": "\nEarlier this week, I reported getting core dumps with the following bt:\n\n(gdb) where\n#0 0x18271d90 in kill () from /usr/lib/libc.so.4\n#1 0x182b2e09 in abort () from /usr/lib/libc.so.4\n#2 0x80ee847 in s_lock_stuck (lock=0x20048065 \"\\001\", file=0x816723c \"spin.c\", line=127) at s_...
[ { "msg_contents": " Date: Sunday, August 27, 2000 @ 15:00:22\nAuthor: petere\n\nUpdate of /home/projects/pgsql/cvsroot/pgsql\n from hub.org:/home/projects/pgsql/tmp/cvs-serv76663\n\nModified Files:\n\taclocal.m4 configure configure.in \n\n----------------------------- Log Message ------------------------...
[ { "msg_contents": "Those of you with long memories may recall a benchmark that Edmund Mergl\ndrew our attention to back in May '99. That test showed extremely slow\nperformance for updating a table with many indexes (about 20). At the\ntime, it seemed the problem was due to bad performance of btree with\nmany...
[ { "msg_contents": "\n> Since I don't see Chevrolet changing their name to Chevy just because\n> everyone calls it that, or Christopher Chris, Marcus Marc, Robert Bob,\n> etc. why do you feel it necessary to change PostgreSQL to Postgres? \n\nI like this interpretation of short name vs long name, but Marc sais w...
[ { "msg_contents": "Peter Eisentraut <peter_e@gmx.net> writes:\n> Tom Lane writes:\n>> Peter Eisentraut - PostgreSQL <petere@hub.org> writes:\n>>>> Remove configure tests for `signed', `volatile', and signal handler args;\n>>>> the harm potential outweighs the possible benefits.\n>> \n>> Ahem. Should this chang...
[ { "msg_contents": "\nI'm getting:\n\n\"Warning: Unable to connect to PostgresSQL server: Sorry, too many clients \nalready in story_noticias.php on line 7\"\n\nI'm RTFM'ing rigth now, but if anyone can help me, please do !!!!\n\n\nsergio\n\n", "msg_date": "Mon, 28 Aug 2000 13:08:59 -0300", "msg_from": "...
[ { "msg_contents": "\n(Please cc: me in any replies. I'm not on the mailing list ATM, but\n I'd be happy to subscribe if that's preferred or if this turns out to\n be worth pursuing.)\n\nWe've been toying with switching to using SQL for the financial engine\nin GnuCash for a while, and eventually we'll almost c...
[ { "msg_contents": "> I see we have a command\n> SET SESSION CHARACTERISTICS AS TRANSACTION COMMIT {TRUE | FALSE}\n> Where does that come from/fit in? I can't see it in SQL 99.\n\nI found SET SESSION CHARACTERISTICS in my copy of the SQL99 draft docs\nwhich have been discussed on this list. afaik there is no con...
[ { "msg_contents": "I've read article by Theodore Jonhnson\n\"Performance Measurements of Compressed Bitmap Indices\"\nhttp://www.informatik.uni-trier.de/~ley/db/conf/vldb/Johnson99.html\nand is wondering if there are plans to implement bitmap indices\nin postgres. As it stated in the article these indices could...
[ { "msg_contents": "Peter Eisentraut <peter_e@gmx.net> writes:\n> Points taken. I'm reverting it.\n\nGood, thanks for listening...\n\n\t\t\tregards, tom lane\n", "msg_date": "Tue, 29 Aug 2000 10:58:58 -0400", "msg_from": "Tom Lane <tgl@sss.pgh.pa.us>", "msg_from_op": true, "msg_subject": "Re: sig...
[ { "msg_contents": "This patch is for the TODO item\n\n* Disallow LOCK on view \n\nsrc/backend/commands/command.c is the only affected file\n\n-- \nMark Hollomon\nmhh@mindspring.com", "msg_date": "Tue, 29 Aug 2000 11:21:36 -0400", "msg_from": "Mark Hollomon <mhh@mindspring.com>", "msg_from_op": true,...
[ { "msg_contents": "* Mark Hollomon <mhh@mindspring.com> [000829 11:26] wrote:\n> Here is a patch against CVS (without my earlier patch)\n> to disallow\n> \n> LOCK x\n> \n> if x is a view.\n> \n> It does not use the SPI interface.\n\nWaitasec, why?? This can be very useful if you want to atomically lock\nsometh...
[ { "msg_contents": "Hi, I'm new on this list and would like to develop and play around a bit with\nthe postgres source.\nI would like to know where to go (besides the source) to get started. What\nare the features that are been added to future realeses?\nThanks!\n\n-- \n\"And I'm happy, because you make me feel ...
[ { "msg_contents": "Hi,\n\n I am trying to use the CREATE FUNCTION in order to process multiple\ncalculation, and forward at the end multiple instances.\n\nThis is the SQL statement I am using:\n\nCREATE FUNCTION foo(varchar) RETURNS setof myTable\nAS 'UPDATE .......;\nINSERT.......;\nSELECT myTable.field2 from...
[ { "msg_contents": "\nHere's some fun new problems in Pgsql 7.0.2.\n\nMy nightly job failed last night because supposedly the tables already\nexisted. If you do a \\d, you can see the tables. If you issue drop\ntable, look at the output below.\n\nThis happened with two important tables, which I create with the\n...
[ { "msg_contents": "> I'm inclined to think that that is the correct solution and the new\n> approach is simply broken. But, not knowing what Vadim had in mind\n> while making this change, I'm going to leave it to him to fix this.\n\nThanks, Tom! I'll take care about this...\n\n> Although this specific lockup m...
[ { "msg_contents": "Observe:\n\nheap_update()\n{\n /* lock page containing old copy of tuple */\n LockBuffer(buffer, BUFFER_LOCK_EXCLUSIVE);\n\n ...\n\n /* Find buffer for new tuple */\n if ((unsigned) MAXALIGN(newtup->t_len) <= PageGetFreeSpace((Page) dp))\n newbuf = buffer;\n else\n ...
[ { "msg_contents": "\"Barnes, Sandy (Sandra)\" <Sandy.Barnes@Honeywell.com> writes:\n> Platform: PostgreSQL 7.0.2 on RedHat6.2 Linux\n> Test: Testing the creation of large objects. I was putting the large\n> objects into a database table but this \n> test program recreates the error for me without havi...
[ { "msg_contents": "Hiroshi Inoue pointed out that Postgres neglects to do an explicit\ntransaction abort during backend shutdown. For example, in psql\n\tbegin;\n\tdeclare myc cursor for select * from ..;\n\tfetch in myc;\n\t\\q\nwould cause the backend to exit without having released the resources\nacquired f...
[ { "msg_contents": "Mario Weilguni wrote:\n> -----BEGIN PGP SIGNED MESSAGE-----\n>\n> Last week I created a patch for the Postgres client side libraries to allow\n> something like a (not so mighty) form of Oracle TNS, but nobody showed any\n> interest. Currently, the patch is not perfect yet, but works fine for ...
[ { "msg_contents": "I've just been asked how to store unicode text in a postgresql database. The\nproblem as I understand it is that unicode strings may contain binary 0s\nwhich might break string handling. Since I never tried, I think it's better\nto ask here before answering that question. \n\nThe application ...
[ { "msg_contents": "\nAs per my previous post on this matter:\nhttp://www.postgresql.org/mhonarc/pgsql-general/2000-08/msg00326.html\n\n... somebody responded to me in private (IIRC - don't remember the name,\nand can't find it in the archives), saying that this had been fixed in 7.1\n- I assumed this meant it a...
[ { "msg_contents": "Hi,\n\nI wonder what is the status of WAL implementation?\n\n\n", "msg_date": "Thu, 31 Aug 2000 13:07:08 +0800", "msg_from": "\"Alexey Raschepkin\" <apr@sw.com.sg>", "msg_from_op": true, "msg_subject": "WAL" } ]
[ { "msg_contents": "Hi all,\n\nI have seen discussions about iscachable attribute of\nfunctions. Now I'm confused to see a solution in 6.5\n(by Shigeru Matsumoto).\n\n =# explain select * from pg_class where oid=1259;\n\nIndex Scan using pg_class_oid_index on pg_class (cost=0.00..2.01\n\trows=1 width=92) \n\n1)...
[ { "msg_contents": "\n> Tom Lane wrote:\n> > \n> > Mark's patch is OK as is, since it's merely relocating some poorly\n> > written code and not trying to fix it, but someone ought to think\n> > about fixing the code.\n> > \n> \n> I'll take a crack at it.\n> \n> Just out of curiousity, is there technical reason t...
[ { "msg_contents": "\n> The problem here is, that the relkind must change at rule\n> creation/drop time. Fortunately rules on SELECT are totally\n> restricted to VIEW's since 6.4, and I don't see any reason to\n> change this.\n\nI don't see why a real view should still be createable by the ...
[ { "msg_contents": "\n> Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:\n> > I don't see why a real view should still be createable by the old\n> > create table then create rule way.\n> \n> Because we'll need to be able to read dump files created by existing\n> versions of pg_dump. If we don't cop...
[ { "msg_contents": "> I wonder what is the status of WAL implementation?\n\nTesting is still scheduled for Oct 1 or so.\n\nVadim\n", "msg_date": "Thu, 31 Aug 2000 09:07:02 -0700", "msg_from": "\"Mikheev, Vadim\" <vmikheev@SECTORBASE.COM>", "msg_from_op": true, "msg_subject": "RE: WAL" }, { ...
[ { "msg_contents": "\nDo we have any kind of bitwise AND? \n\n select foo from bar where (foo AND 2); \n\nDoesn't work with ints.\n\nVince.\n-- \n==========================================================================\nVince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net\n 128K ISDN...
[ { "msg_contents": "NB: I will be on vacation from 1-Sep to 5-Sep\n\nOn the patches list I sent the following:\n-----------------------------------------\n\nThis patch implements a different \"relkind\"\nfor views. Views are now have a \"relkind\" of\nRELKIND_VIEW instead of RELKIND_RELATION.\n\nAlso, views no l...
[ { "msg_contents": "\nHi, I'm using 7.0.2 and I have a problem with UNION in some subselects,\nnamely the following works:\n\tselect * from a where a.f in (select 1)\nbut this doesn't:\n\tselect * from a where a.f in (select 1 union select 2)\n\nIn the grammar we have :\n in_expr: SubSelect | ...\nbut SubSelec...
[ { "msg_contents": "Thanks for your suggestions, though I've already\nconsidered most of them. (I have a detailed reply\nbelow, interleaved with your mail). \n\nI am considering an option but would need help from\nsomebody who knows how the backend works to be able to\nfigure out if any of the following options ...
[ { "msg_contents": "Peter Eisentraut wrote:\n> Jan Wieck writes:\n>\n> > And it's time to make more use of the relkind attribute. For\n> > 7.2, when we want to have tuple-set returns for functions, we\n> > might want to have structures as well\n>\n> After the fabled query-tree redesign, couldn't y...
[ { "msg_contents": "Peter Eisentraut <peter_e@gmx.net> writes:\n> then it becomes\n> SELECT * FROM (SELECT a, b, c FROM my_table);\n> which would presumably be possible with the new query-tree.\n\nRight, that's exactly how we've been planning to fix the problems\nwith grouped views and so forth.\n\nI am beginnin...
[ { "msg_contents": "\nI always thought that an OID was unsigned ...\n\npgsql=# SELECT oid FROM projects WHERE oid < 0; \n oid \n-------------\n -1727061152\n -548634912\n -548593248\n -886806784\n -1001235776\n -1196613696\n -1198068800\n -1228311424\n -1344696224\n -548591776\...
[ { "msg_contents": "(sorry if you receive this twice)\n\nHi, I'm using 7.0.2 and I have a problem with UNION in some subselects,\nnamely the following works:\n select * from a where a.f in (select 1)\nbut this doesn't:\n select * from a where a.f in (select 1 union select 2)\n\nIn the grammar we ha...
[ { "msg_contents": "Am I right in thinking that the WHERE clause of a query must logically\nbe applied *after* any joins specified in the FROM clause?\n\nFor example, suppose that we have table t1 (x int) containing the\nvalues 1, 2, 3, 4, and table t2 (y int) containing the values 1, 2, 4.\nIt's clear that the ...