threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "\nMorning all...\n\n\tI haven't been ignoring the messages...will have it fixed by end\nof weekend...getting ADSL installed at home tomorrow afternoon, which\nmeans that I finally have enough bandwidth to work on the 'Net without\nfalling asleep ...:)\n\n\n",
"msg_date": "Thu, 30 Jul 1998... |
[
{
"msg_contents": "Hi,\n\nBelow is an example of my query, which returns no plan and produces\nFATAL 1: palloc failure: memory exhausted while postgres 'eats'\nalmost 113 Mb of RAM. This happens with pgsql 6.3.2+patches plus latest\nVadim's one on Linux 2.0.35 libc5. Sorry for variable names :-)\nI remember di... |
[
{
"msg_contents": "unsubscribe\n\n\n\n",
"msg_date": "Fri, 31 Jul 1998 06:13:54 +0200",
"msg_from": "Zoltran <ZOLTRAN@santandersupernet.com>",
"msg_from_op": true,
"msg_subject": "[HACKERS] unsubscribe"
}
] |
[
{
"msg_contents": "I have succeeded in making OR clauses use indexes. I have not dealt\nwith some of the more complex issues like x=3 or y=5 as Vadim mentioned,\nbut at least it works.\n\n\ttest=> select * from test where x=102532 or x=102533;\n\t x\n\t------\n\t102532\n\t102533\n\t(2 rows)\n\t\n\ttest=> e... |
[
{
"msg_contents": "Vadim, bright as always wrote: \n> ....\n>9. ObjExclusiveLock - acquired by DROP/ALTER.\n>\n>: SELECT doesn't aquire any type of lock except of \n> AccessSharedLock but this is short-term lock and would we\n> like disallow DROP TABLE that was read by some running\n> transaction ?\n\nI woul... |
[
{
"msg_contents": "Vadim wrote:\n>Bruce Momjian wrote:\n>> \n>> I have succeeded in making OR clauses use indexes. I have not dealt\n>> with some of the more complex issues like x=3 or y=5 as Vadim mentioned,\n>> but at least it works.\n>> \n>> test=> select * from test where x=102532 or x=102533;\n>\n... |
[
{
"msg_contents": "When running postgresql inside gdb, I have always found it difficult to\ndump out structures. Here is something I found, that I have added to\nthe developers FAQ:\n\n---------------------------------------------------------------------------\n\nYou can print nodes easily inside gdb. First, t... |
[
{
"msg_contents": "> how can I workaround a foreign key constraint (maybe using check constraint?, how?)\n> when do you think foreign key constraint will be implemented?\n\nIt's best to post questions to the Postgres mailing lists, since others\nmay have better answers than I. However, I think you can use \"tri... |
[
{
"msg_contents": "Hi,\n\nI was having trouble with user authentication, so I submerged myself in \nthe source (UTSL ie. Use The Source luke ;) to see if I could figure out \nwhat I was doing wrong:\n\nWhile using passwords stored in pg_shadow (pg_user), I cannot connect to \nthe backend using the 'password' au... |
[
{
"msg_contents": "While testing my 6.4 patch to allow functions/expressions to be\nspecified in the ORDER/GROUP BY clause (and not in the target list) I\ncame across a nasty little bug. A segmentation fault gets thrown\nsomewhere in replace_agg_clause() when using aggregates, in combination\nwith a func... |
[
{
"msg_contents": "\nVadim, would you please review this code, and let me know if it is\ncorrect. I am unsure about the calls to ExecStoreTuple(), ExecQual()\n(is proper context used?), and placement of ReleaseBuffer(). Do I need\nto free the tuple buffer if I decide it doesn't meet my ExecQual test?\n\nYou w... |
[
{
"msg_contents": "Here is a comment in path/indxpath.c that says they don't want to use\nmulti-key indexes with OR clauses. Of course, we now support multi-key\nindexes, and this code was disabled anyway because it was broken. (In\nfact, it was disabled by having SingleAttributeIndex() always return\nfalse.\... |
[
{
"msg_contents": "I have installed my changes to allow use of indexes with OR clauses. It\nis not perfect, but passes the regression tests. It is certainly ready\nfor people to try it out.\n\n90% of the code was already there, but disabled because it was broken. \nCleanup, debugging, and some additional code... |
[
{
"msg_contents": "Just to ensure this is not a typo\n running configure in the latest cvs tree I noticed MULTIBYE - does it typo ?\n(I remember MULTIBYTE ) Also in configure used MULTIBYTEB which I also\ncouldn't find in source.\n\n\tOleg\n\n_____________________________________________________________\nOleg B... |
[
{
"msg_contents": "\nI'm attempting to use SPI because it seems I can't call a function\nwith a view as the argument, and the information is in multiple\ntables. But every time I call SPI_connect, it fails. I compiled the\nbackend with debugging information, but it isn't very clear what is\nhappening. is the... |
[
{
"msg_contents": "\nWell, initdb doesn't give the same errors, but it's still failing. Now\nit's just saying:\n\ninitdb: could not create template database\ninitdb: cleaning up by wiping out /usr/local/dbase/data/base/template1\n\nwith no other indication that it's failing. Heres the last bit of the\ndebug:\n\... |
[
{
"msg_contents": "I learned the hard way last night that the postmaster's password\nauthentication routines don't look at the pg_shadow table. They\nlook at a separate file named pg_pwd, which certain backend operations\nwill update from pg_shadow. (This is not documented in any user\ndocumentation that I co... |
[
{
"msg_contents": "\nIs this a bug that the index doesn't work on floats or is it a datatype\nmismatch thing?\n\n-----\n\ntemplate1=> create table foo (x float4, y float4);\nCREATE\ntemplate1=> create index foox on foo(x);\nCREATE\ntemplate1=> create index fooy on foo(y);\nCREATE\ntemplate1=> insert into foo va... |
[
{
"msg_contents": "Hello!\n\nI am developing a web interface to postgresql. Basically using ePerl, \nJavascript, and apache. The other mailing lists didn't seem appropriate. \n\nI am open to using another language interface besides ePerl. I didn't go\nwith php or Embperl because I just wanted basic perl command... |
[
{
"msg_contents": "Don't worry, I won't post here anymore, I think I found the appropriate\nmailing list \"interfaces\" as a better choice and leave you guys at the\nreal work. \n\nBy the way, thanks for all hard work you guys have been doing!!!!\n\nMark\n\n",
"msg_date": "Sun, 2 Aug 1998 22:05:41 -0400 (ED... |
[
{
"msg_contents": "I have updated the backend flowchart so it is narrower for low\nresolution monitors, and I have added color to make it clearer.\n\nYou can view it on www.postgresql.org under documentation, or in the\ncurrent CVS tree in tools/backend/.\n\n-- \nBruce Momjian | 830 Bl... |
[
{
"msg_contents": "Vadim Mikheev wrote:\n> \n> Andreas Zeugswetter wrote:\n> >\n> > I would say allow the drop table, of course only if no update or\n> > intent update (select for update) lock is on it.\n> > This is how Informix behaves. Otherwise it will become very\n> > hard to drop tables altogether.\n> \n> ... |
[
{
"msg_contents": "Hi,\n\nHow many files really needed for postgres ?\nOn my Linux box I checked this by lsof and found 443 open files (and sockets)\nby 7 backends + 1 postmaster ?\nThis is amazing. Do postgres really needs to keep so much open files ?\nI use apache+mod_perl and Apache::DBI for authent./authori... |
[
{
"msg_contents": "\n\t\n>>\tbower@image.Kodak.COM (J Christopher Bower) writes:\n\t> I decided to debug the 6.1 pg_dump source and determined that the core dump \n\t> occured dumping tblinfo cleanup. Specifically when structures allocated for \n\t> sequence tables are being cleaned up.\n\t\n\t\n>>\tIt looks l... |
[
{
"msg_contents": "On Sun, 2 Aug 1998, Patrick Michael Kane wrote:\n\n> Date: Sun, 2 Aug 1998 11:38:39 -0700\n> From: Patrick Michael Kane <modus@pr.es.to>\n> Reply-To: modperl@apache.org\n> To: modperl@apache.org\n> Subject: Re: How to rid off persistent database connection ?\n> \n> On Sun, Aug 02, 1998 at 08:... |
[
{
"msg_contents": "unsubscribe fcheese@bellsouth.net\n\n",
"msg_date": "Mon, 03 Aug 1998 09:59:42 -0400",
"msg_from": "fcheese <fcheese@bellsouth.net>",
"msg_from_op": true,
"msg_subject": "(no subject)"
}
] |
[
{
"msg_contents": "It appears to me that there is a bug in gram.y. From looking at the code\n(while working on ecpg) it seems that it doesn't accept a createdb with th\neoption: with location = ... but without the option with encoding = ...\n\nMichael\n-- \nDr. Michael Meskes\t\tmeskes@online-club.de, meskes@de... |
[
{
"msg_contents": "\nIt's me and them indexes again. This time back to text.\n\nWhat is the difference (as far as an index is concerned) between:\n\nselect city from locations where lower(city) = lower('st. ignace');\n\nand \n\nselect city from locations where lower(city) = 'st. ignace';\n\nThe index was creat... |
[
{
"msg_contents": "-----BEGIN PGP SIGNED MESSAGE-----\n\nI'm trying to get Keystone to work with PostgreSQL. One of the PHP\nfunctions they use retrieves attribute information on a table to find\nthe primary key (actually, it retrieves attribute information on a\ncolumn; it is very MySQL-oriented).\n\nI can't ... |
[
{
"msg_contents": "I have changed EXPLAIN VERBOSE to pretty-print the plan, rather than\noutput the text as a long string.\n\n-- \nBruce Momjian | 830 Blythe Avenue\nmaillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026\n + If your life is a hard drive, | (61... |
[
{
"msg_contents": "Can you tell me, please, how to construct a varlena (to be returned by\na function).\n\nI see it is declared as an int and a 1-byte array; I don't know how to\nassign a longer string in place of that 1-byte array; the compiler\ncomplains about incompatible types, whatever I do.\n\nThank you.\... |
[
{
"msg_contents": "I am new to SQL and was wondering how I would go\nabout selecting records from my database based on \nthe age of a date/time stamp.\n\nFor example if I wanted to select records older than\n12 hours or 1 day.\n\nAny help would be appreciated.\n\nThanks,\n\nWill McCracken\n",
"msg_date": "T... |
[
{
"msg_contents": "EXPLAIN VERBOSE now prints the plan to your screen, and pretty-prints\nthe plan to the postmaster log file.\n-- \nBruce Momjian | 830 Blythe Avenue\nmaillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026\n + If your life is a hard drive, | (... |
[
{
"msg_contents": "> Log Message:\n> MergeSort was sometimes called mergejoin and was confusing. Now\n> it is now only mergejoin.\n\nThis text is wrong. I meant to say:\n\nMergeJoin was sometimes called mergesort in the code and was confusing. \nNow it is now only mergejoin.\n\n-- \nBruce Momjian ... |
[
{
"msg_contents": "Let's say we have a table with two entries:\n\nname\tnr\n----------\nfoo\t1\nbar\t2\n\nand a C program doing the following:\n\n...\ni=1;\nexec sql declare C cursor for select name from table where nr=:i;\ni=2;\nexec sql open C;\n...\n\nWhich row will be selected?\n\nI guess I'll try Oracle as... |
[
{
"msg_contents": "I just checked with Oracle. The declare cursor command is ignored by Oracle,\nonly an open cursor is issued.\n\nMichael\n-- \nDr. Michael Meskes\t\tmeskes@online-club.de, meskes@debian.org\nGo SF49ers! Go Rhein Fire!\tUse Debian GNU/Linux! \n",
"msg_date": "Tue, 4 Aug 1998 19:49:55 +0200"... |
[
{
"msg_contents": "I have worked with Vadim privately on the remaining OR clause index\nissues, and I am done. Please start testing, everyone.\n\nThe only open item is whether MergeJoin will try to use a multi-index OR\nclause in a join, but I doubt anyone uses such things. It would require\nyou to join a tab... |
[
{
"msg_contents": "Michael wrote:\n>Let's say we have a table with two entries:\n>\n>name\tnr\n>----------\n>foo\t1\n>bar\t2\n\n>and a C program doing the following:\n>\n>..\n>i=1;\n>exec sql declare C cursor for select name from table where nr=:i;\n>i=2;\n>exec sql open C;\n>..\n>\n>Which row will be selected?... |
[
{
"msg_contents": "Hello!\n\nI've written the SPI procedure which allows to delete large\nobjects referenced by currently deleted or updated tuples.\nI tested it with PostgreSQL v6.3.2 and seem it works.\nIf PostgreSQL developers team is interested in it, I'll send\nthe sources to this mailing list or to somebo... |
[
{
"msg_contents": "unsubscribe fcheese@bellsouth.net\n\n",
"msg_date": "Wed, 05 Aug 1998 11:01:46 -0400",
"msg_from": "fcheese <fcheese@bellsouth.net>",
"msg_from_op": true,
"msg_subject": "UNSUBSCRIBE!"
}
] |
[
{
"msg_contents": "I did a CVSup a few minutes ago, and tried to do a clean install.\nconfigure seemed to do the right thing, but initdb was not happy. Looks\nlike (perhaps) the recent changes to initdb to allow non-interactive use\nmight have broken things?\n\nRegarding specific symptoms:\n1) libpq.so.1 did ge... |
[
{
"msg_contents": "I was wondering if the user GROUPS would be fixed for 6.4\nIt seems like an easy fix and a very useful one at that. If it's fixed\nin the current CVS please let me know.\n\t\t-DEJ\n",
"msg_date": "Wed, 5 Aug 1998 10:43:01 -0500",
"msg_from": "\"Jackson, DeJuan\" <djackson@cpsgroup.co... |
[
{
"msg_contents": "> a couple of days ago, the problem you have seen was caused\n> by a re-naming of the libpq.so shared library (if my memory\n> doesn't fool me, from libpq.so.1.1 to libpq.so.1). Due\n> to an old link to the former name, the new shared lib was not\n> found; removing the link and installing a p... |
[
{
"msg_contents": "Is the following legal:\n\nif (<condition>) {\n exec sql declare cur cursor for\n select name, nr from table where nr < 10;\n}\nelse {\n exec sql declare cur cursor for\n select name, nr from table where nr >= 10;\n}\n\n\nThat is declaring one curso... |
[
{
"msg_contents": "> > I was wondering if the user GROUPS would be fixed for 6.4\n> > It seems like an easy fix and a very useful one at that. If it's\n> fixed\n> > in the current CVS please let me know.\n> > \t\t-DEJ\n> \n> I have several e-mail messages in my mailbox describing the issues,\n> but\n> no one h... |
[
{
"msg_contents": "> > \"Thomas G. Lockhart\" <lockhart@alumni.caltech.edu> writes:\n> > > The parser is converting this query to become\n> > > select x from f8 where x = float8(500);\n> > \n> > > The problem appears to be that the optimizer/executor does not\n> know how\n> > > to evaluate the constant string... |
[
{
"msg_contents": "\nI've just run CVS UPDATE again, in another attempt to get initdb to run.\nAnyhow, I noticed that there was a message saying that there were\nconflicts. Any ideas?\n\n-- \nPeter T Mount peter@retep.org.uk or petermount@earthling.net\nMain Homepage: http://www.retep.org.uk\nPostgreSQL JDBC Fa... |
[
{
"msg_contents": "Is anything that anyone is doing for 6.4 going to shake out the problem\nwhere the test for equality between xmin and a constant integer fails.\n(i.e. WHERE xmin = 9999) If not, I would like to make the appropriate\nentries tweaks. We need this to to be in place to make use of the ODBC\nrow... |
[
{
"msg_contents": "Currently, large objects are stored internally as xinv### and xinx###.\n\nI would like to rename this for 6.4 to be _lobject_### to prevent\nnamespace collisions, and make them clearer for administrators.\n\nHowever, this may cause problems for backward compatability for large\nobject users. ... |
[
{
"msg_contents": "I'm trying to get Keystone (http://www.stonekeep.com/) to work and\nhave to emulate some MySQL functions. One of these is the ability to\nreturn the value of a column that is an auto-increment column after a\nrow was inserted, updated, or deleted. The interface I have to work\nwith is PHP. ... |
[
{
"msg_contents": "They now have their own relkind type, and this is now used by psql and\npg_dump.\n\nVadim, the sequence creation global variable hack is now gone, and\nrelkind is passed to DefineRelation and heap_create_with_catalog.\n\n-- \nBruce Momjian | 830 Blythe Avenue\nmailli... |
[
{
"msg_contents": "\n>Currently, large objects are stored internally as xinv### and xinx###.\n>\n>I would like to rename this for 6.4 to be _lobject_### to prevent\n>namespace collisions, and make them clearer for administrators.\n>\n>However, this may cause problems for backward compatability for large\n>objec... |
[
{
"msg_contents": ">Is the following legal:\n>if (<condition>) {\n> exec sql declare cur cursor for\n> select name, nr from table where nr < 10;\n>}\n>else {\n> exec sql declare cur cursor for\n> select name, nr from table where nr >= 10;\n>}\n>\n>That is declaring on... |
[
{
"msg_contents": "I just did a fresh cvs update, and reinstall. initdb worked fine. This\nis under BSDI.\n\n-- \nBruce Momjian | 830 Blythe Avenue\nmaillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026\n + If your life is a hard drive, | (610) 353-9879(w)\... |
[
{
"msg_contents": "\nI'm thinking of making a multi-type array but I have a sinking feeling\nthat it cannot be indexed in the standard way, i.e.\n\nselect table.field[i] from table;\n\nam I correct? is there any way around this?\n",
"msg_date": "Thu, 6 Aug 1998 15:33:41 -0700 (PDT)",
"msg_from": "Brett... |
[
{
"msg_contents": "[Sorry, my ISP managed to get itself on the RBL, so hub.org rejects my mail,\n and if I send mail to \"hackers\" mailing list from a different account, it \n gets rejected because that account isn't a subscriber to the list. So, I'm\n sending this individually.]\n\nI'm looking at implementin... |
[
{
"msg_contents": "> > OK, all entries in the lib directory refer to libpq.so.1 . So where \n> > is the \"old link\" you are referring to? Do I need to rerun \n> > ldconfig??\n> The wrong link (that is, on my Linux box...) resided in \n> /usr/local/lib;\n> I had made it some time ago as a link to\n> /usr/local/... |
[
{
"msg_contents": "I believe that clauses.c:join_clause_p properly only allows merge and\nhash joins on non-OR clauses. It is called from\ninitialize_join_clause_info().\n\nI can't get anything but a sequential scan on an OR clause, so I think\nwe are safe with the multi-index OR handling.\n\nI will keep check... |
[
{
"msg_contents": "hello tom,\n\ndid you try informix SE on linux ? could you install it on red hat 4.2 ?\ni'll be installing red hat 5.0 on my machine and would like to know if\ninformix SE works with red hat.\n\noracle too has come up with a version on Linux, but of course its not for\nfree!!\n\nregards,\nnar... |
[
{
"msg_contents": "Has something changed recently? I created a new database and it won't\nlet me insert unless I specifically grant myself privledges. It\nshows as being owned by me. Also, I can't create a view. It says\n\"pg_rewrite: Permission denied.\" and doesn't create the view.\n\n-- \nD'Arcy J.M. Cai... |
[
{
"msg_contents": "When experimenting with\tthreaded perl\nI noticed I had to lock access to the database\na one user at the time in order get reliable (no SEGV).\n\nUnfortunely it is 3 layer between my server and the wire,\nDBI, DBD::Pg och libpq.\nThinking I would start from the bottom:\nHas anyone any experi... |
[
{
"msg_contents": "Let me ask about type coersion.\n\nWhen you have an int2 column called x, how do you place the conversion\nfunctions when it is being compared to an in4 constant?\n\n\tx = int2(500)\n\n\tint4(x) = 500\n\nThe first is good for indexing, the second is not. If they are both\nvariables or both c... |
[
{
"msg_contents": "\n> > > David Gould wrote:\n> > > > \n> > > > I would like to point out that Informix SE for Linux is available TODAY\n> > > > from our website. Oracle for Linux is planned for the end of the year.\n> > > > \n> > > > I think our shipping SE version beats their latest and greatest vapor. ;-)\n... |
[
{
"msg_contents": "BSD indent, and hence pgindent, has a problem identifying the difference\nbetween function prototypes and functions when the prototype spans more\nthan line line, i.e.:\n\n\tstatic \n\tfunc(int x,\n\t int y)\n\nand\n\t\n\tstatic\n\tfunc(int x,\n\t int y);\n\nformat the same, while the... |
[
{
"msg_contents": "I have added this to the contrib/ directory:\n\n---------------------------------------------------------------------------\n\n\n \t\t\t findoidjoins\n\nThis program scans the a database, and prints oid fields, and the tables\nthey join to. PostgreSQL version 6.3.2 crashes with aggreg... |
[
{
"msg_contents": "Hi\n\nI found some bug on next example:\n----------------------------\n/* step 1 -------------- */\ntest=> select pubid,bn into table l1 from l;\nSELECT\ntest=> select pubid,bn into table n1 from n;\nSELECT\n/* pubid & bn - int4 */\ntest=> select count(*) from l1;\ncount\n-----\n 6776\n (1 ro... |
[
{
"msg_contents": "Hi,\n\nI tried to apply the patch that Vadim posted about a week ago to make use \nof functional indices, however, it didn't apply (dunno why, I have a \nvanilla 6.3.2 source-tree here).\n\nCan anybody please send me a patched indxpath.c?\n\nMaarten\n\n________________________________________... |
[
{
"msg_contents": "Hi,\n\n the following patch fixes a bug in the oracle compatibility\n functions btrim() ltrim() and rtrim().\n\n The error was that the character after the set was included\n in the tests (ptr2 pointed to the character after the vardata\n part of set if no match found, so ... |
[
{
"msg_contents": "vacuum causes it because the system does not use indexes until the\nvacuum is performed.\n\nGood news and bad news. The good news is that it works perfectly on the\ncurrent source tree because we have made some improvements since 6.3. \nBad news is that the 6.4 release is not in beta until t... |
[
{
"msg_contents": "Did I forget to send it out? Or was it lost? It seems it never made it into\ncvs.\n\nI don't like the idea of submitting the next one and it won't fit in. :-)\n\nMichael\n-- \nDr. Michael Meskes\t\tmeskes@online-club.de, meskes@debian.org\nGo SF49ers! Go Rhein Fire!\tUse Debian GNU/Linux! \n"... |
[
{
"msg_contents": "> I think we now know what is happening in the current cvs tree. The\n> optimizer calls op_class to find if there is an pg_opam entry for the\n> expression (int4eq), the current index access type(btree), and the\n> current index op class(int4_ops).\n> \n> In the case of oideqint4, there is n... |
[
{
"msg_contents": "What is a partial index? I have never known.\n\n-- \nBruce Momjian | 830 Blythe Avenue\nmaillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026\n + If your life is a hard drive, | (610) 353-9879(w)\n + Christ can be your backup. | ... |
[
{
"msg_contents": "On Friday I asked.\n\n> Has something changed recently? I created a new database and it won't\n> let me insert unless I specifically grant myself privledges. It\n> shows as being owned by me. Also, I can't create a view. It says\n> \"pg_rewrite: Permission denied.\" and doesn't create the... |
[
{
"msg_contents": "Bruce Momjian <maillist@candle.pha.pa.us> writes:\n> What is a partial index? I have never known.\n\nit's an index built over a subset of a table; the subset is defined by\na predicate. postgres supported partial indices with arbitrary\npredicates. i believe ibm's db2 for as/400 supports p... |
[
{
"msg_contents": "It seems there is a typo in istrat.c (from latest cvs) :\nattributeNumer must be attributeNumber\n\n\tOleg\n\n_____________________________________________________________\nOleg Bartunov, sci.researcher, hostmaster of AstroNet,\nSternberg Astronomical Institute, Moscow University (Russia)\nIn... |
[
{
"msg_contents": "It's time,\n\n there are a few small things and one big left in PL/pgSQL.\n The small things are two new statements (easy) and the big\n one is to be able to return tuples and sets.\n\n I decided to implement the statements now and leave the\n tuples for later (caus... |
[
{
"msg_contents": "Bruce wrote:\n>What is a partial index? I have never known.\n\nA partial index is one that only indexes a subset of a table (e.g. restricted by a where clause).\n\nThis can be useful in many cases, one typical case is where all rows that are not null\nin the index fields are to be indexed:\n... |
[
{
"msg_contents": "Jan Wieck wrote:\n> What else must be there? I think everything on the instance\n> level is better done by triggers. And if we add\n> row-/statement-level triggers on SELECT, there would be no\n> reason left to have non-instead rules. Or am I missing\n> something?\nW... |
[
{
"msg_contents": ">> Jan Wieck wrote:\n>> > What else must be there? I think everything on the instance\n>> > level is better done by triggers. And if we add\n>> > row-/statement-level triggers on SELECT, there would be no\n>> > reason left to have non-instead rules. Or am I missing\n... |
[
{
"msg_contents": "\n> But then again, even if functions stay that restricted, what\n> do we need as rule functionality? Up to now I only have all\n> kinds of INSTEAD rules on the statement level on my list.\n\nThe [select] trigger can't return sets/tuples or multiple rows the select rule system can... |
[
{
"msg_contents": "> I had suspected that's what they were, but never really was sure. Now\n> the next question, \"Should we rip them out?\" No one uses them, and\n> they seem to be of very limited usefulness.\n> \n> I am inclinded to keep them, but I am not sure.\n> \nDo we have syntax for their creation an... |
[
{
"msg_contents": "On Tue, Aug 11, 1998 at 02:31:14PM -0400, The Hermit Hacker wrote:\n> \tIn my mailbox last night...it was one of those nights last\n> night...will apply and commit as soon as I get home tonight...\n\nNo problem. I just wanted to make sure we don't try to apply it twice.\n\nMarc, how's your AD... |
[
{
"msg_contents": "On Friday I asked.\n\n> Has something changed recently? I created a new database and it won't\n> let me insert unless I specifically grant myself privledges. It\n> shows as being owned by me. Also, I can't create a view. It says\n> \"pg_rewrite: Permission denied.\" and doesn't create the... |
[
{
"msg_contents": "Hi,\n\n I really wonder if anybody ever used functions returning\n tuples or sets of tuples. If so, be careful!\n\n Let's have a look at the following test:\n\ncreate table emp (name text, salary money);\ncreate table sal_log (empname text, salchg money, who text, when datetime)... |
[
{
"msg_contents": ">> But then again, even if functions stay that restricted, what\n>> do we need as rule functionality? Up to now I only have all\n>> kinds of INSTEAD rules on the statement level on my list.\n>\n>The [select] trigger can't return sets/tuples or multiple rows the select rule system ... |
[
{
"msg_contents": "Didn't we configure the mail lists to reject submissions from\nnonmembers?\n\n\t\t\tregards, tom lane\n",
"msg_date": "Thu, 13 Aug 1998 11:26:47 -0400",
"msg_from": "Tom Lane <tgl@sss.pgh.pa.us>",
"msg_from_op": true,
"msg_subject": "Re: [HACKERS] HELP all women were raped dur... |
[
{
"msg_contents": "Hi,\n\nI managed to recreate a simple example that's crashing postgres. I am\nrunning on a DEC Alpha with Digital Unix Version 4.0d and Postgres\n3.2. I tried this example several times, on several databases and it\ncrashes every time. We also re-built Postgres and still did not work.\nHe... |
[
{
"msg_contents": ">\n> >> But then again, even if functions stay that restricted, what\n> >> do we need as rule functionality? Up to now I only have all\n> >> kinds of INSTEAD rules on the statement level on my list.\n> >\n> >The [select] trigger can't return sets/tuples or multiple rows the select... |
[
{
"msg_contents": "> > there is a targetlist in the func node of a C function (for\n> > ExecMake... there is no difference between C, PL/TCL or\n> > PL/pgSQL), it knows that the return value is a tuple or\n> > tupletable or temp relation or whatever and it can manage for\n> > t... |
[
{
"msg_contents": "Dirk Elmendorf <delmendo@cymitar.net> writes:\n> I have a program which opens two connections to two different databases.\n> After issuing a few commands to the second database I this get in the\n> trace log:\n\n> To backend> QSELECT oid FROM order_table WHERE customer_number=936 ;\n>> From b... |
[
{
"msg_contents": "I just found this one on my TODO list:\n\nThe error message for \"no data\" in an exec sql insert select from statement\nhas to be 100.\n\nIt seems I cannot get that kind of information from libpq other than\nchecking for the result being 0 tuples. But is this correct? Or are there\npossibili... |
[
{
"msg_contents": "> possible:\n>\n> CREATE TRIGGER on_insert AFTER INSERT on emp\n> FOR EACH ROW EXECUTE PROCEDURE on_ins_emp();\n>\n> CREATE TRIGGER on_insert AFTER INSERT on payroll\n> FOR EACH ROW EXECUTE PROCEDURE on_ins_payroll();\n>\n> The name of the trigger is... |
[
{
"msg_contents": "Jan wrote:\n I think there is no choice any longer. I'll start now\n removing all the non-instead rule stuff to make the rule\n system as reliable as can.\n\nIs this really necessary to get the instead stuff working ? If not, I think\nit would be good to keep it even if ... |
[
{
"msg_contents": "I found some time today and added the exec sql define command to ecpg.\nHowever, since I do not have the specs with me I am not completely sure the\nsyntax and semantics is correct.\n\nI believe the syntax wax: exec sql define AMOUNT is 5;\n\nAs for the semantics I think this should mean to r... |
[
{
"msg_contents": "Dear Postgres developers,\n\nI have some problems but I can't find any answer.\n\nI don't know, what you mean about a transaction block. As far as I know,\nCREATE TABLE, DROP TABLE and INSERT instructions need not to be inside a\ntransaction block, but UPDATE instruction must be inside a tran... |
[
{
"msg_contents": "Hi. A month or two ago I put an int8 data type into Postgres. Aside from\nbeing useful on its own, it could also form the basis for other types\nneeding extended range, such as money, decimal, and numeric types (the\nlast two are SQL92 types).\n\nAnyway, I implemented it on a gcc/x86/Linux ma... |
[
{
"msg_contents": "> Date: Wed, 12 Aug 1998 13:11:53 -0500\n> From: \"Jackson, DeJuan\" <djackson@cpsgroup.com>\n> Subject: RE: [HACKERS] Re: partial index\n> \n> > I had suspected that's what they were, but never really was sure. Now\n> > the next question, \"Should we rip them out?\" No one uses them, and\... |
[
{
"msg_contents": "Hi,\n\n who's the parser guru? I need help!\n\n I have a table t1(a int4, b int4)\n\n When I\n\n update t1 set b = 2 where a = 1;\n\n I get a targetlist with 1 entry and resno=2.\n\n But when I\n\n update t1 set b = t2.b where a = t2.a;\n\n I get the same 1 en... |
[
{
"msg_contents": "Hi,\n\nI would like to write a Java application on Netscape FastTrack3.01\nserver under Solaris. My Java application will access data or populate\ndata to a Postgre database installed \non a Linux machine running PostgreSQL server.\n\nHere is a list of my questions before using Postgre databa... |
[
{
"msg_contents": "Can someone tell me what setheapoverride() does? I see it around\nheap_replace a lot.\n\n\n-- \nBruce Momjian | 830 Blythe Avenue\nmaillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026\n + If your life is a hard drive, | (610) 353-9879(w)\... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.