Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Marc G. Fournier
On Wed, 21 Apr 2004, Mike Mascari wrote: > Doesn't sa-learn also require you to teach it Ham as well? My problem > has been that sa-learn appears to ignore white-listed emails and > therefore can't learn from 90% of my Ham. Meanwhile, I get spam that > slips through SA that my Mozilla client *corr

[GENERAL] postgresql idle

2004-04-21 Thread Jon Pastore
I have a strange error.   when I do a ps aux I get:   postgres 15018  0.0  0.6  9192 7396 ?    S    09:20   0:00 /usr/bin/perl /www/nexum/cgi-bin/accounting/posting/automatic_postingpostgres 15019  0.0  0.3 25696 4176 ?    S    09:20   0:00 postgres: postgres nexum [local]: idle

Re: [GENERAL] performance problem aftrer update from 7.1 to 7.4.2

2004-04-21 Thread Development - multi.art.studio
hello again, i did some mistakes, site-id was wrong in my simple select querys. (interesting that no matches would take double time on 7.4) here are the 'right' results, showing to me postgres 7.4 is slightly slower with simple querys (but 1000-times faster with more complex querys ;-) wit

Re: [GENERAL] ident authentication problem

2004-04-21 Thread Uwe C. Schroeder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 21 April 2004 04:53 pm, Shanta McBain wrote: > On April 21, 2004 13:26, Karsten Hilbert wrote: > > If you follow this sage advice you'll open up your financial > > data to anyone happening to have an account on the machine in > > question.

Re: [GENERAL] performance problem aftrer update from 7.1 to 7.4.2

2004-04-21 Thread Development - multi.art.studio
hello, >Richard Huxton wrote: >What I suggest: >1. Compare the two postgresql.conf files and any other config settings and >make sure you know what differences there are and why. >2. Identify what queries seem to be the cause of the problem, and pick one you >think is a good example. >3. VA

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Mike Nolan
> In fact the problem seems to come from the "INSERT INTO". I delete > everything from the function and only keep the "INSERT INTO" and get the > same problem. Given that this is supposed to be a trigger function, what's your 'create trigger' statement look like? Part of the problem may be

[GENERAL] kill -2

2004-04-21 Thread Jord Tanner
Greetings, Does anyone know what the effect of sending an INT signal (kill -2) to each of: - pg backend - psql running an insert or select into - Perl script with DBI connection to pg, running insert or select into - vacuumdb I'm getting some database corr

Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Joe Conway
Michael Chaney wrote: Make sure you have the latest SA and make sure that Bayesian filtering is turned on and working, and make sure to train the filter. Reply to me offlist if you need a group of 5000 or so spams to help train it. I've got the latest SA and I'm using Bayesian filtering, autolearn

[GENERAL] 7.3.4 on Linux: UPDATE .. foo=foo+1 degrades massivly over time

2004-04-21 Thread Philipp Buehler
Hello, postgresql 7.3.4 on Debian or the redhat packaged 7.3.4-8 on RHEL AS3 - same issue, so I somewhat cut out RH is playing things on me. Tested on two different PCs, too (say, one debian, one RHEL). While running UPDATE banner SET counterhalf=counterhalf+1 WHERE BannerID=50 several thousand t

Re: [GENERAL] Mirroring tables from Oracle to Postgresql

2004-04-21 Thread Jan Wieck
Andrew Rawnsley wrote: The java code is reasonably agnostic, provided the JDBC driver is smart enough to deal with any datatype properly as strings, although that intelligence can be added. Something else as a slave would be considerable easier, of course. For something else to be the master, y

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Stephan Szabo
On Wed, 21 Apr 2004, Froggy / Froggy Corp. wrote: > In fact the problem seems to come from the "INSERT INTO". I delete > everything from the function and only keep the "INSERT INTO" and get the > same problem. A function like: create function fz1() returns void as ' begin INSERT INTO cate

Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Marc G. Fournier
On Wed, 21 Apr 2004, Michael Chaney wrote: > On Tue, Apr 20, 2004 at 01:30:59PM -0300, Marc G. Fournier wrote: > > Also check to make sure that you don't have autolearn disabled ... you > > would have had to do it manually, as it is enabled by default, but, for > > instance, if you are a user on a

[GENERAL] [OT] Problem starting pgsql on windows 2000 server

2004-04-21 Thread miguel angel rojas aquino
hi, maybe it's not the right place to ask this, but hope somebody can helpme. i've downloaded the "peer direct" pgsql version for windows, and i've installed it on windows 200 professional and server with no problems until now. yesterday we installed it on a customer's server with windows 2000

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread John Sidney-Woollett
Priem, Alexander said: > Could this be due to the fact that the database was CREATED using > SQL_ASCII > encoding? Maybe your solution only works when the database was created > using > LATIN1 or UNICODE encoding. Yes, I suspect > Maybe I'll just try recreating the database using UNICODE or LATIN

Re: [GENERAL] PL/SQL question

2004-04-21 Thread Froggy / Froggy Corp.
Hello, In fact the problem seems to come from the "INSERT INTO". I delete everything from the function and only keep the "INSERT INTO" and get the same problem. Thx in advance for answers, regards, Stephan Szabo wrote: > > On Tue, 20 Apr 2004, Froggy / Froggy Corp. wrote: > > > I

Re: [GENERAL] Replication

2004-04-21 Thread Jan Wieck
Andrew Sullivan wrote: On Tue, Apr 20, 2004 at 11:26:24AM +0200, Pailloncy Jean-G?rard wrote: Hi, I just see that Mysql will propose at the end of the month a full synchronous replication system with auto-recovery. Well, sort of. It seems to be yet another 80/20 Solution From MySQL (tm). It loo

[GENERAL] Unicode problem ???

2004-04-21 Thread Priem, Alexander
Hi everyone, I have a PostgreSQL 7.4 database running, which was initdb-ed using standard (SQL_ASCII) encoding, with -lc-collate=C option set. Everything is running fine, but I just discovered something funny. If text containing characters like ë is inserted into the database (text field), the in

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Alexander Antonakakis
I am also using postgres database with delphi. Therefor I don't use ODBC but I use the Zeos Database components for delphi. I had similar problems though. My database is in iso8859-7 and I needed Greek chars to appear corectly in my application. What I did is I am running an sql statement when m

Re: [GENERAL] upgrade postgres 7.1 to 7.4.2

2004-04-21 Thread scott.marlowe
On Tue, 20 Apr 2004, Bruno Wolff III wrote: > On Tue, Apr 20, 2004 at 14:36:57 +0100, > csysi <[EMAIL PROTECTED]> wrote: > > Hello, i upgrade postgres version 7.1 to version 7.4.2 and it tell me that > > the databases are incompatible. > > > > Can i convert the databases ? > > You need to do a

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Stijn Vanroye
> Hi Stijn, Hy Alexander, > I tried adding "set client_encoding to 'LATIN1'" to the > Connect Settings of > psqlODBC. It didn't help. I still get the same weird > characters when I look > at the data using SQL explorer. Damn (pardon me). I realy hoped that would do the trick. > Could this be

Re: [GENERAL] plan-reading extensive tutorial?

2004-04-21 Thread Andrew Sullivan
On Tue, Apr 20, 2004 at 05:44:53PM +, Jeff Boes wrote: > > I'm having a devil of a time getting this installed on my system ... > anybody here willing to give me a walk-through? I did it just yesterday, to show it to someone. What's the problem? Do you have the proper jdk and ant? Are the

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Stijn Vanroye
> Hi everyone, > > I have a PostgreSQL 7.4 database running, which was initdb-ed > using standard > (SQL_ASCII) encoding, with -lc-collate=C option set. > > Everything is running fine, but I just discovered something > funny. If text > containing characters like ë is inserted into the database

Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Michael Chaney
On Tue, Apr 20, 2004 at 01:30:59PM -0300, Marc G. Fournier wrote: > Also check to make sure that you don't have autolearn disabled ... you > would have had to do it manually, as it is enabled by default, but, for > instance, if you are a user on a system, the site-wide may be set to > disable autol

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Priem, Alexander
Hi Stijn, I tried adding "set client_encoding to 'LATIN1'" to the Connect Settings of psqlODBC. It didn't help. I still get the same weird characters when I look at the data using SQL explorer. Could this be due to the fact that the database was CREATED using SQL_ASCII encoding? Maybe your soluti

Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Michael Chaney
On Mon, Apr 19, 2004 at 09:19:05PM -0700, Joe Conway wrote: > Marc G. Fournier wrote: > >Huh? I just use Spamassassin myself, with Razor/Pyzor/DCC and Bayes all > >enabled ... > > I use exactly the same setup. But recently I've noticed that the > spammers are getting smarter -- I think 20% of it

Re: [GENERAL] [OT] Tom's/Marc's spam filters?

2004-04-21 Thread Bruce Momjian
Tom Lane wrote: > [EMAIL PROTECTED] (Jim Seymour) writes: > > Tom Lane <[EMAIL PROTECTED]> wrote: > >> But in any case, > >> I run the same filters on my secondary server. Both the IP and the HELO > >> checks would be quite useless if I used an MX that wouldn't support 'em. > > > Yup. If you can

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Priem, Alexander
> > Hi everyone, > > > > I have a PostgreSQL 7.4 database running, which was initdb-ed > > using standard > > (SQL_ASCII) encoding, with -lc-collate=C option set. > > > > Everything is running fine, but I just discovered something > > funny. If text > > containing characters like ë is inserted

Re: [GENERAL] Unicode problem ???

2004-04-21 Thread Peter Eisentraut
Am Mittwoch, 21. April 2004 14:37 schrieb Priem, Alexander: > I have a PostgreSQL 7.4 database running, which was initdb-ed using > standard (SQL_ASCII) encoding, with -lc-collate=C option set. > > Everything is running fine, but I just discovered something funny. If text > containing characters li

Re: [GENERAL] Connection reset by peer

2004-04-21 Thread Joe Lester
That makes sense since the "connection reset by peer" statement is always followed immediately by "unexpected EOF on client connection" I should have noticed that before :-0 Thanks! On Apr 20, 2004, at 10:04 PM, Doug McNaught wrote: Joe Lester <[EMAIL PROTECTED]> writes: I'm seeing this mess

Re: [GENERAL] Looking for help building 'rhdb-explain' Visual Explain

2004-04-21 Thread Fernando Nasser
Jeff Boes wrote: Fernando Nasser wrote: Jeff, have tou set the environment variable JAVA_HOME to where your SDK is installed? Please try: echo $JAVA_HOME It was undefined ... I set it to "/usr/java/j2sdk1.4.2_04". and which javac Nothing found in my path. However, with or without the above

Re: [GENERAL] Looking for help building 'rhdb-explain' Visual Explain

2004-04-21 Thread Fernando Nasser
Jeff Boes wrote: I'm hoping there's someone here with experience in building the Visual Explain tool from Red Hat. I downloaded it and the J2 SDK, but when I attempt to follow the build instructions, I get messages like: error: Type `JTableHeader' not found in the declaration of the local variable

Re: [GENERAL] Looking for help building 'rhdb-explain' Visual Explain tool

2004-04-21 Thread Andrew Sullivan
On Tue, Apr 20, 2004 at 10:45:33AM -0700, Jeff Boes wrote: > variable `header'. > [javac] JTableHeader header = null; > > To me, this indicates that the SDK isn't installed (properly). But I > admit I'm pretty much a Java know-nothin'. java -version ? A -- Andrew Sullivan | [E

Re: [GENERAL] Downgrading from Postgresql 7.4 to 7.1

2004-04-21 Thread Andrew Sullivan
On Mon, Apr 19, 2004 at 04:25:21PM -0500, Matt Adams wrote: > Hello: > > I have an awkward situation where I must downgrade from 7.4 to 7.1. I > have two databases already in 7.4. I'm largely ignorant concerning > postgresql: am I going to have any severe problems downgrading? Almost certainl

Re: [GENERAL] convert result to uppercase

2004-04-21 Thread Andrew Kelly
On Tue, 2004-04-20 at 23:39, Janning Vygen wrote: > Am Dienstag, 13. April 2004 14:17 schrieb Victor Spång Arthursson: > > Hi! > > > > How do i convert a result to upper/lowercase? > > This is a question > > > SELECT UPPER(lang) from languages; > > and this is the answer. It works exactly like t