1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Added typedef patches and a new option '-c' to automatically create C typedefs from SQL ones.

This commit is contained in:
Michael Meskes
2002-03-21 09:42:52 +00:00
parent a13ddd36b0
commit 73b92d10c6
6 changed files with 123 additions and 35 deletions

View File

@ -11,9 +11,8 @@ exec sql type str is varchar[10];
int
main ()
{
typedef struct { long born; short age; } birthinfo;
exec sql type birthinfo is struct { long born; short age; };
exec sql begin declare section;
typedef struct { long born; short age; } birthinfo;
struct personal_struct { str name;
birthinfo birth;
} personal;