This page in other versions: Unsupported versions: 6.3
PostgreSQL
Prev Chapter 43. ecpg - Embedded SQL in C Next

Why Embedded SQL?

Embedded SQL has some small advantages over other ways to handle SQL queries. It takes care of all the tedious moving of information to and from variables in your C program. Many RDBMS packages support this embedded language.

There is an ANSI-standard describing how the embedded language should work. Most embedded SQL preprocessors I have seen and heard of make extensions so it is difficult to obtain portability between them anyway. I have not read the standard but I hope that my implementation does not deviate too much and that it would be possible to port programs with embedded SQL written for other RDBMS packages to Postgres and thus promoting the spirit of free software.


Prev Home Next
ecpg - Embedded SQL in C Up The Concept
Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group