[BUGS] Performance postgresql

2003-11-28 Thread Marcin Kapski
Hi sorry for my english My serwer is: p4 2.4 Ghz, 1 GB RAM, data from postgres on RAID 0 SCSI (hardware scsi) some tables (about 15) have 50.000 position, and all data (pgdumpall) are about 600 MB I have apache 1.3.29 - and he use the database for generate pages. So my problem is performance thi

Re: [BUGS] SELECT with MANY tables

2003-11-28 Thread Javier Carlos
Quoting Stephan Szabo <[EMAIL PROTECTED]>: > > On Mon, 24 Nov 2003, Javier Carlos wrote: > > > Quoting Stephan Szabo <[EMAIL PROTECTED]>: > > > > > > > > On Mon, 24 Nov 2003, Javier Carlos wrote: > > > > > > > > > > > Please enter a FULL description of your problem: > > > > -

Re: [BUGS] Complex cursor won't rewind to 0-th row

2003-11-28 Thread typea
So I've finally gotten around to applying this patch for cursors... http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeUnique.c 1.34.2.1 Now it's POSSIBLE that I've managed to screw up something fundamentally simple in the patch/make/install process, so step by step.

Re: [BUGS] Complex cursor won't rewind to 0-th row

2003-11-28 Thread Tom Lane
[EMAIL PROTECTED] writes: > So I've finally gotten around to applying this patch for cursors... > http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/nodeUnique.c > 1.34.2.1 Why would you think that patch alone would solve all the issues with running cursors backwards? It

Re: [BUGS] SELECT with MANY tables

2003-11-28 Thread Javier Carlos
Quoting Tom Lane <[EMAIL PROTECTED]>: > Javier Carlos <[EMAIL PROTECTED]> writes: > >When I make a SELECT with many tables (more than 12), postgresql eats > all my > > %CPU and I've waited more than 1 hour and stays the same. The weird thing > is > > that with 10 tables the same select with th

[BUGS] COPY alloc problem in 7.4

2003-11-28 Thread Margus Väli
Your name : Margus Väli Your email address : mvali at hot.ee

[BUGS] Some troubles from Postgrres_beta4

2003-11-28 Thread Ngo Cong Do
Dear Administrator, My name is Do, live in Vietnam. I am a beginner to learn PostgreSQL Database. I have installed Postgres_beta4 for Windows 2000 Advanced Server, and it is working very good several days (a week). I have created database, table, etc. Everything I have done very good. Until n

[BUGS] Problem using LIMIT 1 when only 1 record exists.

2003-11-28 Thread Steve Thames
I have a table with 14,655,100 rows in it. No unique keys. I have an index on the fields "symbol", varchar[12], and "qdate", int4 as format=MMDD. I have a field called "expmoyr", char[6] as format=Mmm-YY. I have a field called "last", float4. The SQL command: SELECT last FROM table WHERE symb

[BUGS] Problem with building PostgreSQL 7.4 from source

2003-11-28 Thread Mark Iszler
I am having some difficulty with building PostgreSQL 7.4 from source code. I am not using any special options -- just running ./configure and gmake (using GNU Make version 3.79.1). I am using an x86 based system running Slackware Linux 8.1 (kernel version 2.4.18). Running the regression tests with

Re: [BUGS] Some troubles from Postgrres_beta4

2003-11-28 Thread Bruce Momjian
Ngo Cong Do wrote: > Dear Administrator, > My name is Do, live in Vietnam. > I am a beginner to learn PostgreSQL Database. I have > installed Postgres_beta4 for Windows 2000 Advanced > Server, and it is working very good several days (a week). > I have created database, table, etc. Everything

Re: [BUGS] COPY alloc problem in 7.4

2003-11-28 Thread Neil Conway
Margus Väli <[EMAIL PROTECTED]> writes: > COPY command tries to create a buffer too large in size when the > file copied is larger than about 500 bytes. Can anyone else reproduce this? I did the following with a fairly recent CVS snapshot: 1. Copied the supplied text data to a file, fixed up

Re: [BUGS] Problem using LIMIT 1 when only 1 record exists.

2003-11-28 Thread Neil Conway
"Steve Thames" <[EMAIL PROTECTED]> writes: > The SQL command: > SELECT last FROM table WHERE symbol='Symbol' AND expmoyr='Mmm-YY' ORDER BY > qdate DESC LIMIT 1; > > This query works fine when there is more than one record meeting the > criteria. When there is only 1, the query locks and no result

Re: [BUGS] Problem using LIMIT 1 when only 1 record exists.

2003-11-28 Thread Tom Lane
Neil Conway <[EMAIL PROTECTED]> writes: > "Steve Thames" <[EMAIL PROTECTED]> writes: >> The SQL command: >> SELECT last FROM table WHERE symbol='Symbol' AND expmoyr='Mmm-YY' ORDER BY >> qdate DESC LIMIT 1; >> >> This query works fine when there is more than one record meeting the >> criteria. Whe

Re: [BUGS] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Tom Lane
Breen Ouellette <[EMAIL PROTECTED]> writes: > The result of this ambiguity is that the > latest CD release of OpenBSD (3.4) no longer includes Postgresql We are not changing the license text we inherited from Berkeley. We do not have the right to, nor any interest in doing so. Our interpretation

[BUGS] Misplaced modifier in Postgresql license

2003-11-28 Thread Breen Ouellette
Something very important was recently raised on the [EMAIL PROTECTED] list. Due to the current environment that SCO is fostering in the open source community, it would be prudent for the PostgreSQL team to consider this issue. The website claims that "PostgreSQL is distributed under the flexible

Re: [BUGS] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Bruce Momjian
Tom Lane wrote: > Breen Ouellette <[EMAIL PROTECTED]> writes: > > The result of this ambiguity is that the > > latest CD release of OpenBSD (3.4) no longer includes Postgresql > > We are not changing the license text we inherited from Berkeley. > We do not have the right to, nor any interest in do

Re: [BUGS] [GENERAL] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Bruce Momjian
Richard Welty wrote: > but you can consult with the attorneys for the Regents. they have > changed the license at times, and have passed those changes on > to other BSD licensed projects (e.g., when they removed the > advertising clause the advertising clause was also removed from > all the code in

Re: [BUGS] [GENERAL] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Bruce Momjian
Richard Welty wrote: > On Fri, 28 Nov 2003 17:23:56 -0500 (EST) Bruce Momjian <[EMAIL PROTECTED]> wrote: > > > Richard Welty wrote: > > > but you can consult with the attorneys for the Regents. they have > > > changed the license at times, and have passed those changes on > > > to other BSD licens

Re: [BUGS] [GENERAL] [ADMIN] Misplaced modifier in Postgresql license

2003-11-28 Thread Bruce Momjian
Richard Welty wrote: > On Fri, 28 Nov 2003 17:58:19 -0500 (EST) Bruce Momjian <[EMAIL PROTECTED]> wrote: > > OK, where did you get this wording? Is this something Berkeley released > > as one of their versions of the BSD license. > > yes, i believe that it originally came from the Berkeley lawyer