Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-23 Thread Craig Ringer
On 23 February 2016 at 22:46, Tom Lane wrote: > Craig Ringer writes: > > On 23 February 2016 at 21:34, Robert Haas wrote: > >> I believe Sridhar is imagining that someday "set autocommit to false" > >> might be a command that the server would understand. > > > ... I guess. Yeah. > > We've been

Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-23 Thread Tom Lane
Craig Ringer writes: > On 23 February 2016 at 21:34, Robert Haas wrote: >> I believe Sridhar is imagining that someday "set autocommit to false" >> might be a command that the server would understand. > ... I guess. Yeah. We've been there, we've done that. We're not doing it again. Cf commits

Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-23 Thread Craig Ringer
On 23 February 2016 at 21:34, Robert Haas wrote: > On Sat, Feb 20, 2016 at 4:14 PM, Craig Ringer > wrote: > >> currently PostgreSQL::"set autocommit to FALSE ( not supported ) > > > > This also does not make any sense. > > > > PgJDBC does support turning autocommit off. So I don't know in what w

Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-23 Thread Robert Haas
On Sat, Feb 20, 2016 at 4:14 PM, Craig Ringer wrote: >> currently PostgreSQL::"set autocommit to FALSE ( not supported ) > > This also does not make any sense. > > PgJDBC does support turning autocommit off. So I don't know in what way it's > "not supported". I believe Sridhar is imagining that s

Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-20 Thread Craig Ringer
On 20 February 2016 at 12:40, Sridhar N Bamandlapally wrote: > Hi All > > I understand your point, > > may be I didn't understand everyone or everyone didn't understand me > Sounds like it. > one feature of PostgreSQL is implemented into another feature of Java ( i > say subject PostgreSQL::au

Re: [HACKERS] [JDBC] JDBC behaviour

2016-02-19 Thread Sridhar N Bamandlapally
Hi All I understand your point, may be I didn't understand everyone or everyone didn't understand me one feature of PostgreSQL is implemented into another feature of Java ( i say subject PostgreSQL::autocommit Vs JDBC::setAutoCommit ), i.e PostgreSQL::"set autocommit to FALSE" is implemented as