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
a0734d1e
Commit
a0734d1e
authored
Dec 04, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change appendStringInfoChar to appendStringInfoCharMacro in a couple of
hot spots --- buys about 10% in Verner's INSERT example.
parent
c121efff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+2
-2
src/backend/libpq/pqformat.c
src/backend/libpq/pqformat.c
+2
-2
No files found.
src/backend/libpq/pqcomm.c
View file @
a0734d1e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pqcomm.c,v 1.12
5 2001/12/04 19:40:17
tgl Exp $
* $Id: pqcomm.c,v 1.12
6 2001/12/04 20:57:22
tgl Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -610,7 +610,7 @@ pq_getstring(StringInfo s)
...
@@ -610,7 +610,7 @@ pq_getstring(StringInfo s)
/* Read until we get the terminating '\0' */
/* Read until we get the terminating '\0' */
while
((
c
=
pq_getbyte
())
!=
EOF
&&
c
!=
'\0'
)
while
((
c
=
pq_getbyte
())
!=
EOF
&&
c
!=
'\0'
)
appendStringInfoChar
(
s
,
c
);
appendStringInfoChar
Macro
(
s
,
c
);
if
(
c
==
EOF
)
if
(
c
==
EOF
)
return
EOF
;
return
EOF
;
...
...
src/backend/libpq/pqformat.c
View file @
a0734d1e
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pqformat.c,v 1.1
8 2001/10/25 05:49:30 momjian
Exp $
* $Id: pqformat.c,v 1.1
9 2001/12/04 20:57:22 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
void
void
pq_sendbyte
(
StringInfo
buf
,
int
byt
)
pq_sendbyte
(
StringInfo
buf
,
int
byt
)
{
{
appendStringInfoChar
(
buf
,
byt
);
appendStringInfoChar
Macro
(
buf
,
byt
);
}
}
/* --------------------------------
/* --------------------------------
...
...
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