Re: request for database identifier in the startup packet

2024-05-09 Thread Dave Cramer
On Thu, 9 May 2024 at 15:39, Robert Haas wrote: > On Thu, May 9, 2024 at 3:33 PM Dave Cramer wrote: > > On Thu, 9 May 2024 at 15:19, Robert Haas wrote: > >> On Thu, May 9, 2024 at 3:14 PM Andres Freund > wrote: > >> > ISTM that you could just as well query the information you'd like > after >

Re: request for database identifier in the startup packet

2024-05-09 Thread Robert Haas
On Thu, May 9, 2024 at 3:33 PM Dave Cramer wrote: > On Thu, 9 May 2024 at 15:19, Robert Haas wrote: >> On Thu, May 9, 2024 at 3:14 PM Andres Freund wrote: >> > ISTM that you could just as well query the information you'd like after >> > connecting. And that's going to be a lot more flexible

Re: request for database identifier in the startup packet

2024-05-09 Thread Dave Cramer
On Thu, 9 May 2024 at 15:19, Robert Haas wrote: > On Thu, May 9, 2024 at 3:14 PM Andres Freund wrote: > > ISTM that you could just as well query the information you'd like after > > connecting. And that's going to be a lot more flexible than having to > have > > precisely the right information

Re: request for database identifier in the startup packet

2024-05-09 Thread Robert Haas
On Thu, May 9, 2024 at 3:14 PM Andres Freund wrote: > ISTM that you could just as well query the information you'd like after > connecting. And that's going to be a lot more flexible than having to have > precisely the right information in the startup message, and most clients not > needing it.

Re: request for database identifier in the startup packet

2024-05-09 Thread Andres Freund
Hi, On 2024-05-09 14:20:49 -0400, Dave Cramer wrote: > On Thu, 9 May 2024 at 12:22, Robert Haas wrote: > > On Thu, May 9, 2024 at 8:06 AM Dave Cramer wrote: > > > The JDBC driver is currently keeping a per connection cache of types in > > the driver. We are seeing cases where the number of

Re: request for database identifier in the startup packet

2024-05-09 Thread Dave Cramer
Dave Cramer On Thu, 9 May 2024 at 12:22, Robert Haas wrote: > On Thu, May 9, 2024 at 8:06 AM Dave Cramer wrote: > > The JDBC driver is currently keeping a per connection cache of types in > the driver. We are seeing cases where the number of columns is quite high. > In one case Prevent

Re: request for database identifier in the startup packet

2024-05-09 Thread Robert Haas
On Thu, May 9, 2024 at 8:06 AM Dave Cramer wrote: > The JDBC driver is currently keeping a per connection cache of types in the > driver. We are seeing cases where the number of columns is quite high. In one > case Prevent fetchFieldMetaData() from being run when unnecessary. · Issue > #3241 ·

Re: request for database identifier in the startup packet

2024-05-09 Thread David G. Johnston
On Thursday, May 9, 2024, Dave Cramer wrote: > Greetings, > > The JDBC driver is currently keeping a per connection cache of types in > the driver. We are seeing cases where the number of columns is quite high. > In one case Prevent fetchFieldMetaData() from being run when unnecessary. > · Issue

request for database identifier in the startup packet

2024-05-09 Thread Dave Cramer
Greetings, The JDBC driver is currently keeping a per connection cache of types in the driver. We are seeing cases where the number of columns is quite high. In one case Prevent fetchFieldMetaData() from being run when unnecessary. · Issue #3241 · pgjdbc/pgjdbc (github.com)