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:
@ -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;
|
||||
|
Reference in New Issue
Block a user