pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Anyway in JDBC to dectect if DB supports pre-compilation
4+ messages / 4 participants
[nested] [flat]

* Anyway in JDBC to dectect if DB supports pre-compilation
@ 2000-07-23 21:52 george stewart <georgestewartiv@yahoo.com>
  2000-07-24 14:49 ` Re: Anyway in JDBC to dectect if DB supports pre-compilation Peter Mount <peter@retep.org.uk>
  0 siblings, 1 reply; 4+ messages in thread

From: george stewart @ 2000-07-23 21:52 UTC (permalink / raw)
  To: pgsql-interfaces

Sorry for slightly off-topic, but is there some way in
JDBC to detect if the connection supports
pre-compilation of prepared statements.

Regards, george

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/



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

* Re: Anyway in JDBC to dectect if DB supports pre-compilation
  2000-07-23 21:52 Anyway in JDBC to dectect if DB supports pre-compilation george stewart <georgestewartiv@yahoo.com>
@ 2000-07-24 14:49 ` Peter Mount <peter@retep.org.uk>
  2000-07-24 19:57   ` Re: Anyway in JDBC to dectect if DB supports pre-compilation Joseph Shraibman <jks@selectacast.net>
  0 siblings, 1 reply; 4+ messages in thread

From: Peter Mount @ 2000-07-24 14:49 UTC (permalink / raw)
  To: george stewart <georgestewartiv@yahoo.com>; pgsql-interfaces

No. as the backend doesn't currently supports it. As soon as it does, it
will do.

PreparedStatement is currently handled purely by the JDBC driver. As soon as
"pre-compilation" is supported, then the performance improvement would be
immense.

Peter

--
Peter T Mount peter@retep.org.uk, peter@retepdigital.com, me@petermount.com
Homepage: http://www.retep.org.uk Contact details @ http://petermount.com
PostgreSQL JDBC: http://www.retep.org.uk/postgres/
Java PDF generator: http://www.retep.org.uk/pdf/

----- Original Message -----
From: george stewart <georgestewartiv@yahoo.com>
To: Interfaces <pgsql-interfaces@postgresql.org>
Sent: Sunday, July 23, 2000 10:52 PM
Subject: [INTERFACES] Anyway in JDBC to dectect if DB supports
pre-compilation


Sorry for slightly off-topic, but is there some way in
JDBC to detect if the connection supports
pre-compilation of prepared statements.

Regards, george

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/




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

* Re: Anyway in JDBC to dectect if DB supports pre-compilation
  2000-07-23 21:52 Anyway in JDBC to dectect if DB supports pre-compilation george stewart <georgestewartiv@yahoo.com>
  2000-07-24 14:49 ` Re: Anyway in JDBC to dectect if DB supports pre-compilation Peter Mount <peter@retep.org.uk>
@ 2000-07-24 19:57   ` Joseph Shraibman <jks@selectacast.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Joseph Shraibman @ 2000-07-24 19:57 UTC (permalink / raw)
  To: Peter Mount <peter@retep.org.uk>; +Cc: george stewart <georgestewartiv@yahoo.com>; pgsql-interfaces

Isn't creating a function the same as precompiling?

Peter Mount wrote:
> 
> No. as the backend doesn't currently supports it. As soon as it does, it
> will do.
> 
> PreparedStatement is currently handled purely by the JDBC driver. As soon as
> "pre-compilation" is supported, then the performance improvement would be
> immense.
> 
> Peter
> 
> --
> Peter T Mount peter@retep.org.uk, peter@retepdigital.com, me@petermount.com
> Homepage: http://www.retep.org.uk Contact details @ http://petermount.com
> PostgreSQL JDBC: http://www.retep.org.uk/postgres/
> Java PDF generator: http://www.retep.org.uk/pdf/
> 
> ----- Original Message -----
> From: george stewart <georgestewartiv@yahoo.com>
> To: Interfaces <pgsql-interfaces@postgresql.org>
> Sent: Sunday, July 23, 2000 10:52 PM
> Subject: [INTERFACES] Anyway in JDBC to dectect if DB supports
> pre-compilation
> 
> Sorry for slightly off-topic, but is there some way in
> JDBC to detect if the connection supports
> pre-compilation of prepared statements.
> 
> Regards, george
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/



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

* RE: Anyway in JDBC to dectect if DB supports  pre-co mpilation
@ 2000-07-25 08:31 Peter Mount <petermount@it.maidstone.gov.uk>
  0 siblings, 0 replies; 4+ messages in thread

From: Peter Mount @ 2000-07-25 08:31 UTC (permalink / raw)
  To: 'Joseph Shraibman' <jks@selectacast.net>; Peter Mount (Home) <peter@retep.org.uk>; +Cc: george stewart <georgestewartiv@yahoo.com>; pgsql-interfaces

Not always. PreparedStatements can be created on the fly from any
select/update/insert query and as such can return rows (something that
functions can't). They also only live the length of the query.

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council


-----Original Message-----
From: Joseph Shraibman [mailto:jks@selectacast.net]
Sent: Monday, July 24, 2000 8:58 PM
To: Peter Mount
Cc: george stewart; Interfaces
Subject: Re: [INTERFACES] Anyway in JDBC to dectect if DB supports
pre-compilation


Isn't creating a function the same as precompiling?

Peter Mount wrote:
> 
> No. as the backend doesn't currently supports it. As soon as it does, it
> will do.
> 
> PreparedStatement is currently handled purely by the JDBC driver. As soon
as
> "pre-compilation" is supported, then the performance improvement would be
> immense.
> 
> Peter
> 
> --
> Peter T Mount peter@retep.org.uk, peter@retepdigital.com,
me@petermount.com
> Homepage: http://www.retep.org.uk Contact details @ http://petermount.com
> PostgreSQL JDBC: http://www.retep.org.uk/postgres/
> Java PDF generator: http://www.retep.org.uk/pdf/
> 
> ----- Original Message -----
> From: george stewart <georgestewartiv@yahoo.com>
> To: Interfaces <pgsql-interfaces@postgresql.org>
> Sent: Sunday, July 23, 2000 10:52 PM
> Subject: [INTERFACES] Anyway in JDBC to dectect if DB supports
> pre-compilation
> 
> Sorry for slightly off-topic, but is there some way in
> JDBC to detect if the connection supports
> pre-compilation of prepared statements.
> 
> Regards, george
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/



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


end of thread, other threads:[~2000-07-25 08:31 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-07-23 21:52 Anyway in JDBC to dectect if DB supports pre-compilation george stewart <georgestewartiv@yahoo.com>
2000-07-24 14:49 ` Peter Mount <peter@retep.org.uk>
2000-07-24 19:57   ` Joseph Shraibman <jks@selectacast.net>
2000-07-25 08:31 RE: Anyway in JDBC to dectect if DB supports  pre-co mpilation Peter Mount <petermount@it.maidstone.gov.uk>

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