mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pgindent run over code.
This commit is contained in:
@ -1,15 +1,19 @@
|
||||
exec sql include sqlca;
|
||||
|
||||
exec sql whenever sqlerror do PrintAndStop();
|
||||
exec sql whenever sqlwarning do warn();
|
||||
exec sql whenever sqlerror
|
||||
do
|
||||
PrintAndStop();
|
||||
exec sql whenever sqlwarning
|
||||
do
|
||||
warn();
|
||||
|
||||
void PrintAndStop(void)
|
||||
void PrintAndStop(void)
|
||||
{
|
||||
sqlprint();
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
void warn(void)
|
||||
void warn(void)
|
||||
{
|
||||
fprintf(stderr, "Warning: At least one column was truncated\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user