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
866104b3
Commit
866104b3
authored
Oct 27, 1998
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include configuration chapter with new info on configure and make.
parent
ded96129
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
223 additions
and
6 deletions
+223
-6
doc/src/sgml/admin.sgml
doc/src/sgml/admin.sgml
+8
-2
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+206
-3
doc/src/sgml/postgres.sgml
doc/src/sgml/postgres.sgml
+9
-1
No files found.
doc/src/sgml/admin.sgml
View file @
866104b3
...
@@ -18,6 +18,7 @@ $log$
...
@@ -18,6 +18,7 @@ $log$
<!entity notation SYSTEM "notation.sgml">
<!entity notation SYSTEM "notation.sgml">
<!entity y2k SYSTEM "y2k.sgml">
<!entity y2k SYSTEM "y2k.sgml">
<!entity config SYSTEM "config.sgml">
<!entity intro-ag SYSTEM "intro-ag.sgml">
<!entity intro-ag SYSTEM "intro-ag.sgml">
<!entity install SYSTEM "install.sgml">
<!entity install SYSTEM "install.sgml">
<!entity options SYSTEM "pg_options.sgml">
<!entity options SYSTEM "pg_options.sgml">
...
@@ -84,7 +85,7 @@ Your name here...
...
@@ -84,7 +85,7 @@ Your name here...
</Dedication>
</Dedication>
-->
-->
<Preface>
<Preface
id="preface"
>
<Title>Summary</Title>
<Title>Summary</Title>
<Para>
<Para>
...
@@ -102,6 +103,7 @@ It provides SQL92/SQL3 language support,
...
@@ -102,6 +103,7 @@ It provides SQL92/SQL3 language support,
&intro-ag;
&intro-ag;
&ports;
&ports;
&config;
&install;
&install;
&runtime;
&runtime;
&options;
&options;
...
@@ -112,7 +114,11 @@ It provides SQL92/SQL3 language support,
...
@@ -112,7 +114,11 @@ It provides SQL92/SQL3 language support,
&biblio;
&biblio;
<INDEX> </INDEX>
<!-- Don't bother with an index until we get some index entries.
-- - thomas 1998-10-26
<index id="index">
</index>
-->
</Book>
</Book>
doc/src/sgml/config.sgml
View file @
866104b3
<chapter id="config">
<chapter id="config">
<title>Configuration Options</title>
<title>Configuration Options</title>
<sect1>
<title>Parameters for Configuration (<application>configure</application>)</title>
<para>
The full set of parameters available in <application>configure</application>
can be obtained by typing
<programlisting>
$ ./configure --help
</programlisting>
<para>
The following parameters may be of interest to most installers:
<programlisting>
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/pgsql]
--bindir=DIR user executables in DIR [EPREFIX/bin]
--datadir=DIR read-only architecture-independent data in DIR
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data in DIR
[PREFIX/com]
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
--includedir=DIR C header files in DIR [PREFIX/include]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
Features and packages:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--enable and --with options recognized:
--with-template=<replaceable>template</replaceable>
use operating system template file
see template directory
--with-includes=<replaceable>incdir</replaceable> site header files for tk/tcl, etc in DIR
--with-libs=<replaceable>incdir</replaceable> also search for libraries in DIR
--with-libraries=<replaceable>libdir</replaceable> also search for libraries in DIR
--enable-locale enable locale support
--enable-recode enable cyrillic recode support
--with-mb=<replaceable>encoding</replaceable> enable multi-byte support
--with-pgport=<replaceable>portnum</replaceable> change default startup port
--with-tcl use tcl
--with-tclconfig=<replaceable>tcldir</replaceable> tclConfig.sh and tkConfig.sh are in DIR
--with-perl use perl
--with-odbc build ODBC driver package
--with-odbcinst=<replaceable>odbcdir</replaceable> change default directory for odbcinst.ini
--enable-cassert enable assertion checks (debugging)
--with-CC=<replaceable>compiler</replaceable> use specific C compiler
--with-CXX=<replaceable>compiler</replaceable> use specific C++ compiler
--with-x use the X Window System
</programlisting>
<sect1>
<title>Parameters for Building (<application>make</application>)</title>
<para>
Many installation-related parameters can be set in the building
stage of <productname>Postgres</productname> installation.
<para>
In most cases, these parameters should be place in a file,
<filename>Makefile.custom</filename>, intended just for that purpose.
The default distribution does not contain this optional file, so you
will create it using a text editor of your choice. When upgrading installations,
you can simply copy your old Makefile.custom to the new installation before
doing the build.
<synopsis>
make [ <replaceable>variable</replaceable>=<replaceable class="parameter">value</replaceable> [,...] ]
</synopsis>
<para>
A few of the many variables which can be specified are:
<variablelist>
<varlistentry>
<term>
<envar>POSTGRESDIR</envar>
<listitem>
<para>
Top of the installation tree.
<varlistentry>
<term>
<envar>BINDIR</envar>
<listitem>
<para>
Location of applications and utilities.
<varlistentry>
<term>
<envar>LIBDIR</envar>
<listitem>
<para>
Location of object libraries, including shared libraries.
<varlistentry>
<term>
<envar>HEADERDIR</envar>
<listitem>
<para>
Location of include files.
<varlistentry>
<term>
<envar>ODBCINST</envar>
<listitem>
<para>
Location of installation-wide <application>psqlODBC</application>
(<acronym>ODBC</acronym>) configuration file.
</variablelist>
<para>
There are other optional parameters which are not as commonly used.
Many of those listed below are appropriate when doing
<application>Postgres</application> server code development.
<variablelist>
<varlistentry>
<term>
<envar>CFLAGS</envar>
<listitem>
<para>
Set flags for the C compiler.
Should be assigned with "+=" to retain relevant default parameters.
<varlistentry>
<term>
YFLAGS
<listitem>
<para>
Set flags for the yacc/bison parser. <option>-v</option> might be
used to help diagnose problems building a new parser.
Should be assigned with "+=" to retain relevant default parameters.
<varlistentry>
<term>
<envar>USE_TCL</envar>
<listitem>
<para>
Enable Tcl interface building.
<varlistentry>
<term>
<envar>HSTYLE</envar>
<listitem>
<para>
DocBook <acronym>HTML</acronym> style sheets for building the
documentation from scratch.
Not used unless you are developing new documentation from the
DocBook-compatible <acronym>SGML</acronym> source documents in
<filename>doc/src/sgml/</filename>.
<varlistentry>
<term>
<envar>PSTYLE</envar>
<listitem>
<para>
DocBook style sheets for building printed documentation from scratch.
Not used unless you are developing new documentation from the
DocBook-compatible <acronym>SGML</acronym> source documents in
<filename>doc/src/sgml/</filename>.
</variablelist>
<para>
Here is an example <filename>Makefile.custom</filename> for a
PentiumPro Linux system:
<programlisting>
# Makefile.custom
# Thomas Lockhart 1998-03-01
POSTGRESDIR= /opt/postgres/current
CFLAGS+= -m486 # -g -O0
USE_TCL= true
TCL_LIB= -ltcl
X_LIBS= -L/usr/X11/lib
TK_LIB= -ltk
# documentation
HSTYLE= /home/tgl/SGML/db118.d/docbook/html
PSTYLE= /home/tgl/SGML/db118.d/docbook/print
</programlisting>
<Sect1>
<Sect1>
<Title>Locale Support</Title>
<Title>Locale Support</Title>
...
@@ -23,10 +223,11 @@ when I work with perl
...
@@ -23,10 +223,11 @@ when I work with perl
the <ProductName>Postgres</ProductName> source tree I made very minor corections to
the <ProductName>Postgres</ProductName> source tree I made very minor corections to
src/backend/utils/adt/varlena.c and src/backend/main/main.c and got what I needed!
src/backend/utils/adt/varlena.c and src/backend/main/main.c and got what I needed!
I did support only for
I did support only for
LC_CTYPE and LC_COLLATE, but later LC_MONETARY was added by others. I got many
<envar>LC_CTYPE</envar> and <envar>LC_COLLATE</envar>,
but later <envar>LC_MONETARY</envar> was added by others. I got many
messages from people about this patch so I decided to send it to developers
messages from people about this patch so I decided to send it to developers
and (to my surprise) it was
and (to my surprise) it was
incorporated into
postgresql
distribution.
incorporated into
the <productname>Postgres</productname>
distribution.
<Para>
<Para>
People often complain that locale doesn't work for them.
People often complain that locale doesn't work for them.
...
@@ -38,7 +239,8 @@ There are several common mistakes:
...
@@ -38,7 +239,8 @@ There are several common mistakes:
Didn't properly configure postgresql before compilation.
Didn't properly configure postgresql before compilation.
You must run configure with --enable-locale option to enable locale support.
You must run configure with --enable-locale option to enable locale support.
Didn't setup environment correctly when starting postmaster.
Didn't setup environment correctly when starting postmaster.
You must define environment variables $LC_CTYPE and $LC_COLLATE
You must define environment variables
<envar>LC_CTYPE</envar> and <envar>LC_COLLATE</envar>
before running postmaster
before running postmaster
because backend gets information about locale from environment.
because backend gets information about locale from environment.
I use following shell script
I use following shell script
...
@@ -115,6 +317,7 @@ the USE_LOCALE variable.
...
@@ -115,6 +317,7 @@ the USE_LOCALE variable.
There is one evident drawback of using locale - it's speed!
There is one evident drawback of using locale - it's speed!
So, use locale only if you really need it.
So, use locale only if you really need it.
<Sect1>
<Sect1>
<Title>Kerberos Authentication</Title>
<Title>Kerberos Authentication</Title>
...
...
doc/src/sgml/postgres.sgml
View file @
866104b3
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.1
1 1998/10/25 00:24:3
1 thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.1
2 1998/10/27 06:14:0
1 thomas Exp $
Postgres integrated documentation.
Postgres integrated documentation.
Other subset docs should be copied and shrunk from here.
Other subset docs should be copied and shrunk from here.
thomas 1998-02-23
thomas 1998-02-23
$Log: postgres.sgml,v $
$Log: postgres.sgml,v $
Revision 1.12 1998/10/27 06:14:01 thomas
Include configuration chapter with new info on configure and make.
Revision 1.11 1998/10/25 00:24:31 thomas
Revision 1.11 1998/10/25 00:24:31 thomas
Add Y2K statement for intros.
Add Y2K statement for intros.
Make sure notation section is included in most intros.
Make sure notation section is included in most intros.
...
@@ -65,6 +68,7 @@ Include new chapters.
...
@@ -65,6 +68,7 @@ Include new chapters.
%allfiles;
%allfiles;
<!-- administrator's guide -->
<!-- administrator's guide -->
<!entity config SYSTEM "config.sgml">
<!entity install SYSTEM "install.sgml">
<!entity install SYSTEM "install.sgml">
<!entity intro-ag SYSTEM "intro-ag.sgml">
<!entity intro-ag SYSTEM "intro-ag.sgml">
<!entity options SYSTEM "pg_options.sgml">
<!entity options SYSTEM "pg_options.sgml">
...
@@ -225,6 +229,7 @@ Installation and maintenance information.
...
@@ -225,6 +229,7 @@ Installation and maintenance information.
</PartIntro>
</PartIntro>
&intro-ag;
&intro-ag;
&ports;
&ports;
&config;
&install;
&install;
&runtime;
&runtime;
&options;
&options;
...
@@ -303,7 +308,10 @@ Additional related information.
...
@@ -303,7 +308,10 @@ Additional related information.
&biblio;
&biblio;
</Part>
</Part>
<!-- Omit index until we have some index entries.
-- - thomas 1998-10-26
<index Id="part-index">
<index Id="part-index">
</index>
</index>
-->
</Book>
</Book>
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