freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Steve Langasek <vorlon AT netexpress.net>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: SQL Server Emulation
- Date: Wed, 20 Jun 2001 10:17:18 -0500 (CDT)
Antonio,
On Wed, 20 Jun 2001, Antonio Ognio wrote:
> Well, I must admit i'm very happy with your response. I believe
> there's a need for this project and many people will be supporting at
> all levels starting with you. Thanks a lot, I'll be bugging you with
> silly newbie questions for some time.. hope to behave :)
> Ok, definitely the real thing has to go in C. But there's a
> little problem: I'm not really fluent in C. I'll surely study all
> the sources and will do my best in learning more/hacking the C code
> you're providing me with.
If the final product will be written in C, it doesn't make sense to me to do a
prototype in PHP. Because of all the binary structures you'll have to work
with, I think writing the conversion code in C (or perl) will be much easier
than writing it in PHP, and if it will be written in C in the end no matter
what, why write the code twice?
It's true that PHP will make it easy for you to send the SQL statements to the
PostgreSQL back-end, but it will also make it very hard for you to extract the
SQL statements from the TDS stream: either you will have to rewrite all of
the FreeTDS server code in PHP, or you will have to compile it as a PHP
module. In addition, PHP doesn't work very well as a language for daemons.
PostgreSQL provides client libraries, FreeTDS provides the server code you
need; it would be much easier, IMHO, to hook these two pieces together using C
code. I think it would be worth your time to learn C for this reason.
HTH,
Steve Langasek
postmodern programmer
-
Re: SQL Server Emulation
, (continued)
- Re: SQL Server Emulation, Brian Bruns, 06/20/2001
- Re: SQL Server Emulation, Michael Peppler, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, Rui Ribeiro, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, Michael Peppler, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Lowden, James K, 06/20/2001
- Re: SQL Server Emulation, Lowden, James K, 06/20/2001
- Re: SQL Server Emulation, Steve Langasek, 06/20/2001
- Re: SQL Server Emulation, Norman Palardy, 06/20/2001
- Re: SQL Server Emulation, Geoff Winkless, 06/20/2001
- Re: SQL Server Emulation, James Cameron, 06/20/2001
- Re: SQL Server Emulation, James K. Lowden, 06/20/2001
- Re: SQL Server Emulation, Mark H. Wood, 06/21/2001
- Re: SQL Server Emulation, Brian Bruns, 06/26/2001
Archive powered by MHonArc 2.6.24.