Re: Patch: Some more state codes

From: Bryan Montgomery <monty(at)english(dot)net>
To: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
Cc: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Patch: Some more state codes
Date: 2011-09-09 17:44:53
Message-ID: CAPTJ3=eWrqrC7mgq87DG-ac9F0241Y+su8t8ZkwTJSA5voc=5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

FWIW - I'm inclined to agree with Maciek. If you are not worried about
portability why not use the best available features of Postgres? From Java,
the obvious way would be through JDBC.

I imagine there are a lot of people (rightly or wrongly is too
philosophical) writing code to specific databases.

Bryan.

On Fri, Sep 9, 2011 at 12:17 PM, Maciek Sakrejda <msakrejda(at)truviso(dot)com>wrote:

> > I guess I was not expecting users trying to write portable JDBC code to
> > write code that referred to PG specific classes. Do other people do
> this?
>
> Well, not if you're striving for portable code, but for what it's
> worth, there are frequently good reasons to ignore portability
> completely and just use the JDBC driver as a way to access PostgreSQL
> from Java. In that case, having access to as many PostgreSQL-specific
> features / options / error states as possible can be very handy.
>
> ---
> Maciek Sakrejda | System Architect | Truviso
>
> 1065 E. Hillsdale Blvd., Suite 215
> Foster City, CA 94404
> (650) 242-3500 Main
> www.truviso.com
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2011-09-11 02:08:16 Re: 9.1 driver status
Previous Message Maciek Sakrejda 2011-09-09 16:17:49 Re: Patch: Some more state codes