postgresql_16:5.3.15.1 Additional Types
PostgreSQL 16 > Client Interfaces > ECPG — Embedded SQL in C > Informix Compatibility Mode > Additional Types
The Informix-special "string" pseudo-type for storing right-trimmed character string data is now supported in Informix-mode without using typedef. In fact, in Informix-mode, ECPG refuses to process source files that contain typedef sometype string; EXEC SQL BEGIN DECLARE SECTION; string userid; /* this variable will contain trimmed data */ EXEC SQL END DECLARE SECTION; EXEC SQL FETCH MYCUR INTO :userid;