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
9dddd242
Commit
9dddd242
authored
Dec 17, 2003
by
Dave Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revoked patch from Kris Jurka to fix multiarguments, and changed test to create
a temp table
parent
e4955c2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
+7
-10
src/interfaces/jdbc/org/postgresql/test/jdbc2/OID74Test.java
src/interfaces/jdbc/org/postgresql/test/jdbc2/OID74Test.java
+2
-2
No files found.
src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
View file @
9dddd242
...
...
@@ -6,7 +6,7 @@
* Copyright (c) 2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java,v 1.1
8 2003/12/17 15:38:42
davec Exp $
* $PostgreSQL: pgsql/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java,v 1.1
9 2003/12/17 15:45:05
davec Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -78,22 +78,19 @@ public class Fastpath
// send the function call
try
{
int
l_msgLen
=
14
;
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
{
l_msgLen
+=
2
;
int
l_msgLen
=
0
;
l_msgLen
+=
16
;
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
l_msgLen
+=
args
[
i
].
sendSize
();
}
stream
.
SendChar
(
'F'
);
stream
.
SendInteger
(
l_msgLen
,
4
);
stream
.
SendInteger
(
fnid
,
4
);
stream
.
SendInteger
(
1
,
2
);
stream
.
SendInteger
(
1
,
2
);
stream
.
SendInteger
(
args
.
length
,
2
);
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
stream
.
SendInteger
(
1
,
2
);
stream
.
SendInteger
(
args
.
length
,
2
);
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
for
(
int
i
=
0
;
i
<
args
.
length
;
i
++)
args
[
i
].
send
(
stream
);
stream
.
SendInteger
(
1
,
2
);
...
...
src/interfaces/jdbc/org/postgresql/test/jdbc2/OID74Test.java
View file @
9dddd242
...
...
@@ -13,7 +13,7 @@ import java.sql.*;
* User: alexei
* Date: 17-Dec-2003
* Time: 11:01:44
* @version $Id: OID74Test.java,v 1.
1 2003/12/17 15:38:42
davec Exp $
* @version $Id: OID74Test.java,v 1.
2 2003/12/17 15:45:05
davec Exp $
*/
public
class
OID74Test
extends
TestCase
{
...
...
@@ -41,7 +41,7 @@ public class OID74Test extends TestCase
c
=
DriverManager
.
getConnection
(
"jdbc:postgresql://localhost/test?compatible=7.1&user=test"
);
c
.
setAutoCommit
(
false
);
st
=
c
.
createStatement
();
st
.
execute
(
"CREATE TABLE temp (col oid)"
);
st
.
execute
(
"CREATE
temp
TABLE temp (col oid)"
);
}
catch
(
SQLException
e
)
{
...
...
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