pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgresql-7.4.5
4+ messages / 4 participants
[nested] [flat]

* postgresql-7.4.5
@ 2004-12-06 06:00  ElayaRaja S <elayaraja.s@gmail.com>
  0 siblings, 3 replies; 4+ messages in thread

From: ElayaRaja S @ 2004-12-06 06:00 UTC (permalink / raw)
  To: pgsql-interfaces; pgsql-hackers@postgresql.org

Hi,
    I am using postgresql-7.4.5. I nee to use the jdbc connection So i
downloaded 4 versions of driver( pg74.215.jdbc1.jar,
pg74.215.jdbc2.jar, pg74.215.jdbc2ee.jar, pg74.215.jdbc3.jar). I am
uanble to connect it. Please let me know which version of driver i
have to use for postgresql-7.4.5 ?

-- 
Warm Regards,
S.ElayaRaja



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [HACKERS] postgresql-7.4.5
@ 2004-12-06 11:07  Kris Jurka <books@ejurka.com>
  parent: ElayaRaja S <elayaraja.s@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Kris Jurka @ 2004-12-06 11:07 UTC (permalink / raw)
  To: ElayaRaja S <elayaraja.s@gmail.com>; +Cc: pgsql-interfaces; pgsql-hackers@postgresql.org



On Mon, 6 Dec 2004, ElayaRaja S wrote:

>     I am using postgresql-7.4.5. I nee to use the jdbc connection So i
> downloaded 4 versions of driver( pg74.215.jdbc1.jar,
> pg74.215.jdbc2.jar, pg74.215.jdbc2ee.jar, pg74.215.jdbc3.jar). I am
> uanble to connect it. Please let me know which version of driver i
> have to use for postgresql-7.4.5 ?
> 

This question is inappropriate for the -hackers list.  Please keep it on 
-interfaces or the more appropriate -jdbc list.  As mentioned on the page 
you downloaded these drivers from, you should use the driver version that 
matches your JVM.  Without any information on what your actual problem is, 
no one will be able to help you.

Kris Jurka




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgresql-7.4.5
@ 2004-12-07 05:59  Philip Yarra <philip@utiba.com>
  parent: ElayaRaja S <elayaraja.s@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Philip Yarra @ 2004-12-07 05:59 UTC (permalink / raw)
  To: ElayaRaja S <elayaraja.s@gmail.com>; pgsql-interfaces

Hi, I believe any of those jar files should be okay to connect to 7.4.5. It 
looks to me like those different jar files implement different versions of 
JDBC, but all are intended for postgresql 7.4.x. There's actually an 
explanation at http://jdbc.postgresql.org/download.html

If you are having trouble connecting, make sure the postgresql server is 
listening on a TCP socket (by default 5432) and that you can actually connect 
to it (use telnet or netcat to check this). By default postgresql will only 
listen on a Unix domain socket. You can change this in your postgresql.conf 
file.

If your java code runs on a different machine than the one that the database 
server runs on, check that the server's pg_hba.conf file will allow 
connections from the machine where the java code runs. You can verify this by 
using `psql -h <remote_machine> -l` (that's a lower-case L) - if psql can't 
connect, neither can JDBC.

Hope this helps, if not, please post more details about what you did, and what 
actually happened (or did not happen). Source code may help.

Regards, Philip.

PS: INTERFACES is the best place to ask this sort of question

On Mon, 6 Dec 2004 05:00 pm, ElayaRaja S wrote:
> Hi,
>     I am using postgresql-7.4.5. I nee to use the jdbc connection So i
> downloaded 4 versions of driver( pg74.215.jdbc1.jar,
> pg74.215.jdbc2.jar, pg74.215.jdbc2ee.jar, pg74.215.jdbc3.jar). I am
> uanble to connect it. Please let me know which version of driver i
> have to use for postgresql-7.4.5 ?
> 
> -- 
> Warm Regards,
> S.ElayaRaja
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: postgresql-7.4.5
@ 2004-12-15 17:06  Dave Cramer <pg@fastcrypt.com>
  parent: ElayaRaja S <elayaraja.s@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Dave Cramer @ 2004-12-15 17:06 UTC (permalink / raw)
  To: ElayaRaja S <elayaraja.s@gmail.com>; +Cc: pgsql-interfaces; pgsql-hackers@postgresql.org

That driver should work, however you might have something else 
misconfigured.
What error are you getting ?

You should post this to the jdbc list

Dave

ElayaRaja S wrote:

>Hi,
>    I am using postgresql-7.4.5. I nee to use the jdbc connection So i
>downloaded 4 versions of driver( pg74.215.jdbc1.jar,
>pg74.215.jdbc2.jar, pg74.215.jdbc2ee.jar, pg74.215.jdbc3.jar). I am
>uanble to connect it. Please let me know which version of driver i
>have to use for postgresql-7.4.5 ?
>
>  
>

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-12-15 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-06 06:00 postgresql-7.4.5 ElayaRaja S <elayaraja.s@gmail.com>
2004-12-06 11:07 ` Kris Jurka <books@ejurka.com>
2004-12-07 05:59 ` Philip Yarra <philip@utiba.com>
2004-12-15 17:06 ` Dave Cramer <pg@fastcrypt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox