Added SET DESCRIPTOR command.
Michael Meskes <meskes@postgresql.org>
Added SET DESCRIPTOR command. Note that this still has some bugs. The functionality is there though, it's just a matter of fixing the bugs now. Cleaned up error handling in preprocessor.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/descriptor.c | modified | +165 −1 |
| src/interfaces/ecpg/ecpglib/execute.c | modified | +101 −45 |
| src/interfaces/ecpg/ecpglib/extern.h | modified | +73 −55 |
| src/interfaces/ecpg/include/ecpglib.h | modified | +2 −0 |
| src/interfaces/ecpg/preproc/descriptor.c | modified | +120 −18 |
| src/interfaces/ecpg/preproc/extern.h | modified | +4 −3 |
| src/interfaces/ecpg/preproc/pgc.l | modified | +2 −5 |
| src/interfaces/ecpg/preproc/preproc.y | modified | +131 −112 |
| src/interfaces/ecpg/preproc/type.c | modified | +3 −6 |
| src/interfaces/ecpg/preproc/variable.c | modified | +12 −42 |
| src/interfaces/ecpg/test/test_desc.pgc | added | +69 −0 |