Hi Michael, > Should we actually check sqlca_t more seriously if failing one of the > strdup calls used for the port, host, etc. when attempting the > connection? The ecpg_log() assumes that a NULL value equals a > <DEFAULT>, which would be wrong if we failed one of these allocations > on OOM.
If I read this correctly, you propose to check if strdup returns an error and if it does then somehow run extra checks on sqlca_t? Sorry, I don't follow. Could you please elaborate what you are proposing?