Re: PostgreSQL and .NET

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Stanislaw Tristan" <stas775(at)i(dot)com(dot)ua>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL and .NET
Date: 2005-04-03 17:07:20
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C71CA@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> If there was idea to implement a .NET support in Windows
>version of PostgreSQL? Like existing Pl/Java
>>>>
>>>> We have a .Net client. You want server-side .Net? No one has ever
>>>> talked about that, sorry.
>>>
>>> not knowin gmuch about .Net ... what is a 'server-side
>.Net'? Like a
>>> PL/.Net?
>>
>> Yea, I assume so. If we can do server-side Java, I assume we could do
>> server-side .Net if someone wanted to code it. Of course it would be
>> Win32-only, unless we used Mono for Unix.
>
>From the Mono web site:
>
>"Mono can run existing programs targeting the .NET or Java frameworks."
>
>does this mean that something written for Java (or .Net) could
>be compiled without mods?

No need to recompile, just run it. While it feels a bit weird, running
"./foo.exe" works just fine (assuming you've configured the "misc binary
executor" or wahtever it's called to identify a mono executable -
otherwise, run "mono foo.exe"). Compiled with Visual Studio on Windows,
just copy over the .EXE. The same should work for Java, but the support
is not as complete in the class libraries, AFAIK.

PL/mono would be very nice. You can write in C#, Java, C++, VB(yuck),
JScript etc from MS product, and there is definitly a python
implementation out there. There are commercial implementations that let
you do Cobol, if you're really crazy ;-)
It would also provide a nice migration / co-existance with MS SQL 2005
which has it, and I beleive the new DB2 versions (on windows) also have
stored procs in .NET.

As .net is fairly similar to the JVM in architecture, it would probably
be about as much work as PL/J[ava]. Which is quite a bit of work. I have
no idea if anything can just be "stolen" from the PL/J[ava] projects...

//Magnus

Browse pgsql-general by date

  From Date Subject
Next Message Michelle Konzack 2005-04-03 17:10:28 Re: How to query pgsql from a BASH script ?
Previous Message Jeff Davis 2005-04-03 17:06:47 Re: do I need replication or something else?