Re: Using C# to create stored procedures

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using C# to create stored procedures
Date: 2007-04-02 14:34:31
Message-ID: 20070402143431.GB1588@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Mar 30, 2007 at 12:19:44PM +0300, Andrus wrote:
> Any idea how to write server-side stored procedures in C# for PostgreSQL
> database ?
>
> In windows .NET 2 framework should be used and in Linuc/Mac/Windows MONO
> should be used for this.
>
> How to install MONO engine as server-side language to PostgreSQL ?
>
> How to call .NET dlls from PostgreSQL stored procedure ?

This is not currently supported. PostgreSQL supports a lot of languages,
but C#/.Net is not one of them.

You could call them through a CLR launcher, but that's going to be a lot of
work for you.

//Magnus

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-04-02 14:41:29 Re: PlPg/SQL
Previous Message Carlos Oliva 2007-04-02 14:32:43 Re: Unexplained case insensitive results