threads
listlengths
1
2.99k
[ { "msg_contents": "John Gray wrote:\n> \n> Firstly, I appreciate this may be a hare-brained scheme, but I've been\n> thinking about indexes in which the tuple pointer is not unique.\n> \n> The reason for my interest is storing XML documents in text fields in the\n> database. (It could also help with particular ...
[ { "msg_contents": "I have written a simple bourne shell script which performs all backup\nfunctions, but no restore at this point. I personally find it's very\ngood and keeps each daily backup (gzipped) in it's own dated directory\nunder the parent directory being the current month. It's available at:\n\nhttp:/...
[ { "msg_contents": "Here is my proposal to fix the security problem of storing cleartext\npasswords in pg_shadow. The solution is somewhat complex because we\nhave to allow 7.2 servers to communicate with 7.1 clients, at least for\na short while.\n\nHere is a summary of what we currently do and proposed solutio...
[ { "msg_contents": "> \n> On Monday, June 25, 2001, at 08:04 PM, Bruce Momjian wrote:\n> \n> > I assume we will use MD5 for encryption of pg_shadow passwords. The\n> > letters \"md5\" will appear at the start of the password string and it\n> > will be exactly 35 characters. Vince sent me the code. We \n> > wi...
[ { "msg_contents": "\n\n\tI need to check the scalability of a machine with postgresql and Im doing it \nwith pgbench but Im getting values with a variation of a 40% with the same \npgbench call...\n\n\tJust the same variation if I restart posgresql or overwrite the db...\n\n\tSo just wondering if theres another...
[ { "msg_contents": "Hi, All!\n\nI've developed new data type for PostgreSQL - uniqueidentifier - 128-bit\nvalue claims to be unique across Universe. It depends on libuuid from\ne2fsprogs by Theodore Ts'o. Now I use it in my project. Everybody can grab\nit from\n http://taurussoft.chat.ru/uniqueidentifier-0.1....
[ { "msg_contents": "I started thinking about Tom's idea to implement functions as table\nsource.\n\nTo me, it seems that a very few changes are necessary:\na) parser must be changed to allow functioncall to be a table_ref\n(easy)\n\nb) when a Query node is generated out of such a call \"select * from foo()\"\nit...
[ { "msg_contents": "I have another question for you.\n\nIs it a known bug [in PostgreSQL 7.1.2] in the createlang command that it\nasks for my password 4 times. If I type any of them wrong, it partially\ncreates the language [plpgsql] for the given database, but fails.\n\n[veldy@fuggle veldy]$ createlang plpgsq...
[ { "msg_contents": "Most intelligent database technique: For PostgreSQL and MySQL\n\nMan invented computer because his brain is very slow - today Intel\ncpu runs at 1.5 gigahertz!!.\nThe speed is doubling every 15 months .. this will go on for the next 40\nyears.\n\nBut software is the most time consuming effor...
[ { "msg_contents": "Jan,\n\nwe're thinking about possibility to integrate our full-text search\ninto postgres. There are several problems we should thinking about\nbut for now we have a question about rewrite system.\n\nIs't possible to rewrite SQL query and execute it. Currently we build\nsql query outside of p...
[ { "msg_contents": "\n> For the result from foo() you must somewhere define attributes (names). \n> Where? In CREATE FUNCTION statement? Possible must be:\n> \n> select name1, name2 from foo() where name1 > 10;\n\nYes, optimal would imho also be if the foo() somehow had access to\nthe where restriction, so it ...
[ { "msg_contents": "\n> Let's consider some simple example:\n> \n> create table tst ( a int4, b int4, c int4);\n> \n> select * from tst where a=2 and c=0;\n> \n> we need something like:\n> \n> select * from tst where str and c=0;\n> \n> where str is a string resulting by call ourfunc(table.a, 2)\n> and l...
[ { "msg_contents": "\n> On Tue, Jun 26, 2001 at 10:18:37AM -0400, Tom Lane wrote:\n> > though I would note that anyone who is able to examine the\n> > contents of pg_shadow has *already* broken into your database\n> \n> note: the dbadmin may not be the system administrator, but the dbadmin,\n> by default (with p...
[ { "msg_contents": "\n> #! /bin/sh\n> pgbench -i -s 2 test\n> for i in 1 2 4 8 16 32 64 128\n> do\n> \tt=`expr 640 / $i`\n> \tpgbench -t $t -c $i test\n> \techo \"===== sync ======\"\n\nWith 7.1 you will probably want a checkpoint instead of sync here:\n\tpsql -c \"checkpoint;\" template1 ; sleep 10\nThe sync do...
[ { "msg_contents": "\n> >> For the result from foo() you must somewhere define attributes (names). \n> >> Where? In CREATE FUNCTION statement? Possible must be:\n> >> \n> >> select name1, name2 from foo() where name1 > 10;\n> > \n> > Yes, optimal would imho also be if the foo() somehow had access to the\n> > w...
[ { "msg_contents": "\n> > In my setup the function would be hidden by a view.\n> Its a different problem. Functions returning tables do just that, return\n> tables, they won't care just what from that table you need. Exposing\n> pieces of optimizer to your function doesn't seem to me like a great\n> idea...\n\nO...
[ { "msg_contents": "\n> > For the result from foo() you must somewhere define attributes (names). \n> > Where? In CREATE FUNCTION statement? Possible must be:\n> Function must be returning an existing reltype. I understand its a major\n> restriction, but I can't think of a better way.\n\nYup, that's how Informi...
[ { "msg_contents": "hello,\n\ntrying to migrate production servers form 7.0.2 to 7.1.1 now I need to\ncompile an function written in c and when compiling using following\nincludes:\n\n#include <postgres.h>\n#include <utils/builtins.h>\n#include <utils/palloc.h>\n#include <string.h>\n\nI get following compile err...
[ { "msg_contents": "Hi,\n\nOn UnixWare 711, I've noticed that when using openssl, neither postmaster\nnor psql would start without LD_LIBRARY_PATH=/usr/local/ssl.\n\nNow Makefile uses the -R option to force the load from\n/usr/local/pgsql/lib (or whatever). According to the unixware 711b docs,\none can specifie ...
[ { "msg_contents": "Phillip Jansen <pfj@ucs.co.za> writes:\n> <!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\n> <html>\n> Hi\n> <p>I trying to compare oracle vs postgresql , so I&nbsp;have a table containing\n> about 7.6 mil records but every time I&nbsp;try to do a simple select on\n> the tabl...
[ { "msg_contents": "I propose that initdb should do\n\tREVOKE ALL on pg_largeobject FROM public\nsame as it does already for pg_shadow and pg_statistic. This would\nprevent non-superusers from examining or modifying large objects\nexcept through the LO operations.\n\nThis is only security through obscurity, of ...
[ { "msg_contents": "Please apply attached patch to current CVS.\nIt fixes problem if query contains field (with GiST index) more than 1 time.\nCorrensponding patch for 7.1.2 is available from\nhttp://www.sai.msu.su/~megera/postgres/gist\n\n\tRegards,\n\t\tOleg\n___________________________________________________...
[ { "msg_contents": "Hi,\n\n\n I need to know if in PostgerSQL DB has a utility like in Oracle Release\n8.1.6 contains a new package called \n STATSPACK that improves on the UTLBSTAT/UTLESTAT process (or like the\nUTLBSTAT/UTLESTAT).\n This information is very important since we are testing PostgerSQL\ndata...
[ { "msg_contents": "Hi,\n \n I am testing the PostgerSQL database and I would like to if there any\nbenchmarking tools\n to examine the database and can give a report about the database\nactivity.\n In Oracle you have the Utlbstat/utlestat and statspack (available from\n8.1.6): \n These two bundled with the ...
[ { "msg_contents": "Hello!\n\nI found a funny bug in postgres with c functions. (or feature??)\nLet's say we have got an function like this:\nCREATE FUNCTION hupper(text)\nRETURNS text\nAS '/fun.so'\nLANGUAGE 'c';\n\nand fun.c:\n#include <postgresql/postgres.h>\n#include <postgresql/utils/elog.h>\n#include <post...
[ { "msg_contents": "\tIs it possible to specify some order that multiple triggers should\ntrigger? We have a few triggers that are kicked off after an insert, and\nthey need to be done in a specific order.\n\nThanks for any info,\nMike\n\n", "msg_date": "Thu, 28 Jun 2001 18:16:58 -0700", "msg_from": "Mik...
[ { "msg_contents": "Hi,\n\n OK, all the high-frequently called functions of the pgstat\n stuff are macros (will commit that later today).\n\n Now about the per database configuration. The thing is that I\n don't know if it is worth doing it too detailed. #ifdef'ing\n out the functionality I h...
[ { "msg_contents": "Well, I'm on my way to implement what was discussed on list before.\n\nI am doing it the way Karel and Jan suggested: creating a\npg_class/pg_attribute tuple[s] for a function that returns a setof. \n\nI have a special RELKIND_FUNC for parser, and it seems to go through fine,\nand the final q...
[ { "msg_contents": "Hello, I have a nightly cron script that runs: vacuumdb -a -z. The output\nof the cron script is emailed to me every night. For the last several\nweeks, about 50% of the time I get the following error at least once but\nsometimes more:\n\nNOTICE: RegisterSharedInvalid: SI buffer overflow\nNOT...
[ { "msg_contents": "Idea for a new SQL Data Type:\n\n RECURRINGCHAR\n\nThe idea with RECURRINGCHAR is treated exactly like a VARCHAR in it's\nusage. However, it's designed for table columns that store a small set of\nrepeated values (<=256 values). This allows for a great deal of savings in\nthe storage of the ...
[ { "msg_contents": "Baby girl on Jun 27.\n\nVadim\n\n\n", "msg_date": "Fri, 29 Jun 2001 23:57:43 -0700", "msg_from": "\"Vadim Mikheev\" <vmikheev@sectorbase.com>", "msg_from_op": true, "msg_subject": "Now it's my turn..." }, { "msg_contents": "\n----- Original Message ----- \nFrom: Vadim ...
[ { "msg_contents": "----- Original Message ----- \nFrom: Vadim Mikheev <vmikheev@sectorbase.com>\nSent: Saturday, June 30, 2001 2:57 AM\n\n\n> Baby girl on Jun 27.\n\nCongrats, daddy! :)\n\nSoon, very soon... the babies will replace you guys,\nand will hack PG in the way you never dreamed about! :)\n\nAnybody el...
[ { "msg_contents": "With addition of Portal as RangeTblEntry, we'll have three very distinct\nkinds of RTEs: Relation, Subquery and Portal.\n\nThey share some fields, but there are specific fields for each kind.\n\nTo encapsulate that (save on storage and gain cleanness), there are two\noptions:\n\n1) Create thr...
[ { "msg_contents": "abstime regression test started failing this morning.\n\nSELECT '' AS six, ABSTIME_TBL.*\n WHERE ABSTIME_TBL.f1 < abstime 'Jun 30, 2001';\n\nThis used to select 'current', but doesn't anymore. Ooops.\n\n\t\t\tregards, tom lane\n", "msg_date": "Sat, 30 Jun 2001 17:54:51 -0400", "msg...
[ { "msg_contents": "The description of the FE/BE protocol says:\n\n| The postmaster uses this info and the contents of the pg_hba.conf file\n| to determine what authentication method the frontend must use. The\n| postmaster then responds with one of the following messages:\n[...]\n| If the frontend does not supp...
[ { "msg_contents": "Can someone tell me what do I need to do to get 'tab '(cr tab key =\nCREATE) working in psql. I previously ran postgres on Redhat 6.2 and now\nI am om running Mandrake 8 as my gui interface. I installed postgres\nagain but this feture did not work.\nCan somebody give me some help with this?\n...
[ { "msg_contents": "Is it documented somewhere how to do on-line backups and then how to\nrecover from some event using those backups with no (or minimum) loss of\ndata?\n", "msg_date": "Mon, 02 Jul 2001 13:24:00 -0400", "msg_from": "\"P. Dwayne Miller\" <dmiller@espgroup.net>", "msg_from_op": true, ...
[ { "msg_contents": "I hope I'm not taking too much time from people here...\n\nHere's where I'm now (and don't beat me too hard :)\n\nI'm done with change of RangeTblEntry into three different node types:\nRangeTblEntryRelation,RangeTblEntrySubSelect,RangeTblEntryPortal which\nhave different fields. All the exis...
[ { "msg_contents": "I have been making some notes about the rules for accessing shared disk\nbuffers, since they aren't spelled out anywhere now AFAIK. In process\nI found what seems to be a nasty bug in the code that tries to build\nbtree indexes that include already-dead tuples. (If memory serves,\nHiroshi a...
[ { "msg_contents": "Hi there,\n\n we are developing reporting software and want to support at least one open \nsource alternative to oracle. Things were going very smoothly with postgresql \nand the only problem we are facing is the I get an exception stating that \nwith the current jdbc driver prepared stateme...
[ { "msg_contents": "> > That's gonna have to be fixed. If you're not up for it, don't implement\n> > this. Given that cursors (are supposed to) support FETCH BACKWARDS,\n> > I really don't see why they shouldn't be expected to handle ReScan...\n> I thought only scrollable cursors can do that. What if cursor is...
[ { "msg_contents": "Jean-Francois Leveque wrote:\n>\n> I want to check something before\n> a delete is made.\n>\n> I made a before delete trigger that\n> calls a procedure.\n>\n> The procedure raises an exception\n> when I don't want the delete to be\n> made (I could also have returned NULL,\n> but wouldn't have...
[ { "msg_contents": "Hi\nThis patch againsts postgresql 7.1.2 allows you to control access based on the\nvirtual host address only (virtualhost access type), or both the remote\naddress and the local address (connection access type).\n\nFor example:\n\nconnection all 192.168.42.0 255.255.255.0 192.168.1.42 255.25...
[ { "msg_contents": "I was reading the WAL documentation, and found out that UNDO is going to let \nPostgreSQL allow to make partial rollbacks on invalid transactions.\n\nWhat does this exactly mean? Does it mean that if I have 6 Inserts in between \na begin work - commit work some will get through and the ones w...
[ { "msg_contents": "On Mar 03 Jul 2001 23:13, you wrote:\n> Bill Studenmund <wrstuden@zembu.com> wrote:\n> > sourceforge for one. They were using MySQL, then changed.\n>\n> Did they really switch though? Tim Perdue's articles\n> on the subject are really good, but I wasn't sure if he\n> really did the switch, o...
[ { "msg_contents": "> On further thought, btbuild is not that badly broken at the moment,\n> because CREATE INDEX acquires ShareLock on the relation, so\n> there can be no concurrent writers at the page level. Still, it\n> seems like it'd be a good idea to do \"LockBuffer(buffer,\nBUFFER_LOCK_SHARE)\"\n> here, a...
[ { "msg_contents": "> With stock PostgreSQL... how many committed transactions can one lose\n> on a simple system crash/reboot? With Oracle or Informix, the answer\n> is zero. Is that true with PostgreSQL in fsync mode? If not, does it\n\nIt's true or better say should be, keeping in mind probability of bugs.\n\...
[ { "msg_contents": "Has anyone thought about adding SNMP support to PostgreSQL? RFC1697\ncontains the MIB file for RDBMSs. Has anyone worked with a RDBMS that\nsupports SNMP and, if so, did they find it useful? I'm just learning\nabout SNMP, but it seems that it has the potential to be useful.\nThoughts?\n\nN...
[ { "msg_contents": "Hi Dear:\n\n I am using Postgres 7.0 on RedHat Linux 6.3 right now. I wanna know\nis there transaction log in PostGres 7.0? I know there is WAL in 7.1. I\nam also thinking to upgrade to 7.1.2 too. I have read a lot of message\nin the PostgreSQL mailing list archive which is about the WAL.\...
[ { "msg_contents": "\n> I imagine a daemon extracting redo log entries from WAL segments, \n> asynchronously. Mixing redo log entries into the WAL allows the WAL \n> to be the only synchronous disk writer in the system, a Good Thing.\n\nThis comes up periodically now. WAL currently already has all the info\ntha...
[ { "msg_contents": "Hi all,\n\nwhen a new table or field is created without quotes, it is assumed to be \ncase-insensitive. Herefore I have some questions:\n\n- Is it SQL-92-conform to handle \"test\" like test without quotes, or \nshouldn't it be test forced to lowercase?\n\n- Oracle returns this no_matter_what...
[ { "msg_contents": "Hi,\n\nCan someone explain why the following query takes 1 second when using \nLIKE and takes 30 seconds when replacing LIKE by = in the WHERE ?\n- instance_Attribute has 45 rows and Influence has 5 rows.\n- Postgresql 7.1\n\nRegards\n=====================================\nSELECT\nE1A1.nam...
[ { "msg_contents": "Issuing the following ( admittedly bogus ) statement against 7.1.1\n\nCREATE TABLE dir_suppliers_var_prodtype (\n dir_suppliers_var_prodtype_id INTEGER ,\n dir_suppliers_var_id integer DEFAULT 0 NOT NULL,\n prodtype_id smallint DEFAULT 0 NOT NULL,\n PRIMARY KEY\n(dir_suppliers_var_prodt...
[ { "msg_contents": "Hi,\n\nCan someone explain why the following query takes 1 second when using \nLIKE and takes 30 seconds when replacing LIKE by = in the WHERE ?\n- instance_Attribute has 45 rows and Influence has 5 rows.\n- Postgresql 7.1\n\nRegards\n=====================================\nSELECT\nE1A1.nam...
[ { "msg_contents": "\n> Can someone explain why the following query takes 1 second when using \n> LIKE and takes 30 seconds when replacing LIKE by = in the WHERE ? \n\nBecause there is no optimization built in, that notices, that your\nstring does not contain a wildcard and would translate the restriction \nco...
[ { "msg_contents": "\n> > > > I imagine a daemon extracting redo log entries from WAL segments, \n> > > > asynchronously. Mixing redo log entries into the WAL allows the WAL \n> > > > to be the only synchronous disk writer in the system, a Good Thing.\n> > > \n> > > This comes up periodically now. WAL currently...
[ { "msg_contents": "\n> > Also, isn't the WAL format rather bulky to archive hours and hours of?\n\nIf it were actually too bulky, then it needs to be made less so, since that\ndirectly affects overall performance :-) \n\n> > I would expect high-level transaction redo records to be much more compact;\n> > mixed ...
[ { "msg_contents": "Hi,\n I have compiled with --with-multibytes,\n but the JDBC really can not recognize chinese character.\n\n Any suggestion is kind for me.\n\n malix \n shanghai china\n\n\n_____________________________________________\n[�㲻���� ��������] ����ר�úţ�95963���û���/���룺263\n��ױƷ�����ػݣ���...
[ { "msg_contents": "\n\n Hello, hackers!\n\n\n I am running postgresql 7.1 on a SMP Linux box. It runs, but it never pass a \nloadavg of 0.4, no matter how I try to overload the system.\n\n The same configuration, the same executable, the same test on a non-SMP \nmachine gives a loadavg of 19.\n\n That means tha...
[ { "msg_contents": "After porting a database from FoxPro to PostgreSQL, one of the basic\nqueries that is used throughout the application now takes ~ 4 secs to\nrun, where it took ~ 40 usecs to run in FoxPro. I've been trying to use\nEXPLAIN to give me optimization hints, but I'm not sure what I'm looking\nat. ...
[ { "msg_contents": "I don't recall, has it ever been considered to compare the number of\nactual result rows against the estimate computed by the optimizer and then\ndraw some conclusions from it? Both numbers should be easily available.\nPossible \"conclusions\" might be suggesting running analyze, suggesting\...
[ { "msg_contents": "> What I'm wondering is if you had any other intended use for \"mark for\n> cleanup\" than VACUUM. The cheapest implementation would allow only\n> one process to be waiting for cleanup on a given buffer, which is OK\n> for VACUUM because we'll only allow one VACUUM at a time on a relation\n>...
[ { "msg_contents": "[Repost from July 1. Hasn't made it to the list yet.]\n\nThe description of the FE/BE protocol says:\n\n| The postmaster uses this info and the contents of the pg_hba.conf file\n| to determine what authentication method the frontend must use. The\n| postmaster then responds with one of the f...
[ { "msg_contents": "I have purchased the Solaris source code from Sun for $80. (I could\nhave downloaded it for free after faxing them an 11 page contract, but I\ndecided I wanted the CD's.) See the slashdot story at:\n\n\thttp://slashdot.org/article.pl?sid=01/06/30/1224257&mode=thread\n\nMy hope is that I can...
[ { "msg_contents": "Greetings,\n\nI am going over the use of select() for a server I'm writing and I \n*thought* I understood the man page's description for the use of the first \nparameter, nfds.\n\n From MAN:\n\nThe first nfds descriptors are checked in each set; i.e., the descriptors \nfrom 0 through nfds-1 i...
[ { "msg_contents": "\n> > In other words, we keep the page images and row records in one file so\n> > we can do one fsync, but once we have written the page, we don't want to\n> > store them for later point-in-time recovery.\n> \n> What we'd want to do is strip the page images from the version of the\n> logs tha...
[ { "msg_contents": " \n> > > Also, isn't the WAL format rather bulky to archive hours and hours of?\n> > \n> > If it were actually too bulky, then it needs to be made less so, since\n> > that directly affects overall performance :-) \n> \n> ISTM that WAL record size trades off against lots of things, including \...
[ { "msg_contents": "\nComming from Oracle, I was disapointed that\nthe users were not \"per individual database\".\n\nI had to promote my database owner to superuser\nto make it able to create users (I didn't want\nto su to postgres for user creation).\n\nIs there any chance that this will change in\nthe future ...
[ { "msg_contents": "CVSROOT:\t/home/projects/pgsql/cvsroot\nModule name:\tpgsql\nChanges by:\twieck@hub.org\t01/07/06 09:40:47\n\nModified files:\n\tsrc/backend/rewrite: rewriteHandler.c \n\nLog message:\n\tFire rule actions ON INSERT after original statement (if not INSTEAD).\n\t\n\tJan\n\n", "msg_date": "F...
[ { "msg_contents": "\n> >> Ideally the archiving\n> >> process would also discard records from aborted transactions, but I'm\n> >> not sure how hard that'd be to do.\n> \n> > Unless we have UNDO we also need to roll forward the physical changes of \n> > aborted transactions, or later redo records will \"sit on a...
[ { "msg_contents": "\n> Another issue is \"physical log\" if first modification after checkpoint\n> was from an aborted txn. Now because you need to write that physical log\n> page you will also need to write the abort to pg_log ...\n\nForget that part, sorry, how stupid. We were getting rid of those pages anywa...
[ { "msg_contents": "Hi all,\n\nI am having the following problems using Postgres 7.1.2 with clients which\nhave long transactions:\n\nIf there is a transaction running when 'vacuumdb -a -z' is run (as a cron\njob) it stops running at that database till the transaction completes. That\nis not so much of a proble...
[ { "msg_contents": "> Good point. We'd have to recognize btree splits (and possibly some\n> other operations) as things that must be done anyway, even if their\n> originating transaction is aborted.\n> \n> There already is a mechanism for doing that: xlog entries can\n> be written without any transaction identi...
[ { "msg_contents": "anybody knows about \t amiint\n\npg_log relation is created by this thing and need to\nknow what it is??\n\n*\t first open the log and time relations\n*\t (these are created by amiint so they are guaranteed\nto exist)\n\nRegards, J-P\n\n\n\n__________________________________________________\...
[ { "msg_contents": "Gunnar R�nning\twrote:\n> \n> * Peter Eisentraut <peter_e@gmx.net> wrote:\n> |\n> | Jean-Francois Leveque writes:\n> | \n> | > Comming from Oracle, I was disapointed that\n> | > the users were not \"per individual database\".\n> | \n> | > Is there any chance that this will change in\n>...
[ { "msg_contents": "Vitalino writes:\n\n> I have some problem with the Postgres user authentication. A user\n> with password was created by me, but when I tried to enter in psql using\n> that user I received a fail mesage.\n>\n> $ psql -W template1 pagano\n> Password:\n> psql: Peer authentication failed for ...
[ { "msg_contents": "Greetings,\n\nI'm working with pqlib in asynchronous mode and I have a question about \nPQgetResult. I have this situation:\n\nsubmit a query via PQsendQuery()\nflush to the backend with PQflush()\n\nset my read descriptor on the socket and enter a select()\n\nselect returns read_ready on th...
[ { "msg_contents": "I suppose few people have remembered that today is what could be\nconsidered the 5th anniversary of the PostgreSQL project. Cheers for\nanother five years!\n\n\nhttp://www.ca.postgresql.org/mhonarc/pgsql-hackers/1999-10/msg00552.html\n\n-- \nPeter Eisentraut peter_e@gmx.net http://funktu...
[ { "msg_contents": "When adding unique keys:\n\n* If you do this, you get two unique keys (7.0.3):\n\ncreate table test (int4 a, int4 b);\ncreate unique index indx1 on test(a, b);\ncreate unique index indx2 on test(a, b);\n\nThen you get this:\n\n Table \"test\"\n Attribute | Type | Modifier\n-------...
[ { "msg_contents": " \n> My feeling is that the restrictions are stringent enough to eliminate\n> most of the interesting uses of views, and hence an automatic rule\n> creation feature is not nearly as useful/important as it appears at\n> first glance.\n\nThe most prominent of the \"interesting uses\" probably b...
[ { "msg_contents": "Anyone maintaining generic autoconf scripts for linking against libpq, \ni.e., returns path to libpq-fe.h and proper link options?\n\nTim\n\n-- \nTimothy H. Keitt\nDepartment of Ecology and Evolution\nState University of New York at Stony Brook\nStony Brook, New York 11794 USA\nPhone: 631-632...
[ { "msg_contents": "Ok, i've been told to bring this up on this mailing list, so, I do so:\n\nrather than kill myself re-explaining, i'll just cut&paste my email\ncorrespondence.\n\nI said:\ncan't create timestamp field (only timestamp with time zone)\n\nthe response was:\n\nThose are the same data types.\n\nthe...
[ { "msg_contents": "When someone issues this command:\n\nALTER TABLE test ADD UNIQUE (a, b);\n\nWhat happens when:\n\n1. A non-unique index is already defined over (a, b)\n\n\t- Either add new index or promote existing one to unique?\n\n2. A non-unique index is already defined over (b, a)\n\n\t- As above?\n\n3. ...
[ { "msg_contents": "Here is a message about finding a target date for Mozilla's 1.0 release.\nI found the article sobering:\n\n\thttp://www.mozillazine.org/articles/article1958.html\n\n-- \n Bruce Momjian | http://candle.pha.pa.us\n pgman@candle.pha.pa.us | (610) 853-3000...
[ { "msg_contents": "\nAnyone know why I could possibly get this error? This doesn't happen\ndeterministically.\n\nWaitOnLock: error on wakeup - Aborting this transaction\n\nI also got this notice:\n\nNOTICE: Deadlock detected -- See the lock(l) manual page \n\n---\n\nActually, what I'm looking for in this mail ...
[ { "msg_contents": "Hi all,\n\nbecause no one noticed my last question, please forgive me this repost, but I \npromised my boss to get an answer to this questions.\n\nHere they are:\n\nWhen a new table or field is created without quotes, it is assumed to be\ncase-insensitive. Herefore I have some questions:\n\n-...
[ { "msg_contents": "Hi:\nA really simple question: I wanna set up some WAL related config\nparameter. I am wondering is it the same to add those parameter on\npostgresql.conf as to add them on /etc/rc.d/init.d/postgres.init??\n\n", "msg_date": "Tue, 10 Jul 2001 17:14:55 +0800", "msg_from": "Harry Yau <ha...
[ { "msg_contents": "\n> When a new table or field is created without quotes, it is assumed to be\n> case-insensitive. Herefore I have some questions:\n> \n> - Is it SQL-92-conform to handle >\"test\"< like >test< without quotes, or\n> shouldn't it be >test< forced to lowercase?\n\nI do not understand this questi...
[ { "msg_contents": "If you have time, take a quick look at\n\nhttp://acidlab.sourceforge.net/perf/acid_perf.html\n\nPostgreSQL has serious scalability problems with snort + acid. Any\nadvices?\n\n(Now I'm using MySQL with my SNORT/ACID setup, but I'm willing to\nchange to PostgreSQL if more tests are needed)\n\n...
[ { "msg_contents": "Hi,\n\nI try postgresql V 7.1.2 under solaris 2.8 ( patch + the last version ) and i use directio implementation\nfor ufs . \nImproved UFS Direct I/O Concurrency (Quick I/O Equivalent) \nSolaris 8 1/01 update release allows concurrent read and write access to regular UFS files. As databases g...
[ { "msg_contents": "\n> > > > > > > Can someone tell me what we use indislossy for?\n> > > >\n> > > > Ok, so the interpretation of this field is:\n> > > > \tA match in the index needs to be reevaluated in the heap tuple data,\n> > > > \tsince a match in the index does not necessarily mean, that the heap tuple\n>...
[ { "msg_contents": "I have 'select ... from cursor foo, tables ...' working, and halfway done\nwith functions-as-result sets.\n\nA few questions to gurus:\n\na) Currently, I have a shift-reduce conflict, because cursor is a valid\nTokenId. It can be resolved by removing it from list of TokenId, but if\nsomeone w...
[ { "msg_contents": "\tIs it possible to trick pg/sql to allow passing of the NEW record\ninto a function? I've got a trigger that gets kicked off before an insert\nand I need to call another function and pass that record in, but doing a\nperform activate_event(NEW); /* my function is activate_event(OPAQUE) */\n\...
[ { "msg_contents": "\nIs there any good reason to use VARCHAR over TEXT for a string field? ie.\nperformance hits, etc.\n\nOther than running into the row size limit problem, are there any large\nstorage / performance penalties of using TEXT for virtually all strings?\n\nFor ex. A phone number. This field probab...
[ { "msg_contents": "Hi,\n\nWe (SRA) have done the translation of PostgreSQL 7.1 docs into\nJapanese. They can be freely available at\nhttp://osb.sra.co.jp/PostgreSQL/Manual/.\n--\nTatsuo Ishii\n", "msg_date": "Wed, 11 Jul 2001 13:15:35 +0900", "msg_from": "Tatsuo Ishii <t-ishii@sra.co.jp>", "msg_from...
[ { "msg_contents": "Hello.\n\nI was just curious if you guys would accept a feature which would allow\nfor the generation of non-standard messages for the violation of index,\ncheck, and referential integrity constraints. I understand that Peter\nE's proposal regarding error messages would allow clients to deter...
[ { "msg_contents": "\n> Then, when the UNIQUE constraint of the index is violated, instead of\n> the message:\n> \n> 'Cannot insert a duplicate key into a unique index i_test1'\n> \n> the client application would receive:\n> \n> 'An employee with a matching Social Security number already exists'\n\nI would only ...
[ { "msg_contents": "Has it ever been considered to (optionally) use the iconv interface for\ncharacter set conversion instead of rolling our own? It seems to be a lot\nmore flexible, has pluggable conversion modules (depending on the\nimplementation), supports more character sets. It seems to be available\non ...
[ { "msg_contents": "\nhello all.\nIs there a way to config the postmaster\nto log in a file all connections and querys to each database?\n\nthanks...\n", "msg_date": "11 Jul 2001 18:28:17 -0000", "msg_from": "\"gabriel\" <gabriel@workingnetsp.com.br>", "msg_from_op": true, "msg_subject": "LOG PgS...
[ { "msg_contents": "I must say, I am having more trouble keeping up with the email traffic. \nIt is taking days just to catch up to current emails because some of the\nemails need special attention. I am going as fast as I can. I think I\nhave one more week of emails to go through before I am current. \nHopefu...