Commit Graph

7859 Commits

Author SHA1 Message Date
Peter Eisentraut 1b7332fbab Fix to make output format identical on echo -n and echo \c platforms. This
had caused the test counts to be wrong on the latter group.
2000-10-03 19:37:39 +00:00
Peter Eisentraut 7c5a444f53 Treat empty connection parameters as is, in particular to enable overriding
environment variables with "nothing".  Empty host parameter indicates
Unix socket.
2000-10-03 19:16:17 +00:00
Peter Eisentraut 3189e48470 One check for sys/un.h ought to be enough. Zero checks for sys/shm.h are not. 2000-10-03 13:39:24 +00:00
Bruce Momjian 2737974085 Cleanup of fe-connect ifdef platform problem added with beos. 2000-10-03 03:39:46 +00:00
Bruce Momjian 734b1f7655 autoconf 2000-10-03 03:20:13 +00:00
Bruce Momjian e846c2bb6f Update configure.in 2000-10-03 03:20:00 +00:00
Bruce Momjian 341e8841e3 autoconf 2000-10-03 03:15:44 +00:00
Bruce Momjian 99f7c1578e Add configure.in change. 2000-10-03 03:14:53 +00:00
Bruce Momjian 87c0e623ba New diff that now covers the entire tree. Applying this gets postgresql
working on the VERY latest version of BeOS.  I'm sure there will be
alot of comments, but then if there weren't I'd be disappointed!

Thanks for your continuing efforts to get this into your tree.

Haven't bothered with the new files as they haven't changed.

BTW Peter, the compiler is "broken" about the bool define and so on.
I'm filing a bug report to try and get it addressed.  Hopefully then we
can tidy up the code a bit.

I await the replies with interest :)

David Reid
2000-10-03 03:11:26 +00:00
Peter Eisentraut de1af06287 "installcheck" doesn't need to depend on "all" since we depend on the user
to start up a postmaster anyway.
2000-10-02 22:21:21 +00:00
Peter Eisentraut 65577dc83e Mop up from caddr_t -> Datum conversion to make things extra type safe 2000-10-02 21:45:33 +00:00
Peter Eisentraut 416bbbffa3 Banish caddr_t (mostly), use Datum where appropriate. 2000-10-02 19:42:56 +00:00
Bruce Momjian a81aef7f25 Update TODO list. 2000-10-02 17:36:56 +00:00
Bruce Momjian 2c5d1f4caa autoconf 2000-10-02 17:18:50 +00:00
Bruce Momjian 7a7e0240ea Here is the first batch of files and diffs for the BeOS port. I've run into
problems with some bits of it, but when all the patches are in it'll build
and we can fix it from there :)  I've got a version that builds and runs and
that is the basis for these patches.

The first file has the new additional files that are required,
    template/beos
    backend/port/dynloader/beos.c
    backend/port/dynloader/beos.h
    include/port/beos.h
    makefiles/Makefile.beos

The second is a tarball of diffs against a few files.  I've added sys/ipc.h
to configure and config.h via configure.in and config.h.in and then started
adding the check as this file isn't needed on BeOS and having loads of
#ifdef BEOS isn't as obvious as #ifdef HAVE_SYS_IPC_H and isn't as
autconf'ish :)
Files touched are
    include/c.h
    configure.in
    include/config.h.in
    include/storage/ipc.h
    include/utils/int8.h

Let me know how these go.  I'll await a response before submitting any more.

Any problems just get in touch.

David Reid
2000-10-02 17:16:01 +00:00
Bruce Momjian 89f6443ca3 In the meaning of bug-fix, the patch is not needed. Because you
have already modified "next_insert()" in 7.0-ecpglib.  However
in the meaning of speed-up, the patch will be needed.
--
Regards,
SAKAIDA Masaaki  -- Osaka, Japan
2000-10-02 16:15:53 +00:00
Peter Eisentraut e05f15483b Communicate PGPORT and PGHOST via environment, not command line 2000-10-02 11:47:30 +00:00
Tom Lane 5ba666b848 Honor $(SHELL) when invoking pg_regress. 2000-10-02 06:07:25 +00:00
Tom Lane fc7c1fe2f1 Fix silly typo that prevented resultmap from being honored by
pg_regress.
2000-10-02 06:03:25 +00:00
Tom Lane 7215f74b89 Make default ACL be consistent --- ie, starting point for ChangeAcl
is the same as the access permissions granted when a relation's relacl
field is NULL, ie, owner=all rights, world=no rights.
2000-10-02 04:49:28 +00:00
Bruce Momjian 46cf925728 autoconf 2000-10-02 03:59:36 +00:00
Bruce Momjian 4af1d7c033 Fix configure types.h 2000-10-02 03:58:31 +00:00
Bruce Momjian b2cf67888d Add sys/types include for sockaddr test to configure 2000-10-02 03:55:15 +00:00
Bruce Momjian 439643a668 Add missing python files. 2000-10-02 03:46:24 +00:00
Bruce Momjian f36e7ff092 Update for PyGreSQL 3.0, from D'Arcy J.M. Cain 2000-10-02 03:27:33 +00:00
Peter Eisentraut 0bd84442f5 Fix quoting bug 2000-10-01 22:23:14 +00:00
Peter Eisentraut 61234c14fc Fix test order 2000-10-01 21:19:09 +00:00
Tom Lane 36786a8150 Fix nasty TRUNCATE bug reported by Darrin Ladd. RelationTruncateIndexes
would close and then re-open rel being truncated.  Depending on the
luck of the draw, the re-opened relcache entry might or might not be
at the same physical location as before.  Unfortunately, if it wasn't
then heap_truncate would crash and burn, because it still had a pointer
at the old location.  Fix is to open and then close rel in
RelationTruncateIndexes, so that rel's refcount never goes to zero
until heap_truncate is done.
2000-09-30 18:28:53 +00:00
Peter Eisentraut 0ba77c14aa Convert more charset/locale documentation to DocBook 2000-09-30 16:58:20 +00:00
Peter Eisentraut 333cbc2dab fix shell bug 2000-09-30 10:45:17 +00:00
Bruce Momjian 06c376605d Update FAQ. 2000-09-30 03:04:39 +00:00
Bruce Momjian f6a51cfa91 Update TODO list. 2000-09-30 02:20:53 +00:00
Bruce Momjian 51cc51945e autoconf 2000-09-29 22:01:56 +00:00
Bruce Momjian 469ebeefd6 Please apply the following patch to fix problems with the AIX port
and the fmgr redesign.

It makes the homebrewn dl*() functions for more recent Versions of AIX
obsolete
by using the system dl*() functions instead.

It also fixes the expected file for the horology regression test.
Please regenerate configure from configure.in, I don't have the
environment/time.

Andreas
2000-09-29 22:00:49 +00:00
Peter Eisentraut 72ad5fe15c Add `id' attributes to all `chapter' and `sect1' tags, to generate useful
names for the HTML files (e.g., not x4856.htm).
2000-09-29 20:21:34 +00:00
Tom Lane 3a94e789f5 Subselects in FROM clause, per ISO syntax: FROM (SELECT ...) [AS] alias.
(Don't forget that an alias is required.)  Views reimplemented as expanding
to subselect-in-FROM.  Grouping, aggregates, DISTINCT in views actually
work now (he says optimistically).  No UNION support in subselects/views
yet, but I have some ideas about that.  Rule-related permissions checking
moved out of rewriter and into executor.
INITDB REQUIRED!
2000-09-29 18:21:41 +00:00
Peter Eisentraut 6f64c2e54a New unified regression test driver, test/regress makefile cleanup,
add "check" and "installcheck" targets, straighten out make variable naming
of host_os, host_cpu, etc.
2000-09-29 17:17:41 +00:00
Peter Eisentraut 2a7da3f564 Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matter
either way (although the former is preferred by the Cygwin folks
themselves), but using only one seems nicer.
2000-09-29 13:53:35 +00:00
Peter Eisentraut 30826ce8e3 Enable initdb to create several levels of directories for PGDATA, if
`mkdir -p' works.
2000-09-29 13:38:02 +00:00
Peter Eisentraut 1e2eb210bc Linking with -lc or -lm crashes on Cygwin; filter out those libraries from
the LIBS variable.
2000-09-29 13:36:50 +00:00
Peter Eisentraut 52dda5ec05 Cygwin uses _sys_nerr for sys_nerr 2000-09-29 13:35:26 +00:00
Hiroshi Inoue 5f18e2183e BufferAlloc() doesn't allocate write error buffers.
Remove compiler waring(my fault).
2000-09-29 03:55:45 +00:00
Hiroshi Inoue 77df055c54 avoid database-wide restart on write error 2000-09-29 01:23:47 +00:00
Peter Eisentraut 49e75453bd Cygwin doesn't have DST before 1970 either 2000-09-28 08:53:32 +00:00
Peter Eisentraut 664ce79dd8 Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.
Update the installation instructions (formerly misnamed "FAQ"), add configure
checks for some headers rather than having users copy stubs manually (ugh!).
Use Autoconf check for exe extension.  This also avoids inheriting the value
of $(X) from the environment.
2000-09-27 15:17:57 +00:00
Bruce Momjian f5ab016923 Change with delimiters to using delimiters in psql manual page. 2000-09-27 11:56:16 +00:00
Peter Eisentraut 64610a82f2 Reset current user id to session user id during transaction abort 2000-09-27 10:41:55 +00:00
Michael Meskes 76f286b2ce - Synced preproc.y with gram.y.
- Synced keyword.c.
- Added patch by Christof Petig <christof.petig@wtal.de> to fix NOT
  FOUND problem on update/insert/delete.
2000-09-26 11:41:45 +00:00
Tatsuo Ishii e9da3dc673 Fix compile error in ecpg when enable-multibyte is on. This is due to
illegal call to pg_mbclipen() that is for backend only.  However I
have not remove the entire part of the problem, rather mark it with
#ifdef MULTIBYTE_NOTUSED since we should come back with a long range
solution someday.
2000-09-26 05:42:15 +00:00
Peter Eisentraut a279ced884 document configure --without-tk 2000-09-25 22:52:49 +00:00