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
77a7bb3d
Commit
77a7bb3d
authored
Dec 03, 2015
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psql: Improve spelling
parent
9ff1a11a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/bin/psql/command.c
src/bin/psql/command.c
+8
-8
No files found.
src/bin/psql/command.c
View file @
77a7bb3d
...
@@ -2412,7 +2412,7 @@ _align2string(enum printFormat in)
...
@@ -2412,7 +2412,7 @@ _align2string(enum printFormat in)
}
}
/*
/*
* Parse entered
u
nicode linestyle. If ok, update *linestyle and return
* Parse entered
U
nicode linestyle. If ok, update *linestyle and return
* true, else return false.
* true, else return false.
*/
*/
static
bool
static
bool
...
@@ -2515,7 +2515,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
...
@@ -2515,7 +2515,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
refresh_utf8format
(
&
(
popt
->
topt
));
refresh_utf8format
(
&
(
popt
->
topt
));
else
else
{
{
psql_error
(
"
\\
pset: allowed
unicode border line
styles are single, double
\n
"
);
psql_error
(
"
\\
pset: allowed
Unicode border line
styles are single, double
\n
"
);
return
false
;
return
false
;
}
}
}
}
...
@@ -2530,7 +2530,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
...
@@ -2530,7 +2530,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
refresh_utf8format
(
&
(
popt
->
topt
));
refresh_utf8format
(
&
(
popt
->
topt
));
else
else
{
{
psql_error
(
"
\\
pset: allowed
unicode column line
styles are single, double
\n
"
);
psql_error
(
"
\\
pset: allowed
Unicode column line
styles are single, double
\n
"
);
return
false
;
return
false
;
}
}
}
}
...
@@ -2545,7 +2545,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
...
@@ -2545,7 +2545,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
refresh_utf8format
(
&
(
popt
->
topt
));
refresh_utf8format
(
&
(
popt
->
topt
));
else
else
{
{
psql_error
(
"
\\
pset: allowed
unicode header line
styles are single, double
\n
"
);
psql_error
(
"
\\
pset: allowed
Unicode header line
styles are single, double
\n
"
);
return
false
;
return
false
;
}
}
}
}
...
@@ -2855,22 +2855,22 @@ printPsetInfo(const char *param, struct printQueryOpt *popt)
...
@@ -2855,22 +2855,22 @@ printPsetInfo(const char *param, struct printQueryOpt *popt)
printf
(
_
(
"Tuples only is off.
\n
"
));
printf
(
_
(
"Tuples only is off.
\n
"
));
}
}
/*
u
nicode style formatting */
/*
U
nicode style formatting */
else
if
(
strcmp
(
param
,
"unicode_border_linestyle"
)
==
0
)
else
if
(
strcmp
(
param
,
"unicode_border_linestyle"
)
==
0
)
{
{
printf
(
_
(
"Unicode border linestyle is
\"
%s
\"
.
\n
"
),
printf
(
_
(
"Unicode border line
style is
\"
%s
\"
.
\n
"
),
_unicode_linestyle2string
(
popt
->
topt
.
unicode_border_linestyle
));
_unicode_linestyle2string
(
popt
->
topt
.
unicode_border_linestyle
));
}
}
else
if
(
strcmp
(
param
,
"unicode_column_linestyle"
)
==
0
)
else
if
(
strcmp
(
param
,
"unicode_column_linestyle"
)
==
0
)
{
{
printf
(
_
(
"Unicode column linestyle is
\"
%s
\"
.
\n
"
),
printf
(
_
(
"Unicode column line
style is
\"
%s
\"
.
\n
"
),
_unicode_linestyle2string
(
popt
->
topt
.
unicode_column_linestyle
));
_unicode_linestyle2string
(
popt
->
topt
.
unicode_column_linestyle
));
}
}
else
if
(
strcmp
(
param
,
"unicode_header_linestyle"
)
==
0
)
else
if
(
strcmp
(
param
,
"unicode_header_linestyle"
)
==
0
)
{
{
printf
(
_
(
"Unicode header linestyle is
\"
%s
\"
.
\n
"
),
printf
(
_
(
"Unicode header line
style is
\"
%s
\"
.
\n
"
),
_unicode_linestyle2string
(
popt
->
topt
.
unicode_header_linestyle
));
_unicode_linestyle2string
(
popt
->
topt
.
unicode_header_linestyle
));
}
}
...
...
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