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
788af6f8
Commit
788af6f8
authored
Mar 01, 2017
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move atooid() definition to a central place
parent
b5a38839
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
4 additions
and
23 deletions
+4
-23
contrib/lo/lo.c
contrib/lo/lo.c
+0
-2
contrib/vacuumlo/vacuumlo.c
contrib/vacuumlo/vacuumlo.c
+0
-2
src/backend/bootstrap/bootparse.y
src/backend/bootstrap/bootparse.y
+0
-2
src/backend/libpq/hba.c
src/backend/libpq/hba.c
+0
-3
src/backend/nodes/readfuncs.c
src/backend/nodes/readfuncs.c
+0
-2
src/backend/utils/adt/misc.c
src/backend/utils/adt/misc.c
+0
-2
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_basebackup.c
+0
-2
src/bin/pg_upgrade/pg_upgrade.h
src/bin/pg_upgrade/pg_upgrade.h
+0
-2
src/bin/psql/common.h
src/bin/psql/common.h
+0
-2
src/bin/scripts/droplang.c
src/bin/scripts/droplang.c
+0
-2
src/include/fe_utils/string_utils.h
src/include/fe_utils/string_utils.h
+0
-2
src/include/postgres_ext.h
src/include/postgres_ext.h
+4
-0
No files found.
contrib/lo/lo.c
View file @
788af6f8
...
...
@@ -14,8 +14,6 @@
PG_MODULE_MAGIC
;
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/*
* This is the trigger that protects us from orphaned large objects
...
...
contrib/vacuumlo/vacuumlo.c
View file @
788af6f8
...
...
@@ -24,8 +24,6 @@
#include "libpq-fe.h"
#include "pg_getopt.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
#define BUFSIZE 1024
enum
trivalue
...
...
src/backend/bootstrap/bootparse.y
View file @
788af6f8
...
...
@@ -51,8 +51,6 @@
#include "tcop/dest.h"
#include "utils/rel.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/*
* Bison doesn't allocate anything that needs to live across parser calls,
...
...
src/backend/libpq/hba.c
View file @
788af6f8
...
...
@@ -52,9 +52,6 @@
#endif
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
#define atoxid(x) ((TransactionId) strtoul((x), NULL, 10))
#define MAX_TOKEN 256
#define MAX_LINE 8192
...
...
src/backend/nodes/readfuncs.c
View file @
788af6f8
...
...
@@ -164,8 +164,6 @@
*/
#define atoui(x) ((unsigned int) strtoul((x), NULL, 10))
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
#define strtobool(x) ((*(x) == 't') ? true : false)
#define nullable_string(token,length) \
...
...
src/backend/utils/adt/misc.c
View file @
788af6f8
...
...
@@ -44,8 +44,6 @@
#include "utils/builtins.h"
#include "utils/timestamp.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/*
* Common subroutine for num_nulls() and num_nonnulls().
...
...
src/bin/pg_basebackup/pg_basebackup.c
View file @
788af6f8
...
...
@@ -39,8 +39,6 @@
#include "streamutil.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
typedef
struct
TablespaceListCell
{
struct
TablespaceListCell
*
next
;
...
...
src/bin/pg_upgrade/pg_upgrade.h
View file @
788af6f8
...
...
@@ -97,8 +97,6 @@ extern char *output_files[];
#define CLUSTER_NAME(cluster) ((cluster) == &old_cluster ? "old" : \
(cluster) == &new_cluster ? "new" : "none")
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/* OID system catalog preservation added during PG 9.0 development */
#define TABLE_SPACE_SUBDIRS_CAT_VER 201001111
/* postmaster/postgres -b (binary_upgrade) flag added during PG 9.1 development */
...
...
src/bin/psql/common.h
View file @
788af6f8
...
...
@@ -13,8 +13,6 @@
#include "libpq-fe.h"
#include "fe_utils/print.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
extern
bool
openQueryOutputFile
(
const
char
*
fname
,
FILE
**
fout
,
bool
*
is_pipe
);
extern
bool
setQFout
(
const
char
*
fname
);
...
...
src/bin/scripts/droplang.c
View file @
788af6f8
...
...
@@ -14,8 +14,6 @@
#include "common.h"
#include "fe_utils/print.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
static
void
help
(
const
char
*
progname
);
...
...
src/include/fe_utils/string_utils.h
View file @
788af6f8
...
...
@@ -19,8 +19,6 @@
#include "libpq-fe.h"
#include "pqexpbuffer.h"
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/* Global variables controlling behavior of fmtId() and fmtQualifiedId() */
extern
int
quote_all_identifiers
;
extern
PQExpBuffer
(
*
getLocalPQExpBuffer
)
(
void
);
...
...
src/include/postgres_ext.h
View file @
788af6f8
...
...
@@ -39,6 +39,10 @@ typedef unsigned int Oid;
#define OID_MAX UINT_MAX
/* you will need to include <limits.h> to use the above #define */
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
/* the above needs <stdlib.h> */
/* Define a signed 64-bit integer type for use in client API declarations. */
typedef
PG_INT64_TYPE
pg_int64
;
...
...
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