
Development Versions: [devel](https://www.postgresql.org/docs/devel/ecpg.html "PostgreSQL devel - Chapter 34. ECPG — Embedded SQL in C")

| Chapter 34. ECPG — Embedded SQL in C |
| --- |
| [Prev](https://www.postgresql.org/docs/current/lo-examplesect.html "33.5. Example Program")  | [Up](https://www.postgresql.org/docs/current/client-interfaces.html "Part IV. Client Interfaces") | Part IV. Client Interfaces | [Home](https://www.postgresql.org/docs/current/index.html "PostgreSQL 18.3 Documentation") |  [Next](https://www.postgresql.org/docs/current/ecpg-concept.html "34.1. The Concept") |

* * *

This chapter describes the embedded SQL package for PostgreSQL. It was written by Linus Tolke (`<[linus@epact.se](mailto:linus@epact.se)>`) and Michael Meskes (`<[meskes@postgresql.org](mailto:meskes@postgresql.org)>`). Originally it was written to work with C. It also works with C++, but it does not recognize all C++ constructs yet.

This documentation is quite incomplete. But since this interface is standardized, additional information can be found in many resources about SQL.
