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
c6a60570
Commit
c6a60570
authored
Jan 10, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index_insert has now HeapRelation as last param (for unique index
implementation).
parent
f48936e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
src/backend/commands/copy.c
src/backend/commands/copy.c
+2
-2
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+2
-2
src/backend/executor/execUtils.c
src/backend/executor/execUtils.c
+5
-5
src/backend/storage/large_object/inv_api.c
src/backend/storage/large_object/inv_api.c
+3
-2
No files found.
src/backend/commands/copy.c
View file @
c6a60570
...
...
@@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.
19 1996/12/19 04:58:24 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.
20 1997/01/10 09:57:14 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -619,7 +619,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
index_nulls
,
finfoP
[
i
]);
indexRes
=
index_insert
(
index_rels
[
i
],
&
idatum
,
index_nulls
,
&
(
tuple
->
t_ctid
),
false
);
&
(
tuple
->
t_ctid
),
rel
);
if
(
indexRes
)
pfree
(
indexRes
);
}
}
...
...
src/backend/commands/vacuum.c
View file @
c6a60570
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.1
2 1997/01/05 10:58:15
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.1
3 1997/01/10 09:57:16
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1006,7 +1006,7 @@ failed to add item with len = %u to page %u (free space %u, nusd %u, noff %u)",
idatum
,
inulls
,
&
(
newtup
->
t_ctid
),
true
);
onerel
);
if
(
iresult
)
pfree
(
iresult
);
}
}
...
...
src/backend/executor/execUtils.c
View file @
c6a60570
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.
6 1996/11/13 20:48:34 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.
7 1997/01/10 09:58:53 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1103,10 +1103,10 @@ ExecInsertIndexTuples(TupleTableSlot *slot,
result
=
index_insert
(
relationDescs
[
i
],
/* index relation */
datum
,
/* array of heaptuple Datums */
nulls
,
/* info on nulls */
&
(
heapTuple
->
t_ctid
),
is_update
);
/* oid of heap tuple */
datum
,
/* array of heaptuple Datums */
nulls
,
/* info on nulls */
&
(
heapTuple
->
t_ctid
),
/* oid of heap tuple */
heapRelation
);
/* ----------------
* keep track of index inserts for debugging
...
...
src/backend/storage/large_object/inv_api.c
View file @
c6a60570
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.
7 1996/11/13 20:49:18 scrappy
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/large_object/inv_api.c,v 1.
8 1997/01/10 10:00:39 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1008,7 +1008,8 @@ inv_indextup(LargeObjectDesc *obj_desc, HeapTuple htup)
n
[
0
]
=
' '
;
v
[
0
]
=
Int32GetDatum
(
obj_desc
->
highbyte
);
res
=
index_insert
(
obj_desc
->
index_r
,
&
v
[
0
],
&
n
[
0
],
&
(
htup
->
t_ctid
),
false
);
res
=
index_insert
(
obj_desc
->
index_r
,
&
v
[
0
],
&
n
[
0
],
&
(
htup
->
t_ctid
),
obj_desc
->
heap_r
);
if
(
res
)
pfree
(
res
);
...
...
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