Bruce Momjian
85bc36158d
Enable /contrib/pg_upgrade, mention little testing.
2002-01-18 04:38:46 +00:00
Bruce Momjian
eb410b6bde
Manual page improvements.
2002-01-15 05:41:55 +00:00
Bruce Momjian
08147fa7da
More cleanups.
2002-01-15 05:10:57 +00:00
Bruce Momjian
a73517cb8c
Keep pg_upgrade as disabled.
2002-01-15 05:03:53 +00:00
Bruce Momjian
19cba1a775
More wording improvements.
2002-01-15 05:03:25 +00:00
Bruce Momjian
fff981652e
More updates.
2002-01-15 04:55:26 +00:00
Bruce Momjian
8e76187790
More cleanups with ideas from Peter.
2002-01-15 04:50:37 +00:00
Bruce Momjian
86beaf4fa0
Add Peter's portability and option suggestions.
2002-01-15 04:05:24 +00:00
Bruce Momjian
ebf57dd082
Update permissions?
2002-01-14 22:54:44 +00:00
Bruce Momjian
309cbe494c
Add README file.
2002-01-14 17:45:43 +00:00
Bruce Momjian
0451c09fd6
Doc improvements.
2002-01-14 17:42:42 +00:00
Bruce Momjian
15ca0a502c
Add manual page to /contrib. SGML from docs.
2002-01-14 17:32:36 +00:00
Bruce Momjian
92a8bc9634
Move pg_upgrade to /contrib. Still need to make Peter's portability
...
changes.
2002-01-14 17:32:07 +00:00
Tom Lane
5c2d36c3dd
Code review for latest changes.
2002-01-11 21:27:13 +00:00
Bruce Momjian
37c9346ef2
pg_resetxlog specifies log location in hex; more pg_upgrade testing
...
improvments.
2002-01-11 06:33:01 +00:00
Bruce Momjian
9ab1872ef4
Have pg_resetxlog -n return zero exit status.
2002-01-10 23:46:13 +00:00
Bruce Momjian
c309873680
Remove 7.1beta WAL handling from /contrib/pg_resetxlog.
2002-01-10 23:40:58 +00:00
Bruce Momjian
4c0e9b5efc
Add new -l flag to set checkpoint location for /contrib/pg_resetxlog.
2002-01-10 20:09:06 +00:00
Bruce Momjian
872aad61ff
Per Tom, do full reset on -x flag.
2002-01-10 18:08:29 +00:00
Bruce Momjian
f6e603cffa
Add new -x XID option to /contrib/pg_resetxlog for future pg_upgrade use.
2002-01-10 17:51:52 +00:00
Tom Lane
92a2598f97
The result of getopt() should be compared to -1, not EOF, per
...
pgsql-hackers discussion of this date.
2002-01-10 01:11:45 +00:00
Bruce Momjian
f88aa2d653
Update my2pg to version 1.22.
2002-01-07 22:36:51 +00:00
Tom Lane
6d6b3e911c
Add variants of digest() and hmac() that accept text inputs.
...
Marko Kreen says:
This is so obvious that I would like to make it 'official'.
Seems like the theology around bytea<>text casting kept me from
seeing the simple :)
2002-01-07 18:56:09 +00:00
Bruce Momjian
b490469cb9
> > On Fri, Dec 21, 2001 at 11:43:21AM +0800, Christopher Kings-Lynne
...
wrote:
> > > Just testing pgcrypto on freebsd/alpha. I get some warnings:
> > They should be harmless, although I should fix them.
>
> The actual code is:
>
> if ((dlen & 15) || (((unsigned) res) & 3))
> return -1;
> Hard to imagine how (uint *) & 3 makes any sense, unless res isn't
> always a (uint8 *). Is that true?
At some point it was casted to (uint32*) so I wanted to be sure its ok.
ATM its pointless. Please apply the following patch.
--
marko
2002-01-03 07:21:48 +00:00
Bruce Momjian
6b086de31a
Update dbase for Maarten.Boekhold.
2001-12-31 13:32:04 +00:00
Tom Lane
ee051baeac
Make sure that all <ctype.h> routines are called with unsigned char
...
values; it's not portable to call them with signed chars. I recall doing
this for the last release, but a few more uncasted calls have snuck in.
2001-12-30 23:09:42 +00:00
Bruce Momjian
491545fff4
Do not require iconv for dbase conversion.
2001-12-21 05:29:46 +00:00
Bruce Momjian
3f94ff5400
Allow contrib/dbase to compile if HAVE_ICONV_H it not defined. This is
...
only a partial solution but a step in the right direction.
2001-12-21 04:30:59 +00:00
Bruce Momjian
eb36cdd562
Add needed libiconv link to contrib/dbase, per Christopher Kings-Lynne
2001-12-21 04:13:12 +00:00
Tatsuo Ishii
71d641cf15
Reflect Tom's change
2001-12-20 01:56:08 +00:00
Tom Lane
897083715b
Fix pgstattuple to acquire a read lock on the target table. This
...
prevents embarassments such as having the table dropped or truncated
partway through the scan. Also, fix free space calculation to include
pages that currently contain no tuples.
2001-12-19 20:28:41 +00:00
Peter Eisentraut
f9d87c66db
Fix warning
2001-12-19 18:49:24 +00:00
Bruce Momjian
cde5fae7c9
>>I confirmed the UNION hack is no longer required. Thanks! Is it too late
...
>>to change the README in contrib/dblink?
>>
>
> No, I don't think that's a problem. Send a patch.
>
Here's a (documentation only) patch for the contrib/dblink README.
Joe Conway
2001-12-13 10:48:39 +00:00
Hiroshi Inoue
aa82ac8ab2
Fix a lo_manage()'s bug.
2001-12-07 04:18:31 +00:00
Bruce Momjian
657499dbab
We forgot to mention in README.rtree_gist we implemented new
...
picksplit algorithm for Rtree. Please apply patch below to CVS
Oleg Bartunov
2001-12-05 18:25:28 +00:00
Bruce Momjian
8f73bb4da9
* include <endian.h> is not enough, include sys/types.h too
...
everywhere.
At least it was now detected correctly.
marko
2001-11-30 17:39:20 +00:00
Bruce Momjian
8aa538cfd5
* When postgres.h does not define BYTE_ENDIAN pgcrypto
...
produces garbage.
I learned the hard way that
#if UNDEFINED_1 == UNDEFINED_2
#error "gcc is idiot"
#endif
prints "gcc is idiot" ...
Affected are MD5/SHA1 in internal library, and also HMAC-MD5/HMAC-SHA1/
crypt-md5 which use them. Blowfish is ok, also Rijndael on at
least x86.
Big thanks to Daniel Holtzman who send me a build log which
contained warning:
md5.c:246: warning: `X' defined but not used
Yes, gcc is that helpful...
Please apply this.
--
marko
2001-11-29 19:40:37 +00:00
Bruce Momjian
c9483cb6e4
This patch mark datatype txtidx as 'extended' storage type.
...
Thanks.
Teodor Sigaev
2001-11-26 17:45:41 +00:00
Tom Lane
56f5dc9078
Remove bogus pg_amop insertion commands, per discussion of 25-Oct.
...
No change in results of script, but perhaps less confusion for people
reading it.
2001-11-24 23:28:09 +00:00
Bruce Momjian
3345da53ad
Update my2pg.pl for release.
2001-11-21 02:43:30 +00:00
Bruce Momjian
c78975f845
Include sys/types.h in crypt-des.c. FreeBSD netinet/in.h
...
needs it.
Seems it is getting compileable...
Marko Kreen
2001-11-20 21:10:38 +00:00
Bruce Momjian
60f777606f
Duh, my regexp's missed bunch of them. Here's next batch, this
...
should be all.
Marko Kreen
2001-11-20 18:54:07 +00:00
Bruce Momjian
540155b777
pgcrypto uses non-standard type uint, which causes compile
...
failures on FreeBSD. This patch replaces uint -> unsigned.
This was reported by Daniel Holtzman against 0.4pre3 standalone
package, but it needs fixing in contrib/pgcrypto too.
Marko Kreen
2001-11-20 15:50:53 +00:00
Peter Eisentraut
aff53b27f0
Make the yacc rules safe for parallel make. See discussion on pgsql-patches
...
and comment in src/backend/parser/Makefile for the technical details.
2001-11-16 16:32:33 +00:00
Bruce Momjian
d4337f6a7c
Read getopt() into an int, not char.
2001-11-15 18:40:52 +00:00
Bruce Momjian
d7a343d5ce
Add port number to pg_dumplo.
...
andrea gelmini
2001-11-12 17:44:14 +00:00
Bruce Momjian
149d13de74
When given oversized key, encrypt/decrypt corrupted
...
memory. This fixes it. Also a free() was missing.
marko
2001-11-08 15:56:58 +00:00
Bruce Momjian
62298f60b2
Add mention of another MySQL conversion tool.
2001-11-06 22:25:53 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
c41b6b1b9c
Fix small problem Tom Lane found with pgindent run.
2001-10-30 05:38:56 +00:00