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
83b06823
Commit
83b06823
authored
Jan 09, 2003
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move new typedef AclId into c.h, so as to avoid cluttering namespace
by having to include miscadmin.h into other header files.
parent
9df2c440
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
21 deletions
+14
-21
src/backend/tcop/fastpath.c
src/backend/tcop/fastpath.c
+2
-1
src/include/c.h
src/include/c.h
+4
-2
src/include/catalog/pg_conversion.h
src/include/catalog/pg_conversion.h
+1
-3
src/include/commands/typecmds.h
src/include/commands/typecmds.h
+1
-2
src/include/miscadmin.h
src/include/miscadmin.h
+2
-8
src/include/pgstat.h
src/include/pgstat.h
+1
-3
src/include/utils/acl.h
src/include/utils/acl.h
+3
-2
No files found.
src/backend/tcop/fastpath.c
View file @
83b06823
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.5
6 2003/01/07 22:32:10
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.5
7 2003/01/09 18:00:23
tgl Exp $
*
* NOTES
* This cruft is the server side of PQfn.
...
...
@@ -64,6 +64,7 @@
#include "catalog/pg_proc.h"
#include "libpq/libpq.h"
#include "libpq/pqformat.h"
#include "miscadmin.h"
#include "tcop/fastpath.h"
#include "utils/acl.h"
#include "utils/lsyscache.h"
...
...
src/include/c.h
View file @
83b06823
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.13
4 2002/12/16 16:22:46
tgl Exp $
* $Id: c.h,v 1.13
5 2003/01/09 18:00:24
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -358,7 +358,7 @@ typedef float float4;
typedef
double
float8
;
/*
* Oid, RegProcedure, TransactionId, CommandId
* Oid, RegProcedure, TransactionId, CommandId
, AclId
*/
/* typedef Oid is in postgres_ext.h */
...
...
@@ -376,6 +376,8 @@ typedef uint32 CommandId;
#define FirstCommandId ((CommandId) 0)
typedef
int32
AclId
;
/* user and group identifiers */
/*
* Array indexing support
*/
...
...
src/include/catalog/pg_conversion.h
View file @
83b06823
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_conversion.h,v 1.
8 2002/12/04 05:18:35 momjian
Exp $
* $Id: pg_conversion.h,v 1.
9 2003/01/09 18:00:24 tgl
Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -19,8 +19,6 @@
#ifndef PG_CONVERSION_H
#define PG_CONVERSION_H
#include "miscadmin.h"
/* ----------------
* postgres.h contains the system type definitions and the
* CATALOG(), BOOTSTRAP and DATA() sugar words so this file
...
...
src/include/commands/typecmds.h
View file @
83b06823
...
...
@@ -7,14 +7,13 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: typecmds.h,v 1.
3 2003/01/06 00:31:4
4 tgl Exp $
* $Id: typecmds.h,v 1.
4 2003/01/09 18:00:2
4 tgl Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TYPECMDS_H
#define TYPECMDS_H
#include "miscadmin.h"
#include "nodes/parsenodes.h"
...
...
src/include/miscadmin.h
View file @
83b06823
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: miscadmin.h,v 1.11
4 2002/12/09 18:21:43
tgl Exp $
* $Id: miscadmin.h,v 1.11
5 2003/01/09 18:00:24
tgl Exp $
*
* NOTES
* some of the information in this file should be moved to
...
...
@@ -176,7 +176,7 @@ extern bool EnableSSL;
extern
bool
SilentMode
;
extern
int
MaxBackends
;
extern
int
ReservedBackends
;
extern
int
NBuffers
;
extern
DLLIMPORT
int
NBuffers
;
extern
int
PostPortNumber
;
extern
int
Unix_socket_permissions
;
extern
char
*
Unix_socket_group
;
...
...
@@ -200,13 +200,7 @@ extern char *ExpandDatabasePath(const char *path);
extern
void
SetDatabaseName
(
const
char
*
name
);
extern
void
SetDatabasePath
(
const
char
*
path
);
/*
* AclId system identifier for the user, group, etc.
*/
typedef
int32
AclId
;
extern
char
*
GetUserNameFromId
(
AclId
userid
);
extern
AclId
GetUserId
(
void
);
extern
void
SetUserId
(
AclId
userid
);
extern
AclId
GetSessionUserId
(
void
);
...
...
src/include/pgstat.h
View file @
83b06823
...
...
@@ -5,14 +5,12 @@
*
* Copyright (c) 2001, PostgreSQL Global Development Group
*
* $Id: pgstat.h,v 1.1
1 2002/12/05 04:04:51 momjian
Exp $
* $Id: pgstat.h,v 1.1
2 2003/01/09 18:00:24 tgl
Exp $
* ----------
*/
#ifndef PGSTAT_H
#define PGSTAT_H
#include "miscadmin.h"
/* ----------
* Paths for the statistics files. The %s is replaced with the
* installations $PGDATA.
...
...
src/include/utils/acl.h
View file @
83b06823
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: acl.h,v 1.
49 2002/12/05 04:04:51 momjian
Exp $
* $Id: acl.h,v 1.
50 2003/01/09 18:00:24 tgl
Exp $
*
* NOTES
* For backward-compatibility purposes we have to allow there
...
...
@@ -22,11 +22,12 @@
#ifndef ACL_H
#define ACL_H
#include "miscadmin.h"
#include "nodes/parsenodes.h"
#include "utils/array.h"
/* typedef AclId is declared in c.h */
#define ACL_ID_WORLD 0
/* placeholder for id in a WORLD acl item */
/*
...
...
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