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
6f57d63c
Commit
6f57d63c
authored
Sep 22, 2003
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message wording improvements
parent
5d00f984
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+2
-2
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+6
-6
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-exec.c
+9
-9
No files found.
src/bin/pg_dump/pg_dump.c
View file @
6f57d63c
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.34
7 2003/09/19 23:15:18 tgl
Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.34
8 2003/09/22 00:23:34 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -2481,7 +2481,7 @@ getTableAttrs(TableInfo *tblinfo, int numTables)
{
if
(
j
+
1
!=
atoi
(
PQgetvalue
(
res
,
j
,
i_attnum
)))
{
write_msg
(
NULL
,
"invalid
attribute
numbering in table
\"
%s
\"\n
"
,
write_msg
(
NULL
,
"invalid
column
numbering in table
\"
%s
\"\n
"
,
tbinfo
->
relname
);
exit_nicely
();
}
...
...
src/interfaces/libpq/fe-connect.c
View file @
6f57d63c
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.26
0 2003/09/05 02:08:36 momjian
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.26
1 2003/09/22 00:23:35 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -449,7 +449,7 @@ connectOptions2(PGconn *conn)
{
conn
->
status
=
CONNECTION_BAD
;
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"
unrecognized sslmod
e:
\"
%s
\"\n
"
),
libpq_gettext
(
"
invalid sslmode valu
e:
\"
%s
\"\n
"
),
conn
->
sslmode
);
return
false
;
}
...
...
@@ -469,7 +469,7 @@ connectOptions2(PGconn *conn)
case
'r'
:
/* "require" */
conn
->
status
=
CONNECTION_BAD
;
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"sslmode
\"
%s
\"
invalid when SSL support is not compiled in
\n
"
),
libpq_gettext
(
"sslmode
value
\"
%s
\"
invalid when SSL support is not compiled in
\n
"
),
conn
->
sslmode
);
return
false
;
}
...
...
@@ -934,12 +934,12 @@ connectDBStart(PGconn *conn)
{
if
(
node
)
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"could not translate hostname
\"
%s
\"
to address: %s
\n
"
),
libpq_gettext
(
"could not translate host
name
\"
%s
\"
to address: %s
\n
"
),
node
,
gai_strerror
(
ret
));
else
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"could not translate
local service
to address: %s
\n
"
),
gai_strerror
(
ret
));
libpq_gettext
(
"could not translate
Unix-domain socket path
\"
%s
\"
to address: %s
\n
"
),
portstr
,
gai_strerror
(
ret
));
freeaddrinfo_all
(
hint
.
ai_family
,
addrs
);
goto
connect_errReturn
;
}
...
...
src/interfaces/libpq/fe-exec.c
View file @
6f57d63c
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.14
7 2003/09/05 02:08:36 momjian
Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.14
8 2003/09/22 00:23:35 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -668,7 +668,7 @@ PQsendQuery(PGconn *conn, const char *query)
/*
* PQsendQueryParams
* Like PQsendQuery, but use
3.0 protocol
so we can pass parameters
* Like PQsendQuery, but use
protocol 3.0
so we can pass parameters
*/
int
PQsendQueryParams
(
PGconn
*
conn
,
...
...
@@ -704,7 +704,7 @@ PQsendQueryParams(PGconn *conn,
/*
* PQsendQueryPrepared
* Like PQsendQuery, but execute a previously prepared statement,
* using
3.0 protocol
so we can pass parameters
* using
protocol 3.0
so we can pass parameters
*/
int
PQsendQueryPrepared
(
PGconn
*
conn
,
...
...
@@ -773,7 +773,7 @@ PQsendQueryStart(PGconn *conn)
/*
* PQsendQueryGuts
* Common code for
3.0-protocol
query sending
* Common code for
protocol-3.0
query sending
* PQsendQueryStart should be done already
*
* command may be NULL to indicate we use an already-prepared statement
...
...
@@ -795,7 +795,7 @@ PQsendQueryGuts(PGconn *conn,
if
(
PG_PROTOCOL_MAJOR
(
conn
->
pversion
)
<
3
)
{
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"function requires at least
3.0 protocol
\n
"
));
libpq_gettext
(
"function requires at least
protocol version 3.0
\n
"
));
return
0
;
}
...
...
@@ -1131,7 +1131,7 @@ PQexec(PGconn *conn, const char *query)
/*
* PQexecParams
* Like PQexec, but use
3.0 protocol
so we can pass parameters
* Like PQexec, but use
protocol 3.0
so we can pass parameters
*/
PGresult
*
PQexecParams
(
PGconn
*
conn
,
...
...
@@ -1155,7 +1155,7 @@ PQexecParams(PGconn *conn,
/*
* PQexecPrepared
* Like PQexec, but execute a previously prepared statement,
* using
3.0 protocol
so we can pass parameters
* using
protocol 3.0
so we can pass parameters
*/
PGresult
*
PQexecPrepared
(
PGconn
*
conn
,
...
...
@@ -1429,7 +1429,7 @@ PQputCopyEnd(PGconn *conn, const char *errormsg)
{
/* Ooops, no way to do this in 2.0 */
printfPQExpBuffer
(
&
conn
->
errorMessage
,
libpq_gettext
(
"function requires at least
3.0 protocol
\n
"
));
libpq_gettext
(
"function requires at least
protocol version 3.0
\n
"
));
return
-
1
;
}
else
...
...
@@ -1597,7 +1597,7 @@ PQputnbytes(PGconn *conn, const char *buffer, int nbytes)
* After completing the data transfer portion of a copy in/out,
* the application must call this routine to finish the command protocol.
*
* When using
3.0 protocol
this is deprecated; it's cleaner to use PQgetResult
* When using
protocol 3.0
this is deprecated; it's cleaner to use PQgetResult
* to get the transfer status. Note however that when using 2.0 protocol,
* recovering from a copy failure often requires a PQreset. PQendcopy will
* take care of that, PQgetResult won't.
...
...
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