Bruce Momjian
858a3b570a
New CIDR type and fixed INET type, from D'Arcy.
1998-10-21 16:06:50 +00:00
Bruce Momjian
89f01cd92f
Add RIP notice for Paul.
1998-10-21 04:25:25 +00:00
Bruce Momjian
f8042120b6
INET fix from D'Arcy.
1998-10-21 02:48:22 +00:00
Bruce Momjian
a824add49a
Remove unused INET functions for D'Arcy.
1998-10-20 23:03:20 +00:00
Bruce Momjian
d7fc00c20d
Fix for rules system from Jan.
1998-10-20 17:21:44 +00:00
Bruce Momjian
6e13e0c684
cleanup of keywords.c
1998-10-18 23:30:17 +00:00
Bruce Momjian
07ed634c18
Resort keywords for Jan.
1998-10-18 23:29:27 +00:00
Bruce Momjian
71a5da47d2
Disable inet.
1998-10-17 04:08:40 +00:00
Bruce Momjian
0c430306fe
Re-enable inet code.
1998-10-17 03:59:14 +00:00
Bruce Momjian
8fa2742ddf
The problem is that read_pg_options needs DataDir to read its file but
...
DataDir is set after read_pg_options if postgres is called
interactively. If postgres is forked by postgres DataDir is read from
the PGDATA enviromnent variable set by the postmaster and this explains
while the bug disappears. I have written this patch but I don't like
it. Any better idea?
Massimo Dal Zotto
1998-10-16 06:05:18 +00:00
Thomas G. Lockhart
624eb9ee24
Allow auto-detection of cpp and required flags.
1998-10-14 16:06:14 +00:00
Thomas G. Lockhart
b48edd74d1
Make genbki.sh a configureable shell program to allow auto-detection
...
of the proper cpp program.
1998-10-14 16:05:01 +00:00
Thomas G. Lockhart
56792f3729
Allow TIMESTAMP as a column name or general identifier.
...
timestamp had become a token a while ago, but had been omitted from the
keywords.c until recently. This uncovered the omission in the ColId decl.
1998-10-14 15:57:25 +00:00
Bruce Momjian
8cec4cf91b
New QUERY_LIMIT set command.
1998-10-14 05:10:12 +00:00
Marc G. Fournier
4fff1dada7
From: Peter Gucwa <pg@softcomputer.com>
...
Here are patches needed to complie under AIX 4.2.
I changed configure.in, pqcomm.c, config.h.in, and fe-connect.c.
Also I had to install flex because lex did not want to translate pgc.l.
1998-10-13 20:44:49 +00:00
Marc G. Fournier
6edea913be
This is plain wrong, but check to see if DataDir was set *before* running
...
read_pg_options ... read_pg_options should probably be moved to after the
getopt() instead?
1998-10-13 20:05:44 +00:00
Marc G. Fournier
37f90d82ab
case statement in select call was missing a break...
1998-10-13 19:51:50 +00:00
Marc G. Fournier
cd3a8e232c
change configure so that if postgresql isn't being installed as root,
...
do not configure in the perl5 interface.
the perl5 interface needs to be installed under /usr/local/lib/perl5/*, which
is generally owned by root. This allows a non-root build/install with the
only root requirement being the make/install of hte perl5 stuff...
1998-10-13 17:26:50 +00:00
Bruce Momjian
a643d97f29
Fix for inet from Tom H.
1998-10-12 15:56:34 +00:00
Bruce Momjian
b1f3293b8b
Fix for version.c warning.
1998-10-12 05:09:55 +00:00
Bruce Momjian
eb3e640ea2
New INET functions from D'Arcy J.M. Cain
1998-10-12 04:07:53 +00:00
Bruce Momjian
377b5fa3a4
Fix for inet_net_pton() from Tom.
1998-10-12 01:30:26 +00:00
Bruce Momjian
beac8c1c46
Fix for vacuum and cache use. Fix for BSDI 4.0.
1998-10-12 00:53:42 +00:00
Bruce Momjian
6799af7d80
Reverse out vacuum change.
1998-10-09 21:31:34 +00:00
Bruce Momjian
2ac3173d75
major/minor shared name cleanup
1998-10-09 21:28:50 +00:00
Bruce Momjian
1483456418
Fix for version() string overwrite.
1998-10-09 16:42:32 +00:00
Thomas G. Lockhart
d12d4c78e5
Add wildcard asterisk to the UNLISTEN syntax.
1998-10-09 07:06:37 +00:00
Bruce Momjian
af45dab6d7
Fix for BSDI shared libraries.
1998-10-09 03:08:00 +00:00
Tom Lane
5524a85172
Clean up minor gcc warning about lack of reset_r_plans prototype.
1998-10-08 23:50:28 +00:00
Bruce Momjian
681343ab6c
No need compile command/version.c anymore.
1998-10-08 18:37:14 +00:00
Bruce Momjian
173c555948
Make functions static or ifdef NOT_USED. Prevent pg_version creation.
1998-10-08 18:30:52 +00:00
Bruce Momjian
deaaf96975
Fix for INET type addition.
1998-10-08 02:08:47 +00:00
Bruce Momjian
9042e9d757
Cleanup for snprintf for long long's.
1998-10-08 00:34:47 +00:00
Bruce Momjian
8849655d24
I agree. I think, though, that the best argument presented in the
...
debate was from Paul Vixie, who wanted INET to be the name covering
both IPV4 and IPV6. The following kit makes the needed changes:
Tom Ivar Helbekkmo
1998-10-08 00:19:47 +00:00
Bruce Momjian
30debec6e5
Hello!
...
Here are two new patches for the Win32 support.
1) The patch based on the one from Hiroshi Inoue [Inoue@tpf.co.jp ], to
load
Winsock.dll from libpq.dll.
2) A patch for psql.c to remove the call to WSAStartup(), since it is
not
required when it's done in libpq.dll.
I'm still looking for the possibility of having a crypt() function in
libpq.dll too, the same way getopt was included. Any chance of getting
this
before 6.4, or should we wait for the next one?
//Magnus
1998-10-08 00:10:49 +00:00
Bruce Momjian
cb4292ea64
vacuum cleanups
1998-10-07 22:31:50 +00:00
Bruce Momjian
9549a8cd7d
Fix snprintf.c for machines that don't have long long, like some Irix.
1998-10-07 17:12:52 +00:00
Bruce Momjian
3e66e2b17b
make lock variable only used with fcntl
1998-10-07 03:45:12 +00:00
Bruce Momjian
803204bd1e
Playing around with pg_dump for a while resulted in some
...
fixes, enhancements and some found bugs not yet fixed. After
all I was able to get useful results when dumping/reloading
the regression database.
Jan
1998-10-06 22:14:21 +00:00
Bruce Momjian
237e0a6306
Fix for double free from Tatsuo Ishii
1998-10-06 03:55:43 +00:00
Bruce Momjian
e1ebac319d
Here are the patches against the current source tree. I have run the
...
regression test on a FreeBSD box with both non-MULTIBYTE and
MULTIBYTE-enabled, and confirmed that the results are same.
However I do not tested on PCs(I don't have access to win). Please let
me know if the patches break anything on PCs.
Also please note that the patch for varchar.c is a fix for a nasty bug
of char(n) types that I introduced and I believe at least this should
be applied.
Tatsuo Ishii
1998-10-06 03:02:29 +00:00
Tom Lane
c77a29a14e
Substantial rewrite of async.c to avoid problems with non-reentrant stdio
...
and possibly other problems. Minor changes in xact.c and postgres.c's
main loop to support new handling of async NOTIFY.
1998-10-06 02:40:09 +00:00
Tom Lane
9e23ab9b5c
Add configure test to make sure fcntl(SETLK) is available,
...
and make backend/libpq/pqcomm.c only try to lock the socket file when
the call exists. Also, change open-RDONLY to open-WRONLY; at least
on my platform, you can't get a write lock on a file you didn't open
for writing.
1998-10-06 02:31:42 +00:00
Thomas G. Lockhart
86234a0965
Fix up warning and error messages to use single-quotes around strings.
1998-10-05 02:49:36 +00:00
Thomas G. Lockhart
60ed8bbe75
Fix up warning and error messages to use single-quotes aroun strings.
1998-10-05 02:48:49 +00:00
Tom Lane
280acf0904
hash.h's use of BSHIFT conflicts with <sys/param.h> on my
...
system. Finally got tired of looking at the compiler warning messages.
BSHIFT isn't all that useful, so I just took out the macro.
1998-10-04 20:19:08 +00:00
Bruce Momjian
10d987c709
Add includes for prototypes for new IP type.
1998-10-04 16:24:32 +00:00
Bruce Momjian
a593107d9e
Add prototype include to inet types.
1998-10-04 15:35:12 +00:00
Bruce Momjian
f5a219204b
Remove u_int32_t
1998-10-04 15:31:09 +00:00
Bruce Momjian
3f8bc47d6a
cnf'ify cleanup
1998-10-04 03:30:56 +00:00