threads listlengths 1 2.99k |
|---|
[
{
"msg_contents": "We have spent a lot of time on this to be able to do Windows builds\nduring the beta cycle. Our DBA manager is going to start with a\nfresh machine and attempt to do a full setup from our existing notes\nand produce a \"how to\" document. When we have this, somebody\nhere will submit it to ... |
[
{
"msg_contents": "Here I found an installation issue:\n\n \n\n- I was installing pg 8.1 on a Windows 2000 box. \n\n- I chose a different folder than default (D:\\PGSERVER did not exist yet)\n\n- When installing, the setup complained about not being able to write into\nthe directory\n\n- I check the directory p... |
[
{
"msg_contents": "Are you talking about \"make install\", \"initdb\", or somethingi else?\n\nIn any event, is it really something you want to give \"Everyone\"\nthe right to directly modify?\n\n-Kevin\n\n\n>>> \"Gevik babakhani\" <gevik@xs4all.nl> >>>\n\nHere I found an installation issue:\n\n- I was installi... |
[
{
"msg_contents": "<We found PostgreSQL a mature product, but in two things Firebird was \nsimply better than PostgreSQL: Two-Phase commit (ok, that is gone with \nPG 8.1), but the second is a SNAPSHOT / REPEATABLE READ transaction \nisolation. I can't live without that when it comes having a stable view \nof d... |
[
{
"msg_contents": "Update of /cvsroot/dbsamples/dbsamples\nIn directory pgfoundry.org:/tmp/cvs-serv14202\n\nLog Message:\nIntial import of port of MySQL world database.\n\nStatus:\n\nVendor Tag:\tchriskl\nRelease Tags:\tstart\n\t\t\nN dbsamples/world/world.sql\nN dbsamples/world/README\n\nNo conflicts created b... |
[
{
"msg_contents": "In the CREATE FUNCTION docs I notice this:\n\nRETURNS NULL ON NULL INPUT or STRICT indicates that the function always \nreturns null whenever any of its arguments are null. If this parameter \nis specified, the function is not executed when there are null \narguments; instead a null result is... |
[
{
"msg_contents": "This one is quite long, but I guess the quality of the answer depends on \nthe quality of the question :).\n\n\nI use views to simplify the underlying database schema for the end \nusers. The end do however still like to know about relations. Here is a \nvery simple example:\n\nCREATE TABLE ... |
[
{
"msg_contents": "> Here I found an installation issue:\n> \n> \n> \n> - I was installing pg 8.1 on a Windows 2000 box. \n> \n> - I chose a different folder than default (D:\\PGSERVER did \n> not exist yet)\n> \n> - When installing, the setup complained about not being able \n> to write into the directory\n> ... |
[
{
"msg_contents": "\ncontains the following:\n\n/* ----------------\n * initial contents of pg_proc\n * ----------------\n */\n\n/* keep the following ordered by OID so that later changes can be made \neasier */\n\n\nwhich has manifestly not been followed. Should we fix the file or remove \nthe second comm... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Andrew Dunstan\n> Sent: 10 November 2005 14:30\n> To: PostgreSQL-development\n> Subject: [HACKERS] pg_proc.h\n> \n> \n> contains the following:\n> \n>... |
[
{
"msg_contents": "My dev box was running 8.1rc1 and I thought it was time to put 8.1 on\nit. I downloaded the 8.1 binaries-only dist off of postgresql.org (bt\nversion), did a binary swap on my server and nothing ran...it turns out\nall the binaries like initdb.exe, postgres.exe have a dll dependency on\nvari... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Merlin Moncure\n> Sent: 10 November 2005 14:56\n> To: pgadmin-hackers@postgresql.org\n> Cc: pgsql-hackers@postgresql.org\n> Subject: [HACKERS] win32 8... |
[
{
"msg_contents": "> > My dev box was running 8.1rc1 and I thought it was time to put 8.1\non\n> > it. I downloaded the 8.1 binaries-only dist off of postgresql.org\n(bt\n> > version), did a binary swap on my server and nothing ran...it\n> > turns out\n> > all the binaries like initdb.exe, postgres.exe have a ... |
[
{
"msg_contents": "> My dev box was running 8.1rc1 and I thought it was time to \n> put 8.1 on it. I downloaded the 8.1 binaries-only dist off \n> of postgresql.org (bt version), did a binary swap on my \n> server and nothing ran...it turns out all the binaries like \n> initdb.exe, postgres.exe have a dll depe... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Martijn van Oosterhout\n> Sent: 10 November 2005 15:42\n> To: Magnus Hagander\n> Cc: Merlin Moncure; pgadmin-hackers@postgresql.org; \n> pgsql-hackers... |
[
{
"msg_contents": "\nI am looking at creating a few generic functions builtin for the enum \nstuff. These would be tied to each enum type as it is created. However, \nthey should not really appear in pg_proc initially, as there wouldn't be \nany enum types to tie them to anyway. But I want them to have reserved... |
[
{
"msg_contents": "Hi Tony,\n\nAs the referenced documentation states, the PostgreSQL SERIALIZABLE\ntransaction isolation level complies with the ANSI/ISO requirements, but\nnot with a mathematically pure interpretation of the term. (The only\nquibble I have with that documentation is that you have to be avert... |
[
{
"msg_contents": "Hello,\nhow can i make a checkout from CVS server ? What is the address?\n\nThanks,\nGustavo\n\nHello,\nhow can i make a checkout from CVS server ? What is the address?\n\nThanks,\nGustavo",
"msg_date": "Thu, 10 Nov 2005 15:22:07 -0300",
"msg_from": "Gustavo Tonini <gustavotonini@gmai... |
[
{
"msg_contents": "If you mean that you have to grant permissions, that's already in the\nFAQ.\n\n//Magnus\n\n> Just a point of attention... Perhaps one is interested to fix \n> this (if it is a bug);\n> \n> > Um, so what actually is the problem?\n> > \n> > //Magnus\n> \n> \n> \n",
"msg_date": "Thu, 10 Nov ... |
[
{
"msg_contents": "I have an interesting situation...am staging a mock upgrade from 8.0 to\n8.1 on a bzip compressed backup image from one of our production\nservers. The dump image is big (270 mb compressed) and so is the file\nin question ~ 440k rows.\n\nAm piping the backup image to the server via \npsql -c... |
[
{
"msg_contents": "Warning: This patch is only a work in work in progress.\n\nCurrent Status:\n\nThis patch modifies postgres's current behavior by creating foreign-key \ntriggers on not only the source and referenced tables, but also the children \nof the referenced table. It modifies the source triggers, rem... |
[
{
"msg_contents": "I just make postgresql 8.1 rpm for mandriva and I was making basic test. I \nmade in pgfoundry the module pgrpm (rpm function in postgres).\n\nHowever after installing postgresql 8.1 I have:\n\nERREUR: unable to load library \n«/usr/lib64/pgsql/pgrpm.so»: /usr/lib64/pgsql/pgrpm.so: undefined... |
[
{
"msg_contents": "Hi,\n\nI've installed a 8.1.0 PostgreSQL server on a SCO OpenServer 5.0.6. It\nseemed to work well with psql and such tools. I tried to connect to\nthis server with pgAdmin3 and a query failed. I tried to find which\npart of the query was wrong and I have a strange result :\n\nSELECT 1 FROM p... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] \n> Sent: 10 November 2005 15:38\n> To: Dave Page\n> Cc: Andrew Dunstan; PostgreSQL-development\n> Subject: Re: [HACKERS] pg_proc.h \n> \n> \"Dave Page\" <dpage@vale-housing.co.uk> writes:\n> > I vote for fixing th... |
[
{
"msg_contents": "> > > > Hello,\n> > > > how can i make a checkout from CVS server ? What is the address?\n> > > \n> > > You can find all the information you need to know about \n> how to check \n> > > pgsql out of cvs at: \n> http://www.postgresql.org/developer/sourcecode/\n> > \n> > Also if you are looking ... |
[
{
"msg_contents": "Hi,\n\nI've noticed that sometimes EXPLAIN ANALYZE is much slower than the \nplain query. After investigating I found that it happens when using MIN \nor MAX aggregates.\n\nIt seems that the plan outputted is not the optimized one (available \nsince 8.1) that is really used when running the p... |
[
{
"msg_contents": "Consider the following:\n\n CREATE TEMP TABLE tbl (\n id SERIAL NOT NULL,\n PRIMARY KEY (id)\n );\n\n COPY tbl (id) FROM stdin;\n 1\n 2\n 3\n 4\n \\.\n\n SELECT substring ('1234567890' FOR (SELECT count (*) FROM tbl)::int);\n\nThis returns '1234', as expected. But\n\n SELECT ... |
[
{
"msg_contents": "> \"Merlin Moncure\" <merlin.moncure@rcsonline.com> writes:\n> > When the dump gets to the point where the indexes/keys are built,\nthe\n> > primary key fails to build due to duplicate key constraint failure.\n> > However, after dump is complete, I can create the p-key without any\n> > modifi... |
[
{
"msg_contents": "Hi,\n\n\nthere is someone working in add the MERGE statement?\n\ni don't find much about what a good implementation of merge must have...\n\ni think what it needs to do is something like:\n\n- try to lock the rows for update\n - if the lock cannot be immediatly acquire ask why\n - if th... |
[
{
"msg_contents": "Is there a way to find a number of current connections on Postgres 7.3.x\n?\n\nI looked at some system tables and views, but did not see anything\nobvious.\n\n \n\nThank you,\n\nMike\n\n \n\n\n\n\n\n\n\n\n\n\nIs there a way to find a number of current connections on\nPostgres 7.3.x ?\nI looke... |
[
{
"msg_contents": "Tom Lane Wrote:\n\n> Surely they require a unique constraint --- else the behavior \n> isn't even well defined, is it?\n\n From the mysql manual:\n\n'REPLACE works exactly like INSERT, except that if an old record in the\ntable has the same value as a new record for a PRIMARY KEY or a UNIQUE\... |
[
{
"msg_contents": "I Wrote:\n\n> From the mysql manual:\n> \n> 'REPLACE works exactly like INSERT, except that if an old \n> record in the table has the same value as a new record for a \n> PRIMARY KEY or a UNIQUE index, the old record is deleted \n> before the new record is inserted. See Section 13.2.4, \n> \"... |
[
{
"msg_contents": "Jaime Casanova Wrote:\n \n> But MERGE isn't REPLACE...\n> \n> REPLACE will delete old records to insert new ones; MERGE try \n> to insert and if the record exists then can UPDATE just a few \n> values, maybe incrementing them with a value (all the \n> calculation are doing by the MERGE)\n\nTh... |
[
{
"msg_contents": "It seems to me that it has always been implicitly assumed around here \nthat the MERGE command would be a substitute for a MySQL-like REPLACE \nfunctionality. After rereading the spec it seems that this is not the \ncase. MERGE always operates on two different tables, which REPLACE \ndoesn'... |
[
{
"msg_contents": "Is there a way to find a number of current connections on Postgres 7.3.x\n?\n\nThank you,\nMike\n\n",
"msg_date": "Fri, 11 Nov 2005 15:09:41 -0500",
"msg_from": "\"Brusser, Michael\" <Michael.Brusser@matrixone.com>",
"msg_from_op": true,
"msg_subject": "How to find a number of... |
[
{
"msg_contents": "Please disregard this duplicate submission, my mistake.\n\nMike\n\n \n\n________________________________\n\nFrom: pgsql-hackers-owner@postgresql.org\n[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Brusser,\nMichael\nSent: Friday, November 11, 2005 12:35 PM\nTo: pgsql-hackers@postgre... |
[
{
"msg_contents": "This has been posted to performance but i didin't had any answer i could\nlook forward...\n\nIf anyone got some time for explanation,examples..\n\n\nAbstract:\n\nThe function that can be found at the end of the e-mail emulate two\nthing.\n\nFirst it will fill a record set of result with neede... |
[
{
"msg_contents": "Hi,\n\nI'm just a little bit confused because I expected postgresql to be able\nt \"connect by prior\" but as I have seen it is not. :-(\nAre there any plans to support this in the main distribution? If have\nfound a patch to porstgres but I don't want to apply any patches but\nonly use the \... |
[
{
"msg_contents": "Postresql 8.1.0:\n\nI was looking what does vacuumlo provide in contrib, but it seems there is a \nproblem with messages given by this program:\n\n[nanardon@draco regress]$ /usr/bin/vacuumlo\nvacuumlo: missing required argument: database name\nTry 'vacuumlo -?' for help.\n[nanardon@draco regr... |
[
{
"msg_contents": "Thank you, this is very handy.\nI'd like to understand why the result of this query is different\nfrom the number of Postgres processes reported by `ps`.\n(The query returns 8, ps shows 11)\n\nOne process is really postmaster, the others seem to be doing some\nhouse chores: stats buffer proce... |
[
{
"msg_contents": "An occasionally asked question is \"How can I find out how many rows\na cursor will return?\" to which the answer is \"Fetch them all.\" But\nwhat about a way to get the planner's estimate? Would anybody find\nthat useful? Does the code below look close to being correct?\n\ntest=> EXPLAIN ... |
[
{
"msg_contents": "Hi,\n\nI'm using PG_DUMP for backing up a postgres 7.4 database. As I have\nseen, the pg_dump aquires a table lock while dump the table's content.\nWhat will happen, if I have a basic table and several inherited tables.\nWill the PG_DUMP tool only aquire locks on the inherited tables or on\nt... |
[
{
"msg_contents": "Hi,\n\nI have a connection that is created with \"prepareThreshold=1\" in the\nconnection string. I use a prepared statement that I fill with\naddbatch() and that I execute with executeBatch() (for full source: see\n\"application.java\" attachment).\n\nTracing all statements in my PostgreSQL ... |
[
{
"msg_contents": "Hi Kris,\n\nYou have tested this with an insert statement. Could you do that also for an update (or try to tell me how I can do that)? I am getting very strange differences in running time between inserts and update ( 260000 inserts are measured in seconds, 260000 updates over 1 column in the... |
[
{
"msg_contents": "On 11/12/05, Matteo Beccati <php@beccati.com> wrote:\n> Tom Lane wrote:\n> > Peter Eisentraut <peter_e@gmx.net> writes:\n> >> It seems to me that it has always been implicitly assumed around here\n> >> that the MERGE command would be a substitute for a MySQL-like REPLACE\n> >> functionality. ... |
[
{
"msg_contents": "\nI was just looking briefly at doing \"drop if exists\" as we discussed \nrecently.\n\nThe MySQL syntax is actually \"drop table if exists foo ...\". \nImplementing this unfortunately generates a shift/reduce conflict, \nunless I put IF in the func_name_keyword list, which strikes me as a ba... |
[
{
"msg_contents": "Is there a way to force select * from foo to use binary values ?\n\nDave\n",
"msg_date": "Sun, 13 Nov 2005 16:40:36 -0500",
"msg_from": "Dave Cramer <pg@fastcrypt.com>",
"msg_from_op": true,
"msg_subject": "forcing returned values to be binary"
},
{
"msg_contents": "Da... |
[
{
"msg_contents": "== PostgreSQL Weekly News - November 13 2005 ==\n\nPostgreSQL 8.1 released :) Get the details here.\nhttp://www.postgresql.org/docs/whatsnew\n\nPostgreSQL 8.1.0 is now in the OpenBSD ports tree\n\nTeodor Sigaev has been making lots of improvements to tsearch2, a\nfull-text search engine.\n\n... |
[
{
"msg_contents": "\n\n\n\nHi everybody,\n\nMy questions may seem kind of odd.\n\nI would like to run PostGreSQL on a DVD (database on the DVD and if\npossible executable on DVD too) on windows.\nI want no installation at all, so I took the no install package.\n\nThe problem is the need of creating a non-admin ... |
[
{
"msg_contents": "Hi all,\n\nA colleague pointed out to me today that the following is actually\npossible on Oracle, MySQL, et al:\n\ntemplate1=# create table a (i int);\nCREATE TABLE\ntemplate1=# create table b (i int);\nCREATE TABLE\ntemplate1=# insert into a values(1);\nINSERT 0 1\ntemplate1=# select * from... |
[
{
"msg_contents": "New in 8.1 it seems functions marked STABLE are\nnot allowed to have any INSERT statement in them.\n\nHowever in this particular case, the insert does not\nviolate the rule:\n\n\"STABLE indicates that within a single table scan the function will \nconsistently return the same result for the s... |
[
{
"msg_contents": "I looked into Frank van Vugt's recent report of bizarre behavior in 8.1:\nhttp://archives.postgresql.org/pgsql-bugs/2005-11/msg00121.php\n\nThe problem occurs because execMain.c's ExecInsert() replaces the\ncontents of the TupleTableSlot passed to it with whatever the trigger\nhands back. Th... |
[
{
"msg_contents": "> That's pretty bizarre. What's the datatype of the key column(s)?\n> \n> Can you reduce it to a smaller test case, or perhaps send me the full\n> dump off-list? (270m is a bit much for email, but web or ftp would\n> work ... also, presumably only the pkey column is needed to generate\n> th... |
[
{
"msg_contents": "On 11/14/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:\n> Merlin Moncure <mmoncure@gmail.com> writes:\n> > I just confirmed that there are duplicate p-keys in the source table :(.\n>\n> Well, that's not very good either, but at least it narrows down the\n> problem.\n>\n> Do the \"duplicate\" rows a... |
[
{
"msg_contents": "Log Message:\n-----------\nTranslation typo fix\n\nModified Files:\n--------------\n pgsql/src/backend/po:\n es.po (r1.10 -> r1.11)\n (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/po/es.po.diff?r1=1.10&r2=1.11)\n",
"msg_date": "Mon, 14 Nov 2005 18:08:15 -0... |
[
{
"msg_contents": "The 7.4 tree has never built cleanly on Wallaroo, a Mac OS X 10.3.8 \nmember of the build farm. Currently it's failing in the make contrib \nstage. I'd like to get it to build properly, but I don't know enough \nto be able to make sense of the log output. I'd be grateful if \nsomeone coul... |
[
{
"msg_contents": "Anyone!\n\nBefore anything else, I have no background in PostgreSQL. But I have a\nlittle knowledge in Linux. We used postgreSQL to run one of our website. It\nruns in Redhat Linux 7.3. Our System Administrator, who used to maintain\nthis server, had resigned and didn't have a proper document... |
[
{
"msg_contents": "> I think we should rerun pgindent on 8.1.X and HEAD to correct \n> the reported problems. I am betting 90% of our patches \n> either come from CVS head or 8.1.X branches greater than 8.1.0.\n\nDo we really want to run cosmetic cleanups on a stable branch?\n\nI'm sure it *should* be safe, it... |
[
{
"msg_contents": "> > > Why do you need to run PostgreSQL as admin? There \n> shouldn't be any \n> > > need for this.\n> > \n> > Actually I've run into a scenario where this was needed. I'm not a \n> > Windows expert, so there might be some way to get around this:\n> > \n> > I have a localadmin account on the ... |
[
{
"msg_contents": "> I explain myself about running PostGre as admin.\n> \n> In fact I don't want specifically run PostGre as admin. The problem\nis, on\n> the computers the application including PostGre will run, I'm not sure\n> that\n> the user won't have any admin or power user rights. Furthermore, I've\n> n... |
[
{
"msg_contents": "> > Huh. The stated problem is that the low privilege account \n> does *not* \n> > have the required privilege (to log in).\n> > Note that PostgreSQL doesn't really require \"log on locally\" for \n> > anything other than initdb. So if you can initdb on a different box \n> > and copy it there... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> Magnus Hagander\n> Sent: 15 November 2005 13:31\n> To: Martijn van Oosterhout\n> Cc: Andreas Joseph Krogh; pgsql-hackers@postgresql.org\n> Subject: Re... |
[
{
"msg_contents": "> > Yes. And this is a good thing! :-)\n> > There is no reason a normal user should be able to run a service \n> > process. And services should normally have dedicated accounts, and \n> > there is no reason you should ever need to log in as that account \n> > interactively.\n> \n> Yes there i... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: Magnus Hagander [mailto:mha@sollentuna.net] \n> Sent: 15 November 2005 13:45\n> To: Dave Page; Martijn van Oosterhout\n> Cc: Andreas Joseph Krogh; pgsql-hackers@postgresql.org\n> Subject: RE: [HACKERS] Running PostGre on DVD\n> \n> > > Yes. And this ... |
[
{
"msg_contents": "> > I explain myself about running PostGre as admin.\n> > \n> > In fact I don't want specifically run PostGre as admin. The problem\n> is, on\n> > the computers the application including PostGre will run, \n> I'm not sure \n> > that the user won't have any admin or power user rights. \n> Furt... |
[
{
"msg_contents": "> > Magnus Hagander wrote:\n> >> Do we really want to run cosmetic cleanups on a stable branch?\n> \n> > Agreed, it is not a great idea, but if we don't, then 8.1.X and CVS \n> > HEAD will not match indenting, and patches generated by 8.1.X users \n> > will not apply cleanly to CVS HEAD. And... |
[
{
"msg_contents": "\n> > This has been proposed before, and always rejected. While you're \n> > always welcome to provide a patch, I'm very doubtful it would be \n> > accepted into the main product.\n> \n> The example given in this thread certainly isn't going to change\nanybody's mind.\n> \"Hi, I propose reduc... |
[
{
"msg_contents": "> \n> The example given in this thread certainly isn't going to change\n> anybody's mind. \"Hi, I propose reducing everybody's security because\n> my local admins insist on an utterly brain-dead security policy.\"\n>\n\nWhat's wrong with that? ;)\n\nBut seriously, the proposal is not to redu... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of \n> eric.leguillier@mpsa.com\n> Sent: 15 November 2005 15:15\n> To: Magnus Hagander\n> Cc: pgsql-hackers@postgresql.org\n> Subject: Réf. : RE: [HACKERS] R... |
[
{
"msg_contents": "> > > I don't understand why an user can't WILLINGLY (by EXPLICITLY \n> > > setting an\n> > > OPTION) allow a privileged administrator to run PostGre.\n> > \n> > Well, to start with, it increases the support costs of the \n> product as \n> > a whole to the community. Adding an option with sev... |
[
{
"msg_contents": " \n\n> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org \n> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Rod Taylor\n> Sent: 15 November 2005 16:40\n> To: Jim C. Nasby\n> Cc: Pollard, Mike; pgsql-hackers@postgresql.org\n> Subject: Re: [HACKERS] Running PostGr... |
[
{
"msg_contents": "Hi list.\n\nI've mostly used Oracle in the past, but for a web-project I took the \nopportunity to try Postgres.\n\nWhen a select is done in Oracle, it first checks if the select is cached \n(ie parsed tree, optimizer choices & such). It does this by \n[functionality equal to] a byte to byte ... |
[
{
"msg_contents": "> > There is *NOTHING* wrong with the model in this case. It's the \n> > specific implementation of the mdoel that is broken.\n> > If you assign every user uid \"0\" in Unix, I beleive you'd \n> get the same \n> > problem as when you assign every user an admin on \n> windows... Both are \n> >... |
[
{
"msg_contents": "> > > For example, does the windows model allow you to say (without \n> > > creating a new user): I irrevocably restrict my access to files \n> > > owned by user X for this process *only*. Or to files under \n> > > subdirectory Y. Or I irrevocably restrict my access to open new \n> > > networ... |
[
{
"msg_contents": "> > > Ah, now we are making progress. If there was a way to \n> give up file \n> > > access permissions so you could no longer write files to, \n> say, the \n> > > Windows System directory, this would go a long way to solving the \n> > > issue. Currently, if the Postmaster runs as admin, anyo... |
[
{
"msg_contents": "http://www.postgresql.org/docs/faqs.FAQ_MINGW.html\n\nThat is where we started, and I should have mentioned it, even\nthough the post to which I was replying suggested that Gevik had\nread that and was looking for more detail. We hope to contribute\na patch to fill in details; meanwhile, I w... |
[
{
"msg_contents": "We were initially logging out of the Windows GUI environment and back in\nagain to do the Windows builds. Discovering runas made the whole\nprocess MUCH less painful. So far I haven't needed to use any advanced\nfeatures of sudo or runas; in my view either is easy to use for the\ncommon\nca... |
[
{
"msg_contents": "Hi, I can run following odd command(note that no spaces between 1 and\nwhere):\n\ntest=# select 1where true;\n ?column? \n----------\n 1\n(1 row)\n\nIs this a bug or a feature? This is PostgreSQL 8.1.0.\n--\nSRA OSS, Inc. Japan\nTatsuo Ishii\n",
"msg_date": "Wed, 16 Nov 2005 10:08:... |
[
{
"msg_contents": "So the recent thread about getting 7.4 compiling on OS X inspired me.\nBut what I can't understand is that I've yanked --with-ssl, but it's\nstill looking for libssl:\nhttp://pgbuildfarm.org/cgi-bin/show_log.pl?nm=cuckoo&dt=2005-11-15%2023:56:22\nccache gcc -no-cpp-precomp -O2 -fno-strict-ali... |
[
{
"msg_contents": "Hi folks\n\nWe're developing here gist index (which works finally, and I remember \nabout writing some docs about it).\nI have few fprintf(stderr,\"\"\") in function that converts internal \nrep. into string. I was really supprised to see them on me screen when :\nselect count(b) from blah ... |
[
{
"msg_contents": "I've a problem occurring daily for me, I get quite a few deadlocks every day, \nand the concurrency is not so high. Happens with postgresql 8.0 and 8.1. as \nwell...\n\nHere's a self-contained testcase, which I think it might be the problem I have \nin our production database. While it might ... |
[
{
"msg_contents": "> Firstly, if you just want a count, what's wrong with count(1) or\n> count(*).\n>\n\nBecause unless the column does not allow nulls, they will not return the\nsame value.\n\nMike Pollard\nSUPRA Server SQL Engineering and Support\nCincom Systems, Inc.\n--------------------------------\n Bette... |
[
{
"msg_contents": "Richard Huxton wrote:\n> Pollard, Mike wrote:\n> >>Firstly, if you just want a count, what's wrong with count(1) or\n> >>count(*).\n> >>\n> >\n> >\n> > Because unless the column does not allow nulls, they will not return\nthe\n> > same value.\n> \n> Ah, but in the example given the column was... |
[
{
"msg_contents": "\nIf count(<col>) convert <col> to a string (an assumption that Martijn\nhas cast into doubt, or perhaps shredded), then rather than convert all\nnon-nulls that are not a string into a string, I was proposing\nconverting the values into an int with the values 0 or 1 (0 means that\nrow was nul... |
[
{
"msg_contents": "Log Message:\n-----------\nmake_restrictinfo() failed to attach the specified required_relids to\nits result when the clause was an OR clause. Brain fade exposed by\nexample from Sebastian B�ck.\n\nModified Files:\n--------------\n pgsql/src/backend/optimizer/util:\n restrictinfo.c... |
[
{
"msg_contents": "Now we're into 8.2devel mode, its time to submit the previously\ndiscussed patch that:\n\n- reduces Numeric storage format by 2 bytes\n- limits scale to +/- 508 decimal places\n\nThis is sufficient to allow Numeric to continue to be used as the\ndefault numeric representation for all numbers ... |
[
{
"msg_contents": "While hacking on the nulls-in-arrays addition, I noticed a couple of\nbehaviors that seem a bit bogus to me.\n\nFirst, array slicing returns NULL any time the requested slice falls\ncompletely outside the array bounds. For instance\n\nregression=# select ('{1,2,3}'::int[])[2:4];\n int4\n----... |
[
{
"msg_contents": "I leaving for Mexico in a few hours to speak at a conference. I return\non Monday.\n\nIs it helpful to tell hackers when I am not around? I was in NYC last\nweek for four days and didn't publicize it. Of course, I didn't finish\nmy backlog of email until yesterday. I guess the question is... |
[
{
"msg_contents": "> -----Original Message-----\n> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-\n> owner@postgresql.org] On Behalf Of Simon Riggs\n> Sent: Wednesday, November 16, 2005 10:35 AM\n> To: Martijn van Oosterhout\n> Cc: Bruce Momjian; Rick Gigger; Tom Lane; Christopher Kings-Lynne; ... |
[
{
"msg_contents": "Other than backing up $PGDATA\nand running pg_resetxlog\n\nIs there any advice ?\n\nDave\n\nNov 16 18:03:30 dx1-ptr postgres[22337]: [6-2] '2005-11-16 17:47:31'\nNov 16 18:03:32 dx1-ptr postgres[29335]: [2-1] LOG: received fast \nshutdown request\nNov 16 18:03:32 dx1-ptr postgres[29335]: [... |
[
{
"msg_contents": "I assume CREATE TABLESPACE refuses to use a non-empty directory because of the \nrisk of trashing existing files. Makes sense, but consider the following:\n\n# mkfs -t ext2 /dev/sdc1\n# mount -t ext2 /dev/sdc1 /mnt/pg_tables\n# chown postgres /mnt/pg_tables\n# su -c psql pyarra\npyarra=# CREA... |
[
{
"msg_contents": "Hi guys,\n\nI've set up a new sample databases project:\n\nhttp://pgfoundry.org/projects/dbsamples/\n\nIf any of you have sample databases (schema + data, pg_dump format) that \nyou are willing to share under the BSD license, please send 'em to me so \nI can host them on the project.\n\nYou m... |
[
{
"msg_contents": "[copying this one over to hackers]\n\n> Our DBAs reviewed the Microsoft documentation you referenced, \n> modified the registry, and rebooted the OS. We've been \n> beating up on the database without seeing the error so far. \n> We'll keep at it for a while.\n\nVery interesting. As this see... |
[
{
"msg_contents": "\n> > This is because lost+found exists. Since lost+found would be a \n> > reasonably common directory to find at a mount-point on Unix-like \n> > OSs*, would it make sense for CREATE TABLESPACE to ignore it if\npresent?\n\n> No. There is no reason to use a volume's root directory as a\ntabl... |
[
{
"msg_contents": "> The problem I try to solve is something along: a bunch of clients try\nto update a count, and ONE of them must initialize > the count if it\ndoes not exist... this can't be done with current infrastructure without\nrace conditions.\n\nThe solution without merge but a unique key in other db'... |
[
{
"msg_contents": "On a fresh installation of postgrsql 8.1\tif you drop the\n'postgres' database,\npsql, createdb, etc. no longer works.\n\npsql -l; ignores -dtemplate1, and createdb doesn't have such an option.\n\nMaybe it should fallback to template1 if the postgres database doesn't\nexist?\n\n... John\n\n",... |
[
{
"msg_contents": "When a table has been CLUSTERed on a particular index AND that index\nvalues is monotonically increasing, then it would be a bad move to use\nblocks from the FSM since this would tend to destroy the natural\nclustering sequence.\n\nThe index values will be monotonically increasing if a dataty... |
[
{
"msg_contents": "1) We run a couple Java applications on the same box to provide\nmiddle tier access. When the box is heavily loaded, I think I've\nseen about 80% PostgreSQL, 20% Java load.\n\n2) I checked that no antivirus software was running, and had the\ntechs pare down the services running on that box t... |
[
{
"msg_contents": "I'm not an expert on that, but it seems reasonable to me that the\npage pool would free space as the I/O system caught up with\nthe load. Also, I'm going on what was said by Qingqing and\nin one of the pages he referenced:\n\nhttp://support.microsoft.com/default.aspx?scid=kb;en-us;274310\n\n... |
[
{
"msg_contents": "> >>> Tom Lane <tgl@sss.pgh.pa.us> >>>\n> \"Kevin Grittner\" <Kevin.Grittner@wicourts.gov> writes:\n> > None of this seems material, however. It's pretty clear that the \n> > problem was exhaustion of the Windows page pool.\n> > ...\n> > If we don't want to tell Windows users to make highly... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.