Files
postgres/src/interfaces/ecpg
Tom Lane 09e99a1082 Change addlit() to not assume its input is null-terminated, so that we
don't have more bugs like the quote-quote-quote-quote one.  Propagate
fix into ecpg lexer, too.
2001-09-07 23:17:14 +00:00
..
2001-08-19 09:21:45 +00:00
2000-11-07 08:52:22 +00:00
2000-02-16 16:18:29 +00:00
2000-10-17 15:38:26 +00:00

descriptor statements have the following shortcomings

- up to now the only reasonable statement is
	FETCH ... INTO SQL DESCRIPTOR <name>
  no input variables allowed!
  
  Reason: to fully support dynamic SQL the frontend/backend communication
  	should change to recognize input parameters.
  	Since this is not likely to happen in the near future and you
  	can cover the same functionality with the existing infrastructure
  	I'll leave the work to someone else.

- string buffer overflow does not always generate warnings 
	(beware: terminating 0 may be missing because strncpy is used)
	:var=data sets sqlwarn accordingly (but not indicator)

- char variables pointing to NULL are not allocated on demand
	
- string truncation does not show up in indicator