Commit Graph

1218 Commits

Author SHA1 Message Date
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
Peter Eisentraut
335248c9b7 Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@gnu.org, From: Akim Demaille <akim@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
2000-09-17 13:02:52 +00:00
Tom Lane
e930a9a97b Add ILIKE operators ~~*, !~~* to documentation. 2000-09-15 20:20:11 +00:00
Bruce Momjian
7e2c430b1e Add new FAQ's. 2000-09-14 02:21:31 +00:00
Bruce Momjian
264d4259b9 rename README.Charsets 2000-09-14 02:17:28 +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
Bruce Momjian
1da2feea83 Previous patch backed out.
Here is a patch against CVS (without my earlier patch)
to disallow

LOCK x

if x is a view.

It does not use the SPI interface.

--
Mark Hollomon
2000-09-12 04:33:18 +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
b399b862ed Update TODO list. 2000-07-28 02:28:08 +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
1c753e1ffb Add cidr TODO.detai file. 2000-07-27 19:11:47 +00:00
Bruce Momjian
b7d095bd1b Update TODO list. 2000-07-27 18:51:40 +00:00
Bruce Momjian
5c91df3cc0 Update TODO list. 2000-07-27 18:50:37 +00:00
Bruce Momjian
4a5d0cdfab Update TODO list. 2000-07-27 18:48:28 +00:00
Bruce Momjian
e0da4c153b Update TODO list. 2000-07-27 18:47:06 +00:00
Bruce Momjian
2b547b7a03 Update TODO list. 2000-07-27 18:42:15 +00:00
Bruce Momjian
aef3fcddcd Update FAQ. 2000-07-27 16:55:33 +00:00
Bruce Momjian
513e85a877 Update TODO list. 2000-07-27 16:53:21 +00:00
Bruce Momjian
18f138263b Update TODO list. 2000-07-27 00:56:43 +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
Bruce Momjian
07537ffcad Update FAQ. 2000-07-20 17:40:38 +00:00
Tom Lane
d0ca92cb53 Correct erroneous explanation of DEADLOCK_TIMEOUT configuration setting. 2000-07-17 22:32:44 +00:00
Peter Eisentraut
44eaafe3f8 End users shouldn't have to invoke a separate command to install the
documentation. Therefore it's now installed by default. If there is no
documentation to be found (i.e., you are not using the distribution)
then this step is skipped.

Add --docdir option to configure to control installation directory.
2000-07-17 22:31:59 +00:00
Bruce Momjian
4fa37381f1 Update TODO list. 2000-07-17 13:23:18 +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