1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00
Commit Graph

2084 Commits

Author SHA1 Message Date
861a0d7b5a Update compatibility information. 2001-09-13 19:05:29 +00:00
a6496a2338 Update compatibility information. 2001-09-13 18:17:44 +00:00
351a0c1736 Replace ASCII-quotes with proper markup. 2001-09-13 15:55:24 +00:00
f93449eb34 'chown -R postgres /usr/local/pgsql' is wrong. Need to do some more typing. 2001-09-12 20:57:28 +00:00
aaed778074 Attached patch is correction for 'doc/jdbc.sgml' of PostgreSQL 7.1.3.
Correction content:
  * I revised a mistake of type (copy and paste).
  * I revised multiplicity of description.

Ryouichi Matsuda
2001-09-12 15:55:00 +00:00
0b8a76b24d Followings are proposed fixes to jdbc.sgml(line numbers are for 7.1.3
doc).

Hiroyuki Yatabe
2001-09-12 15:49:10 +00:00
dfdbf6898f max_locks_per_transaction seems to be a more consistent name than
max_locks_per_xact.
2001-09-12 14:06:37 +00:00
33a82e7fd8 Here's some matching documentation, including some other
undocumented items in TD.

Should doc patches alse be sent to pgsql-patches, or do I
have to subscribe to pgsql-docs?

The archive link for pgsql-patches is broken, and I don't
see any patches in spot checking the archive for pgsql-docs.

-Brad McLean.
2001-09-12 03:58:15 +00:00
3b99f74d95 Fix typo (add ;) 2001-09-12 02:13:25 +00:00
2d12bc1ea1 Fix typo (add ;) 2001-09-12 01:55:25 +00:00
7dc4a45ae7 Fix typo. 2001-09-12 01:22:25 +00:00
95dc7785b5 Add single quote (example given here does not work) 2001-09-11 05:11:59 +00:00
d7f3cbc288 Fix regression test in the case of building as root. 2001-09-11 02:24:52 +00:00
a457d33516 Markup and spell-check run over Programmer's Guide (rather incomplete still). 2001-09-10 21:58:47 +00:00
531126c854 Short version of install procedure fails due to lacking chown. 2001-09-10 08:46:46 +00:00
35d3c85ac0 The usage of kill is incorrect (lacks "data"). Anyway we should use
pg_ctl instead.
2001-09-10 07:17:01 +00:00
acb66fc5bf Fix typo. split does not produce ".". 2001-09-10 07:11:28 +00:00
0e76f1bb1a Fix typo. 2001-09-10 06:35:34 +00:00
f8f0ff6b57 Example program lacks RETURN 2001-09-10 06:30:43 +00:00
82b889a044 Fix typo. 2001-09-10 05:57:22 +00:00
0d04ffeb0d Fix typo. 2001-09-10 05:46:41 +00:00
16a7ec386e Fix initlocation messages 2001-09-10 05:20:23 +00:00
bb35e499ea Remove mention of INV_ARCHIVE. 2001-09-10 04:15:41 +00:00
ea41e77c22 fix typo. 2001-09-10 03:02:06 +00:00
aa398e5034 Add missing ';' 2001-09-10 02:46:18 +00:00
d07454f559 Markup additions and spell check. (covers Admin Guide) 2001-09-09 23:52:12 +00:00
84956e71a3 Markup additions and spell check. (covers User's Guide) 2001-09-09 17:21:59 +00:00
1a63ef056e fix markup 2001-09-08 16:46:34 +00:00
c0d4d5473a Make the world somewhat safe for (not from) DELETE FROM pg_shadow;
Assign the fixed user id 1 to the user created by initdb.
A stand-alone backend will always set the user id to 1.
(Consequently, the name of that user is no longer important.)

In stand-alone mode, the user id 1 will have implicit superuser
status, to allow repairs even if there are no users defined.

Print a warning message when starting in stand-alone mode when no
users are defined.

Disallow dropping the current user and session user.

Granting/revoking superuser status also grants/revokes usecatupd.
(Previously, it would never grant it back.  This could lead to "deadlocks".)

CREATE USER and CREATE GROUP will start allocating user ids at 100
(unless explicitly specified), to prevent accidental creation of a
superuser (plus some room for future extensions).
2001-09-08 15:24:00 +00:00
1834987fb6 I've attached the fixed version of the patch below. After the
discussion on pgsql-hackers (especially the frightening memory dump in
<12273.999562219@sss.pgh.pa.us>), we decided that it is best not to
use identifiers from an untrusted source at all.  Therefore, all
claims of the suitability of PQescapeString() for identifiers have
been removed.

Florian Weimer
2001-09-07 22:02:32 +00:00
bd9b32803b Here is my much-promised patch to let people add UNIQUE constraints after
table creation time.  Big deal you say - but this patch is the basis of the
next thing which is adding PRIMARY KEYs after table creation time.  (Which
is currently impossible without twiddling catalogs)

Rundown
-------

* I have made the makeObjectName function of analyze.c non-static, and
exported it in analyze.h

* I have included analyze.h and defrem.h into command.c, to support
makingObjectNames and creating indices

* I removed the 'case CONSTR_PRIMARY' clause so that it properly fails and
says you can't add primary keys, rather than just doing nothing and
reporting nothing!!!

* I have modified the docs.

Algorithm
---------

* If name specified is null, search for a new valid constraint name.  I'm
not sure if I should "lock" my generated name somehow tho - should I open
the relation before doing this step?

* Open relation in access exclusive mode

* Check that the constraint does not already exist

* Define the new index

* Warn if they're doubling up on an existing index

Christopher Kings-Lynne
2001-09-07 21:57:53 +00:00
ca5134e694 Update SGML with new hostnames for CVS and CVSup. 2001-09-07 21:36:46 +00:00
17c03b30b0 Revert treatment of NOTIFY in rules to its pre-7.1 behavior: notify will
occur unconditionally, even if the rule should otherwise execute
conditionally.  This is more useful than giving an error, even though it's
not truly the correct behavior.  Per today's pghackers discussion.
2001-09-07 20:52:31 +00:00
b579d4614f Update FAQ. 2001-09-07 00:51:10 +00:00
e67bb7af5a Missed a few places that referred to a compile-time limit on
max_connections.
2001-09-07 00:46:42 +00:00
4d8ce9bba3 Update FAQ. 2001-09-07 00:46:00 +00:00
36ed0c98bd Update FAQ. 2001-09-07 00:45:14 +00:00
22ae53d4cd Move the "how to write a PL call handler" parts from the CREATE LANGUAGE
man page to the Programmer's Guide.
2001-09-06 10:28:39 +00:00
04c1f72920 PAM authentication:
> pam_strerror() should be used a few more times, rather than just saying
> "Error!".  Also, the configure.in snippet seems wrong.  You add
> -I$pam_prefix/include/security to $INCLUDES and then you #include
> <security/pam_appl.h>.  This whole thing is probably unnecessary, since
> PAM is a system library on the systems where it exists, so the headers
> and libraries are found automatically, unlike OpenSSL and
> Kerberos.

See attached revised patch. (I'm sure the configure.in stuff can be done
right/better, I'm just not enough of a autoconf guru to know what to
change it to.)

Dominic J. Eidson
2001-09-06 03:23:38 +00:00
2a34134b6c - new to_char(interval, text)
- new millisecond (ms) and microsecond (us) support
 - more robus parsing from string - used is separator checking for
   non-exact formats like to_date('2001-9-1', 'YYYY-MM-DD')
 - SGML docs are included

Karel Zak
2001-09-06 03:22:42 +00:00
16910e44de Next version of patch.
Now with documentation update and disabling of UTF conversion for Tcl <=8.0

On Fri, 24 Aug 2001, Vsevolod Lobko wrote:

> On Thu, 23 Aug 2001, Tom Lane wrote:
>
> > > Is this looks better?
> >
> > It does, but one small gripe: the lack of semicolons will probably cause
> > pg_indent to mess up the indentation.  (I know emacs' autoindent mode
> > will not work nicely with it, either.)  Please set up the macros so that
> > you write
> >
> >                         UTF_BEGIN;
> >                         Tcl_DStringAppend(&unknown_src, UTF_E2U(part), -1);
> >                         UTF_END;
> >
> > and then I'll be happy.
>
> Attached revised patch
>
> > Your point about overhead is a good one, so I retract the gripe about
> > using a configure switch.  But please include documentation patches to
> > describe the configure option in the administrator's guide (installation
> > section).
>
> This patch still uses configure switch for enabling feature.
>
> For enabling based on tcl version we have 2 posibilites:
>  1) having feature enabled by default, but in pltcl.c check for tcl
>     version and disable it for old versions
>  2) enable or disable at configure time based on tcl version, but there
>     are problem - current configure don't checks for tcl version at all
>     and my configure skills not enought for adding this
>

Vsevolod Lobko
2001-09-06 02:56:32 +00:00
6c91eef7b7 Fix handling of pg_type.typdefault per bug report from Dave Blasby.
If there's anyone out there who's actually using datatype-defined
default values, this will be an incompatible change in behavior ...
but the old behavior was so broken that I doubt anyone was using it.
2001-09-06 02:07:42 +00:00
c2ed891512 Overhaul ecpg manual page.
Update Italian jdbc error messages.
2001-09-06 00:23:42 +00:00
2ec5eedd4f Update FAQ. 2001-09-04 05:14:36 +00:00
9d634d3917 Update FAQ. 2001-09-04 05:06:20 +00:00
9b77572662 Add mention of bytea data type and escaping rules. 2001-09-04 03:17:54 +00:00
3c59a9e3b7 Bring references to ipcclean in sync with reality. 2001-09-04 00:22:34 +00:00
ff5e8a26a2 Fix typo. 2001-09-04 00:18:18 +00:00
89a1ea4207 Put some kind of grammatical uniformity in the <refpurpose> lines. 2001-09-03 12:57:50 +00:00
60ce9e9279 New blood and fresh air for tutorial 2001-09-02 23:27:50 +00:00