> Hi,
>
> The attached patch fixes the SQLSTATE returned when Bind references
> a nonexistent prepared statement.
>
> Pgpool-II returned XX000 (internal_error), whereas PostgreSQL returns
> 26000 (invalid_sql_statement_name). The patch changes the SQLSTATE to
> 26000 to match PostgreSQL.
>
> This issue was originally reported here:
>
> https://github.com/pgpool/pgpool2/issues/180
The patch looks good to me.
Regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp