From: | Byron Nikolaidis <byronn(at)insightdist(dot)com> |
---|---|
To: | "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org> |
Cc: | pgsql-interfaces(at)postgreSQL(dot)org, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Re: [INTERFACES] Odbc parser error |
Date: | 1998-09-18 13:23:26 |
Message-ID: | 36025ECD.1DC5CE75@insightdist.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
Billy G. Allie wrote:
> How about subsitution any occurance of /=[ \t]*?/ with "IS NULL". This should
> work for both select and update statements.
> --
Yes, sure, it could be done, assuming I could get a regex library for VC++. But I
think it would be more of a kludge than a solution. Even the current substitution
of the ? with the parameter data is a kludge. The frontend shouldn't be rewriting
the sql string to stick parameters in.
The real point of the whole thing is that if the backend recognized parameters and
there was a protocol for passing the data over, we would be able to do some cool
things we have never been able to do. Not just passing NULL, but also passing
larger parameter data without worrying about running into the upper limit of the
statement string. It would also be easier to send binary data. And, assuming the
protocol allowed it, you could retrieve information from the backend about a
particular parameter, such as its precision, data type, nullablity, etc.
And its not just ODBC that would benefit. JDBC has the same semantics. And I
believe Embedded SQL does too.
Byron
From | Date | Subject | |
---|---|---|---|
Next Message | David Hartwig | 1998-09-18 14:44:33 | PL/pgsql |
Previous Message | Sferacarta Software | 1998-09-18 13:13:37 | Re: [SQL] PostgreSQL syntax question |
From | Date | Subject | |
---|---|---|---|
Next Message | Constantin Teodorescu | 1998-09-18 16:46:36 | PgAccess 0.90 new version released - user input query parameters available |
Previous Message | Constantin Teodorescu | 1998-09-18 11:22:47 | New PgAccess version 0.89 - minor changes |