X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 81C9E9DC9B8 for ; Tue, 7 Feb 2006 19:09:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70470-07 for ; Tue, 7 Feb 2006 19:09:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.KPNQwest.pt (smtp2.KPNQwest.pt [193.126.4.60]) by postgresql.org (Postfix) with ESMTP id 55B2D9DC803 for ; Tue, 7 Feb 2006 19:09:24 -0400 (AST) Received: from [192.168.1.11] ([193.126.36.236]) by smtp.KPNQwest.pt (8.12.10/8.12.10) with ESMTP id k17N9QIq027442 for ; Tue, 7 Feb 2006 23:09:26 GMT Message-ID: <43E928A8.3080408@m16e.com> Date: Tue, 07 Feb 2006 23:09:28 +0000 From: Carlos Correia User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: pt-br, pt MIME-Version: 1.0 To: "jdbc.postgres" Subject: Re: Statement has been closed (only in Windows) References: <43E64FD8.9030704@m16e.com> <1139281571.2693.66.camel@localhost.localdomain> In-Reply-To: <1139281571.2693.66.camel@localhost.localdomain> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=30354895 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.173 required=5 tests=[AWL=0.173] X-Spam-Score: 0.173 X-Spam-Level: X-Archive-Number: 200602/47 X-Sequence-Number: 14644 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 pedro farinha escreveu: | Hi Carlos, if you're problem is solved what is the question? | if you worry about creating a lot of statements, don't. But make sure | you close them after use. Also the resultSet if any. Not a big brain on | this end, but why would you want to keep the statement open? Well, why not? It's a fat client, It establishes a connection at application start up and closes it once the app finishes... what's the problem about keeping the same statement (it's been working like that in a production environment for years in Linux)? Anyway, after I made the workaround I mentioned in a previous post (creating a new statement per request), began getting errors in prepared statements, which I'll try to reproduce (tomorrow?) and published them here. The questions now are: - - How stable is PostreSQL on a Windows environment, by now? - - Are there any known problems with transactions, prepared statements or storeed procedures in a Windows environment? Thanks, Carlos - -- MEMÓRIA PERSISTENTE, Lda. Tel.: 219 291 591 - GSM: 967 511 762 e-mail: geral@m16e.com - URL: http://www.m16e.com AIM: m16e - ICQ: 257488263 - Jabber: m16e@amessage.de Skype.com username (VoIP): m16e.com GnuPG: wwwkeys.eu.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD6Sio90uzwjA1SJURAu43AJ9t6YzRnncHCBbxsdbe111jFWVzWQCgo3T1 fnnTxAl/v+irDbYrRyq2Xt0= =/OV6 -----END PGP SIGNATURE-----