Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
19afb4e8
Commit
19afb4e8
authored
16 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Wordsmithing
parent
cc02b5ef
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interfaces/ecpg/ecpglib/error.c
+6
-6
6 additions, 6 deletions
src/interfaces/ecpg/ecpglib/error.c
with
6 additions
and
6 deletions
src/interfaces/ecpg/ecpglib/error.c
+
6
−
6
View file @
19afb4e8
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.2
1
2009/01/1
5 11:52:55
petere Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.2
2
2009/01/1
6 09:15:03
petere Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include
"postgres_fe.h"
...
...
@@ -106,7 +106,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf
(
sqlca
->
sqlerrm
.
sqlerrmc
,
sizeof
(
sqlca
->
sqlerrm
.
sqlerrmc
),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext
(
"variable
i
s not an array on line %d"
),
line
);
ecpg_gettext
(
"variable
doe
s not
have
an array
type
on line %d"
),
line
);
break
;
case
ECPG_DATA_NOT_ARRAY
:
...
...
@@ -120,7 +120,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf
(
sqlca
->
sqlerrm
.
sqlerrmc
,
sizeof
(
sqlca
->
sqlerrm
.
sqlerrmc
),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext
(
"
trying to
insert an array of variables on line %d"
),
line
);
ecpg_gettext
(
"insert
ing
an array of variables
is not supported
on line %d"
),
line
);
break
;
case
ECPG_NO_CONN
:
...
...
@@ -134,7 +134,7 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf
(
sqlca
->
sqlerrm
.
sqlerrmc
,
sizeof
(
sqlca
->
sqlerrm
.
sqlerrmc
),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext
(
"not connected to
\"
%s
\"
on line %d"
),
str
,
line
);
ecpg_gettext
(
"not connected to
connection
\"
%s
\"
on line %d"
),
str
,
line
);
break
;
case
ECPG_INVALID_STMT
:
...
...
@@ -169,14 +169,14 @@ ecpg_raise(int line, int code, const char *sqlstate, const char *str)
snprintf
(
sqlca
->
sqlerrm
.
sqlerrmc
,
sizeof
(
sqlca
->
sqlerrm
.
sqlerrmc
),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext
(
"variable
i
s not a numeric type on line %d"
),
line
);
ecpg_gettext
(
"variable
doe
s not
have
a numeric type on line %d"
),
line
);
break
;
case
ECPG_VAR_NOT_CHAR
:
snprintf
(
sqlca
->
sqlerrm
.
sqlerrmc
,
sizeof
(
sqlca
->
sqlerrm
.
sqlerrmc
),
/* translator: this string will be truncated at 149
characters expanded. */
ecpg_gettext
(
"variable
i
s not a character type on line %d"
),
line
);
ecpg_gettext
(
"variable
doe
s not
have
a character type on line %d"
),
line
);
break
;
case
ECPG_TRANS
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment