66cd6a0fb2
Currently, contrib/oid2name doesn't bother to free() the memory that it
...
malloc()'s. This isn't too serious (because oid2name is a short-lived
utility, so the memory will soon be returned to the OS on process
termination), but I still think it's poor style.
This patch changes oid2name so that it allocates memory on the stack
where possible and free()s the remaining heap-allocated memory. The
patch also fixes a typo a comment and adds 'const' qualifiers to a few
'char *' function parameters.
Neil Conway
2002-03-05 05:54:07 +00:00
d6198ee3a5
Try to make makefile actually work ...
2002-02-25 04:16:58 +00:00
17f9913922
Fix typo in Makefile.
2002-02-25 04:08:03 +00:00
7464e7f25a
Fix typo in filename.
2002-02-25 03:59:39 +00:00
2146d8c6a0
Add integer aggregator to /contrib.
...
mlw
2002-02-25 03:45:27 +00:00
0c124c5731
Add -N option which disables updation of branches and tellers tables.
...
So there would be less contention with -N, that might be more realistic
test.
2002-02-24 00:17:57 +00:00
ad0787b2bd
I've written on like that a while ago:
...
http://webmail.postgresql.org/~petere/dbsize.html
The tarball can be rolled into contrib -- now that I think of it I don't
know why I never did that.
Never imagined this would have anything to do with that TODO item,
though.
I figured oid2name accomplished that.
Peter Eisentraut peter_e@gmx.net
2002-02-22 23:05:35 +00:00
60555bd46c
Please, apply attached patch of contrib/btree_gist to 7.2.1 and current
...
cvs.
The patch fixes memory leak during creation GiST index on timestamp
column.
Thank you.
--
Teodor Sigaev
teodor@stack.net
2002-02-22 05:47:50 +00:00
bc26fd76d9
More wording improvement.
2002-02-22 00:12:08 +00:00
581599b903
Improve wording of meaning of /contrib directory.
2002-02-22 00:10:11 +00:00
c9361a7a9c
Remove CHECKPOINT call from pgbench -- Not needed and affects performance.
2002-02-18 05:46:41 +00:00
966e6478b5
Fix flag handling of pg_upgrade.
2002-02-11 15:19:33 +00:00
8c7e1893c3
Upgrade my2pg version 1.23.
2002-02-08 14:47:56 +00:00
fe1a9c3362
Repair some problems in GIST-index contrib modules. Patch from
...
Teodor Sigaev <teodor@stack.net >.
2002-02-07 22:11:43 +00:00
a7ff4a7393
Add mention of recovery using pg_upgrade.
2002-01-31 19:13:53 +00:00
c69c25ba4d
Update HISTORY/release.sgml for Monday release.
2002-01-31 18:31:44 +00:00
7798b50c60
Remove gratuitous redefinition of inline, which should already have been
...
taken care of in pg_config.h.
2002-01-29 15:40:45 +00:00
06f08209a9
Fix typo in usage message, per Oleg.
2002-01-25 15:40:13 +00:00
85bc36158d
Enable /contrib/pg_upgrade, mention little testing.
2002-01-18 04:38:46 +00:00
eb410b6bde
Manual page improvements.
2002-01-15 05:41:55 +00:00
08147fa7da
More cleanups.
2002-01-15 05:10:57 +00:00
a73517cb8c
Keep pg_upgrade as disabled.
2002-01-15 05:03:53 +00:00
19cba1a775
More wording improvements.
2002-01-15 05:03:25 +00:00
fff981652e
More updates.
2002-01-15 04:55:26 +00:00
8e76187790
More cleanups with ideas from Peter.
2002-01-15 04:50:37 +00:00
86beaf4fa0
Add Peter's portability and option suggestions.
2002-01-15 04:05:24 +00:00
ebf57dd082
Update permissions?
2002-01-14 22:54:44 +00:00
309cbe494c
Add README file.
2002-01-14 17:45:43 +00:00
0451c09fd6
Doc improvements.
2002-01-14 17:42:42 +00:00
15ca0a502c
Add manual page to /contrib. SGML from docs.
2002-01-14 17:32:36 +00:00
92a8bc9634
Move pg_upgrade to /contrib. Still need to make Peter's portability
...
changes.
2002-01-14 17:32:07 +00:00
5c2d36c3dd
Code review for latest changes.
2002-01-11 21:27:13 +00:00
37c9346ef2
pg_resetxlog specifies log location in hex; more pg_upgrade testing
...
improvments.
2002-01-11 06:33:01 +00:00
9ab1872ef4
Have pg_resetxlog -n return zero exit status.
2002-01-10 23:46:13 +00:00
c309873680
Remove 7.1beta WAL handling from /contrib/pg_resetxlog.
2002-01-10 23:40:58 +00:00
4c0e9b5efc
Add new -l flag to set checkpoint location for /contrib/pg_resetxlog.
2002-01-10 20:09:06 +00:00
872aad61ff
Per Tom, do full reset on -x flag.
2002-01-10 18:08:29 +00:00
f6e603cffa
Add new -x XID option to /contrib/pg_resetxlog for future pg_upgrade use.
2002-01-10 17:51:52 +00:00
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
f88aa2d653
Update my2pg to version 1.22.
2002-01-07 22:36:51 +00:00
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
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
6b086de31a
Update dbase for Maarten.Boekhold.
2001-12-31 13:32:04 +00:00
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
491545fff4
Do not require iconv for dbase conversion.
2001-12-21 05:29:46 +00:00
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
eb36cdd562
Add needed libiconv link to contrib/dbase, per Christopher Kings-Lynne
2001-12-21 04:13:12 +00:00
71d641cf15
Reflect Tom's change
2001-12-20 01:56:08 +00:00
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
f9d87c66db
Fix warning
2001-12-19 18:49:24 +00:00