Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
19afb4e8
Commit
19afb4e8
authored
Jan 16, 2009
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wordsmithing
parent
cc02b5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/interfaces/ecpg/ecpglib/error.c
src/interfaces/ecpg/ecpglib/error.c
+6
-6
No files found.
src/interfaces/ecpg/ecpglib/error.c
View file @
19afb4e8
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.2
1 2009/01/15 11:52:55
petere Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.2
2 2009/01/16 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
is not an array
on line %d"
),
line
);
ecpg_gettext
(
"variable
does 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
(
"
inserting 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
is not
a numeric type on line %d"
),
line
);
ecpg_gettext
(
"variable
does 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
is not
a character type on line %d"
),
line
);
ecpg_gettext
(
"variable
does not have
a character type on line %d"
),
line
);
break
;
case
ECPG_TRANS
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment