pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL on Windows' state
7+ messages / 6 participants
[nested] [flat]

* PostgreSQL on Windows' state
@ 2020-09-23 08:37 Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:21 ` Re: PostgreSQL on Windows' state Pavel Stehule <pavel.stehule@gmail.com>
  2020-09-23 11:02 ` Re: PostgreSQL on Windows' state Thomas Kellerer <shammat@gmx.net>
  0 siblings, 2 replies; 7+ messages in thread

From: Alessandro Dentella @ 2020-09-23 08:37 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>


Hi,

disclaimer: I've never been a Windows user and I send this email just on behalf
of a friend that has problems convincing his team to use PostgreSQL.

I'd like to understand if what the team replies to him is correct or not.

The final project should work with Python (we know it just works) and with c#.
The team states that:

  "It does not exist a native driver. You need to use ODBC, that is an old
  technology and doesn't give warranties in terms of security, reliability and
  performance."

Is it any true? is it biased?

Thanks in advance for any hints a link to be read


sandro


-- 
Sandro Dentella  *:-)
http://wikidattica.org             Flashcard per la didattica
http://trepalchi.it                Il portale degli artisti
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy





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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
@ 2020-09-23 10:21 ` Pavel Stehule <pavel.stehule@gmail.com>
  2020-09-23 10:52   ` Re: PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  1 sibling, 1 reply; 7+ messages in thread

From: Pavel Stehule @ 2020-09-23 10:21 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

st 23. 9. 2020 v 10:38 odesílatel Alessandro Dentella <
sandro.dentella@gmail.com> napsal:

>
> Hi,
>
> disclaimer: I've never been a Windows user and I send this email just on
> behalf
> of a friend that has problems convincing his team to use PostgreSQL.
>
> I'd like to understand if what the team replies to him is correct or not.
>
> The final project should work with Python (we know it just works) and with
> c#.
> The team states that:
>
>   "It does not exist a native driver. You need to use ODBC, that is an old
>   technology and doesn't give warranties in terms of security, reliability
> and
>   performance."
>
> Is it any true? is it biased?
>

https://kb.objectrocket.com/postgresql/how-to-install-psycopg2-in-windows-1460

So minimally psycopg2 - native driver for Python exists for Win


>
> Thanks in advance for any hints a link to be read
>
>
> sandro
>
>
> --
> Sandro Dentella  *:-)
> http://wikidattica.org             Flashcard per la didattica
> http://trepalchi.it                Il portale degli artisti
> http://sqlkit.argolinux.org        SQLkit home page -
> PyGTK/python/sqlalchemy
>
>
>

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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:21 ` Re: PostgreSQL on Windows' state Pavel Stehule <pavel.stehule@gmail.com>
@ 2020-09-23 10:52   ` Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:55     ` Re: PostgreSQL on Windows' state Thomas Munro <thomas.munro@gmail.com>
  2020-09-23 23:18     ` Re: PostgreSQL on Windows' state raf <raf@raf.org>
  0 siblings, 2 replies; 7+ messages in thread

From: Alessandro Dentella @ 2020-09-23 10:52 UTC (permalink / raw)
  To: Pavel Stehule <pavel.stehule@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

On Wed, Sep 23, 2020 at 12:21:39PM +0200, Pavel Stehule wrote:
> st 23. 9. 2020 v 10:38 odesílatel Alessandro Dentella <
> sandro.dentella@gmail.com> napsal:
> 
> >
> > Hi,
> >
> > disclaimer: I've never been a Windows user and I send this email just on
> > behalf
> > of a friend that has problems convincing his team to use PostgreSQL.
> >
> > I'd like to understand if what the team replies to him is correct or not.
> >
> > The final project should work with Python (we know it just works) and with
> > c#.
> > The team states that:
> >
> >   "It does not exist a native driver. You need to use ODBC, that is an old
> >   technology and doesn't give warranties in terms of security, reliability
> > and
> >   performance."
> >
> > Is it any true? is it biased?
> >
> 
> https://kb.objectrocket.com/postgresql/how-to-install-psycopg2-in-windows-1460
> 
> So minimally psycopg2 - native driver for Python exists for Win

Thanks Pavel, but psycopg2 (that I always use is just for Python). T
hey claim/complain that from c# there's no native solution.

Personally I don't know even if ODBC is really to be considered a second class
choice. It sounds awkward to me that such a great db has flaws like this (I'm
NOT stating it *has* flaws)


sandro





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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:21 ` Re: PostgreSQL on Windows' state Pavel Stehule <pavel.stehule@gmail.com>
  2020-09-23 10:52   ` Re: PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
@ 2020-09-23 10:55     ` Thomas Munro <thomas.munro@gmail.com>
  1 sibling, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2020-09-23 10:55 UTC (permalink / raw)
  To: Pavel Stehule <pavel.stehule@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

On Wed, Sep 23, 2020 at 10:53 PM Alessandro Dentella
<sandro.dentella@gmail.com> wrote:
> Thanks Pavel, but psycopg2 (that I always use is just for Python). T
> hey claim/complain that from c# there's no native solution.

Maybe https://www.npgsql.org/?





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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:21 ` Re: PostgreSQL on Windows' state Pavel Stehule <pavel.stehule@gmail.com>
  2020-09-23 10:52   ` Re: PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
@ 2020-09-23 23:18     ` raf <raf@raf.org>
  2020-09-24 05:12       ` Re: PostgreSQL on Windows' state Tony Shelver <tshelver@gmail.com>
  1 sibling, 1 reply; 7+ messages in thread

From: raf @ 2020-09-23 23:18 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org; +Cc: Pavel Stehule <pavel.stehule@gmail.com>

On Wed, Sep 23, 2020 at 12:52:58PM +0200, Alessandro Dentella <sandro.dentella@gmail.com> wrote:

> On Wed, Sep 23, 2020 at 12:21:39PM +0200, Pavel Stehule wrote:
> > st 23. 9. 2020 v 10:38 odesílatel Alessandro Dentella <
> > sandro.dentella@gmail.com> napsal:
> > 
> > >
> > > Hi,
> > >
> > > disclaimer: I've never been a Windows user and I send this email just on
> > > behalf
> > > of a friend that has problems convincing his team to use PostgreSQL.
> > >
> > > I'd like to understand if what the team replies to him is correct or not.
> > >
> > > The final project should work with Python (we know it just works) and with
> > > c#.
> > > The team states that:
> > >
> > >   "It does not exist a native driver. You need to use ODBC, that is an old
> > >   technology and doesn't give warranties in terms of security, reliability
> > > and
> > >   performance."
> > >
> > > Is it any true? is it biased?
> > >
> > 
> > https://kb.objectrocket.com/postgresql/how-to-install-psycopg2-in-windows-1460
> > 
> > So minimally psycopg2 - native driver for Python exists for Win
> 
> Thanks Pavel, but psycopg2 (that I always use is just for Python). T
> hey claim/complain that from c# there's no native solution.
> 
> Personally I don't know even if ODBC is really to be considered a second class
> choice. It sounds awkward to me that such a great db has flaws like this (I'm
> NOT stating it *has* flaws)
> 
> sandro

Surely, it's a flaw in the C# ecosystem, not a flaw in the database?
(assuming it's true, and assuming there's anything wrong with ODBC). :-)

cheers,
raf






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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 10:21 ` Re: PostgreSQL on Windows' state Pavel Stehule <pavel.stehule@gmail.com>
  2020-09-23 10:52   ` Re: PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
  2020-09-23 23:18     ` Re: PostgreSQL on Windows' state raf <raf@raf.org>
@ 2020-09-24 05:12       ` Tony Shelver <tshelver@gmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Tony Shelver @ 2020-09-24 05:12 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>; +Cc: Pavel Stehule <pavel.stehule@gmail.com>

A quick Google search came up with this: https://www.npgsql.org.  No
experience with it however.
We moved to Python just before we moved to Postgresql.  The key motivator
for C# at the time is now more of a React / JS proponent....

Everything in our stack apart from 1 proprietary Java / Oracle system which
is being slowly replaced is now open source, and just about all core
components have well outlasted several Microsoft initiatives (Silverlight,
VB, et al...).



On Thu, 24 Sep 2020 at 01:18, raf <raf@raf.org> wrote:

> On Wed, Sep 23, 2020 at 12:52:58PM +0200, Alessandro Dentella <
> sandro.dentella@gmail.com> wrote:
>
> > On Wed, Sep 23, 2020 at 12:21:39PM +0200, Pavel Stehule wrote:
> > > st 23. 9. 2020 v 10:38 odesílatel Alessandro Dentella <
> > > sandro.dentella@gmail.com> napsal:
> > >
> > > >
> > > > Hi,
> > > >
> > > > disclaimer: I've never been a Windows user and I send this email
> just on
> > > > behalf
> > > > of a friend that has problems convincing his team to use PostgreSQL.
> > > >
> > > > I'd like to understand if what the team replies to him is correct or
> not.
> > > >
> > > > The final project should work with Python (we know it just works)
> and with
> > > > c#.
> > > > The team states that:
> > > >
> > > >   "It does not exist a native driver. You need to use ODBC, that is
> an old
> > > >   technology and doesn't give warranties in terms of security,
> reliability
> > > > and
> > > >   performance."
> > > >
> > > > Is it any true? is it biased?
> > > >
> > >
> > >
> https://kb.objectrocket.com/postgresql/how-to-install-psycopg2-in-windows-1460
> > >
> > > So minimally psycopg2 - native driver for Python exists for Win
> >
> > Thanks Pavel, but psycopg2 (that I always use is just for Python). T
> > hey claim/complain that from c# there's no native solution.
> >
> > Personally I don't know even if ODBC is really to be considered a second
> class
> > choice. It sounds awkward to me that such a great db has flaws like this
> (I'm
> > NOT stating it *has* flaws)
> >
> > sandro
>
> Surely, it's a flaw in the C# ecosystem, not a flaw in the database?
> (assuming it's true, and assuming there's anything wrong with ODBC). :-)
>
> cheers,
> raf
>
>
>
>

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

* Re: PostgreSQL on Windows' state
  2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
@ 2020-09-23 11:02 ` Thomas Kellerer <shammat@gmx.net>
  1 sibling, 0 replies; 7+ messages in thread

From: Thomas Kellerer @ 2020-09-23 11:02 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org



Alessandro Dentella schrieb am 23.09.2020 um 10:37:
>
> Hi,
>
> disclaimer: I've never been a Windows user and I send this email just on behalf
> of a friend that has problems convincing his team to use PostgreSQL.
>
> I'd like to understand if what the team replies to him is correct or not.
>
> The final project should work with Python (we know it just works) and with c#.
> The team states that:
>
>    "It does not exist a native driver. You need to use ODBC, that is an old
>    technology and doesn't give warranties in terms of security, reliability and
>    performance."
>

Doesn't c# use .Net connectors?

    https://www.npgsql.org/

Microsoft did change their strategy regarding ODBC, MDAC, OLE DB several times.
Including deprecating and un-deprecating OLE DB as well as ODBC.

Currently, I don't think ODBC can be seen as an "old technology", nor is it
deprecated.

The Postgres ODBC driver is well maintained and I don't see a reason not to use it.
https://odbc.postgresql.org/

Thomas






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


end of thread, other threads:[~2020-09-24 05:12 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 08:37 PostgreSQL on Windows' state Alessandro Dentella <sandro.dentella@gmail.com>
2020-09-23 10:21 ` Pavel Stehule <pavel.stehule@gmail.com>
2020-09-23 10:52   ` Alessandro Dentella <sandro.dentella@gmail.com>
2020-09-23 10:55     ` Thomas Munro <thomas.munro@gmail.com>
2020-09-23 23:18     ` raf <raf@raf.org>
2020-09-24 05:12       ` Tony Shelver <tshelver@gmail.com>
2020-09-23 11:02 ` Thomas Kellerer <shammat@gmx.net>

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