threads
listlengths
1
2.99k
[ { "msg_contents": "\n> Bruce Momjian <pgman@candle.pha.pa.us> writes:\n> > You need something that works from the command line, and \n> something that\n> > works if PostgreSQL is not running. How would you restore \n> one file from\n> > a tape.\n> \n> \"Restore one file from a tape\"? How are you going to do ...
[ { "msg_contents": "\n> In reality, very few people are going to be interested in restoring\n> a table in a way that breaks referential integrity and other \n> normal assumptions about what exists in the database. \n\nThis is not true. In my DBA history it would have saved me manweeks\nof work if an easy and eff...
[ { "msg_contents": "\n> \"Ross J. Reedstrom\" <reedstrm@rice.edu> writes:\n> > Any strong objections to the mixed relname_oid solution?\n> \n> Yes!\n> \n> You cannot make it work reliably unless the relname part is \n> the original\n> relname and does not track ALTER TABLE RENAME.\n\nIt does, or should at least....
[ { "msg_contents": "\nOn Wed, 14 Jun 2000, Peter Eisentraut wrote:\n\n> On Tue, 13 Jun 2000, Karel Zak wrote:\n> \n> > Now I have fixed some Makefiles. My idea is add to all contrib modules\n> > Makefile (and allow install contrib matter) and to\n> > top-contrib-directory Makefile.global that define some definit...
[ { "msg_contents": "> It's just not possible to do\n> multiple file renames atomically.\n\nThis is not necessary, since *_<OID> is unique regardless of relname prefix.\n\nAndreas\n", "msg_date": "Thu, 15 Jun 2000 10:41:50 +0200", "msg_from": "Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>", "m...
[ { "msg_contents": "At 10:04 AM 6/15/00 +0200, Zeugswetter Andreas SB wrote:\n>\n>> In reality, very few people are going to be interested in restoring\n>> a table in a way that breaks referential integrity and other \n>> normal assumptions about what exists in the database. \n>\n>This is not true. In my DBA his...
[ { "msg_contents": "CREATE TABLE foo (\n\tname TEXT,\n\ttype CHAR(1),\n\twhen_added TIMESTAMP DEFAULT 'now'\n);\n\nCREATE VIEW mytype AS \n\tSELECT name, when_added FROM foo WHERE type = 'M';\n\nCREATE RULE mytype_insert AS\n\tON INSERT TO mytype DO INSTEAD\n\tINSERT INTO foo (name, type) VALUES (NEW.name, 'M');...
[ { "msg_contents": "\n> >> In reality, very few people are going to be interested in restoring\n> >> a table in a way that breaks referential integrity and other \n> >> normal assumptions about what exists in the database. \n> >\n> >This is not true. In my DBA history it would have saved me manweeks\n> >of work ...
[ { "msg_contents": "I'm seeing what I think is newly-broken behavior for the ftp site. Seems\nto be pointing to the underlying hub.org area rather than the postgres\none.\n\nIs this a problem on my end, or do others see it too?\n\n - Thomas\n\ngolem> ftp postgresql.org\nConnected to postgresql....
[ { "msg_contents": "Hi,\n\nalthough this is more of a general question I thought that the \"Hackers\" might now a better answer for this one.\n\nI am considering a recompile of my RPM installed postgres installation (since I am guessing it was not build using Pentium optimization (and possibly even other optimiz...
[ { "msg_contents": "\n I finish clean up in the contrib tree. Bruce has the patch with it. \n\n Changes:\n\n - add 'LIBPGEASYDIR' to src/Makefile.global \n\n - new pg_dumplo\n\n - I write new contrib/Makefile.global, which include standard\n ../src/Makefile.global. It is because in contrib tree is needful\n ...
[ { "msg_contents": "When the libpq shared library is linked on my system it looks like this:\n\nld -Bdynamic -shared -soname libpq.so.2.1 -o libpq.so.2.1 fe-auth.o\nfe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o pqexpbuffer.o\ndllist.o pqsignal.o -lcrypt -lc\n\nNow if I build a Kerberos IV enabled versi...
[ { "msg_contents": "Hello all,\n\nAs you know, PostgreSQL handles in a restricted way a transaction, falling in\n*ABORT STATE*, when a statement which yields error is entered. Not only the\ntransaction isn't allowed to continue processing statements, until a finishing\nstatement is entered, but also the whole tr...
[ { "msg_contents": "Something changed in 7.02 from 6.3. I used to do this:\n\nCREATE FUNCTION make_date() \n RETURNS opaque\n AS '/usr/pgsql/modules/make_date.so' \n LANGUAGE 'c';\nCREATE TRIGGER make_edate\n BEFORE INSERT OR UPDATE ON bgroup\n FOR EACH ROW\n EXECUTE PROCEDURE make_date(edate...
[ { "msg_contents": "Hellow\n\nIt is 2 days from now that I did not recive any mail from any PostgreSQL lists.\nIs there problems with the PostgreSQL lists or I have to sign it again??\n\nPlease, send responses direct to me: roberto@mha.com.br\n\nThank you\n\nRoberto\n\n", "msg_date": "Fri, 16 Jun 2000 10:1...
[ { "msg_contents": "Greetings.\n\nI'm running into a recurring error on my system that has been running fine\nfor quite a while. I dumped, dropped, created, rebuild and reloaded the\ndatabase (all 2+ gigs) yesterday in the hopes of correcting whatever might\nbe the problem.\n\n[PostgreSQL 6.5.3 on i686-pc-linux...
[ { "msg_contents": "The ODBC driver has trouble with 7.0.x for some apps. 7.0.x has some\nadditional \"error checking\" which rejects some commands appearing inside\nof transactions. Can we consider relaxing this, particularly since we\nare considering making some of these \"rejecting conditions\"\ntransaction-f...
[ { "msg_contents": "I have 2 tables with indices as follows:\n\n\tTable \"activity\" (~4000 rows)\n\t id serial\n\t start_time timestamp not null\n\t stop_time timestamp not null\n\t ...\n\n\tCREATE INDEX activity_start_time ON activity (start_time)\n\tCREATE INDEX activity_stop_time ON activity (...
[ { "msg_contents": "After further thought I think there's a lot of merit in Hiroshi's\nopinion that physical file names should not be tied to relation OID.\nIf we use a separately generated value for the file name, we can\nsolve a lot of problems pretty nicely by means of \"table versioning\".\n\nFor example: VA...
[ { "msg_contents": "I'm probably just missing the point, but why do I have to specify the\nindexname for cluster if the table already has a primary key? Wouldn't\ncluster want to use the primary key for the table (if it exists) anyway?\n\nThanks.\n-Tony\n'\n\n", "msg_date": "Fri, 16 Jun 2000 11:17:04 -0700",...
[ { "msg_contents": "Hi everybody,\n\nI would like first to thank you all for the very good job done in\nPostGreSQL.\n\nYou say that you don't look for performance, but I can tell that\nPostgres on Linux\nis as fast as Sybase on windows.\n\nI use Postgres for a couple of years now, with windows clients and I\nrec...
[ { "msg_contents": "There seems to be little practical reason why we couldn't go along with\nthe standard install modes of:\n\nprograms, shared libraries\t\t0755\t[*]\ndata (libraries, headers, *.sample)\t0644\n\nrather than our current\n\nprogram\t\t\t0555\nstatic library\t\t0644\nshared library\t\t0644 most of...
[ { "msg_contents": "Here is another article. It is taken from chapter 1 of my book:\n\n\thttp://www.oreillynet.com/pub/a/network/2000/06/16/magazine/postgresql_history.html\n\nIt is part of a larger MySQL article:\n\n\thttp://www.oreillynet.com/pub/a/network/2000/06/16/magazine/mysql.html\n\n-- \n Bruce Momjia...
[ { "msg_contents": "Hi,\n\nI have two servers running pgsql. Is there a command to transfer the\ndatabases\nbetween them?\n\nCraig May\n\nEnth Dimension\nhttp://www.enthdimension.com.au\n\n", "msg_date": "Sun, 18 Jun 2000 09:07:07 +1000", "msg_from": "Craig May <craig.may@s2.enthdimension.com.au>", ...
[ { "msg_contents": "Our documentation claims (eg in the CREATE INDEX ref page) that\n\n: The int24_ops operator class is useful for constructing indices on int2\n: data, and doing comparisons against int4 data in query\n: qualifications. Similarly, int42_ops support indices on int4 data that\n: is to be compared...
[ { "msg_contents": "Current cvs compiled on Solaris gives the following error...\n\nIn file included from ../../include/tcop/tcopprot.h:22,\n from pg_proc.c:26:\n/usr/include/setjmp.h:70: conflicting types for `jmp_buf'\n/usr/include/setjmp.h:53: previous declaration of `jmp_buf'\ngmake[3]: *** [...
[ { "msg_contents": "\n> BTW, schemas do make things interesting for the other camp:\n> is it possible for the same table to be referenced by different\n> names in different schemas? If so, just how useful is it to pick\n> one of those names arbitrarily for the filename? This is an advanced\n> version of the ma...
[ { "msg_contents": "\n> OK, to get back to the point here: so in Oracle, tables can't cross\n> tablespace boundaries,\n\nThis is only true if you don't insert more coins and buy the Partitioning\nOption,\nor you use those coins to switch to Informix.\n \n> but a tablespace itself could span multiple\n> disks?\n\...
[ { "msg_contents": "\n> > \"Hiroshi Inoue\" <Inoue@tpf.co.jp> writes:\n> > > Please add my opinion for naming rule.\n> > \n> > > relname/unique_id but\tneed some work\t\tnew \n> pg_class column,\t\n> > > no relname change.\tfor unique-id generation\t\n> filename not relname\n> > \n> > Why is a unique ID better t...
[ { "msg_contents": "\n> It's better than *all* segments of tables in one directory, which is\n> what you get if the segment number is just a component of a flat file\n> name. We have to have a better answer than that for people who need\n> to cope with tables bigger than a disk. Perhaps someone can \n> think o...
[ { "msg_contents": "Can someone comment on this? I still have the old libpq++ changes he\nsubmitted for 7.0. We put some of them in, but skipped the rest because\nit was too close to beta and there were some questions about the API\nchange.\n\n\n> Bruce Momjian wrote:\n> > \n> > I think we only did bug fixes t...
[ { "msg_contents": "Hello.\n\n Dmitry Ishutkin <dima@interbit.ru> created a set of images:\nhttp://web.interbit.ru/dev/postgres/\n Looks good enough to be put on www.PostgreSQL.org. He can change\ncolors or something upon request.\n\nOleg.\n---- \n Oleg Broytmann http://members.xoom.com/phd2.1/ phd2...
[ { "msg_contents": "Adam Haberlach <adam@newsnipple.com> writes:\n> Every time config.h is compiled, I get the following warning--is this\n> something that can/should be easily fixed, or should I figure out\n> which gcc command-line flag turns this off?\n\n> /Scratch/postgres-cvs/pgsql/src/include/config.h:411: ...
[ { "msg_contents": "Can we rename the `examine_subclass' option to something else? Rationale:\n\n* \"class\" is not a term usually used around here or SQL (okay, besides\npg_class, but note \"relname\")\n\n* The naming is conceptually backwards with the SQL99 model (which, in\nabsence of convincingly better idea...
[ { "msg_contents": "Hello-\n\n\tI found the following odd behavior in v7.0.2 when issuing the\n'create group' command. Namely, I cannot create a group named 'trusted'\nunless I use 'insert into pg_group...' syntax. Any other group name works\nas expected... well, at least those that I have tried.\n\n\tCheers, ...
[ { "msg_contents": ">\n\n\n\n> ------------------------------------------------------------------------\n>\n> Subject: Re: int24_ops and int42_ops are bogus\n> Date: Mon, 19 Jun 2000 00:52:28 -0400\n> From: Tom Lane <tgl@sss.pgh.pa.us>\n> To: pgsql-hackers@postgreSQL.org\n> References: <28999.961374238@sss.pgh...
[ { "msg_contents": "I'm having problems with permissions on tables with foreign keys.\nConsider the following tables:\n\ndrop sequence t1_id_seq;\ndrop table t1;\ncreate table t1\n(\n id\t\tserial,\n i\t\tint\t\tnot null,\n unique (i)\n);\n\ndrop sequence t2_id_seq;\ndrop table t2;\ncreate table t2\n(\n id\t...
[ { "msg_contents": "\n> The current discussion of symlinks is focusing on using directory\n> symlinks, not file symlinks, to represent/implement tablespace layout.\n\nIf that is the only issue for the symlinks, I think it would be sufficient\nto \nput the files in the correct subdirectories. The dba can then dec...
[ { "msg_contents": "\n> > > \tCREATE LOCATION tabloc IN '/var/private/pgsql';\n> > > \tCREATE TABLE newtab ... IN tabloc;\n> >\n> > Okay, so we'd have \"table spaces\" and \"database spaces\". \n> Seems like one\n> > \"space\" ought to be enough.\n\nYes, one space should be enough.\n\n> \n> Does your \"database ...
[ { "msg_contents": "\n> My opinion\n> 3) database and tablespace are relatively irrelevant.\n> I assume PostgreSQL's database would correspond \n> to the concept of SCHEMA.\n\nNo, this should definitely not be so.\n\nAndreas\n", "msg_date": "Wed, 21 Jun 2000 15:02:40 +0200", "msg_from": ...
[ { "msg_contents": "\n> My inclindation is that tablespaces should be installation-wide, but\n> I'm not completely sold on it. In any case I could see wanting a\n> permissions mechanism that would only allow some databases to have\n> tables in a particular tablespace.\n\nI fully second that.\n\n> We do need to ...
[ { "msg_contents": "\n> > > Sure, and if the system loading it can not create the \n> required symlinks\n> > > because the directories don't exist, it can just skip the \n> symlink step.\n> > \n> > What I meant is, would you still be able to create tablespaces on\n> > systems without symlinks? That would seem to...
[ { "msg_contents": "\n> The symlink solution where the actual symlink location is not stored\n> in the database is certainly abstract. We store that info in the file\n> system, which is where it belongs. We only query the symlink location\n> when we need it for database location dumping.\n\nSounds good, and al...
[ { "msg_contents": "[ Charset ISO-8859-1 unsupported, converting... ]\n> On Tue, 20 Jun 2000, Bruce Momjian wrote:\n> \n> > What I was suggesting is not to catalog the symlink locations, but to\n> > use lstat when dumping, so that admins can move files around using\n> > symlinks and not have to udpate the databa...
[ { "msg_contents": "Thanks for the quick answers on the requirement for update permission\nto go along with referential integrity. Now I understand things\nbetter. (Perhaps more info for the docs?)\n\nSo if each table access requires locks for update on multiple tables,\nis there any chance of deadlocks? Or a...
[ { "msg_contents": "Is limit ignored in a cursor definition? I just was send a source that ecpg\nseemed to have problems with:\n\n...\nEXEC SQL DECLARE H CURSOR FOR\n select id,name from ff order by id asc limit 2;\nEXEC SQL OPEN H ;\n\nwhile(1){\nEXEC SQL FETCH IN H INTO :id,:name ;\nprintf(\"%d...
[ { "msg_contents": "I see the continuing discussion here about how to specify and manage tablespaces. I'd like to point out how DB2 does it \nsince their approach may be worthy of consideration. I've posted some examples and some comments before the \nexamples.\n\nNote several things about the examples below:\n\...
[ { "msg_contents": "Just a notice:\n\nI tried really hard but Makefile.global as we know it can't work together\nwith a fancy autoconf build system. We already know of the install-sh\nrelative path problem. The next problem is that the automatic makefile\nremaking rules (see bottom of top GNUmakefile.in) can't b...
[ { "msg_contents": "Lamar,\n\nSee:\n\nhttp://support.microsoft.com/support/kb/articles/Q205/5/24.ASP\n\nIMO, its a bad idea to require the use of symlinks in order to be able to put different tablespaces on different drives. For a discussion on how DB2 supports tablespaces see my message entitled:\n \"tablespa...
[ { "msg_contents": "Tom,\n\nDB2 supports an ALTER TABLESPACE command that allows one to add new containers to an existing tablespace. IMO, that's far more supportive of 24x7 usage.\n\nOn Wed, 21 Jun 2000 12:10:15 -0400, Tom Lane wrote:\n\n>The right way to address this problem is to invent a \"move table to\n>ne...
[ { "msg_contents": "> If we bit the bullet and restricted ourselves to numeric filenames then\n> the log would need just four numeric values:\n> \tdatabase OID\n> \ttablespace OID\n\nIs someone going to implement it for 7.1?\n\n> \trelation OID\n> \trelation version number\n\nI believe that we can avoid versions...
[ { "msg_contents": "> > > \trelation version number\n> > \n> > I believe that we can avoid versions using WAL...\n> >\n> \n> How to re-construct tables in place ?\n> Is the following right ?\n> 1) save the content of current table to somewhere\n> 2) shrink the table and related indexes\n> 3) reload the saved(+so...
[ { "msg_contents": "> > Or - create tmp file and load with new content;\n> > log \"intent to relink table file\";\n> > relink table file; log \"file is relinked\".\n> \n> It seems to me that whole content of the table should be\n> logged before relinking or shrinking.\n\nWhy not just fsync tmp files?\n\nVadim\n"...
[ { "msg_contents": "> > > > Or - create tmp file and load with new content;\n> > > > log \"intent to relink table file\";\n> > > > relink table file; log \"file is relinked\".\n> > > \n> > > It seems to me that whole content of the table should be\n> > > logged before relinking or shrinking.\n> > \n> > Why not j...
[ { "msg_contents": "On Thu, 22 Jun 2000 11:17:14 +1000, Giles Lean wrote:\n\n>\n>> 1) Make the entire database Unicode\n>> ...\n>> It also makes sorting and indexing take more time.\n>\n>Mentioned in my other email, but what collation order were you\n>proposing to use? Binary might be OK for unique keys but tha...
[ { "msg_contents": "Attached is a second pass at redesigning backend memory management.\nThis is basically my proposal of 29 April, updated per the subsequent\ndiscussion and a couple of other things that have occurred to me since\nthen. I'm hoping to put this on the front burner pretty soon, so if\nyou have an...
[ { "msg_contents": "Tom,\n\nA \"container\" can be a file or a device or a directory. Here again are examples that I already posted in \nanother thread:\n\nIn the first example there are 3 devices specified as containers. In the second example 3 directories are \nspecified as containers (DB2 therefore makes its ...
[ { "msg_contents": "Code Page is a terminology that predates MS. I certainly first learned of it from IBM documents. \n\u000b\nShift-JIS is code page 932 or 942 (942 cotains about a half dozen more characters than 932). \n\nThe original US IBM PC used Code Page 437. In Europe it used Code Page 850 which is a Lat...
[ { "msg_contents": "> -----Original Message-----\n> From: Peter Eisentraut [mailto:e99re41@DoCS.UU.SE]\n> \n> > My opinion\n> > 3) database and tablespace are relatively irrelevant.\n> > I assume PostgreSQL's database would correspond \n> > to the concept of SCHEMA.\n> \n> A database corresponds...
[ { "msg_contents": "Thus spake Zeugswetter Andreas\n> > darcy@druid.net (D'Arcy J.M. Cain) writes:\n> > > nargs = trigger->tgnargs;\n> > > if (nargs != 4)\n> > > elog(ERROR, \"make_date (%s): %d args\", relname, nargs);\n> \n> The simple answer is, that your procedure does not take four arguments...
[ { "msg_contents": "\nI am considering making some changes to pg_dump, and would appreciate any\nsuggestions/ideas from the list.\n\nThe outline is as follows:\n\n- Add a flag to modify the output of pg_dump so that it is more amenable to\nretrieving parts of the extracted data. This may involve writing the data...
[ { "msg_contents": "> > I believe that we can avoid versions using WAL...\n> \n> I don't think so. You're basically saying that\n> \t1. create file 'new'\n> \t2. delete file 'old'\n> \t3. rename 'new' to 'old'\n> is safe as long as you have a redo log to ensure that the rename\n> happens even if you crash betwe...
[ { "msg_contents": "Well, to me at least the term character set does not define a mapping or encoding. It just specifies a list of characters and their numeric representations or mappings not included. \n\nTo say \"character set mapping\" or \"character set encoding\" might be more complete. Though I tend to use...
[ { "msg_contents": "Can anyone explain the meaning of the following NOTICE:\n\n\tNOTICE: trying to delete portal name that does not exist.\n\nI get these regularly when using pgaccess to view views. Pgaccess\nmakes no direct use of portals (and I can't find any docs on them) so\nI'm lost. It doesn't seem to b...
[ { "msg_contents": "http://linuxworld.com/linuxworld/lw-2000-06/lw-06-S390-3.html\n\nThis article, while on the subject of Linux for IBM System/390\nmainframes, also notes that PostgreSQL was easily brought up on that\nbox....\n\nNow _that's_ a database engine.\n\nThey noted that changes were required to config....
[ { "msg_contents": "Reference integrity module seems to have a serious bug (I use 7.0).\nAlthough the super user gave a SELECT permission to the simple user\non the table \"a\" and ALL permission on the table \"c\" (which references\nto the table \"a\"), the simple user will get an\n\nERROR: a: Permission denie...
[ { "msg_contents": "Please help! Unfortunetely I gave numbers for user names (column \"usename\" in\npg_shadow). Now in 7.0 we have ALTER GROUP, but the statement\n\ntest=# ALTER GROUP anygroup ADD USER 1234;\n\nwhere 1234 can be any number, will result this error message:\n\nERROR: parser: parse error at or ne...
[ { "msg_contents": "inside the backend, if I have a TupleTableSlot, can I find out from what\nbasetable it is referring to or not?\n", "msg_date": "Fri, 23 Jun 2000 10:35:50 +1000", "msg_from": "Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>", "msg_from_op": true, "msg_subject": "PGSQL internal...
[ { "msg_contents": "Hello, newbie here. I need 64-bit sequences. I started looking at\nsequence.h, sequence.c, and some other files, and I have some questions\nbefore I start mucking up your code. :-) (I'd rather do it right and\ncontribute something to the pgsql project.)\n\nBut first, has this issue come u...
[ { "msg_contents": "I'm making consistent accessor functions to all of the special file names\nused in the backend (e.g., \"pg_hba.conf\", \"pg_control\", etc.) and I got to\nthe pid file stuff. I'm wondering why you call the SetPidFile and\nSetOptsFile functions twice, once in pmdaemonize() and once in the\nnon...
[ { "msg_contents": "I have a query crashing the backend and leaving this message in the\nserver log...\n\nWhat does exit status 139 mean? Better still would be a pointer to some\ndocumentation for error codes if such beast exists...\n\nRegards,\nEd Loehr\n", "msg_date": "Fri, 23 Jun 2000 13:16:13 -0500", ...
[ { "msg_contents": "UPDATE members m,payments p SET m.status = 2 WHERE p.paydate > 'now'::datetime - '1 month'::timespan and p.productid = 'xxxxxxx' and m.gid = p.gid\n\ni'm trying to run that query and i'm getting \n\n\"parse error near m\"\n\nbut it looks ok to me \n\ni'm running postgresql 7.0.2 with freebsd ...
[ { "msg_contents": "> Probably the correct way to handle this is to run the foreign key\n> constraint trigger as the user who created the constraint (or\n> something like that) rather than the user making the insert. I'm not\n> sure how hard that would be.\nThe problem is that now using both refint and GRANT/RE...
[ { "msg_contents": "Attached is a first attempt at implementing the classoid feature. It\nworks! Can the postgres gurus comment if I've done it right and point\nout any problems. A lot of it was guess work so I'm sure it can be\ncleaned up some.\n\n-- \nChris Bitmead\nmailto:chris@bitmead.com", "msg_date": "...
[ { "msg_contents": "Can anybody else reproduce this in the current development version?\n\nStart one postmaster in the foreground. Start another one on the same data\ndir in the background on a different port (say -p 8888 -S). It will give\nyou a message about the pid file thing and then it seems to delete the p...
[ { "msg_contents": "Hello all,\n\nI try to write large objects in one table support for postgres and have\nfollowing problem:\n\nI should calculate maximum amount of data I can put into the bytea field.\nTable scheme is:\n\ncreate table pg_largeobject {\n loid oid,\n lastbyte int4,\n data bytea\n);\n\nIf I wi...
[ { "msg_contents": "This is a problem in release 7.0.2.\n\nI had never heard of the truncate command! It seems that it ought to be\ndisallowed on a table that is a target for RI checks, since checking that\ndeletions are OK would frustrate the whole purpose of truncate as opposed\nto delete.\n\n------- Forwarde...
[ { "msg_contents": "Hi all,\nThe following phenomenon has just been reported by\nMikage Sawartari in Japan.\n\nmikage=# CREATE TABLE test (id INTEGER);\nCREATE\nmikage=# CREATE UNIQUE INDEX test_id_ub ON test (id);\nCREATE\nmikage=# INSERT INTO test VALUES (1);\nINSERT 18828 1\nmikage=# INSERT INTO test VALUES (...
[ { "msg_contents": "Can somebody confirm how the executable extensions behave on\nWindows/Cygwin? It seems that the following is true:\n\ncc -o foo ...\n\ncreates a file `foo.exe'.\n\ncc -o foo.exe ...\n\nalso creates a file `foo.exe'. Is that correct?\n\nIt also seems that the make targets need to be written li...
[ { "msg_contents": "Pgaccess currently installs its accessory files into PREFIX/pgaccess,\nwhich isn't really compatible with standard Unix file system layouts. From\nmy reading of things the proper place for it would be\nPREFIX/share/pgaccess. This does not affect users since the file path is\nsubstituted into ...
[ { "msg_contents": "And here is an old nemesis, thought to have been fixed in 7.0,\nreproducible on 7.0beta3 with the following:\n\nDROP TABLE foo;\nCREATE TABLE foo (d date);\nCREATE UNIQUE INDEX date_uidx ON foo(d);\nCREATE UNIQUE INDEX datetime_uidx ON foo(datetime(d));\nINSERT INTO foo (d) VALUES ('17-Jun-19...
[ { "msg_contents": "\n> In my mind the point of the \"database\" concept is to provide a domain\n> within which custom datatypes and functions are available. Schemas\n> will control the visibility of tables, but SQL92 hasn't thought about\n> controlling visibility of datatypes or functions. So I think we will\...
[ { "msg_contents": "Please note that as I've just moved home, my home internet connection is not\nup at the moment, so it's better to send emails about the JDBC driver to my\nwork's address:\n\n\tpetermount@it.maidstone.gov.uk\n\nHopefully, as soon as BT get the new phone line up and running I'll be back\nin bus...
[ { "msg_contents": "\n> Besides which, OID alone doesn't give us a possibility of file\n> versioning, and as I commented to Vadim I think we will want that,\n> WAL or no WAL. So it seems to me the two viable choices are\n> unique-id or OID+version-number. Either way, the file-naming behavior\n> should be the s...
[ { "msg_contents": "\n> The broad approach would be modify the existing pg_dump as little as\n> possible; I am inclined to write the data as SQL (as currently done), and\n> append an 'index' to the output, specifying the offset on the file that\n> each piece of extractable data can be found. The 'restore' option...
[ { "msg_contents": "\n> > > In my mind the point of the \"database\" concept is to \n> provide a domain\n> > > within which custom datatypes and functions are available.\n> >\n> \n> AFAIK few users understand it and many users have wondered\n> why we couldn't issue cross \"database\" queries.\n\nImho the same is...
[ { "msg_contents": "After further thought I do think that a physical restore of a backup \ndone with e.g. tar and pg_log as first file of backup does indeed work.\n\nI had concerns with the incompletely written pg pages, but\nthose will always be last pages in table data files. The problem\nwith this page is imh...
[ { "msg_contents": "Hiroshi Inoue [mailto:Inoue@seiren.co.jp] wrote:\n> > > > > In my mind the point of the \"database\" concept is to \n> > > provide a domain\n> > > > > within which custom datatypes and functions are available.\n> > > >\n> > > \n> > > AFAIK few users understand it and many users have wondered\...
[ { "msg_contents": "Hiroshi Inoue [mailto:Inoue@seiren.co.jp] wrote:\n> > > Besides which, OID alone doesn't give us a possibility of file\n> > > versioning, and as I commented to Vadim I think we will want that,\n> > > WAL or no WAL. So it seems to me the two viable choices are\n> > > unique-id or OID+version-...
[ { "msg_contents": "Vadim wrote:\n> Impossible to recover anyway - pg_control keeps last \n> checkpoint pointer, required for recovery. \n\nWhy not put this info in the tx log itself.\n\n> That's why Oracle recommends (requires?) at least\n> two copies of control file ....\n\nThis is one of the most stupid desi...
[ { "msg_contents": "I wrote:\n> Vadim wrote:\n> > Impossible to recover anyway - pg_control keeps last \n> > checkpoint pointer, required for recovery. \n> \n> Why not put this info in the tx log itself.\n> \n> > That's why Oracle recommends (requires?) at least\n> > two copies of control file ....\n> \n> This ...
[ { "msg_contents": "I've started doing a bit of work on gram.y, and am noticing some new\ncruftiness in the Makefile: if I add tokens to gram.y/keywords.c then I\ncan't just remake in that directory since parse.h is not updated\nelsewhere in the tree.\n\nI believe that the Makefile used to reach up and over in t...
[ { "msg_contents": "At 12:13 26/06/00 +0200, Zeugswetter Andreas SB wrote:\n>After further thought I do think that a physical restore of a backup \n>done with e.g. tar and pg_log as first file of backup does indeed work.\n\nEven if the file backup occurs in the middle of a vacuum?\n\nI like the idea of a non-SQL...
[ { "msg_contents": "At 10:17 26/06/00 +0200, Zeugswetter Andreas SB wrote:\n>\n>A problem I see with an index at file end is, that you will need to read the\n>file twice, and that may be very undesireable if e.g the backup is on tape\n>or a compressed file.\n\nThe proposal has actually come a fairly long way aft...
[ { "msg_contents": "\n> At 12:13 26/06/00 +0200, Zeugswetter Andreas SB wrote:\n> >After further thought I do think that a physical restore of a backup \n> >done with e.g. tar and pg_log as first file of backup does \n> indeed work.\n> \n> Even if the file backup occurs in the middle of a vacuum?\n\nI guess not,...
[ { "msg_contents": "\n> Sanity Check: does fseek work on tapes? If not, what is the \n> correct way to\n> read a particular block/byte from a file on a tape?\n\nThis is usually not possible, meaning that to read backwards you have to\nrewind \nto the beginning of tape, then seek to your position. Same is usually...
[ { "msg_contents": "> BTW we are about to take in tablespace concept. You would\n> need another information(the name of the symlink to a directory\n> ,would be = tablespaceOID) for WAL logging.\n\nDo we need *both* database & tablespace to find table file ?!\nImho, database shouldn't be used...\n\n?\n\nVadim\n",...
[ { "msg_contents": "[Forwarding this here, as I don't know how to answer the second\nquestion.]\n[LRO]\n\n-------- Original Message --------\nSubject: RE: config.sub and config.guess for PostgreSQL compilation on\nLinux S/390\nDate: Mon, 26 Jun 2000 14:15:45 -0400\nFrom: \"Ferguson, Neale\" <NEALE.FERGUSON@ca.c...
[ { "msg_contents": "postgresql 7.0.2\nHPUX 10.20\n\nconfigure --without-CXX --prefix=$HOME/pgsql --enable-cassert --enable-debug\n\ncreate table a ( a integer, b integer );\ncreate table b ( b integer, c integer );\ncreate table c ( c integer, d integer );\n\n-- core dumps\nselect * from a natural join b natural...
[ { "msg_contents": "I am running PostgreSQL on a linux box (Red Hat). I have set everything up\nto successfully communicate with MS-Access (which is on a Windows 98 machine\non my network). From Access I can import tables from PostgreSQL\nsuccessfully. I can also link to PostgreSQL tables and update them from...