Re: multiple results from a function

From: James Harper <james(dot)harper(at)bendigoit(dot)com(dot)au>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: multiple results from a function
Date: 2014-03-03 23:39:06
Message-ID: 6035A0D088A63A46850C3988ED045A4B6F3C30E5@BITCOM1.int.sbss.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> James Harper wrote on 03.03.2014 21:10:
> > I'm working on an application to accept TDS (Microsoft SQL Server)
> > connections and proxy them to postgres. MSSQL does things a little
> > differently, for instance in addition to a functions it has stored
> > procedures that can contain multiple select statement that return
> > results to clients.
>
> Did you have a look at tPostgres?
>
> http://tpostgres.org/se/
>
> It might make developing your proxy easier.
>

I looked at that. I'm not sure their approach is going to achieve the desired level of compatibility when trying to emulate the mssql types using the native postgres types. I'm working from tds (Sybase/mssql network protocol) up, while they appear to be working from their t-sql implementation downwards, and I suspect that adding tds onto what they have might not be as easy as the "Leverage the FreeTDS implementation..." statement on their roadmap implies.

That said, I haven't looked at their project in great detail. I could be complete wrong in what I've said above.

James

In response to

Browse pgsql-general by date

  From Date Subject
Next Message snowbird 2014-03-04 06:11:48 How to recovery failed master after failover
Previous Message Thomas Kellerer 2014-03-03 22:59:25 Re: multiple results from a function