Commit Graph

1197 Commits

Author SHA1 Message Date
Marc G. Fournier
3a7c93e7f3 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] password authentication

This patch adds support for plaintext password authentication.  To use
it, you add a line like

host         all         0.0.0.0       0.0.0.0           password  pg_pwd.conf


to your pg_hba.conf, where 'pg_pwd.conf' is the name of a file containing
the usernames and password hashes in the format of the first two fields
of a Unix /etc/passwd file.  (Of course, you can use a specific database
name or IP instead.)

Then, to connect with a password through libpq, you use the PQconnectdb()
function, specifying the "password=" tag in the connect string and also
adding the tag "authtype=password".

I also added a command-line switch '-u' to psql that tells it to prompt
for a username and password and use password authentication.
1997-03-12 21:23:16 +00:00
Marc G. Fournier
5dde558ce6 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] linux/alpha patches

These patches lay the groundwork for a Linux/Alpha port.  The port doesn't
actually work unless you tweak the linker to put all the pointers in the
first 32 bits of the address space, but it's at least a start.  It
implements the test-and-set instruction in Alpha assembly, and also fixes
a lot of pointer-to-integer conversions, which is probably good anyway.
1997-03-12 21:13:19 +00:00
Marc G. Fournier
b66569e41f From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] linux/alpha patches

These patches lay the groundwork for a Linux/Alpha port.  The port doesn't
actually work unless you tweak the linker to put all the pointers in the
first 32 bits of the address space, but it's at least a start.  It
implements the test-and-set instruction in Alpha assembly, and also fixes
a lot of pointer-to-integer conversions, which is probably good anyway.
1997-03-12 21:00:17 +00:00
Marc G. Fournier
127826978a From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] equal column and table name patch

This fixes a bug where selects fail when there is a column with the same
name as the table it's a part of.
1997-03-12 20:51:33 +00:00
Marc G. Fournier
e4949f9fe5 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] better access control error messages

This patch replaces the 'no such class or insufficient privilege' with
distinct error messages that tell you whether the table really doesn't
exist or whether access was denied.
1997-03-12 20:48:48 +00:00
Marc G. Fournier
c00c511b7b From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] backend Makefile patch

This patch cleans up backend/Makefile a little bit, and prevents it from
relinking the backend binary when no changes have been made.
1997-03-12 20:44:57 +00:00
Marc G. Fournier
51844146e5 From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] abort failed transaction patch

This patch allows you to end a transaction that has failed on an error
using the 'ABORT' statement without generating another error message.
(By default you get an error unless you use 'END' to terminate the
transaction, which has already been aborted anyway.)
1997-03-12 20:41:14 +00:00
Marc G. Fournier
336eb7056d Add in the sunos4 portname to configure detection 1997-03-11 02:12:17 +00:00
Bruce Momjian
ea36b0d3cd Add missing paren. 1997-03-10 15:08:57 +00:00
Marc G. Fournier
977654d55b Massimo's Deadlock patches w/o the #ifdefs 1997-03-10 00:18:09 +00:00
Bruce Momjian
766bdd2bb5 Vacuum cleanups from Massimo. 1997-03-09 23:29:15 +00:00
Bruce Momjian
b913dd1f9e Add prototypes for oracle-compat functions. Rename geo-*.c adt to geo_*.c 1997-03-09 20:41:02 +00:00
Bruce Momjian
d8023a00bd Fix vacuum crash Vadim found. 1997-03-09 07:12:36 +00:00
Bruce Momjian
22cabc5514 Reverse patch for Vadims problem. 1997-03-07 00:59:05 +00:00
Marc G. Fournier
e67e399fd9 Add man page for oracle compatibility functions
By Edmund
1997-03-07 00:47:41 +00:00
Bruce Momjian
e2ab435e99 Move nextstep into problem/bug section. 1997-03-06 22:59:47 +00:00
Bruce Momjian
da90363c12 Fix vacuum bug Vadim found with text fields. 1997-03-06 18:38:35 +00:00
Vadim B. Mikheev
74bd93d597 Not understandable fix of strange bug in vacuum statistic functions. 1997-03-06 11:41:09 +00:00
Marc G. Fournier
83978e1ea7 This is a set of single row character functions, defined for the datatype
text, which are supposed to behave exactly as their Oracle counterparts.

From: Edmund Mergl <E.Mergl@bawue.de>
1997-03-04 05:32:26 +00:00
Marc G. Fournier
497e3c9b5e Fix the prototype for on_exitpg() 1997-03-03 23:34:27 +00:00
Marc G. Fournier
ed8b7bdff9 Patch from Martin due to changes in joinrels.c 1997-03-03 23:26:45 +00:00
Bruce Momjian
a454ed584d New TODO. 1997-03-02 02:40:01 +00:00
Bruce Momjian
26eb44f202 Prevent SIGPIPE from crashing server, by Dan McGuirk. 1997-03-02 02:17:32 +00:00
Bruce Momjian
688aff37f9 Change debug to pretty-print tree, recommended by Darren King. 1997-03-02 02:12:49 +00:00
Bruce Momjian
b469a56ac4 flex 2.5.3 warning from Andrew Martin. 1997-03-02 02:09:19 +00:00
Bruce Momjian
3ce0236c69 Apply date patch from tiemann@cygnus.com,Michael Tiemann. 1997-03-02 02:05:33 +00:00
Bruce Momjian
162c2a6e4c Remove _PAGE_SIZE_ as recommended by Darren King. 1997-03-02 01:34:50 +00:00
Bruce Momjian
34fd62c512 Remove case-sensitive identifiers. Thanks for Dan McGuirk for a reversal patch. 1997-03-02 01:03:44 +00:00
Bruce Momjian
a3a956bfe5 Change machine/limits.h to limits.h. 1997-03-01 22:22:21 +00:00
Bruce Momjian
872c708f8f Small regress cleanup. 1997-03-01 16:44:43 +00:00
Bruce Momjian
799755b30d Fix example so it works. 1997-03-01 15:26:42 +00:00
Bruce Momjian
7e6aeb5074 Substitute defines for numeric constants in type ids.
Use INT4OID instead of 23.
1997-03-01 15:24:51 +00:00
Marc G. Fournier
a4c18f553c Make sure anything configure related is removed on a distclean 1997-02-28 18:45:17 +00:00
Marc G. Fournier
9b4b8e92eb Create a distclean make directive to handle cleaning out configure
generated files, that shouldn't be removed on a make clean

Pointed out by half the hackers mailing list :)
1997-02-28 18:34:58 +00:00
Marc G. Fournier
3ebe69c4c5 Remove second 'all' directive
Pointed out by Bruce
1997-02-28 15:35:50 +00:00
Bruce Momjian
38f4f67830 Allow update x =-3, not just x = -3. 1997-02-28 13:25:16 +00:00
Bruce Momjian
326d1568fd Remove old READMEs. 1997-02-28 11:58:04 +00:00
Bruce Momjian
fc87230507 Remove SUBSYS.o in port/ on clean. 1997-02-28 10:57:47 +00:00
Bruce Momjian
317ea8bf39 Remove win32 port directory. Forgot to do it earlier. 1997-02-28 10:30:29 +00:00
Bruce Momjian
7a14979f02 Updated FAQ 1997-02-27 15:05:21 +00:00
Marc G. Fournier
bb21784caa Fix, I think, the stdup.o problem reported on those systems without
it.
1997-02-25 18:14:43 +00:00
Marc G. Fournier
00bcb8a0ed Change "WARN" message generated if a unique index is attempted on a table/key
containing non-unique data
1997-02-25 03:38:23 +00:00
Vadim B. Mikheev
36058981a4 Added: UNIQUE feature to bulkload code. 1997-02-22 10:08:27 +00:00
Marc G. Fournier
2280e62d39 Make the error message output by AllocateFile() if failes to
open Nulldev a *bit* more user friendly...or, at least, admin
friendly...have it print strerror(errno) as well
1997-02-20 22:54:18 +00:00
Marc G. Fournier
069b71d721 Add in port hpux to configure
Pointed out by: Mark Hollomon <mhh@nortel.ca>
1997-02-20 18:29:45 +00:00
Vadim B. Mikheev
4de2f24895 Fix for queries with 3 or more relations participating in
one clause.
1997-02-20 02:54:09 +00:00
Bruce Momjian
6eb0525185 Prevent under/over flow of float8 constants in parser. Small regression fix. 1997-02-19 20:11:05 +00:00
Marc G. Fournier
5b5bbdb161 Disable GEQO...it seems to be broken as shown by the message to
bugs@postgresql.org concerning updates
1997-02-19 19:25:42 +00:00
Marc G. Fournier
ee6d3a7326 Various cleanups to satisfy -Werror, but there are some errors that I'm
not certain how to fix, so left them there and enabled -Wno-error for
this directory for now
1997-02-19 14:52:06 +00:00
Marc G. Fournier
950c57600e rearrange ordering of headers os that postgres.h is first 1997-02-19 14:29:22 +00:00