Re: [BUGS] low performance

2001-08-20 Thread grant
Is this running as one transaction, or is it not a transaction? Have you tried committing every 10,000 or so if it is in one transaction? It could be a logging problem with the transaction being too big. Does the file system as a whole get slow, or just Postgres? Is it one connection, or does

Re: [BUGS] Left Join/Outer Join

2001-08-21 Thread grant
Left/Outer joins are supported, but not until version 7.1. Most Linux distros are shipping still with 7.0.3. Upgrade. Your problem will be fixed. __ Your mouse has moved. You must rest

Re: [BUGS] Bug #441: Index using INT8 data type is ignored

2001-09-07 Thread grant
2 questions: 1) Have you recently run an analyze? 2) Are you sure that an index scan would be more efficient than a seq scan? (are less than 25% of the records selected) I don't know the break-off boint in the query optimizer, but it may be more efficient on that table to read the whole thing.

Re: [BUGS] pg_dumpall forces plain text format

2002-07-11 Thread grant
You could fake some of this (select only) by using the dblink stuff in contrib. You could link back to yourself and make it work. Maybe if you REALLY need it, you could modify dblink to allow updates as well as selects. If you really need it that bad, you have the source, write it. --

[BUGS] Bug in libpq large-object interface

2000-05-29 Thread Ian Grant
exec_cmd(conn, "END TRANSACTION"); exit(0); } void exec_cmd(PGconn *conn, char *str) { PGresult *res; if ((res = PQexec(conn, str)) == NULL) { fprintf(stderr, "Error executing %s.\n", str); fprintf(stderr, "Error message: %s\n", PQerrorMessage(conn)); exit(1); } if (PQresultStatus(res) != PGRES_COMMAND_OK) { fprintf(stderr, "Error executing %s.\n", str); fprintf(stderr, "Error message: %s\n", PQerrorMessage(conn)); PQclear(res); exit(1); } PQclear(res); } -- Ian Grant, Computer Lab., New Museums Site, Pembroke Street, Cambridge Phone: +44 1223 334420 Personal e-mail: iang at pobox dot com

[BUGS] Bug in libpq large-object interface

2000-05-29 Thread Ian Grant
believed it was then fixed by Tatsuo, after a couple of iterations. I'm sorry to be the bearer of bad news ... Please reply to me directly since I'm not on the list. Thanks Ian -- Ian Grant, Computer Lab., New Museums Site, Pembroke Street, Cambridge Phone: +44 1223 334420 Personal e-mail: iang at pobox dot com

[BUGS]

2000-06-14 Thread Ian Grant
sage(conn)); exec_cmd(conn, "END TRANSACTION"); exit(0); } void exec_cmd(PGconn *conn, char *str) { PGresult *res; if ((res = PQexec(conn, str)) == NULL) { fprintf(stderr, "Error executing %s.\n", str); fprintf(stderr, "Error message: %s\n", PQerrorMessage(conn)); exit(1); } if (PQresultStatus(res) != PGRES_COMMAND_OK) { fprintf(stderr, "Error executing %s.\n", str); fprintf(stderr, "Error message: %s\n", PQerrorMessage(conn)); PQclear(res); exit(1); } PQclear(res); } -- Ian Grant, Computer Lab., New Museums Site, Pembroke Street, Cambridge Phone: +44 1223 334420 Personal e-mail: iang at pobox dot com

Re: [BUGS] large object seek/write bug

2000-06-15 Thread Ian Grant
our mind you might consider implementing lo_truncate (the lo_ analog of the unix truncate system call.) At present there is no way to reduce the size of a large object except by copying to a new one (and then we still can't delete the old one, or can we do that now?) Cheers Ian -- Ian Gr

Re: [BUGS] createlang

2002-01-11 Thread Grant Johnson
I have noticed that some of the command line tools do not work nicely when the local auth is not set to trust, but trust is dangerous. Have you tried creating the language from psql rather than from the command line? [EMAIL PROTECTED] wrote: >postgres@abigail ~/data $ createdb test1 >Password

Re: [BUGS] initdb problems

2002-02-01 Thread Grant Johnson
All CYGWIN users, make sure that cygipc is on your machine and running before doing anything with Postgres. Michaele Holtman wrote: [EMAIL PROTECTED]"> I am trying to use postgres with the CYGWIN binaries for WIN/2000.  I started initdb with '--debug' and it got as far as   postgr

[BUGS] initdb fails on ia64 SMP system

2002-08-20 Thread Ian Grant
Hello PostgreSQL people, Thanks for making PostgreSQL, it's great. Here's a bug report. Thanks Ian Your name : Ian Grant Your email address : [EMAIL PROTECTED] System Configuration - Architecture (example: Intel Pentium) : ia64,

Re: [BUGS] initdb fails on ia64 SMP system

2002-08-20 Thread Ian Grant
> Ian Grant <[EMAIL PROTECTED]> writes: > > Architecture (example: Intel Pentium) : ia64, 4 way SMP > > Operating System (example: Linux 2.0.26 ELF) : Linux 2.4.3 SMP kernel > > Does anything else work for you on that box? I seem to recall that >

Re: [BUGS] initdb fails on ia64 SMP system

2002-08-20 Thread Ian Grant
> Ian Grant <[EMAIL PROTECTED]> writes: > > Architecture (example: Intel Pentium) : ia64, 4 way SMP > > Operating System (example: Linux 2.0.26 ELF) : Linux 2.4.3 SMP kernel > > Does anything else work for you on that box? I seem to recall that >

[BUGS] 7.3.3 configure should check for curses before readline

2003-07-02 Thread Ian Grant
The canned readline check assumes that curses is already installed. If it isn't then the readline check fails and configure reports that readline is not available. The real problem though is that curses is not available. -- Ian Grant, Computer Lab., William Gates Building, JJ Thomso

Re: [BUGS] select where id=random()*something returns two results

2003-09-19 Thread Ian Grant
> Sorry for buggering you, I get the point :) I think you mean 'bugging.' Buggering is something quite different. ---(end of broadcast)--- TIP 8: explain analyze is your friend

[BUGS] Column names: where, group by, having inconsistent behaviour?

2004-12-02 Thread Jan Grant
and output columns; nevertheless, the loosening of the behaviour of "group by" doesn't seem to sit with the restriction on "having". I also appreciate the need to support "standard" sql - but in the absence of ambiguities, shouldn't this expression "do wha

Re: [BUGS] BUG #2000: psql does not prompt for password

2005-10-28 Thread Mike Grant
I get the same thing with 8.0.4, on Windows XP Professional. ~Mike Bruce Momjian wrote: > Todd wrote: > > > > The following bug has been logged online: > > > > Bug reference: 2000 > > Logged by: Todd > > Email address: [EMAIL PROTECTED] > > PostgreSQL version: 8.1 Beta 4 > > Op

[BUGS] BUG #5955: One-click installer does not escape password

2011-03-28 Thread Rob Grant
The following bug has been logged online: Bug reference: 5955 Logged by: Rob Grant Email address: r...@occipital.com PostgreSQL version: 9.0 Operating system: OS X Description:One-click installer does not escape password Details: I provided the one-click installer

[BUGS] BUG #5781: unaccent() function should be marked IMMUTABLE

2010-12-02 Thread Grant Hutchins and Peter Jaros
The following bug has been logged online: Bug reference: 5781 Logged by: Grant Hutchins and Peter Jaros Email address: gr...@pivotallabs.com PostgreSQL version: 9.0.1 Operating system: Mac OS X 10.6.4 Description:unaccent() function should be marked IMMUTABLE Details