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
b093f882
Commit
b093f882
authored
Oct 24, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix include files for new PageOutput call.
parent
f142b091
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
28 deletions
+27
-28
configure
configure
+6
-6
configure.in
configure.in
+7
-7
src/bin/psql/common.c
src/bin/psql/common.c
+12
-1
src/bin/psql/help.c
src/bin/psql/help.c
+1
-2
src/bin/psql/print.c
src/bin/psql/print.c
+1
-12
No files found.
configure
View file @
b093f882
...
@@ -10543,6 +10543,12 @@ done
...
@@ -10543,6 +10543,12 @@ done
# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos
# We override the previous test that said fseeko/ftello didn't exist
case
$host_os
in
bsdi
*
)
ac_cv_func_fseeko
=
yes
esac
# Solaris has a very slow qsort in certain cases.
# Solaris has a very slow qsort in certain cases.
case
$host_os
in
case
$host_os
in
solaris
*
)
LIBOBJS
=
"
$LIBOBJS
qsort.
$ac_objext
"
;;
solaris
*
)
LIBOBJS
=
"
$LIBOBJS
qsort.
$ac_objext
"
;;
...
@@ -11471,12 +11477,6 @@ fi
...
@@ -11471,12 +11477,6 @@ fi
done
done
# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos
# We override the previous test that said fseeko/ftello didn't exist
case
$host_os
in
bsdi
*
)
ac_cv_func_fseeko
=
yes
esac
echo
"
$as_me
:
$LINENO
: checking for _LARGEFILE_SOURCE value needed for large files"
>
&5
echo
"
$as_me
:
$LINENO
: checking for _LARGEFILE_SOURCE value needed for large files"
>
&5
echo
$ECHO_N
"checking for _LARGEFILE_SOURCE value needed for large files...
$ECHO_C
"
>
&6
echo
$ECHO_N
"checking for _LARGEFILE_SOURCE value needed for large files...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_sys_largefile_source
+set
}
"
=
set
;
then
if
test
"
${
ac_cv_sys_largefile_source
+set
}
"
=
set
;
then
...
...
configure.in
View file @
b093f882
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.21
3 2002/10/23 20:59:03
momjian Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.21
4 2002/10/24 01:33:50
momjian Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -837,6 +837,12 @@ fi
...
@@ -837,6 +837,12 @@ fi
AC_REPLACE_FUNCS([fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul])
AC_REPLACE_FUNCS([fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul])
# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos
# We override the previous test that said fseeko/ftello didn't exist
case $host_os in bsdi*)
ac_cv_func_fseeko=yes
esac
# Solaris has a very slow qsort in certain cases.
# Solaris has a very slow qsort in certain cases.
case $host_os in
case $host_os in
solaris*) AC_LIBOBJ(qsort) ;;
solaris*) AC_LIBOBJ(qsort) ;;
...
@@ -903,12 +909,6 @@ AC_CHECK_FUNCS(atexit, [],
...
@@ -903,12 +909,6 @@ AC_CHECK_FUNCS(atexit, [],
[AC_CHECK_FUNCS(on_exit, [],
[AC_CHECK_FUNCS(on_exit, [],
[AC_MSG_ERROR([neither atexit() nor on_exit() found])])])
[AC_MSG_ERROR([neither atexit() nor on_exit() found])])])
# BSD/OS has a custom fseeko/ftello built on fsetpos/fgetpos
# We override the previous test that said fseeko/ftello didn't exist
case $host_os in bsdi*)
ac_cv_func_fseeko=yes
esac
AC_FUNC_FSEEKO
AC_FUNC_FSEEKO
...
...
src/bin/psql/common.c
View file @
b093f882
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.
49 2002/10/23 19:23:56
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.
50 2002/10/24 01:33:50
momjian Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
...
@@ -25,6 +25,17 @@
...
@@ -25,6 +25,17 @@
#include <sys/timeb.h>
/* for _ftime() */
#include <sys/timeb.h>
/* for _ftime() */
#endif
#endif
#ifndef WIN32
#include <sys/ioctl.h>
/* for ioctl() */
#else
#define popen(x,y) _popen(x,y)
#define pclose(x) _pclose(x)
#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include "libpq-fe.h"
#include "libpq-fe.h"
#include "pqsignal.h"
#include "pqsignal.h"
...
...
src/bin/psql/help.c
View file @
b093f882
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.
59 2002/10/23 19:23:56
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.
60 2002/10/24 01:33:50
momjian Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
#include "common.h"
#include "common.h"
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
#include <errno.h>
#include <errno.h>
#ifndef WIN32
#ifndef WIN32
#include <sys/ioctl.h>
/* for ioctl() */
#ifdef HAVE_PWD_H
#ifdef HAVE_PWD_H
#include <pwd.h>
/* for getpwuid() */
#include <pwd.h>
/* for getpwuid() */
#endif
#endif
...
...
src/bin/psql/print.c
View file @
b093f882
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
*
*
* Copyright 2000 by PostgreSQL Global Development Group
* Copyright 2000 by PostgreSQL Global Development Group
*
*
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.3
3 2002/10/23 19:23:57
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/print.c,v 1.3
4 2002/10/24 01:33:50
momjian Exp $
*/
*/
#include "postgres_fe.h"
#include "postgres_fe.h"
#include "common.h"
#include "common.h"
...
@@ -11,23 +11,12 @@
...
@@ -11,23 +11,12 @@
#include <math.h>
#include <math.h>
#include <signal.h>
#include <signal.h>
#ifndef WIN32
#include <unistd.h>
/* for isatty() */
#include <sys/ioctl.h>
/* for ioctl() */
#else
#define popen(x,y) _popen(x,y)
#define pclose(x) _pclose(x)
#endif
#include "pqsignal.h"
#include "pqsignal.h"
#include "libpq-fe.h"
#include "libpq-fe.h"
#include "settings.h"
#include "settings.h"
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include "mbprint.h"
#include "mbprint.h"
/*************************/
/*************************/
...
...
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