X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B620A52AD6 for ; Fri, 8 Jul 2005 12:44:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27159-01 for ; Fri, 8 Jul 2005 15:44:42 +0000 (GMT) Received: from metux.de (seven.metux.de [193.16.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id 3E00452AD9 for ; Fri, 8 Jul 2005 12:44:37 -0300 (ADT) Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j68Ehbb2017967 for pgsql-performance@postgresql.org; Fri, 8 Jul 2005 16:43:37 +0200 Date: Fri, 8 Jul 2005 16:43:36 +0200 From: Enrico Weigelt To: pgsql-performance@postgresql.org Subject: Re: Need help to decide Mysql vs Postgres Message-ID: <20050708144336.GC6368@nibiru.borg.metux.de> Reply-To: weigelt@metux.de Mail-Followup-To: pgsql-performance@postgresql.org References: <001c01c56acb$bc9ba730$797ba8c0@jfradkin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/86 X-Sequence-Number: 13327 * PFC wrote: > For Python it's the reverse : the MySQL driver is slow and dumb, > and the postgres driver (psycopg 2) is super fast, handles all quoting, > and knows about type conversions, it will automatically convert a > Python List into a postgres Array and do the right thing with quoting, > and it works both ways (ie you select a TEXT[] you get a list of > strings all parsed for you). It knows about all the postgres types (yes > even numeric <=> python Decimal) and you can even add your own types. > That's really cool, plus the developer is a friendly guy. Is there anything similar for java ? cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact@metux.de --------------------------------------------------------------------- Realtime Forex/Stock Exchange trading powered by postgresSQL :)) http://www.fxignal.net/ ---------------------------------------------------------------------