1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-10 09:21:54 +03:00
Commit Graph

12654 Commits

Author SHA1 Message Date
32de56e817 Use option to jade to produce html file names from id field in tag. 1998-07-29 06:29:04 +00:00
64fbd1fb12 Add new files from Oliver Elphick. 1998-07-29 06:23:26 +00:00
a9d76d0108 Fix minor end-of-file formatting. 1998-07-29 06:21:57 +00:00
596731dcf8 Information moved to doc/src/sgml/geqo.sgml. 1998-07-29 06:07:54 +00:00
bf00bbb0c4 I really hope that I haven't missed anything in this one...
From: t-ishii@sra.co.jp

Attached are patches to enhance the multi-byte support.  (patches are
against 7/18 snapshot)

* determine encoding at initdb/createdb rather than compile time

Now initdb/createdb has an option to specify the encoding. Also, I
modified the syntax of CREATE DATABASE to accept encoding option. See
README.mb for more details.

For this purpose I have added new column "encoding" to pg_database.
Also pg_attribute and pg_class are changed to catch up the
modification to pg_database.  Actually I haved added pg_database_mb.h,
pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is
enabled. The reason having separate files is I couldn't find a way to
use ifdef or whatever in those files. I have to admit it looks
ugly. No way.

* support for PGCLIENTENCODING when issuing COPY command

commands/copy.c modified.

* support for SQL92 syntax "SET NAMES"

See gram.y.

* support for LATIN2-5
* add UNICODE regression test case
* new test suite for MB

New directory test/mb added.

* clean up source files

Basic idea is to have MB's own subdirectory for easier maintenance.
These are include/mb and backend/utils/mb.
1998-07-24 03:32:46 +00:00
3733bd4627 First version of files from Oliver Elphick. 1998-07-14 03:47:34 +00:00
e36f96e42a More updates for typmod int32 change. From Tom Lane. 1998-07-14 02:41:26 +00:00
a034884cfe Update regression test run times for v6.4beta. 1998-07-09 14:36:51 +00:00
ce812671b1 From: Tom Lane <tgl@sss.pgh.pa.us>
Attached are diffs (from current cvs sources) to bring libpq.sgml
and libpq.3 up to date.

It appears that at various times in the past, people have made edits to
one or the other of these files but not both.  I propagated some changes
from each into the other, but I don't think I caught every
inconsistency.  It'd be real nice if the man pages could be
automatically generated from the SGML...
1998-07-09 03:30:49 +00:00
a0659e3e2c From: Tom Lane <tgl@sss.pgh.pa.us>
Making PQrequestCancel safe to call in a signal handler turned out to be
much easier than I feared.  So here are the diffs.

Some notes:
  * I modified the postmaster's packet "iodone" callback interface to allow
    the callback routine to return a continue-or-drop-connection return
    code; this was necessary to allow the connection to be closed after
    receiving a Cancel, rather than proceeding to launch a new backend...
    Being a neatnik, I also made the iodone proc have a typechecked
    parameter list.
  * I deleted all code I could find that had to do with OOB.
  * I made some edits to ensure that all signals mentioned in the code
    are referred to symbolically not by numbers ("SIGUSR2" not "2").
    I think Bruce may have already done at least some of the same edits;
    I hope that merging these patches is not too painful.
1998-07-09 03:29:11 +00:00
03fb60c52e Fix suggestions on file protection for alternate DB locations. 1998-07-08 13:54:26 +00:00
ba3a99f193 Split function and operator User Guide info
from datatype.sgml into separate files.
Add type conversion information.
Format historical release notes.
1998-07-08 13:53:15 +00:00
cb7cbc16fa Hi, here are the patches to enhance existing MB handling. This time
I have implemented a framework of encoding translation between the
backend and the frontend. Also I have added a new variable setting
command:

SET CLIENT_ENCODING TO 'encoding';

Other features include:
	Latin1 support more 8 bit cleaness

See doc/README.mb for more details. Note that the pacthes are
against May 30 snapshot.

Tatsuo Ishii
1998-06-16 07:29:54 +00:00
8d8bcda253 Hello!
Attached to the mail is locale-patch.tar.gz. In the archive
   there are:

file README.locale
   short description

directory src/test/locale
   test suite; currently only koi8-r tests, but the suite can be
   easily extended

file locale.patch
   the very patch; to apply: patch < locale.patch; should be applied
   to postgres-6.3.2 (at least I created it with 6.3.2 without any
additional
   patches)

   Files touched by the patch:  src/include/utils/builtins.h
src/backend/utils/adt/char.c src/backend/utils/adt/varchar.c
src/backend/utils/adt/varlena.c

Oleg
1998-06-16 06:42:02 +00:00
583891833f The attached patch modifies libpgtcl per previous discussion: the
pg_notifies statement is eliminated, and callbacks defined by
pg_listen are instead invoked automatically from the Tcl idle loop
whenever a NOTIFY message is received.

I have done only cursory testing, so there may be problems still
lurking (particularly on non-Unix machines?).  But it seems to
work.

Patch is against today's cvs sources.  Note that this will not work
with the 6.3.2 release since it depends on the new libpq.

The diffs are a bit large so I've gzipped them.  A patch to update
libpgtcl.sgml is included too.

			regards, tom lane
1998-06-16 04:10:17 +00:00
5815523b0e Add FAQ_CVS. 1998-06-16 03:55:15 +00:00
f2764eea42 Clarify ownership and security issues with alternate db locations. 1998-05-29 13:16:36 +00:00
3d96825bb1 Define PGDOC to use POSTGRESDIR by default.
Can be set to something else in Makefile.custom if necessary.
1998-05-29 13:14:25 +00:00
9af6bd9962 Move FAQ_DEV to docs directory, where it belongs. 1998-05-22 04:20:53 +00:00
fdd9a344ca First reference manual. 1998-05-13 05:34:39 +00:00
7402eda97c First files for reference pages. 1998-05-13 05:34:00 +00:00
2608ec8169 First changes for reference pages. Fix markup in the docguide. 1998-05-13 05:33:32 +00:00
7e5f53e730 |I noticed that the -assignbyidx function of -result in libpgtcl
is not |documented, here is the relevant patch for it

Anton
1998-05-13 03:29:12 +00:00
3be86c98c6 Allow building a source tarball.
Try to generalize the gzip/tar usage for more portability.
1998-05-09 22:32:03 +00:00
25745b6d52 Minor markup change. 1998-05-09 22:23:38 +00:00
edbd51395c What I've done:
1. Rewritten libpq to allow asynchronous clients.

2. Implemented client side of cancel protocol in library,
   and patched psql.c to send a cancel request upon SIGINT.  The
   backend doesn't notice it yet :-(

3. Implemented 'Z' protocol message addition and renaming of
   copy in/out start messages.  These are implemented conditionally,
   ie, the client protocol version is checked; so the code should
   still work with 1.0 clients.

4. Revised protocol and libpq sgml documents (don't have an SGML
   compiler, though, so there may be some markup glitches here).


What remains to be done:

1. Implement addition of atttypmod field to RowDescriptor messages.
   The client-side code is there but ifdef'd out.  I have no idea
   what to change on the backend side.  The field should be sent
   only if protocol >= 2.0, of course.

2. Implement backend response to cancel requests received as OOB
   messages.  (This prolly need not be conditional on protocol
   version; just do it if you get SIGURG.)

3. Update libpq.3.  (I'm hoping this can be generated mechanically
   from libpq.sgml... if not, will do it by hand.)  Is there any
   other doco to fix?

4. Update non-libpq interfaces as necessary.  I patched libpgtcl
   so that it would compile, but haven't tested it.  Dunno what
   needs to be done with the other interfaces.

Have at it!

Tom Lane
1998-05-06 23:51:16 +00:00
446a9936ab Include full tools installation instructions from Tom Helbekkmo.
Include small section on authoring and Makefile configuration.
Rearrange section order.
1998-04-28 14:57:48 +00:00
f7fa77e60c Include info on setting compiler options on the command line
when building executables.
1998-04-28 14:55:45 +00:00
db602e80ad Fix some typos. 1998-04-28 14:54:24 +00:00
329949d1fe Include e-mail exchange between Jan and Andreas to start info on rules. 1998-04-28 14:52:46 +00:00
f554af0a9f From: t-ishii@sra.co.jp
Hi, here are patches I promised (against 6.3.2):

* character_length(), position(), substring() are now aware of
          multi-byte characters
* add octet_length()
* add --with-mb option to configure
* new regression tests for EUC_KR
  (contributed by "Soonmyung. Hong" <hong@lunaris.hanmesoft.co.kr>)
* add some test cases to the EUC_JP regression test
* fix problem in regress/regress.sh in case of System V
* fix toupper(), tolower() to handle 8bit chars

note that:

o  patches for both configure.in and configure are
included. maybe the one for configure is not necessary.

o pg_proc.h was modified to add octet_length(). I used OIDs
(1374-1379) for that. Please let me know if these numbers are not
appropriate.
1998-04-27 17:10:50 +00:00
1af6b56427 From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Ok, I have finally gotten all of the defines for Dec/Alpha and
Linux/Alpha sorted out as Marc asked. There is no longer any need for
'-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha
template files (./src/template/{alpha,linuxalpha}). I have replaced every
instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be
the common symbol between C compilers on both operating systems (RH4.2 &
DecUnix 4.0b) for alpha.
1998-04-27 14:46:51 +00:00
d31736e92b Doc updates from Darren on char2-16 removal 1998-04-26 04:18:06 +00:00
87d96ed672 UPdate TODO list. 1998-04-17 14:54:16 +00:00
323fefdb9d Update HISTORY/TODO. Disable HAVING. 1998-04-17 04:12:56 +00:00
09b15ff882 Use POSTGRESDIR to set initial PGDOCS destination directory.
PGDOCS in Makefile.custom will supercede defaults here, I think...
1998-04-17 03:58:11 +00:00
5a641d48ee Update info to reflect success on Alpha/Linux and Alpha/DUnix ports. 1998-04-17 03:56:08 +00:00
a0ca95fa0d Fix typos in a couple of examples. 1998-04-17 03:55:01 +00:00
4a333c4918 Update FAQ. 1998-04-15 16:50:32 +00:00
b91d94ec68 Still mostly empty but add info on PAGER env variable and general paging
behavior from Brett McCormick.
1998-04-08 06:42:17 +00:00
8e8116468b Update for 6.3.2 1998-04-07 21:01:28 +00:00
0bf8141172 Older html conversion of original docs to html
superceded by the new sgml/docbook versions.
1998-04-06 15:33:53 +00:00
066ee9a2e9 Make DESTDIR consistent, and verious Linux cleanups. 1998-04-06 01:36:41 +00:00
7a9385e9d3 Information completely translated to the SGML/DocBook source files
pgtcl.sgml, spi.sgml, trigger.sgml.
Online docs in html and postscript are the current versions.
1998-04-05 17:10:41 +00:00
e98562a511 Include complete Makefile.global if available,
rather than just Makefile.custom.
1998-04-05 17:07:32 +00:00
39740d75bd Clean up formatting.
Add more URL links for GiST information.
1998-04-04 16:35:22 +00:00
e47e0e6923 Include example of table loading using the COPY command. 1998-04-04 16:34:23 +00:00
c452ddcac6 Convert body of chapter to SGML. Was embedded text from original doc. 1998-04-04 16:32:01 +00:00
e01d442174 Small corrections from Phil Thompson, the original author. 1998-04-04 16:30:31 +00:00
7a070126e0 Include the stub docs for the rules system. Omission in original versions. 1998-04-04 16:26:05 +00:00