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
c91b8bc5
Commit
c91b8bc5
authored
Sep 14, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic fixes from Neil Conway.
parent
c0edc53a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/commands/prepare.c
src/backend/commands/prepare.c
+4
-4
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/bufmgr.c
+2
-2
No files found.
src/backend/commands/prepare.c
View file @
c91b8bc5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Copyright (c) 2002, PostgreSQL Global Development Group
* Copyright (c) 2002, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/prepare.c,v 1.
2 2002/09/04 20:31:15 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/prepare.c,v 1.
3 2002/09/14 19:59:20 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -248,7 +248,7 @@ StoreQuery(const char *stmt_name, List *query_list, List *plan_list,
...
@@ -248,7 +248,7 @@ StoreQuery(const char *stmt_name, List *query_list, List *plan_list,
elog
(
ERROR
,
"Prepared statement with name
\"
%s
\"
already exists"
,
elog
(
ERROR
,
"Prepared statement with name
\"
%s
\"
already exists"
,
stmt_name
);
stmt_name
);
/*
Okay.
Make a permanent memory context for the hashtable entry */
/* Make a permanent memory context for the hashtable entry */
entrycxt
=
AllocSetContextCreate
(
TopMemoryContext
,
entrycxt
=
AllocSetContextCreate
(
TopMemoryContext
,
stmt_name
,
stmt_name
,
1024
,
1024
,
...
@@ -399,7 +399,7 @@ DeallocateQuery(DeallocateStmt *stmt)
...
@@ -399,7 +399,7 @@ DeallocateQuery(DeallocateStmt *stmt)
stmt
->
name
);
stmt
->
name
);
/* Flush the context holding the subsidiary data */
/* Flush the context holding the subsidiary data */
if
(
MemoryContextIsValid
(
entry
->
context
))
Assert
(
MemoryContextIsValid
(
entry
->
context
));
MemoryContextDelete
(
entry
->
context
);
MemoryContextDelete
(
entry
->
context
);
/* Now we can remove the hash table entry */
/* Now we can remove the hash table entry */
...
...
src/backend/storage/buffer/bufmgr.c
View file @
c91b8bc5
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.13
2 2002/09/04 20:31:25 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.13
3 2002/09/14 19:59:20 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -316,7 +316,7 @@ BufferAlloc(Relation reln,
...
@@ -316,7 +316,7 @@ BufferAlloc(Relation reln,
{
{
/*
/*
* I couldn't understand the following old comment. If there's
* I couldn't understand the following old comment. If there's
* no IO for the buffer and the buffer is BROKEN,it should be
* no IO for the buffer and the buffer is BROKEN,
it should be
* read again. So start a new buffer IO here.
* read again. So start a new buffer IO here.
*
*
* wierd race condition:
* wierd race condition:
...
...
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