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
93f72253
Commit
93f72253
authored
Nov 26, 1996
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whoops, redo Ultrix patch so the other ports still compile.
parent
c1185431
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
50 additions
and
22 deletions
+50
-22
src/bin/Makefile.global
src/bin/Makefile.global
+2
-3
src/bin/pg_dump/Makefile
src/bin/pg_dump/Makefile
+8
-3
src/bin/pg_dump/common.c
src/bin/pg_dump/common.c
+4
-2
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+4
-2
src/bin/psql/Makefile
src/bin/psql/Makefile
+9
-3
src/bin/psql/psql.c
src/bin/psql/psql.c
+4
-2
src/bin/psql/stringutils.c
src/bin/psql/stringutils.c
+4
-2
src/include/config.h
src/include/config.h
+1
-0
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+2
-2
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+4
-2
src/utils/Makefile
src/utils/Makefile
+8
-1
No files found.
src/bin/Makefile.global
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/Attic/Makefile.global,v 1.1
1 1996/11/14 09:24:39
bryanh Exp $
# $Header: /cvsroot/pgsql/src/bin/Attic/Makefile.global,v 1.1
2 1996/11/26 07:37:54
bryanh Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -27,8 +27,7 @@ endif
INCLUDE_OPT
:=
\
-I
$(LIBPQDIR)
\
-I
$(SRCDIR)
/include
\
-I
$(SRCDIR)
/src/backend/port/
$(PORTNAME)
-I
$(SRCDIR)
/include
CFLAGS
+=
$(INCLUDE_OPT)
src/bin/pg_dump/Makefile
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.
9 1996/11/26 03:19:3
6 bryanh Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.
10 1996/11/26 07:38:1
6 bryanh Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,15 +15,20 @@ SRCDIR= ../..
include
../Makefile.global
include
../../Makefile.global
CFLAGS
+=
-I
../../backend/port/
${PORTNAME}
OBJS
=
pg_dump.o common.o
ifeq
($(PORTNAME), ultrix4)
OBJS
+=
../../utils/strdup.o
endif
all
:
submake pg_dump
pg_dump
:
$(OBJS) $(LIBPQDIR)/libpq.a
$(CC)
$(LDFLAGS)
-o
pg_dump
-L
$(LIBPQDIR)
$(OBJS)
-lpq
$(LD_ADD)
../../utils/strdup.o
:
$(MAKE)
-C
../../utils/strdup.o
.PHONY
:
submake
submake
:
$(MAKE)
-C
$(LIBPQDIR)
libpq.a
...
...
src/bin/pg_dump/common.c
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.
8 1996/11/26 03:19:40
bryanh Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.
9 1996/11/26 07:38:18
bryanh Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
...
...
@@ -29,7 +29,9 @@
#include "postgres.h"
#include "libpq-fe.h"
#include <port-protos.h>
/* for strdup() */
#ifdef NEED_STRDUP
#include "strdup.h"
#endif
#include "pg_dump.h"
...
...
src/bin/pg_dump/pg_dump.c
View file @
93f72253
...
...
@@ -20,7 +20,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.1
7 1996/11/26 03:19:45
bryanh Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.1
8 1996/11/26 07:38:19
bryanh Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
...
...
@@ -54,7 +54,9 @@
#include "postgres.h"
#include "access/htup.h"
#include "libpq-fe.h"
#include <port-protos.h>
/* for strdup() */
#ifdef NEED_STRDUP
#include "strdup.h"
#endif
#include "pg_dump.h"
...
...
src/bin/psql/Makefile
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.1
4 1996/11/26 03:19:5
4 bryanh Exp $
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.1
5 1996/11/26 07:38:2
4 bryanh Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,8 +16,7 @@ include ../../Makefile.global
INCLUDE_OPT
:=
\
-I
$(LIBPQDIR)
\
-I
../../include
\
-I
../../backend/port/
$(PORTNAME)
-I
../../include
CFLAGS
+=
$(INCLUDE_OPT)
#
...
...
@@ -63,11 +62,18 @@ ifneq ($(USE_READLINE), true)
OBJS
+=
rlstubs.o
endif
ifeq
($(PORTNAME), ultrix4)
OBJS
+=
../../utils/strdup.o
endif
all
:
submake psql
psql
:
$(OBJS) $(LIBPQDIR)/libpq.a
$(CC)
$(LDFLAGS)
-o
psql
-L
$(LIBPQDIR)
$(OBJS)
-lpq
$(LD_ADD)
../../utils/strdup.o
:
$(MAKE)
-C
../../utils strdup.o
.PHONY
:
submake
submake
:
$(MAKE)
-C
$(LIBPQDIR)
libpq.a
...
...
src/bin/psql/psql.c
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.3
4 1996/11/26 03:19:5
8 bryanh Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.3
5 1996/11/26 07:38:2
8 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -24,7 +24,9 @@
#include "libpq-fe.h"
#include "stringutils.h"
#include "psqlHelp.h"
#include <port-protos.h>
/* for strdup() */
#ifdef NEED_STRDUP
#include "strdup.h"
#endif
#ifdef NOREADLINE
#include "rlstubs.h"
...
...
src/bin/psql/stringutils.c
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.
6 1996/11/26 03:20:0
6 bryanh Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.
7 1996/11/26 07:38:3
6 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -16,7 +16,9 @@
#include <ctype.h>
#include <stdlib.h>
#include <port-protos.h>
/* for strdup() */
#ifdef NEED_STRDUP
#include "strdup.h"
#endif
#include "stringutils.h"
...
...
src/include/config.h
View file @
93f72253
...
...
@@ -41,6 +41,7 @@
# define NEED_ISINF
# define USE_POSIX_TIME
# define NEED_UNION_SEMUN
# define NEED_STRDUP
#endif
#if defined(linux)
...
...
src/interfaces/libpq/Makefile
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
0 1996/11/26 06:33:18
bryanh Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
1 1996/11/26 07:38:46
bryanh Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,7 +15,7 @@ SRCDIR= ..
include
../Makefile.global
# We need the backend directory here for its fmgr.h
INCLUDE_OPT
=
-I
../include
-I
../backend
-I
../backend/port/
$(PORTNAME)
INCLUDE_OPT
=
-I
../include
-I
../backend
CFLAGS
+=
$(INCLUDE_OPT)
...
...
src/interfaces/libpq/fe-connect.c
View file @
93f72253
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.2
0 1996/11/26 03:20:3
5 bryanh Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.2
1 1996/11/26 07:38:5
5 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -30,7 +30,9 @@
#include "fe-auth.h"
#include "libpq-fe.h"
#include <port-protos.h>
/* for strdup() */
#ifdef NEED_STRDUP
#include "strdup.h"
#endif
#if defined(ultrix4) || defined(next)
/* ultrix is lame and doesn't have strdup in libc for some reason */
...
...
src/utils/Makefile
View file @
93f72253
...
...
@@ -4,7 +4,14 @@
# Makefile for utils
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.2 1996/11/11 16:30:07 scrappy Exp $
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.3 1996/11/26 07:39:11 bryanh Exp $
#
# About strdup: Some systems have strdup in their standard library, others
# don't. Ones that don't will use this make file to compile the strdup.c
# in this directory. (You don't see strdup mentioned because the implicit
# rule does the job). We don't make strdup.o unless asked to explicitly
# because the strdup.c in this directory may conflict with the strdup()
# prototype from the system library and cause a compile error.
#
#-------------------------------------------------------------------------
...
...
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