Commit Graph

1046 Commits

Author SHA1 Message Date
Thomas G. Lockhart
48781d44e4 Support IBM S/390. Patches from Neale Ferguson@softwareAG-usa.com. 2000-12-03 14:41:47 +00:00
Peter Eisentraut
13dbd0276a Final(?) GUC clean-up. Update psql tab completion. 2000-12-03 14:36:47 +00:00
Tom Lane
b7c3784417 Repair residual sillinesses from UUNET virtual host/socket path patch.
I hope all the dust has settled out now ...
2000-11-30 23:20:51 +00:00
Tom Lane
796754778d Correct obsolete entry for strpos(). 2000-11-30 23:02:04 +00:00
Peter Eisentraut
6f09df7f40 Minor tweaks in installation instructions, regenerate INSTALL file. 2000-11-30 21:44:07 +00:00
Tom Lane
b73ecebf05 Remove obsolete claim that char(n) is more efficient than other text types. 2000-11-30 18:46:42 +00:00
Peter Eisentraut
59a9735fc8 Sort out things after fe-connect.c cleanup after unix socket patch. 2000-11-30 18:34:36 +00:00
Peter Eisentraut
1efd7330cb Rewrite system catalog documentation man page in DocBook with more recent
information.
2000-11-29 20:15:59 +00:00
Tom Lane
c715fdea26 Significant cleanups in SysV IPC handling (shared mem and semaphores).
IPC key assignment will now work correctly even when multiple postmasters
are using same logical port number (which is possible given -k switch).
There is only one shared-mem segment per postmaster now, not 3.
Rip out broken code for non-TAS case in bufmgr and xlog, substitute a
complete S_LOCK emulation using semaphores in spin.c.  TAS and non-TAS
logic is now exactly the same.
When deadlock is detected, "Deadlock detected" is now the elog(ERROR)
message, rather than a NOTICE that comes out before an unhelpful ERROR.
2000-11-28 23:27:57 +00:00
Bruce Momjian
5173fc411f Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket directory. 2000-11-28 06:53:33 +00:00
Tom Lane
bbea3643a3 Store current LC_COLLATE and LC_CTYPE settings in pg_control during initdb;
re-adopt these settings at every postmaster or standalone-backend startup.
This should fix problems with indexes becoming corrupt due to failure to
provide consistent locale environment for postmaster at all times.  Also,
refuse to start up a non-locale-enabled compilation in a database originally
initdb'd with a non-C locale.  Suppress LIKE index optimization if locale
is not "C" or "POSIX" (are there any other locales where it's safe?).
Issue NOTICE during initdb if selected locale disables LIKE optimization.
2000-11-25 20:33:54 +00:00
Peter Eisentraut
c25b4dbf03 Update pg_ctl ref page, help output, messages. Some repair to work better
with current postmaster.
2000-11-25 17:17:30 +00:00
Peter Eisentraut
f4710020d6 Repair markup 2000-11-25 13:20:05 +00:00
Bruce Momjian
3f1998727d here is a patch for formatting.c (to_char/timestampt()), for 7.1
it fixing Y,YY,YYY,YYYY conversion, the docs and regress tests update
 are included too.

  During the patch testing I found small bug in miscadmin.h in
convertstr() declaration. Here it's fixed too.

 Thanks

        Karel
2000-11-25 05:00:33 +00:00
Peter Eisentraut
5b00ea9e50 Make SET SESSION CHARACTERISTICS compliant with SQL 99. Remove redundant,
non-standard clauses.  Allow CHARACTERISTICS as unquoted identifier.
Merge related reference pages.
2000-11-24 20:16:40 +00:00
Peter Eisentraut
b2e76d570b Revive Reference Manual, remove reference pages from User's Guide.
Make version.sgml the central place for updating version numbers in the
documentation.  Document titles now contain the version number of the
release they belong to.

filelist.sgml is the central (and only) place to declare system entities
(i.e., sgml files).  No longer a need to declare them in each document
header.

There is no longer any need to maintain duplicate chapter lists in
postgres.sgml and user/admin/etc.sgml, everything is build from the same
sources.  Some parameter entities allow for different text to be included
when the integrated or a single doc set is generated, which eliminates the
problems that had caused this to fail in the past.
2000-11-24 17:44:22 +00:00
Bruce Momjian
98e195d23b Make socket option specify just the directory, not the full path. 2000-11-22 01:41:14 +00:00
Tom Lane
11391685d1 Tweak resultmap documentation, add to README too. 2000-11-22 00:58:47 +00:00
Peter Eisentraut
90cfa9ac19 Allow for different result files when using GCC versus native compiler. 2000-11-21 23:40:28 +00:00
Tom Lane
c1257d4c5c Improve comments in pg_hba.conf.sample and the associated SGML
documentation.
2000-11-21 20:44:32 +00:00
Philip Warner
aec962d864 Update for new pg_dump with blobs etc 2000-11-21 15:39:09 +00:00
Peter Eisentraut
5350ff2523 Correct directory names.
Thanks to Martin A. Marques <martin@math.unl.edu.ar> for the tip.
2000-11-20 22:01:21 +00:00
Tom Lane
5bb2300b59 Revise handling of oldstyle/newstyle functions per recent discussions
in pghackers list.  Support for oldstyle internal functions is gone
(no longer needed, since conversion is complete) and pg_language entry
'internal' now implies newstyle call convention.  pg_language entry
'newC' is gone; both old and newstyle dynamically loaded C functions
are now called language 'C'.  A newstyle function must be identified
by an associated info routine.  See src/backend/utils/fmgr/README.
2000-11-20 20:36:57 +00:00
Peter Eisentraut
f6bc98679a Refinements 2000-11-18 19:05:58 +00:00
Tom Lane
a933ee38bb Change SearchSysCache coding conventions so that a reference count is
maintained for each cache entry.  A cache entry will not be freed until
the matching ReleaseSysCache call has been executed.  This eliminates
worries about cache entries getting dropped while still in use.  See
my posting to pg-hackers of even date for more info.
2000-11-16 22:30:52 +00:00
Bruce Momjian
5a0152b3fd I think in datatype.sgml line 506 or so:
<entry>varchar(n)</entry>
        <entry>(4+x) bytes</entry>

should be
   <entry>varchar(n)</entry>
        <entry>(4+n) bytes</entry>

or
   <entry>varchar(x)</entry>
        <entry>(4+x) bytes</entry>

Regards

Laser Henry
2000-11-16 06:03:40 +00:00
Peter Eisentraut
d807129503 Repair markup 2000-11-15 19:43:39 +00:00
Peter Eisentraut
76920de895 Rename parameter "hostname" to "virtual_host". Seemed very ambiguous... 2000-11-15 18:36:06 +00:00
Peter Eisentraut
0937bf9544 Small polishing of syslog facility and ident settings. Only allow setting
at postmaster start, rename syslog_progid to syslog_ident, since syslog
itself uses that term, fix doc markup.
2000-11-14 19:13:27 +00:00
Tom Lane
2cf48ca04b Extend CREATE DATABASE to allow selection of a template database to be
cloned, rather than always cloning template1.  Modify initdb to generate
two identical databases rather than one, template0 and template1.
Connections to template0 are disallowed, so that it will always remain
in its virgin as-initdb'd state.  pg_dumpall now dumps databases with
restore commands that say CREATE DATABASE foo WITH TEMPLATE = template0.
This allows proper behavior when there is user-added data in template1.
initdb forced!
2000-11-14 18:37:49 +00:00
Peter Eisentraut
8a9315ca92 Update and polish postmaster and postgres help output and man pages. 2000-11-14 18:11:32 +00:00
Bruce Momjian
8f3b2b3a5c Add mention of new leading-slash handling of hostname to libpq docs. 2000-11-14 01:53:37 +00:00
Bruce Momjian
ab47254757 Add mention of hostname leading slash handling to all manual pages that use -h. 2000-11-13 23:57:20 +00:00
Bruce Momjian
ebd61ac03f Remove -k unix socketpath option from client side, allow hostname with
leading slash to behave as a unix socket path.
2000-11-13 23:37:54 +00:00
Bruce Momjian
d63a762f79 Ok, You guys are probably tired of me, BUT, here is another one, that
adds the facility to set the program name used in syslog.
(this includes the other ones).

One gotcha, the parser doesn't like special characters in strings.
For example, i tried to use pg-test, and if failed the parse coming
from the postgresql.conf file.

I don't think it's a showstopper..

Larry Rosenman
2000-11-13 21:35:03 +00:00
Bruce Momjian
2150c2edf1 UUNET is looking into offering PostgreSQL as a part of a managed web
hosting product, on both shared and dedicated machines.  We currently
offer Oracle and MySQL, and it would be a nice middle-ground.
However, as shipped, PostgreSQL lacks the following features we need
that MySQL has:

1. The ability to listen only on a particular IP address.  Each
   hosting customer has their own IP address, on which all of their
   servers (http, ftp, real media, etc.) run.
2. The ability to place the Unix-domain socket in a mode 700 directory.
   This allows us to automatically create an empty database, with an
   empty DBA password, for new or upgrading customers without having
   to interactively set a DBA password and communicate it to (or from)
   the customer.  This in turn cuts down our install and upgrade times.
3. The ability to connect to the Unix-domain socket from within a
   change-rooted environment.  We run CGI programs chrooted to the
   user's home directory, which is another reason why we need to be
   able to specify where the Unix-domain socket is, instead of /tmp.
4. The ability to, if run as root, open a pid file in /var/run as
   root, and then setuid to the desired user.  (mysqld -u can almost
   do this; I had to patch it, too).

The patch below fixes problem 1-3.  I plan to address #4, also, but
haven't done so yet.  These diffs are big enough that they should give
the PG development team something to think about in the meantime :-)
Also, I'm about to leave for 2 weeks' vacation, so I thought I'd get
out what I have, which works (for the problems it tackles), now.

With these changes, we can set up and run PostgreSQL with scripts the
same way we can with apache or proftpd or mysql.

In summary, this patch makes the following enhancements:

1. Adds an environment variable PGUNIXSOCKET, analogous to MYSQL_UNIX_PORT,
   and command line options -k --unix-socket to the relevant programs.
2. Adds a -h option to postmaster to set the hostname or IP address to
   listen on instead of the default INADDR_ANY.
3. Extends some library interfaces to support the above.
4. Fixes a few memory leaks in PQconnectdb().

The default behavior is unchanged from stock 7.0.2; if you don't use
any of these new features, they don't change the operation.

David J. MacKenzie
2000-11-13 15:18:15 +00:00
Bruce Momjian
c48025e799 Add new 7.0.3 item to all places. 2000-11-12 14:26:48 +00:00
Peter Eisentraut
609f9199af Repair markup 2000-11-11 23:27:48 +00:00
Peter Eisentraut
d55f878193 Markup enhancements, some factual corrections. 2000-11-11 23:01:45 +00:00
Thomas G. Lockhart
ecc367b764 Mention new AT TIME ZONE feature. 2000-11-11 19:50:31 +00:00
Peter Eisentraut
a8555ad4f9 Eliminate word rot 2000-11-11 13:53:49 +00:00
Tom Lane
a210023008 Adjust INET/CIDR display conventions and reimplement some INET/CIDR
functions, per recent discussions on pghackers.  For now, I have called
the verbose-display formatting function text(), but will reconsider if
enough people object.
initdb forced.
2000-11-10 20:13:27 +00:00
Bruce Momjian
e0e694640c Add update of HISTORY file for 7.0.3. 2000-11-10 19:41:26 +00:00
Tom Lane
83993240ac Fix typos. 2000-11-10 16:32:09 +00:00
Peter Eisentraut
929a599369 Add '-c name=val' flag for setting run-time parameters. 2000-11-08 17:57:46 +00:00
Peter Eisentraut
7267fdd7a3 Add some configure checks for DocBook and related tools. With a somewhat
standard installation layout it should be possible to build the HTML
and print documentation without additional manual setup.
2000-11-05 21:04:07 +00:00
Peter Eisentraut
bee6cc6f9c Update for recent developments (C++, shlib), minor fixes 2000-11-05 20:52:59 +00:00
Bruce Momjian
66436e66e1 Update for createlang options in docs. 2000-11-04 21:09:41 +00:00
Bruce Momjian
ae2cf18f55 more procedural doc cleanup 2000-11-04 21:06:37 +00:00
Bruce Momjian
4b71943bb2 Make PROCEDURAL optional in CREATE/DROP LANGUAGE. 2000-11-04 21:04:56 +00:00
Bruce Momjian
af17128656 Update FAQ_DEV. 2000-11-04 18:23:36 +00:00
Bruce Momjian
6952b3196b Update FAQ_DEV. 2000-11-04 17:09:24 +00:00
Peter Eisentraut
b7f4c64202 Add pg_dumpall --accounts-only option. 2000-11-02 21:13:32 +00:00
Bruce Momjian
bc9b199c26 Change bool to boolean in docs. 2000-11-02 19:26:49 +00:00
Peter Eisentraut
d1bfa6c72e Add runtime configuration options to control permission bits and group
owner of unix socket.
2000-11-01 21:14:03 +00:00
Bruce Momjian
81024e7d80 Fix java driver example. 2000-10-27 22:28:23 +00:00
Peter Eisentraut
b0c1c53a43 Integer binary operators, from Marko Kreen <marko@l-t.ee>. Renamed bitxor
operator to '#' for consistency.  Parser still needs work.
2000-10-24 20:16:48 +00:00
Tom Lane
4f44aa04b5 Major overhaul of large-object implementation, by Denis Perchine with
kibitzing from Tom Lane.  Large objects are now all stored in a single
system relation "pg_largeobject" --- no more xinv or xinx files, no more
relkind 'l'.  This should offer substantial performance improvement for
large numbers of LOs, since there won't be directory bloat anymore.
It'll also fix problems like running out of locktable space when you
access thousands of LOs in one transaction.
Also clean up cruft in read/write routines.  LOs with "holes" in them
(never-written byte ranges) now work just like Unix files with holes do:
a hole reads as zeroes but doesn't occupy storage space.
INITDB forced!
2000-10-24 01:38:44 +00:00
Tom Lane
c82c9559a7 Minor updates/corrections for CREATE/DROP FUNCTION/AGGREGATE/OPERATOR. 2000-10-23 00:46:07 +00:00
Tom Lane
9ace03183c Some small polishing of Mark Hollomon's cleanup of DROP command: might
as well allow DROP multiple INDEX, RULE, TYPE as well.  Add missing
CommandCounterIncrement to DROP loop, which could cause trouble otherwise
with multiple DROP of items affecting same catalog entries.  Try to
bring a little consistency to various error messages using 'does not exist',
'nonexistent', etc --- I standardized on 'does not exist' since that's
what the vast majority of the existing uses seem to be.
2000-10-22 23:32:48 +00:00
Tom Lane
cd57d64876 Fix typo. 2000-10-22 19:11:05 +00:00
Bruce Momjian
33581195d5 Per my ongoing discussion with PeterE, here is the patch I applied to
src/template/unixware:

Larry Rosenman
2000-10-21 15:50:32 +00:00
Peter Eisentraut
7c177a4908 Remove portions of SSL documentation patch that were installed twice. 2000-10-21 01:08:34 +00:00
Thomas G. Lockhart
039f3f1b05 Fix discrepency in field names.
Thanks to Henry "He Weiping (Laser Henry)" <laser@zhengmai.com.cn>
 for catching this.
2000-10-20 14:02:12 +00:00
Thomas G. Lockhart
98dba6200a Fix ids and xrefs to avoid duplicates.
Remove copy/paste redundant extra section with slight merge of content.
2000-10-20 14:00:49 +00:00
Thomas G. Lockhart
577fd41c17 Remove ZP4, ZP5, ZP6 from docs since the current parser won't accept
time zones with embedded numerals (parsing to a meaninless "ZP 4"
 instead).
Support "SAT" as an Australian time zone if USE_AUSTRALIAN_RULES
 is defined.
Fix units in exposition on Julian calendar (from Lazer Henry I think...)
2000-10-20 13:57:10 +00:00
Thomas G. Lockhart
1495f56770 Fix up id tag parameters to omit illegal underscores.
Remove lots of extraneous trailing ^Ms from pg_restore.sgml.
2000-10-20 13:44:39 +00:00
Tom Lane
be7c0a926b Fix silly typo in redirection example. 2000-10-19 04:53:41 +00:00
Bruce Momjian
73677dd92f The following patch was sent to the patches list:
This patch forces the use of 'DROP VIEW' to destroy views.

It also changes the syntax of DROP VIEW to
DROP VIEW v1, v2, ...
to match the syntax of DROP TABLE.

Some error messages were changed so this patch also includes changes to the
appropriate expected/*.out files.

Doc changes for 'DROP TABLE" and 'DROP VIEW' are included.


--
Mark Hollomon
2000-10-18 16:16:18 +00:00
Philip Warner
60dcf13ea1 Added pg_restore (probably rename later) 2000-10-18 13:29:23 +00:00
Peter Eisentraut
0db3cb253d * doc/src/sgml/regress.sgml: Update for new driver script.
* doc/src/sgml/installation.sgml: ditto.

* src/test/regress/README: Regenerate.

* doc/src/sgml/docguide.sgml: Explain how it was done.  Explain how
INSTALL and HISTORY are (now) generated.

* doc/src/sgml/Makefile: Implement HISTORY generation to be analoguous
to INSTALL.
2000-10-17 15:26:40 +00:00
Bruce Momjian
d3f6552821 Remove duplicate requiressl entry. 2000-10-17 14:27:50 +00:00
Bruce Momjian
7e3a15bd5f Update FAQ. 2000-10-17 04:21:30 +00:00
Philip Warner
3c0157deb8 Added pg_restore to allfiles.sgml 2000-10-16 03:34:47 +00:00
Bruce Momjian
06dc338ee9 Here is a patch against the same cvs tree as the SSL patch (Aug 20).
I hope I didn't mess the SGML up too bad, but somebody should definitly
look that over. I tried to steal as much as I could from around :-)

This patch updates:
* Installation instructions (paragraph on how to compile with openssl)
* Documentation of pg_hba.conf (added "hostssl" record docs)
* Libpq documentation (added connection option, documentation of
  PQgetssl() function)
* Add section on SSL to "Server Runtime Environment"

If you beleive any particular area needs more attention, please let me know.

//Magnus
2000-10-16 03:25:17 +00:00
Bruce Momjian
ba8f55e8fc Change jdbc docs from postgresql.Driver to org.postgresql.Driver. 2000-10-16 02:20:58 +00:00
Bruce Momjian
5f94c032a3 Fix typo 2000-10-12 22:16:58 +00:00
Bruce Momjian
751d8ea175 Fix typo. 2000-10-12 22:08:42 +00:00
Bruce Momjian
e52f8688e0 Fix typo 2000-10-12 21:23:34 +00:00
Bruce Momjian
076c164559 Update FAQ. 2000-10-12 21:21:29 +00:00
Bruce Momjian
5bcc226d9d Update FAQ. 2000-10-12 17:33:35 +00:00
Philip Warner
ceb6d01d76 First pass at docs for pg_restore 2000-10-12 14:09:37 +00:00
Bruce Momjian
f647f96090 Update FAQ. 2000-10-12 03:12:41 +00:00
Tom Lane
ec762bcc8a Correct error in description of AccessExclusiveLock mode
(failed to say that it conflicts with AccessShareLock).
2000-10-11 18:29:52 +00:00
Tom Lane
a37ab1d385 Improve MVCC discussion. 2000-10-11 17:38:36 +00:00
Bruce Momjian
77ac0a8ca6 pg_hba.conf mention fix. 2000-10-11 01:24:01 +00:00
Bruce Momjian
2d606da3ce More pg_config updates. 2000-10-10 22:03:31 +00:00
Bruce Momjian
78f69862af Rename pg-config to pg_config to be consistent with other pg commands. 2000-10-10 22:01:55 +00:00
Bruce Momjian
1fe2b77d01 Add spaces to manual page. 2000-10-10 04:42:43 +00:00
Bruce Momjian
f03f24663b Update FAQ. 2000-10-09 20:21:01 +00:00
Peter Eisentraut
984b0b4df8 Append "/postgresql" to (certain) installation subdirectories when
installing into a shared location.  Also Makefile.global organizational
cleanup.
2000-10-08 21:13:27 +00:00
Bruce Momjian
f38e4747a5 initlocation must set env before postmaster start. 2000-10-08 19:44:01 +00:00
Peter Eisentraut
fec5d17df2 These aren't used anymore. 2000-10-08 13:25:11 +00:00
Peter Eisentraut
23d7c6973f Split out Developer's from Programmer's guide. 2000-10-08 13:24:09 +00:00
Peter Eisentraut
e6ef738034 markup repair 2000-10-08 13:22:24 +00:00
Tatsuo Ishii
2af8b963f1 Add runtime configuration option "silent_mode".
This is equivalent to postmaster's -S option.
2000-10-08 09:25:38 +00:00
Bruce Momjian
08291f435d Remove S-Tree_indexes.html.gz 2000-10-07 22:14:09 +00:00
Bruce Momjian
a759460178 New beos files. FAQ cleanup. 2000-10-07 14:16:02 +00:00
Bruce Momjian
be389bcf8f Final proofreader changes to docs. 2000-10-05 19:57:23 +00:00
Bruce Momjian
b32685a999 Add proofreader's changes to docs.
Fix misspelling of disbursion to dispersion.
2000-10-05 19:48:34 +00:00
Peter Eisentraut
5292637f52 Allow overriding HSTYLE and PSTYLE from environment 2000-10-05 16:57:23 +00:00
Bruce Momjian
bc11dd61d3 Update FAQ. 2000-10-05 05:14:58 +00:00
Bruce Momjian
1ba857513d Update FAQ. 2000-10-05 04:58:24 +00:00
Bruce Momjian
0f972fa02c Update FAQ. 2000-10-05 04:57:27 +00:00
Bruce Momjian
e2a43d866c Update FAQ. 2000-10-05 04:52:18 +00:00
Bruce Momjian
e6c8485127 Update FAQ. 2000-10-05 04:49:12 +00:00
Peter Eisentraut
baa3a09b5f Convert macaddr documentation to DocBook, update outdated information. 2000-10-04 15:47:45 +00:00
Peter Eisentraut
7c5a444f53 Treat empty connection parameters as is, in particular to enable overriding
environment variables with "nothing".  Empty host parameter indicates
Unix socket.
2000-10-03 19:16:17 +00:00
Peter Eisentraut
0ba77c14aa Convert more charset/locale documentation to DocBook 2000-09-30 16:58:20 +00:00
Bruce Momjian
06c376605d Update FAQ. 2000-09-30 03:04:39 +00:00
Peter Eisentraut
72ad5fe15c Add id' attributes to all chapter' and `sect1' tags, to generate useful
names for the HTML files (e.g., not x4856.htm).
2000-09-29 20:21:34 +00:00
Peter Eisentraut
664ce79dd8 Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.
Update the installation instructions (formerly misnamed "FAQ"), add configure
checks for some headers rather than having users copy stubs manually (ugh!).
Use Autoconf check for exe extension.  This also avoids inheriting the value
of $(X) from the environment.
2000-09-27 15:17:57 +00:00
Bruce Momjian
f5ab016923 Change with delimiters to using delimiters in psql manual page. 2000-09-27 11:56:16 +00:00
Peter Eisentraut
a279ced884 document configure --without-tk 2000-09-25 22:52:49 +00:00
Bruce Momjian
ebdfac3bb1 the patch include:
- rename ichar() to chr() (discussed with Tom)

        - add docs for oracle compatible routines:

                btrim()
                ascii()
                chr()
                repeat()

        - fix bug with timezone in to_char()

        - all to_char() variants return NULL instead textin("")
          if it's needful.

 The contrib/odbc is without changes and contains same routines as main
tree ... because I not sure how plans are Thomas with this :-)

                                        Karel
---------------------------------------------------------------------------

This effectively one line patch should fix the fact that
foreign key definitions in create table were erroring if
a primary key was defined.  I was using the columns
list to get the columns of the table for comparison, but
it got reused as a temporary list inside the primary key
stuff.

Stephan Szabo
2000-09-25 12:58:47 +00:00
Peter Eisentraut
33e5a4dfa5 These are obsolete. 2000-09-23 00:42:36 +00:00
Peter Eisentraut
457ac0331c Implement differentiation between CURRENT_USER and SESSION_USER as per SQL.
There is still no effective difference but it will kick in once setuid
functions exist (not included here).  Make old getpgusername() alias for
current_user.
2000-09-19 18:18:04 +00:00
Peter Eisentraut
2acdef186d Move contrib/odbc/odbc.sql together with odbc driver, remove old files;
revise ODBC "installation instructions"; update some other outdated
documentation; update contrib documentation
2000-09-18 20:11:37 +00:00
Peter Eisentraut
418bd67eda Add a blurb about what tools are required to build. 2000-09-17 20:35:27 +00:00
Tom Lane
e930a9a97b Add ILIKE operators ~~*, !~~* to documentation. 2000-09-15 20:20:11 +00:00
Bruce Momjian
a33bcf90b5 typo fix 2000-09-12 21:12:45 +00:00
Bruce Momjian
b5c0ab278b typo fix 2000-09-12 20:58:14 +00:00
Bruce Momjian
c3d2b49dfe datatype -> data type. 2000-09-12 20:52:08 +00:00
Bruce Momjian
b3fe924f2f Update FAQ. 2000-09-12 15:47:20 +00:00
Thomas G. Lockhart
3bb28381d3 Consolidate FAQ and README info on character sets into new chapter. 2000-09-12 05:37:09 +00:00
Thomas G. Lockhart
e7ac7dc689 Update to refer to more recent stylesheets in my home directory.
These stylesheets are pretty old, but the 15x series crashes FreeBSD jade.
2000-09-12 05:36:06 +00:00
Thomas G. Lockhart
1cd042d353 Clean up markup to be more correct.
From "He Weiping (Laser Henry)" <laser@zhengmai.com.cn>.
2000-09-12 05:34:28 +00:00
Thomas G. Lockhart
2ceee7a22b Fix inconsistancies in field names. From Tom Samplonius <tom@sdf.com>. 2000-09-12 05:30:06 +00:00
Thomas G. Lockhart
2c2a9a0fab Define ZIP rather than GZIP.
Define ZIPSUFFIX to allow substitution of something other than gzip.
2000-09-12 03:47:36 +00:00
Bruce Momjian
c44ed0fb79 Update FAQ. 2000-09-08 19:15:23 +00:00
Peter Eisentraut
ffd9aaa0a9 A bit of cleanup after SSL patch. Add it to config file, improve
documentation.
2000-09-06 19:54:52 +00:00
Peter Eisentraut
d7f1e11026 GZIP vs ZIP variable naming messed up 2000-09-05 18:45:38 +00:00
Peter Eisentraut
424f0edcb8 Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
2000-08-31 16:12:35 +00:00
Bruce Momjian
67cd018e77 Startup is actually start-up. 2000-08-29 20:02:09 +00:00
Bruce Momjian
dffd8cac3d * to_char:
- full support for IW (ISO week) and vice versa conversion for IW too
    (the to_char 'week' support is now complete and I hope correct).

  Thomas, I use for IW code from timestamp.c, for this I create separate
  function date2isoweek() from original 'case DTK_WEEK:' code in the
  timestamp_part(). I mean will better use one code for same feature in
  date_part() and in to_char(). The isoweek2date() is added to timestamp.c
  too. Right?

  IMHO in 7.1 will all to_char's features complete. It is cca 41 templates
  for date/time and cca 21 for numbers.

 * to_ascii:

   - gcc, is it correct now? :-)


  In the patch is documentation for to_char's IW and for to_ascii().

                                                        Karel
2000-08-29 04:41:48 +00:00
Bruce Momjian
c51041f4ba Here is a patch against the same cvs tree as the SSL patch (Aug 20).
I hope I didn't mess the SGML up too bad, but somebody should definitly
look that over. I tried to steal as much as I could from around :-)

This patch updates:
* Installation instructions (paragraph on how to compile with openssl)
* Documentation of pg_hba.conf (added "hostssl" record docs)
* Libpq documentation (added connection option, documentation of
  PQgetssl() function)
* Add section on SSL to "Server Runtime Environment"

If you beleive any particular area needs more attention, please let me know.

//Magnus
2000-08-29 04:15:43 +00:00
Peter Eisentraut
3ce5c6f4d8 Maybe "shared_buffers" is a slightly better name than "shmem_buffers" for -B. 2000-08-28 11:57:41 +00:00
Bruce Momjian
a041c9c24e Update FAQ. 2000-08-27 19:25:31 +00:00
Bruce Momjian
86ff9d2912 Update FAQ. 2000-08-27 03:55:20 +00:00
Peter Eisentraut
09b1576430 Update platform FAQs 2000-08-26 19:34:24 +00:00
Bruce Momjian
ed0b3f2d99 Remove old FAQ files. 2000-08-26 18:46:17 +00:00
Bruce Momjian
507b429cbe Update FAQ. 2000-08-26 18:20:55 +00:00
Peter Eisentraut
9314141116 Add pg-config utility that stores some configuration parameters other
packages can use to configure their build.

E.g.,
$ pg-config --libdir
/usr/local/pgsql/lib

`pg-config --configure' stores the configure command line.
2000-08-26 13:08:16 +00:00
Thomas G. Lockhart
a5da56d320 Fix typos and inconsistancies found by He Weiping
(aka Henry) <laser@zhangmai.com.cn>.
Fix new problems in insert.sgml and create_function.sgml which kept jade
 from completing.
2000-08-25 15:17:50 +00:00
Peter Eisentraut
996832caee Make the location of the Kerberos server key file run time configurable
(rather than compile time). For libpq, even when Kerberos support is
compiled in, the default user name should still fall back to geteuid()
if it can't be determined via the Kerberos system.

A couple of fixes for string type configuration parameters, now that there
is one.
2000-08-25 10:00:35 +00:00
Tom Lane
69cf335687 Documentation updates to reflect TOAST and new-style fmgr. 2000-08-24 23:59:38 +00:00
Tom Lane
0813fcbc08 Documentation updates to reflect TOAST and new-style fmgr. 2000-08-24 23:36:29 +00:00
Thomas G. Lockhart
2b6a35f7cd Fix several <ulink> tags which refer to e-mail addresses
but were missing the "mailto:" prefix.
Fix typo.
Thanks to Neil Conway <nconway@klamath.dyndns.org> for the heads-up.
2000-08-23 05:59:11 +00:00
Tom Lane
e67ff6b670 fmgr interface mopup work. Use new DatumGetBool and BoolGetDatum
macros where appropriate (the code used to have several different ways
of doing that, including Int32, Int8, UInt8, ...).  Remove last few
references to float32 and float64 typedefs --- it's all float4/float8
now.  The typedefs themselves should probably stay in c.h for a release
or two, though, to avoid breaking user-written C functions.
2000-08-21 17:22:36 +00:00
Tom Lane
766fb7f707 Mop-up for removal of ':' and ';' operators ... like, say, actually
take 'em out of pg_operator.  Also remove from scan.l's set of legal
operator characters.  Update documentation.
2000-08-12 05:15:24 +00:00
Tom Lane
7090c3e858 Make debug_assertions default to ON, when compiled in at all, for
backwards compatibility with old behavior.
2000-08-11 18:31:10 +00:00
Tom Lane
d2165a4a5d Fix incorrect example of CAST syntax (was missing required parentheses). 2000-08-07 19:53:27 +00:00
Tom Lane
9426047021 Clean up bogosities in use of random(3) and srandom(3) --- do not assume
that RAND_MAX applies to them, since it doesn't.  Instead add a
config.h parameter MAX_RANDOM_VALUE.  This is currently set at 2^31-1
but could be auto-configured if that ever proves necessary.  Also fix
some outright bugs like calling srand() where srandom() is appropriate.
2000-08-07 00:51:42 +00:00
Tom Lane
d70d46fd60 PATH and POLYGON datatypes are now TOASTable. Associated functions
updated to new fmgr style.  Deleted hoary old functions for compatibility
with pre-6.1 representations of these datatypes.
2000-07-29 18:46:12 +00:00
Bruce Momjian
faa4171728 Update FAQ. 2000-07-27 20:26:55 +00:00
Bruce Momjian
1ee0d4a992 Update FAQ. 2000-07-27 19:22:20 +00:00
Bruce Momjian
aef3fcddcd Update FAQ. 2000-07-27 16:55:33 +00:00
Bruce Momjian
6d54070550 Update FAQ. 2000-07-26 19:20:00 +00:00
Bruce Momjian
eed55d951f Update FAQ. 2000-07-26 16:54:58 +00:00
Bruce Momjian
4108bf6def Update FAQ. 2000-07-26 02:20:02 +00:00
Bruce Momjian
f28ec8c5af more doc cleanups 2000-07-24 13:17:44 +00:00
Peter Eisentraut
ef2a6b8b83 Shed some light onto SysV IPC configuration. 2000-07-22 14:49:01 +00:00
Peter Eisentraut
100dd889d6 typos 2000-07-22 14:48:01 +00:00
Bruce Momjian
2019e24dd8 spell cleanups 2000-07-22 04:45:10 +00:00
Bruce Momjian
4140085adb spell cleanups 2000-07-22 04:30:27 +00:00
Bruce Momjian
ec37ea1cc1 Cleanups 2000-07-22 02:39:10 +00:00
Bruce Momjian
2f011a9c72 More doc cleanups, from book. 2000-07-21 18:51:24 +00:00
Bruce Momjian
c281847fcd More doc cleanups 2000-07-21 17:58:49 +00:00
Bruce Momjian
c62e961da1 Update for sh. 2000-07-21 14:51:00 +00:00
Bruce Momjian
c9537ca88f cleanup 2000-07-21 04:49:23 +00:00
Bruce Momjian
e78ec6f247 cleanup 2000-07-21 04:48:33 +00:00
Bruce Momjian
e440e7246d Cleanup 2000-07-21 04:42:28 +00:00
Bruce Momjian
268bdd7237 Cleanujp 2000-07-21 04:37:10 +00:00
Bruce Momjian
d07d5d8d01 Cleanup 2000-07-21 04:25:05 +00:00
Bruce Momjian
2aeb2c642c reference page cleanup 2000-07-21 03:38:22 +00:00
Bruce Momjian
6c2b5b2a80 Clean up flags 2000-07-21 03:14:33 +00:00
Bruce Momjian
b30da17081 Fix postgres -A options flags 2000-07-21 03:13:32 +00:00
Peter Eisentraut
8004bcf00e Update installation instructions to new realities. Combined into one file.
Improved automation of INSTALL file generation.
2000-07-21 00:44:13 +00:00
Bruce Momjian
cc9707247e Change > prompt to $ 2000-07-21 00:42:34 +00:00
Bruce Momjian
1b7c13ea7b Change prompt % to $. 2000-07-21 00:24:37 +00:00
Bruce Momjian
32f9b86466 Update FAQ. 2000-07-20 20:31:38 +00:00
Bruce Momjian
709392b8e3 Update FAQ. 2000-07-20 20:13:15 +00:00
Bruce Momjian
d811461bb9 Update FAQ. 2000-07-20 17:48:37 +00:00
Bruce Momjian
d1693d256d Update FAQ. 2000-07-20 17:48:36 +00:00
Bruce Momjian
78a1e0bde7 Update FAQ. 2000-07-20 17:45:32 +00:00
Bruce Momjian
32862533d8 Update FAQ. 2000-07-20 17:44:18 +00:00
Bruce Momjian
d67caaf120 Update FAQ. 2000-07-20 17:43:22 +00:00
Tom Lane
d0ca92cb53 Correct erroneous explanation of DEADLOCK_TIMEOUT configuration setting. 2000-07-17 22:32:44 +00:00
Tom Lane
d06ebdb8d3 Update aggregate-function docs for STDDEV, VARIANCE. 2000-07-17 03:52:28 +00:00
Tom Lane
bec98a31c5 Revise aggregate functions per earlier discussions in pghackers.
There's now only one transition value and transition function.
NULL handling in aggregates is a lot cleaner.  Also, use Numeric
accumulators instead of integer accumulators for sum/avg on integer
datatypes --- this avoids overflow at the cost of being a little slower.
Implement VARIANCE() and STDDEV() aggregates in the standard backend.

Also, enable new LIKE selectivity estimators by default.  Unrelated
change, but as long as I had to force initdb anyway...
2000-07-17 03:05:41 +00:00
Peter Eisentraut
0d59dad770 Automatic dependency tracking
The .DEFAULT rule in backend/Makefile is harmful -- removed.
Replace `::' rules by `:'.
2000-07-16 14:50:44 +00:00
Peter Eisentraut
81fd7532a9 Incorporate README.fsync into main documentation body 2000-07-16 14:47:57 +00:00
Peter Eisentraut
b4c315ba9e Revise locale and Kerberos documentation 2000-07-15 21:35:47 +00:00
Thomas G. Lockhart
466f8ff5f1 Fix munged markup from previous commit. 2000-07-14 16:04:18 +00:00
Thomas G. Lockhart
03a1cae951 Save changes from last docs release. 2000-07-14 15:28:16 +00:00
Thomas G. Lockhart
9a9f335284 Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.
Make minor repairs to "Compatibility" subsections.
2000-07-14 15:27:14 +00:00
Thomas G. Lockhart
4835f6a8bc Update docs for TIME WITHOUT TIME ZONE.
Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.
2000-07-14 15:26:21 +00:00
Peter Eisentraut
648677c3a2 Add assert checking to GUC ("debug_assertions")
Rename settings net_server to tcpip_socket, max_backends to max_connections
Add --help and --version to postmaster, reformat help output
2000-07-12 17:38:53 +00:00
Thomas G. Lockhart
bebd62c19f Remove reference to tag which is not available to the User's Guide
when built on its own. UG now builds cleanly.
2000-07-08 16:00:15 +00:00
Bruce Momjian
76adc09571 Remove HTML FAQ files that are really just text files. 2000-07-07 15:41:42 +00:00
Bruce Momjian
d800532536 Move FAQ source into main cvs tree. 2000-07-06 23:14:30 +00:00
Peter Eisentraut
554e56e628 Expand secondary password file feature, so that you can use these
files to restrict the set of users that can connect to a database
but can still use the pg_shadow password. (You just leave off the
password field in the secondary file.)
2000-07-04 16:32:01 +00:00
Bruce Momjian
efcff3da16 In the attache is new (correct) version. I add TZ (timezone) support
for
to_char() too.

Karel
2000-07-03 16:01:33 +00:00
Bruce Momjian
80c646958a Attached is a new patch which addresses this problem. (oids in
regression tests).

Chris Bitmead
2000-07-02 22:01:27 +00:00
Bruce Momjian
e225260440 Back out Karels to_char changes. 2000-07-01 21:27:14 +00:00
Peter Eisentraut
9e8d591877 Synchronized integrated documentation with latest admin guide change. 2000-07-01 15:05:47 +00:00
Bruce Momjian
99212a4847 In the attache is new to_date()/to_timestamp() version.
Now the to_timestamp() support WW,W,J,SSSS,DDD conversion from strings and
the am/pm bug is fixed, the to_char() use week-of-year (WW) full compatible
with Oracle.

 This patch update relevant regress-tests and docs too.

                                        Karel
~
~
2000-07-01 14:10:32 +00:00
Peter Eisentraut
a164213219 New and revised material for Admin guide, re backup & restore and database
management
2000-06-30 16:14:21 +00:00
Tom Lane
1aebc3618a First phase of memory management rewrite (see backend/utils/mmgr/README
for details).  It doesn't really do that much yet, since there are no
short-term memory contexts in the executor, but the infrastructure is
in place and long-term contexts are handled reasonably.  A few long-
standing bugs have been fixed, such as 'VACUUM; anything' in a single
query string crashing.  Also, out-of-memory is now considered a
recoverable ERROR, not FATAL.
Eliminate a large amount of crufty, now-dead code in and around
memory management.
Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
backend startup.
2000-06-28 03:33:33 +00:00
Bruce Momjian
3fb8c9d1f9 Update FAQ. 2000-06-24 01:51:14 +00:00
Peter Eisentraut
c446509565 Second pass over run-time configuration system. Adjust priorities on some
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
here, so make explicit checks. Add comments explaining all of this.
Removed permissions check on SHOW command.

Add examine_subclass to the game, rename to SQL_inheritance to fit the
official data model better. Adjust documentation.

Standalone backend needs to reset all options before it starts. To
facilitate that, have IsUnderPostmaster be set by the postmaster itself,
don't wait for the magic -p switch.

Also make sure that all environment variables and argv's survive
init_ps_display(). Use strdup where necessary.

Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
0600 -- having configuration files is no fun if you can't edit them.
2000-06-22 22:31:24 +00:00
Bruce Momjian
b997a4b91f > Great! Please cc: the docs or hackers mailing lists to make sure the
> patches are not lost...

Aggregate doc patches:

The patches are attached. Be great if you could check them over to make
sure all relevant content (and markup) is there...

Isaac Wilcox
2000-06-20 18:04:18 +00:00
Tom Lane
c590273fef Clean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc
entries now for int8 and network hash indexes.  int24_ops and int42_ops
are gone.  pg_opclass no longer contains multiple entries claiming to be
the default opclass for the same datatype.  opr_sanity regress test
extended to catch errors like these in the future.
2000-06-19 03:55:01 +00:00
Bruce Momjian
a53dc5ee61 Linux/alpha patch. 2000-06-19 00:51:23 +00:00
Peter Eisentraut
2c0edb3c86 Separated set constraints and set transaction reference pages, revised set
reference page to new configuration system. Big update to administrator's
guide, chapters Runtime environment, Client authentication, and User
management, the latter two were part of the old Security chapter.
2000-06-18 21:24:54 +00:00
Thomas G. Lockhart
0d2a78bf23 Repair markup to allow clean doc builds. 2000-06-14 13:12:52 +00:00
Thomas G. Lockhart
e7112784a1 Reword to reduce redundant wording in some wording ;) 2000-06-14 13:12:17 +00:00
Thomas G. Lockhart
ee7f92b76b Fix up typos.
Move "query result" tables to left side of page (remove leading spaces).
2000-06-14 13:10:48 +00:00
Bruce Momjian
6cb6d05456 Brand 7.1 release. Also update jdbc version in release branch. 2000-06-12 22:36:19 +00:00
Bruce Momjian
3c73f94a5e update developers faq 2000-06-10 02:05:26 +00:00
Bruce Momjian
322d65c1a6 UPdate developers faq 2000-06-10 01:55:37 +00:00
Bruce Momjian
e6487cc4d7 Update FAQ. 2000-06-09 12:20:15 +00:00
Bruce Momjian
8c1d09d591 Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 2000-06-09 01:44:34 +00:00
Bruce Momjian
5690933d6c Mark ImmediateSharedRelationCacheInvalidate as NOT_USED. 2000-06-08 19:51:06 +00:00
Bruce Momjian
f7d979bc58 Fix ODBC for new binary fopen/open params 2000-06-08 16:40:51 +00:00
Bruce Momjian
beb7f7f72d Update FAQ. 2000-06-06 14:00:01 +00:00
Bruce Momjian
552d59353f Update for 7.0.2. 2000-06-05 17:07:56 +00:00
Bruce Momjian
154c0a0b68 Update for 7.0.2. 2000-06-05 10:57:57 +00:00
Bruce Momjian
cc2b5e5815 Remove NT-specific file open defines by defining our own open macros for
"rb" and "wb".
2000-06-02 15:57:44 +00:00
Bruce Momjian
6437fe62ba Add fix to index length 2000-06-02 01:25:20 +00:00
Bruce Momjian
37b5775d3c createlang fix 2000-06-01 23:40:31 +00:00
Bruce Momjian
2b0956e783 Update replication todo. 2000-06-01 19:46:29 +00:00
Bruce Momjian
0f6101e470 Add lock todo items 2000-06-01 18:41:57 +00:00
Bruce Momjian
5abea5fe13 Update 7.0.1 for Tatsuo 2000-06-01 06:02:14 +00:00
Bruce Momjian
bd29331f84 Mention pg_upgrade 2000-06-01 05:58:42 +00:00
Bruce Momjian
f9f6cc4ab0 Update 7.0.1 2000-06-01 05:48:42 +00:00
Bruce Momjian
54ee522f4f Fixups for 7.0.1 2000-06-01 05:13:18 +00:00
Bruce Momjian
0cfe2374a7 Rename perl example eg directory to examples. 2000-06-01 03:05:24 +00:00
Bruce Momjian
726926a523 Update pgcvslog 2000-06-01 01:34:02 +00:00
Bruce Momjian
5e4d554bae Typo fix 2000-05-30 18:00:30 +00:00
Bruce Momjian
659f79be7a Allow vacuum to perform analyze with shared lock. Update cvs manual. 2000-05-29 15:44:55 +00:00
Tom Lane
18952f6744 Second round of fmgr changes: triggers are now invoked in new style,
CurrentTriggerData is history.
2000-05-29 01:59:17 +00:00
Tom Lane
5005bb060b 'CREATE FUNC TION' => 'CREATE FUNCTION'. 2000-05-27 18:18:31 +00:00
Bruce Momjian
be6e7717db Fix \h SELECT to not show SELECT INTO. 2000-05-26 15:47:18 +00:00
Bruce Momjian
ebb88e3ba5 Fix initlocation syntax example for createdb 2000-05-26 02:07:15 +00:00
Bruce Momjian
a802433917 Spell fix 2000-05-25 15:32:03 +00:00
Bruce Momjian
75478861a4 pg_ctl does not use -S by default anymore so update documentation 2000-05-23 21:46:57 +00:00
Bruce Momjian
b1b9059427 Irix fixes from Murad Nayal 2000-05-22 23:56:44 +00:00
Bruce Momjian
0d62ecdf72 Update rules man pages. 2000-05-20 11:38:25 +00:00
Bruce Momjian
c99e851eea Clean up sql functions examples. 2000-05-20 11:24:37 +00:00