1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

From: Michael Meskes <meskes@topsystem.de>

Here's my next patch. this one should fix some more bugs. ecpg now fully
understands the whenever statement.
This commit is contained in:
Marc G. Fournier
1998-02-19 13:52:17 +00:00
parent ed875a4132
commit 1d6424b1fb
11 changed files with 243 additions and 52 deletions

View File

@ -232,7 +232,7 @@ ECPGdo(int lineno, char *query,...)
return false;
}
/* Now then request is built. */
/* Now the request is built. */
if (committed)
{
@ -646,3 +646,10 @@ ECPGlog(const char *format,...)
free(f);
}
}
/* print out an error message */
void sqlprint(void)
{
sqlca.sqlerrm.sqlerrmc[sqlca.sqlerrm.sqlerrml] = '\0';
printf ("sql error %s\n", sqlca.sqlerrm.sqlerrmc);
}