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
b1110aaa
Commit
b1110aaa
authored
May 10, 2007
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some more error logging.
parent
1aca1cde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/interfaces/ecpg/ecpglib/data.c
src/interfaces/ecpg/ecpglib/data.c
+10
-1
No files found.
src/interfaces/ecpg/ecpglib/data.c
View file @
b1110aaa
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.3
7 2007/01/12 10:00:12
meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.3
8 2007/05/10 14:29:21
meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
#include "postgres_fe.h"
...
@@ -553,6 +553,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
...
@@ -553,6 +553,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
/* did we get an error? */
/* did we get an error? */
if
(
ires
==
NULL
)
if
(
ires
==
NULL
)
{
{
ECPGlog
(
"ECPGget_data line %d: RESULT: %s errno %d
\n
"
,
lineno
,
pval
?
pval
:
""
,
errno
);
if
(
INFORMIX_MODE
(
compat
))
if
(
INFORMIX_MODE
(
compat
))
{
{
/*
/*
...
@@ -604,6 +607,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
...
@@ -604,6 +607,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
/* did we get an error? */
/* did we get an error? */
if
(
errno
!=
0
)
if
(
errno
!=
0
)
{
{
ECPGlog
(
"ECPGget_data line %d: RESULT: %s errno %d
\n
"
,
lineno
,
pval
?
pval
:
""
,
errno
);
if
(
INFORMIX_MODE
(
compat
))
if
(
INFORMIX_MODE
(
compat
))
{
{
/*
/*
...
@@ -648,6 +654,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
...
@@ -648,6 +654,9 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
/* did we get an error? */
/* did we get an error? */
if
(
errno
!=
0
)
if
(
errno
!=
0
)
{
{
ECPGlog
(
"ECPGget_data line %d: RESULT: %s errno %d
\n
"
,
lineno
,
pval
?
pval
:
""
,
errno
);
if
(
INFORMIX_MODE
(
compat
))
if
(
INFORMIX_MODE
(
compat
))
{
{
/*
/*
...
...
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