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
c96375a3
Commit
c96375a3
authored
Jun 25, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple of items that should be declared Oid not int. Purely
cosmetic at the moment, but someday Oid might be 64 bits ...
parent
ca1d4eb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/backend/postmaster/pgstat.c
src/backend/postmaster/pgstat.c
+3
-3
src/include/pgstat.h
src/include/pgstat.h
+2
-2
No files found.
src/backend/postmaster/pgstat.c
View file @
c96375a3
...
...
@@ -13,7 +13,7 @@
*
* Copyright (c) 2001-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.9
5 2005/05/29 04:23:03
tgl Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.9
6 2005/06/25 23:58:57
tgl Exp $
* ----------
*/
#include "postgres.h"
...
...
@@ -162,7 +162,7 @@ static void pgstat_exit(SIGNAL_ARGS);
static
void
pgstat_die
(
SIGNAL_ARGS
);
static
void
pgstat_beshutdown_hook
(
int
code
,
Datum
arg
);
static
PgStat_StatDBEntry
*
pgstat_get_db_entry
(
int
databaseid
);
static
PgStat_StatDBEntry
*
pgstat_get_db_entry
(
Oid
databaseid
);
static
int
pgstat_add_backend
(
PgStat_MsgHdr
*
msg
);
static
void
pgstat_sub_backend
(
int
procpid
);
static
void
pgstat_drop_database
(
Oid
databaseid
);
...
...
@@ -2052,7 +2052,7 @@ pgstat_add_backend(PgStat_MsgHdr *msg)
* table entry exists, initialize it.
*/
static
PgStat_StatDBEntry
*
pgstat_get_db_entry
(
int
databaseid
)
pgstat_get_db_entry
(
Oid
databaseid
)
{
PgStat_StatDBEntry
*
result
;
bool
found
;
...
...
src/include/pgstat.h
View file @
c96375a3
...
...
@@ -5,7 +5,7 @@
*
* Copyright (c) 2001-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.
29 2005/05/11 01:41:41 neilc
Exp $
* $PostgreSQL: pgsql/src/include/pgstat.h,v 1.
30 2005/06/25 23:58:58 tgl
Exp $
* ----------
*/
#ifndef PGSTAT_H
...
...
@@ -138,7 +138,7 @@ typedef struct PgStat_MsgActivity
typedef
struct
PgStat_MsgTabstat
{
PgStat_MsgHdr
m_hdr
;
int
m_databaseid
;
Oid
m_databaseid
;
int
m_nentries
;
int
m_xact_commit
;
int
m_xact_rollback
;
...
...
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