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
c5bc7050
Commit
c5bc7050
authored
Sep 06, 2019
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message style fixes
parent
021da890
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
src/bin/psql/command.c
src/bin/psql/command.c
+1
-1
src/bin/psql/help.c
src/bin/psql/help.c
+1
-1
src/interfaces/ecpg/ecpglib/error.c
src/interfaces/ecpg/ecpglib/error.c
+1
-1
src/interfaces/ecpg/ecpglib/prepare.c
src/interfaces/ecpg/ecpglib/prepare.c
+2
-2
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/ecpg.trailer
+1
-1
src/interfaces/ecpg/test/expected/sql-declare.stderr
src/interfaces/ecpg/test/expected/sql-declare.stderr
+4
-4
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+5
-5
No files found.
src/bin/psql/command.c
View file @
c5bc7050
...
...
@@ -3281,7 +3281,7 @@ printGSSInfo(void)
if
(
!
PQgssEncInUse
(
pset
.
db
))
return
;
/* no GSSAPI encryption in use */
printf
(
_
(
"GSSAPI
E
ncrypted connection
\n
"
));
printf
(
_
(
"GSSAPI
-e
ncrypted connection
\n
"
));
}
...
...
src/bin/psql/help.c
View file @
c5bc7050
...
...
@@ -252,7 +252,7 @@ slashUsage(unsigned short int pager)
fprintf
(
output
,
_
(
"
\\
do[S] [PATTERN] list operators
\n
"
));
fprintf
(
output
,
_
(
"
\\
dO[S+] [PATTERN] list collations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dp [PATTERN] list table, view, and sequence access privileges
\n
"
));
fprintf
(
output
,
_
(
"
\\
dP[
tin+] [PATTERN] list [only table/index] partitioned relations
\n
"
));
fprintf
(
output
,
_
(
"
\\
dP[
itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]
\n
"
));
fprintf
(
output
,
_
(
"
\\
drds [PATRN1 [PATRN2]] list per-database role settings
\n
"
));
fprintf
(
output
,
_
(
"
\\
dRp[+] [PATTERN] list replication publications
\n
"
));
fprintf
(
output
,
_
(
"
\\
dRs[+] [PATTERN] list replication subscriptions
\n
"
));
...
...
src/interfaces/ecpg/ecpglib/error.c
View file @
c5bc7050
...
...
@@ -204,7 +204,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
(
"
The
cursor is invalid on line %d"
),
line
);
ecpg_gettext
(
"cursor is invalid on line %d"
),
line
);
break
;
default:
...
...
src/interfaces/ecpg/ecpglib/prepare.c
View file @
c5bc7050
...
...
@@ -696,7 +696,7 @@ ECPGdeclare(int lineno, const char *connection_name, const char *name)
memset
(
p
,
0
,
sizeof
(
struct
declared_statement
));
ecpg_log
(
"ECPGdeclare on line %d: declared name
%s
on connection:
\"
%s
\"\n
"
,
lineno
,
name
,
connection_name
);
ecpg_log
(
"ECPGdeclare on line %d: declared name
\"
%s
\"
on connection:
\"
%s
\"\n
"
,
lineno
,
name
,
connection_name
);
p
->
name
=
ecpg_strdup
(
name
,
lineno
);
p
->
connection_name
=
ecpg_strdup
(
connection_name
,
lineno
);
...
...
@@ -831,7 +831,7 @@ ecpg_release_declared_statement(const char *connection_name)
else
g_declared_list
=
cur
->
next
;
ecpg_log
(
"ecpg_release_declared_statement: declared name
%s
is released
\n
"
,
cur
->
name
);
ecpg_log
(
"ecpg_release_declared_statement: declared name
\"
%s
\"
is released
\n
"
,
cur
->
name
);
ecpg_free
(
cur
->
name
);
ecpg_free
(
cur
->
connection_name
);
...
...
src/interfaces/ecpg/preproc/ecpg.trailer
View file @
c5bc7050
...
...
@@ -303,7 +303,7 @@ ECPGDeclareStmt: DECLARE prepared_name STATEMENT
if (strcmp($2, ptr->name) == 0)
{
/* re-definition is a bug */
mmerror(PARSE_ERROR, ET_ERROR, "declared name
%s
is already defined", ptr->name);
mmerror(PARSE_ERROR, ET_ERROR, "declared name
\"%s\"
is already defined", ptr->name);
}
}
...
...
src/interfaces/ecpg/test/expected/sql-declare.stderr
View file @
c5bc7050
...
...
@@ -92,7 +92,7 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: deallocate_one on line 86: name stmt_1
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ECPGdeclare on line 98: declared name
stmt_2
on connection: "con1"
[NO_PID]: ECPGdeclare on line 98: declared name
"stmt_2"
on connection: "con1"
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: prepare_common on line 99: name stmt_2; query: "SELECT f1,f2,f3 FROM source"
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -142,7 +142,7 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: deallocate_one on line 111: name stmt_2
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ECPGdeclare on line 122: declared name
stmt_3
on connection: "con1"
[NO_PID]: ECPGdeclare on line 122: declared name
"stmt_3"
on connection: "con1"
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: prepare_common on line 123: name stmt_3; query: "SELECT f1,f2,f3 FROM source"
[NO_PID]: sqlca: code: 0, state: 00000
...
...
@@ -280,9 +280,9 @@
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_finish: connection con2 closed
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_release_declared_statement: declared name
stmt_3
is released
[NO_PID]: ecpg_release_declared_statement: declared name
"stmt_3"
is released
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_release_declared_statement: declared name
stmt_2
is released
[NO_PID]: ecpg_release_declared_statement: declared name
"stmt_2"
is released
[NO_PID]: sqlca: code: 0, state: 00000
[NO_PID]: ecpg_finish: connection con1 closed
[NO_PID]: sqlca: code: 0, state: 00000
src/interfaces/libpq/fe-connect.c
View file @
c5bc7050
...
...
@@ -1264,9 +1264,9 @@ connectOptions2(PGconn *conn)
if
(
strcmp
(
conn
->
gssencmode
,
"require"
)
==
0
)
{
conn
->
status
=
CONNECTION_BAD
;
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"no GSSAPI support; cannot require GSSAPI
\n
"
)
);
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"gssencmode value
\"
%s
\"
invalid when GSSAPI support is not compiled in
\n
"
)
,
conn
->
gssencmode
);
return
false
;
}
#endif
...
...
@@ -1675,7 +1675,7 @@ parse_int_param(const char *value, int *result, PGconn *conn,
}
appendPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"invalid integer value
\"
%s
\"
for
keyword
\"
%s
\"\n
"
),
libpq_gettext
(
"invalid integer value
\"
%s
\"
for
connection option
\"
%s
\"\n
"
),
value
,
context
);
return
false
;
}
...
...
@@ -2774,7 +2774,7 @@ keep_going: /* We will come back to here until there is
else
if
(
!
conn
->
gctx
&&
conn
->
gssencmode
[
0
]
==
'r'
)
{
appendPQExpBufferStr
(
&
conn
->
errorMessage
,
libpq_gettext
(
"GSSAPI encryption required
,
but was impossible (possibly no credential cache, no server support, or using a local socket)
\n
"
));
libpq_gettext
(
"GSSAPI encryption required but was impossible (possibly no credential cache, no server support, or using a local socket)
\n
"
));
goto
error_return
;
}
#endif
...
...
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