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
a50b605a
Commit
a50b605a
authored
May 21, 2016
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psql: Message style improvements
parent
768d6f90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/bin/psql/command.c
src/bin/psql/command.c
+3
-3
src/bin/psql/common.c
src/bin/psql/common.c
+1
-1
No files found.
src/bin/psql/command.c
View file @
a50b605a
...
...
@@ -854,7 +854,7 @@ exec_command(const char *cmd,
puts
(
_
(
"out of memory"
));
}
else
puts
(
_
(
"There
wa
s no previous error."
));
puts
(
_
(
"There
i
s no previous error."
));
}
/* \f -- change field separator */
...
...
@@ -3363,7 +3363,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
appendPQExpBufferStr
(
buf
,
"CREATE OR REPLACE VIEW "
);
break
;
default:
psql_error
(
"
%s.%s
is not a view
\n
"
,
psql_error
(
"
\"
%s.%s
\"
is not a view
\n
"
,
nspname
,
relname
);
result
=
false
;
break
;
...
...
@@ -3379,7 +3379,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
pset
.
encoding
,
standard_strings
()))
{
psql_error
(
"
C
ould not parse reloptions array
\n
"
);
psql_error
(
"
c
ould not parse reloptions array
\n
"
);
result
=
false
;
}
appendPQExpBufferStr
(
buf
,
")"
);
...
...
src/bin/psql/common.c
View file @
a50b605a
...
...
@@ -134,7 +134,7 @@ psql_get_variable(const char *varname, bool escape, bool as_ident)
if
(
!
pset
.
db
)
{
psql_error
(
"can
'
t escape without active connection
\n
"
);
psql_error
(
"can
no
t escape without active connection
\n
"
);
return
NULL
;
}
...
...
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