0

Is there a mapping between Postgresql data types to C data types

Similar to this question

PostgreSQL and C# Datatypes

Community
  • 1
  • 1
Andy Stow Away
  • 649
  • 1
  • 8
  • 17

1 Answers1

2

There's a tool specifically for that for client-side programming: libpqtypes.

For server-side programming, i.e. PostgreSQL extensions written in C and running in the PostgreSQL server executable, you need to use PostgreSQL's APIs directly.

Craig Ringer
  • 307,061
  • 76
  • 688
  • 778