threads
listlengths
1
2.99k
[ { "msg_contents": "After Bruce's fine piece of detective work in finding a bogus keylist\ncomparison routine, the Postgres optimizer runs a *lot* faster than\nbefore.\n\n>> We have to bump the default value of GEQO threshold up again...\n>> it's way too low now...\n\n> Yes. I need to know what value to set it ...
[ { "msg_contents": "Hello Hackers ...\n\nThe following patch is needed to compile the current development tree with perl \nsupport. The addition of MemoryContextAlloc, MemoryContextFree, and \nMemoryContexRealloc in ./src/include/utils/palloc.h require these additional \nheader files.\n\nAlso where is the curre...
[ { "msg_contents": "Hi,\n\nI have what I first thought would be a trivial problem, in that I require\nthe 2 VARCHAR columns in the following table to have the data stored in\nupper case.\n\ntest_table\n+-----------------------------+------------------------------+------+\n| Field | ...
[ { "msg_contents": "My current PyGreSQL module croaks on this on older versions of PostgreSQL.\nCan someone tell me in exactly which release this function was added? I\ncouldn't find anything in the change logs.\n\nThanks.\n\n-- \nD'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves\nhttp://w...
[ { "msg_contents": "Hello!\n\n Next time you'll send a patch could you use tools in\n .../src/tools/make_diff\n\n I've applied the patch to 6.4.2 on Debian 2.0 and ran locale test on\nkoi8-r locale. The locale test before the patch passed and test after patch\npassed as well. I didn't note any differenc...
[ { "msg_contents": "Hi!\n\nOn Thu, 11 Feb 1999, Angelos Karageorgiou wrote:\n> > I've applied the patch to 6.4.2 on Debian 2.0 and ran locale test on\n> > koi8-r locale. The locale test before the patch passed and test after patch\n> > passed as well. I didn't note any difference. What difference you expected...
[ { "msg_contents": "Hi!\n\nOn Thu, 11 Feb 1999, Angelos Karageorgiou wrote:\n> > For me it seems like a compiler (or compiler option) problem - signed\n> > vs. unsigned chars.\n> \n> Yes you are right , the problem is BSD/OS specific , and indeed it has to\n> do with unsigned chars vs signed chars. I just did...
[ { "msg_contents": "I�m making tests for data types and I wonder if the following is a bug!\n\nusing age() function I get: @ 1 hour 13 mins 27.88 secs\nusing date_part() over age() I get:\n\n1 for 'hour' OK!\n13 for 'minute' OK!\n27.8765430000003 for 'second' OK!\n0 for 'day' OK!\n0 for 'month' OK!...
[ { "msg_contents": "Bruce, did you ever commit the temp table stuff? If so what was the\nsyntax?\nFYI using snapshot 2/10/1999.\n\t-DEJ\n", "msg_date": "Thu, 11 Feb 1999 11:15:09 -0600", "msg_from": "\"Jackson, DeJuan\" <djackson@cpsgroup.com>", "msg_from_op": true, "msg_subject": "Temp tables" ...
[ { "msg_contents": "subscribe\n", "msg_date": "Thu, 11 Feb 1999 15:18:30 -0200 (BSC)", "msg_from": "\"Allan C. Lemos\" <allan@ufrrj.br>", "msg_from_op": true, "msg_subject": "None" } ]
[ { "msg_contents": ">From scrappy@postgreSQL.org Thu Feb 11 14:58:39 1999\nReceived: from orion.SAPserv.Hamburg.dsh.de (Tpolaris2.sapham.debis.de [53.2.131.8])\n\tby hub.org (8.9.2/8.9.1) with SMTP id OAA55995\n\tfor <pgsql-hackers@postgreSQL.org>; Thu, 11 Feb 1999 14:58:38 -0500 (EST)\n\t(envelope-from wieck@s...
[ { "msg_contents": "Hi,\n\nI have find some data type conversion problems with Pgsql (or with me).\n\n1) \tQuery: select (1::float8 * 1::float8)::text;\n\tResult: Fri 31 Dec 22:00:01 1999\n\n2)\tQuery: select (2000000::int8 * 2000000::int8)::text;\n\tResult: ERROR: int8 conversion to int4 is out of range.\nNote:...
[ { "msg_contents": "> > Bruce, did you ever commit the temp table stuff? If so what was the\n> > syntax?\n> > FYI using snapshot 2/10/1999.\n> > \t-DEJ\n> > \n> > \n> \n> CREATE TEMP TABLE. See src/test/regress/sql/temp.sql.\n\nSo, it's not in the snapshot... Anyone know why or am I just wrong?\n\t-DEJ\n", ...
[ { "msg_contents": "I am working on it now, but it is currently not working properly.\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 830 Blythe Avenue\n + Christ can be your backup. ...
[ { "msg_contents": "> > > > Bruce, did you ever commit the temp table stuff? If so \n> what was the\n> > > > syntax?\n> > > > FYI using snapshot 2/10/1999.\n> > > > \t-DEJ\n> > > > \n> > > CREATE TEMP TABLE. See src/test/regress/sql/temp.sql.\n> > \n> > So, it's not in the snapshot... Anyone know why or am I j...
[ { "msg_contents": "\nOn Thu, 11 Feb 1999, Tom Lane wrote:\n> I am not able to reproduce the problem on HPUX, using either current\n> sources or 6.4.2. Looks like it must be platform specific.\n\n Of course it is platform-specific. I reported the problem on\nglibc2-based linucies, but the same database works ...
[ { "msg_contents": "Hello again,\n\nThanks again to those who pointed me to the semaphore problem. I,\nunfortunately have another problem:\n\nSolaris7 on a Sparc20 running 6.4.2. Occasionally (once or twice a\nday) under a very light load, brain-dead child processes begin to\naccumulate in my system. If left ...
[ { "msg_contents": "Already asked this in the other lists so here.\n\nI need to store some polygons that are larger than 8K.\nI was reading in hackers archives talk about a solution\nto the 8K limit. Was anything done? If so, what do I\nneed to do to solve my problem?\n\nI don't subscribe to the hackers mailing ...
[ { "msg_contents": "\nDoes anyone know what's going on here?\n\n-- \n Peter T Mount peter@retep.org.uk\n Main Homepage: http://www.retep.org.uk\nPostgreSQL JDBC Faq: http://www.retep.org.uk/postgres\n Java PDF Generator: http://www.retep.org.uk/pdf\n\n---------- Forwarded message ----------\nDate: Fri...
[ { "msg_contents": "\nOff topic. But hey, it's saturday morning.\n\nScrappy wrote...\n\n> On Fri, 12 Feb 1999, Todd Graham Lewis wrote:\n> \n> > On Fri, 12 Feb 1999, Bruce Momjian wrote:\n> > \n> > > I have fixed the optimizer, and it is working properly again, and faster\n> > > too.\n> > \n> > What about cheap...
[ { "msg_contents": "Is anyone else seeing failure of the \"rules\" regression test with\ncurrent CVS sources, or is it just me?\n\nLooking at the differences, I see that rules.sql uses getpgusername(),\nwhich means that it is certain to create a \"failure\" if run under any\nunusual user name. This is bad (and ...
[ { "msg_contents": "I have changed comments like my-function-name-- to my_function_name.\n\nThis affects only comments.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 830 Blythe Avenu...
[ { "msg_contents": "Is there any documentation on database recovery. I am new to Postgres. I\nreally like what I see. I have written a membership database application\nfor a NPO in New Mexico. It is written in Access 97. I want to migrate to\na real database engine and I am strongly considering Postgres. I...
[ { "msg_contents": "Is there any documentation on database recovery. I am new to Postgres. I\nreally like what I see. I have written a membership database application\nfor a NPO in New Mexico. It is written in Access 97. I want to migrate to\na real database engine and I am strongly considering Postgres. I...
[ { "msg_contents": "Is there any documentation on database recovery. I am new to Postgres. I\nreally like what I see. I have written a membership database application\nfor a NPO in New Mexico. It is written in Access 97. I want to migrate to\na real database engine and I am strongly considering Postgres. I...
[ { "msg_contents": "I've applied some patches to the REL6_4 branch for relatively obscure\ndate/time fixes. These are (mostly) the same patches I had posted on\n/pub/patches/ after REL6_4 had been declared dead :(\n\nI also applied a patch to remove the equivalence of float8 and datetime\nwhich had lead to bizar...
[ { "msg_contents": "Can someone comment on what Bushy plans do in the optimizer, and whether\nthe code has any value?\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 830 Blythe Avenue\...
[ { "msg_contents": "auth 1d0280b9 subscribe pgsql-hackers osky@surlan.com.ar\n\n\n", "msg_date": "Sun, 14 Feb 1999 18:48:47", "msg_from": "Oscar Cabello <osky@surlan.com.ar>", "msg_from_op": true, "msg_subject": "None" } ]
[ { "msg_contents": "\nHallo,\n\nI am having enormous troubles with user defined types in langugae c in\npostgres. Do you know what am I doing wrong? I am afraid there is a\nbug in postgres.\n\nLook at this:\n\nFile testdb.c:\n---------------------\n#include <stdio.h>\n#include <string.h>\n#include <malloc.h>\n\n...
[ { "msg_contents": "\nHallo,\n\nI am having enormous troubles with user defined types in langugae c in\npostgres. Do you know what am I doing wrong? I am afraid there is a\nbug in postgres.\n\nLook at this:\n\nFile testdb.c:\n---------------------\n#include <stdio.h>\n#include <string.h>\n#include <malloc.h>\n\n...
[ { "msg_contents": "> I have fixed the optimizer, and it is working properly again, and faster\n> too.\n> \n> \n> -- \n> Bruce Momjian | http://www.op.net/~candle\n> maillist@candle.pha.pa.us | (610) 853-3000\n> + If your life is a hard drive, | 830 Blythe Avenue\n...
[ { "msg_contents": "Hello hackers...\n\nI tried this with version 6.4.2 and the current development tree.\n\nryan=> create table test (test int8 PRIMARY KEY);\nNOTICE: CREATE TABLE/PRIMARY KEY will create implicit index test_pkey for table test\nERROR: Can't find a default operator class for type 20.\n\n\n\nI ...
[ { "msg_contents": "auth f70b79dc subscribe pgsql-hackers bhavesh@usindia.com\n\n\n", "msg_date": "Mon, 15 Feb 1999 09:35:24 +0530", "msg_from": "bhavesh <bhavesh@usindia.com>", "msg_from_op": true, "msg_subject": "Confirmation for subscribe pgsql-hackers" } ]
[ { "msg_contents": "\n\n\"Colin Price (EML)\" ha scritto:\n\n> > -----Original Message-----\n> > From: jose' soares [mailto:sferac@bo.nettuno.it]\n> > Sent: Friday, February 12, 1999 1:10 PM\n> > To: Colin Price (EML)\n> > Subject: Re: [GENERAL] pg_dump query about views\n> >\n> >\n> >\n> >\n> > \"Colin Price (E...
[ { "msg_contents": "Hi,\n\nA newby question:\nI packed Cascading Stylesheets into a system of tables. i want to create\na style.css **file** out of the tables after the User updated some of\nthe values:\n\nTo understand what i mean better:\n1.) I created 3 tables including all possible attributes/values of css\n...
[ { "msg_contents": "Already asked this in the other lists so here.\n\nI need to store some polygons that are larger than 8K.\nI was reading in hackers archives talk about a solution\nto the 8K limit. Was anything done? If so, what do I\nneed to do to solve my problem?\n\n\nRegards,\nKenneth R. Mort <kenmort@mor...
[ { "msg_contents": "\nThis is in v6.4 ...\n\nsurveys=> create table systems (\nsurveys-> operating_system text,\nsurveys-> count int4 );\nCREATE\nsurveys=> insert into systems \nsurveys-> select sys_type,count(sys_type)\nsurveys-> from op_sys\nsurveys-> where sys_type is not null\nsurveys-> group by sys_type;\nE...
[ { "msg_contents": "\nsurveys=> explain select count(sys_type) as tot_sys_type,sys_type\nsurveys-> from op_sys\nsurveys-> where sys_type is not null \nsurveys-> and tot_sys_type > 100\nsurveys-> group by sys_type\nsurveys-> order by tot_sys_type desc;\nERROR: attribute 'tot_sys_type' not found\n\nMarc G. Four...
[ { "msg_contents": "Hi,\n\nThere are some VARCHAR built-in functions, but I can't use them...\n\nhygea=> \\df varchar\nresult |function |arguments |description\n-------+---------------+--------------+---------------------\nbool |varchareq |varchar varcha|equal\nbool |varcharge |varchar va...
[ { "msg_contents": "Hi !!\n\nWhen I run initdb, an error comes like this:\n\n[postgres@oak postgres]$ initdb\ninitdb: using /usr/local/pgsql/lib/local1_template1.bki.source as input \nto create the template database.\ninitdb: using /usr/local/pgsql/lib/global1.bki.source as input to create \nthe global classes.\...
[ { "msg_contents": "A while ago a question was posted regarding an error message\n\"SIMarkEntryData: cache state reset\", and I don't believe any\nresponse ever came. I'm forwarding the original two notes on\nthis. Any information that can clear up this error message would\nbe greatly appreciated.\n\nThomas\n\nT...
[ { "msg_contents": "Dear Friends,\n\tI am trying to compile postgresql to an ULTRA 10 machine operated\nby the Solaris system. I face this error in compilation that I cannot fix.\nPlease if you can help me, reply soon. Thank you for concern and looking\nforward to hearing from you.\n\nSincerely,\nMohamed Hefny\n...
[ { "msg_contents": "Dear Friends,\n I am trying to compile postgresql to an ULTRA 10 machine operated\nby the Solaris system. I face this error in compilation that I cannot fix. \nPlease if you can help me, reply soon. Thank you for concern and looking\nforward to hearing from you. \n\nSincerely, Mohamed ...
[ { "msg_contents": "Hi,\n\nI'm trying to create a varchar(float8) to cast float to varchar but I\ncan't create it.\nI can create bpchar(foat8) and text(float8) and it works well but\nvarchar(float8).\n\nEXAPLE:\n\ncreate table test(f float, n name);\nCREATE\ninsert into test values(1.23, current_user);\nINSERT 1...
[ { "msg_contents": "\nIs known what functions and data have to be exported (= some interface) from\nthe backend, so they can be used by dynamicly loaded modules?\n\n----------------------------------------------\nDaniel Horak\nnetwork and system administrator\ne-mail: horak@mmp.plzen-city.cz\nprivat e-mail: dan....
[ { "msg_contents": "\tERROR: internal error: untrusted function not supported.\nWhat does it mean and how do I fix it?\n\nI'm trying to create a lower function to work with varchar ( I would\nguess this would fall in with type coercion, Tom?). \n\n", "msg_date": "Wed, 17 Feb 1999 11:20:19 -0600", "msg_...
[ { "msg_contents": "Hi all\n\nFirst, what ever came of the talk of a 6.4.3 and supporting a release\nback?\n\nA client of mine has 6.3 installed, and I need to know if I should advise\nthem to go to 6.4.2? or if 6.4.3 is about to come out? or how close is\n6.5? (I want to use some of the features not in 6.3.x)\...
[ { "msg_contents": "\n[I'm posting this to the hackers list, as I think this is something deep\nin the backend, and not JDBC - Peter]\n\nI've been talking to Jason Venner <jason@idiom.com> over the last couple\nof days with an interesting problem.\n\nHe's got a small Java application that restores large objects ...
[ { "msg_contents": "unsubscribe\r\n\r\n\n\n\n\n\n\n\nunsubscribe", "msg_date": "Thu, 18 Feb 1999 08:50:07 +0900", "msg_from": "hsryu@daou.co.kr", "msg_from_op": true, "msg_subject": "[HACKERS] unsubscribe" } ]
[ { "msg_contents": "I have fixed bushy plans, enabled with the postgres -b option. Here is\nproof from OPTIMIZER_DEBUG:\n\n\tlevels left: 7\n\t(9 8 7 6 ): size=1 width=16\n\t path list:\n\t Nestloop size=1 cost=0.000000\n\t MergeJoin size=1 cost=0.000000\n\t ...
[ { "msg_contents": "Hi\n\nWell, every one got so hung up on my side question that the main question\nwas not answered. So, a re-ask.\n\nWhat ever came of the talked about 6.4.3? Will there be a 6.4.3? if so,\nabout when?\n\nHave a great day\nTerry Mackintosh <terry@terrym.com> http://www.terrym.com...
[ { "msg_contents": "This is all logical, all sequential access will be faster with bigger\nblocksize. It usually gets faster up to a blocksize of 256k.\nYou could have done the same test using dd.\nThe slowdown will be on random access using index and too much data\nto cache all data pages and needed index pages...
[ { "msg_contents": "Postgres 6.4.2, gcc 2.8.1, hpux 10.20 and Sparc/Solaris 2.6\n(All debugging attempts were on the hpux machine, but the symptom also\noccurs on the Solaris box. Also tried the latest (feb 18) snapshot\non the hpux box, symptom still occurs.)\n\nI was installing the perl DBD::Pg module, but it...
[ { "msg_contents": "Does anyone know what the maximum number of items there can be in a list\nfor the IN predicate. I have a maintenance script that extracts\ninformation from one dB, builds a list for the IN predicate, connects to\na different dB, and runs a query based on the list generated. In one\ninstance...
[ { "msg_contents": "hi, hackers!\nIf someone can, please help me!\n\nI deleted by an accident some vital data from a table, and now I'm\nwondering is it possible to \"undelete\" at least some of deleted records\nuntil they are not finally sweeped out with vacuum. If yes, how do it?\n\nTIA, \nAleksey.\n\n\n\n"...
[ { "msg_contents": "The in-list problem is a query optimizer classic. Ingres turns in-lists into\nsequences of or'ed \"=\" predicates (e.g. a = value1 or a = value2 or ...).\nQuery optimizers usually represent where clauses and other expressions as\ntree structures and then use recursive calls to analyze their c...
[ { "msg_contents": "I was wondering if there is a way in CVS\nto tell it to kill my local copy of a file\nif there is a problem with merge? I didn't\nchange or patch these files, but every once\nand a while something like this happens:\n\n-------------------------------------------------\nP src/backend/parser/a...
[ { "msg_contents": "I periodically re-fresh my local copies of both the\ncurrent snapshot and the release snapshot from the CVS tree.\n\nSuprizingly, recently (last month or so?) a few files were \nchanged in the REL_6_4 tree that caused it to fail to compile. \nJust to make sure that I wasn't being an idiot, I...
[ { "msg_contents": "After the previous error, I was thinking that I built\nit from the wrong account... so I changed accounts,\ndid a 'make clean' followed by a 'make'.\n\nFollowing is a different error that occurs\nwhen I did this. This different error is the\nsame error that I was getting *before* I blew\nawa...
[ { "msg_contents": "I have just checked in code changes (no doc updates yet :-() that\naddress our recent discussions about how many backend processes\ncan be used. Specifically:\n\nconfigure takes a --with-maxbackends=N switch that sets the hard limit\non the maximum number of backends per postmaster. (It's s...
[ { "msg_contents": "Hi,\n\nif I create a table like this:\nCREATE TABLE test (\n id decimal(3) primary key,\n name varchar(32));\n\nhow can I ask postgres which is the primary key from table test?\nI hope to get something like \"id is the primary key from table test.\".\nAny ideas\nMarc\n-- \n---------------...
[ { "msg_contents": "There is now insert triggers or rules for table cwdomains.\nError appear after installing plpgsql into existing database\n\ninsert into cwdomains(name, who) values ('woland.wplus.net', 'dms');\nERROR: fmgr_info: Cache lookup for language %d failed 21505\n\n-- \nDmitry Samersoff\n DM\\S, ...
[ { "msg_contents": "\nCan someone please take a minute to look at this?\n\nI've gzip'd and moved his errorlog to\nftp.postgresql.org:/pub/debugging...one thing that appears to be\nlacking...what version of PostgreSQL are you using?\n\nMarc G. Fournier \nSystems Administrator @ hub....
[ { "msg_contents": "\nI have a record in table cust with the username of joblo and it's\nalready lower case. This is from a cvsup a couple of weeks old.\n\n\n\nclassifieds=> select count(*) from cust where username = lower('joblo');\ncount\n-----\n 0\n(1 row)\n\nclassifieds=> select count(*) from cust wher...
[ { "msg_contents": "I have greatly updated the optimizer/README file, if anyone is\ninterested in undestanding how the optimizer works. Any suggestions\nwelcomed.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your l...
[ { "msg_contents": "\"D'Arcy J.M. Cain\" wrote:\n> \n> Can someone suggest a\n> SELECT statement the would return something like this for this table?\n> \n> relname|attname\n> -------+-------\n> y |id1,id2\n\nFist:\n\n I have been wanting to write aggregate functions SET() and MULTISET()\n that produce an a...
[ { "msg_contents": "\nPlease forgive me if this is not the place to post this. I'm not a member\nof the list but todays CVS did not compile\n\nThe print.c line 226\n\n List pathkey = lfirst(i));\n\nmight be\n\n List *pathkey = lfirst(i);\n\nI really don't know if this is correct or not but it at least compiled ...
[ { "msg_contents": "I did a little more work on the configurable-max-backends patch:\n\n1. initdb didn't work because I had broken bootstrap mode :-(.\nFixed.\n\n2. I separated the hard maximum limit on the number of backends\n(MAXBACKENDS, used to size a couple of arrays) from the default\nsoft limit (now DEF_M...
[ { "msg_contents": "It used to be that Postgres' shared memory was sized on the basis of\nthe hard-wired MaxBackendId constant. I have altered things so that\nit is sized on the basis of the actual -N switch given to the postmaster\nat postmaster start time. This makes it a lot easier to stress the\nalgorithm ...
[ { "msg_contents": "I have updated the code contributors page on the web site. I have added\nMichael Meskes, Tom Lane, and Jan Wieck, and removed some of the\nprevious entries.\n\nI wanted to pair down the web page list to just the people who regularly\ncontribute major pieces of code.\n\nWe still have the HIST...
[ { "msg_contents": "Hi all,\n\nThe inet regression test has been failed on my LinuxPPC. While\ninvestigating the reason, I found a code that doesn't work on\nLinuxPPC. From network_broadcast() in utils/adt/network.c:\n\nint\taddr = htonl(ntohl(ip_v4addr(ip)) | (0xffffffff >> ip_bits(ip)));\n\nHere ip_bits() retu...
[ { "msg_contents": "> Modified Files:\n> rules.out\n> Log Message:\n> change pgsql to postgres\n\nI have some patches which will change rules.sql to avoid using\ngetpgusername() altogether, since that returns an installation-dependent\nresult.\n\nWill apply sometime soon, along with some other changes la...
[ { "msg_contents": "I have completed most of the cleanups I want to do with the optimizer.\nIt is much improved.\n\nIt passes the regression tests.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard dr...
[ { "msg_contents": "I have added a List manipulation section to the developers FAQ on the\nweb site.\n\nDevelopers, please keep in mind that lcons adds to the front of the\nlist, so it is quicker than lappend, if the order of the List is not\nimportant.\n\nI am going to go through tomorrow and see which lappends...
[ { "msg_contents": "Check out http://www.bitkeeper.com/ -- it's about time someone wrote something\nbetter than sccs/cvs/rcs.\n\nTaral\n", "msg_date": "Mon, 22 Feb 1999 00:32:07 -0600", "msg_from": "Taral <taral@cyberjunkie.com>", "msg_from_op": true, "msg_subject": "New source control system" ...
[ { "msg_contents": "Dear Friends,\n\tI am working testing a new database buffer management algorithm. I feel\nlost among the lot of directories and files. Could you please guide me\nto the directories and files that I should look for to start my\nexperiments. I am interested in the buffer manager code and the pl...
[ { "msg_contents": "I'm currently developing a postgres DB backend to my current project and have\nthe following problem. If I execute a query I need to know the table the\nreturning fields belong to. For example :\n\nSELECT x.y, z.y from x, y where x.key = z.key\n\nThe problem with the above is that I get back ...
[ { "msg_contents": "Hello!\n\n I am trying to execute query:\nSELECT city_id, COUNT(DISTINCT pos_id)\n ...\nGROUP BY city_id ;\n\n but got the error:\nERROR: parser: parse error at or near \"distinct\"\n\n It is me who do not understand SQL or postgres does not implement it?\n\nOleg.\n---- \n Oleg Br...
[ { "msg_contents": "Hi!\n\n I ran a query:\nSELECT p.subsec_id, p.pos_id, cn.pos_id\n FROM central cn, shops sh, districts d, positions p\n WHERE cn.shop_id = sh.shop_id AND sh.distr_id = d.distr_id\n AND d.city_id = 1 ;\n\nand got a huge list, where, are, e.g:\nsubsec_id|pos_id|pos_id\n---------...
[ { "msg_contents": "Since there appears to be a one to one relationship between backend\nprocesses and connected users, what options are there for shops that have\nmore than 64 users?\n\n\t-----Original Message-----\n\tFrom:\tTom Lane [SMTP:tgl@sss.pgh.pa.us]\n\tSent:\tMonday, February 22, 1999 8:10 AM\n\tTo:\tB...
[ { "msg_contents": "I updated the cvs. Forgot to update the web site. Done now. You\nshould see the updated list now.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 830 Blythe Aven...
[ { "msg_contents": "I have again updated it to show List manipulation examples, so people\ncan better understand the code.\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, | 830 Blythe Aven...
[ { "msg_contents": "Hello hackers...\n\nEnclosed below I have a patch to allow a btree index on the int8 type. \n\nI would like some feedback on what the hash function for the int8 hash function \nin the ./backend/access/hash/hashfunc.c should return.\n\nAlso, could someone (maybe Tomas Lockhart?) look-over the...
[ { "msg_contents": "Hello all,\n\nAFAIC the relation between objects is not copied correctly \nby copyObject() (i.e the same pointers to an object are copied \nto different pointers by copyObject()). \n\nI think it makes copyObject() unreliable.\nI have some bug-reports due to this cause.(see attached file)\n\nW...
[ { "msg_contents": "此封郵件來自 莊芳昇 先生.\nThis mail from Chuang Fang-sheng\n\nfangshen@mail.night.fjtc.edu.tw\n\nfangshen@kssh.tn.edu.tw", "msg_date": "Tue, 23 Feb 1999 08:16:28 +0800", "msg_from": "\"Chuang Fang-sheng\" <fangshen@mail.night.fjtc.edu.tw>", "msg_from_op": true, "msg_subject": "subscribe...
[ { "msg_contents": "Hi Adriaan\n\tI've recently compiled postgresql 6.4.2 of a dec alpha (running DU4.0D)\nI set the follow environment variables\nsetenv CC cc\nsetenv CFLAGS \"-O4 -std\"\nsetenv CPPFLAGS \"-I/usr/local/include\"\nsetenv LDFLAGS \"-L/usr/local/lib\"\nsetenv LIBS \"\"\n\ncreated a Makefile.custo...
[ { "msg_contents": "I've just committed a bunch of (mostly) small patches which fix up some\nerror messages and introduce some non-functional initial code for outer\njoins.\n\nThe timing on this is a bit non-optimal, since I'm leaving town tomorrow\nthrough the weekend, but I've tested all patches on the regress...
[ { "msg_contents": "This question is directed at the developers of Postgres.\nHow open are you to changing the protocol between the backend and the client ?\n\nI posted a question regarding finding the tables to which fields (from a query)\nbelong. The problem I have is that the only information I have is that t...
[ { "msg_contents": "uname -a\nSunOS vlad 5.7 Generic_106541-01 sun4u sparc SUNW,Ultra-5_10\ngcc -v\nReading specs from\n/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.60/specs\ngcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)\n\n\nI just compiled the snapshot using this command to configure pgsql:\n\n...
[ { "msg_contents": "uname -a\nSunOS vlad 5.7 Generic_106541-01 sun4u sparc SUNW,Ultra-5_10\ngcc -v\nReading specs from\n/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.60/specs\ngcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)\n\n\nI just compiled the snapshot using this command to configure pgsql:\n\n...
[ { "msg_contents": "What would it take to have transaction logging added to Postgres. I am a\nc/c++ programmer and will consider contributing to the Postgres development\neffort. I really like everything I see and read about Postgres. As a\nresult, I am strongly considering Postgres as the database engine for...
[ { "msg_contents": "select '12/13/1901 18:00:00 CST'::datetime;\n?column? \n----------------------------\nFri Dec 13 18:00:00 1901 CST\n(1 row)\n\nselect '12/13/1901 17:59:59 CST'::datetime;\n?column? \n------------------------\nFri Dec 13 23:59:59 1901\n(1 row)\n\n\nWhy???\n", ...
[ { "msg_contents": "Your getting me excited about 6.5. Is there a projected release date for\n6.5? Is there any information on transaction logging? Is there anything I\ncan do to help? I am curious about these items because they will make my\nlife much easier in the upcoming months as I migrate my applicatio...
[ { "msg_contents": "I saw this in the Ingres list. It describes exactly how we process \n\n\tSELECT * FROM tab WHERE col IN (1,2,3,4)\n\nand describes a problem we could have if the list is large.\n\n---------------------------------------------------------------------------\n\n", "msg_date": "Tue, 23 Feb 1...
[ { "msg_contents": "Hi\n\tI've been having also sorts of fun trying to get kerberos 4 authentification \nworking with postgresql-6.4.2 and KTH-KRB Ebones (http://www.pdc.kth.se/kth-kr\nb) on a dec alpha running DU 4.0D using the native compiler. The following \npatch does the trick.\n\nThe rationale behind this...
[ { "msg_contents": "\nHow do you propose doing outer joins in non-mergejoin situations?\nMergejoins can only be used currently in equal joins.\n\n-- \n Bruce Momjian | http://www.op.net/~candle\n maillist@candle.pha.pa.us | (610) 853-3000\n + If your life is a hard drive, ...
[ { "msg_contents": "Hello!\n\nQuery:\n\nSELECT DISTINCT p.subsec_id\n FROM central cn, shops sh, districts d, positions p\n WHERE cn.shop_id = sh.shop_id AND sh.distr_id = d.distr_id\n AND d.city_id = %d AND cn.pos_id = p.pos_id\n AND cn.date_i >= current_date - '7 days'::timespan\n\nWhile r...
[ { "msg_contents": "What user ID are you using? Are you \"su\"ing over\nthe the postgres user ID.\n\nAlso, make sure all of the environment variables\nare exported in the script. PGPORT, PGUSER, etc...\n\nD.\n\n-----Original Message-----\nFrom: Tom Lane [mailto:tgl@sss.pgh.pa.us]\nSent: Wednesday, February 24, 1...
[ { "msg_contents": "Just found out Ingres 6.4 doesn't support OUTER joins, and that is a\npain.\n\nGives me motivation to get it working in PostgreSQL. When Thomas\nreturns and I am available, hopefully we can get it into the code for\n6.5.\n\n-- \n Bruce Momjian | http://www.op.net/~ca...
[ { "msg_contents": "That would be awesome and I would be very grateful.\n\n\t-----Original Message-----\n\tFrom:\tBruce Momjian [SMTP:maillist@candle.pha.pa.us]\n\tSent:\tWednesday, February 24, 1999 1:42 PM\n\tTo:\thackers@postgreSQL.org\n\tSubject:\t[HACKERS] OUTER joins\n\n\tJust found out Ingres 6.4 doesn't ...