Commit Graph

10282 Commits

Author SHA1 Message Date
Bruce Momjian d31909be6c Fix structure member name from previous patch. 1996-10-13 17:13:58 +00:00
Bruce Momjian abb1b3e770 I checked the alter table code, and started suspecting the relation
cache.  I found if I manually added a line to flush the whole relation
cache, the assert error disappeared.  Looking through the code, I found
that the relation cache is flushed at the end of each query if the
reference count is zero for the relation.  However, printf's showed that
the rd_relcnt(reference count) for the accessed query was not returning
to zero after each query.

It turns out the parser was doing a heap_ropen in parser/analyze.c to
get information about the table's columns, but was not doing a
heap_close.

This was causing the query after the ALTER TABLE ADD to see the old
table structure, and the executor's assert was reporting the problem.
1996-10-13 04:26:39 +00:00
Bryan Henderson 6d70d550e6 Prepare for new host-based authentication 1996-10-11 09:12:18 +00:00
Marc G. Fournier 81cda65f74 Add a MIPS/NetBSD port... 1996-10-11 03:56:41 +00:00
Bruce Momjian c306d06cf9 Change sh-style comments to C comments. 1996-10-08 22:23:19 +00:00
Marc G. Fournier d6dfbecb07 Moved the following definitions to include/config.h from Makefile.global:
NAMEDATALEN
	OIDDATALEN
	EUROPEAN_DATES
	HBA
	DEADLOCK_TIMEOUT
	OPENLINK_PATCHES
	NULL_PATCH
	ARRAY_PATCH

Attempting to document and centralize as many of the "defines" as possible...
kinda useless to have defines if nobody knows they exist, eh?
1996-10-08 00:09:05 +00:00
Marc G. Fournier 87bb8daab8 Move the NAMEDATALEN/OIDNAMELEN defines to include/config.h 1996-10-07 23:57:01 +00:00
Marc G. Fournier 50e708ef88 Stylistic cleanups... 1996-10-05 20:39:05 +00:00
Bruce Momjian 8999ce097f Add comment about possible zero value. 1996-10-05 20:33:45 +00:00
Bruce Momjian efac791640 Change shell-style comments to C-style. 1996-10-05 20:33:10 +00:00
Marc G. Fournier ff25e44d03 Moved the define of SIGNAL_ARGS that D'Arcy just created to config.h so that
hopefully this sort of thing can eventually be determined using configure?
1996-10-04 20:20:57 +00:00
Marc G. Fournier f8009e1786 The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGS 1996-10-04 20:17:11 +00:00
Bruce Momjian dbc268ca15 Fixed file to properly do SEMUN for BSDI.
Grouped some PORTNAME's for SEMUN.
1996-10-03 01:14:37 +00:00
Marc G. Fournier 0fadfc00ad Added NEED_UNION_SEMUN to config.h 1996-10-02 20:42:20 +00:00
Marc G. Fournier 22ef6d06fc Moved whether to define union semun from include/storage/ipc.h to
a define in include/config.h
1996-10-02 20:40:17 +00:00
Marc G. Fournier 3bf2b361f0 Date: Sun, 22 Sep 1996 13:47:39 -0400 (EDT)
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Postgres95-development <pg95-dev@ki.net>
Subject: [PG95-DEV] 2.0 patch for fastgetattr
1996-09-23 08:36:39 +00:00
Marc G. Fournier 7efc8ef1a1 |For starters, here's a small patch that removes a compiler warning in that
|regex stuff on Linux.
|
|--
|Bryan Henderson                                    Phone 408-227-6803
|San Jose, California
|
1996-09-21 06:31:13 +00:00
Marc G. Fournier 985acb8ea0 Add the regex include files to the repository...
In my cvs source tree, tihs directory existed, which is why it compiled
on my system, but nobody elses...
1996-09-20 05:29:31 +00:00
Marc G. Fournier 33dccad831 enable PQ_NOTIFY_PATCH in config.h 1996-09-16 05:52:51 +00:00
Marc G. Fournier df6ca83a5b Enable FUNC_UTIL_PATCH by default 1996-09-16 05:39:04 +00:00
Marc G. Fournier 475493130d |Subject: Postgres patch: Assert attribute type match
|
|Here's a patch for Version 2 only.  It just adds an Assert to catch some
|inconsistencies in the catalog classes.
|
|--
|Bryan Henderson                                    Phone 408-227-6803
|San Jose, California
|
1996-09-16 05:33:20 +00:00
Marc G. Fournier c5dd292007 Add use of INDEXSCAN_PATCH to config.h instead of putting it in Makefile.global 1996-09-10 06:51:28 +00:00
Marc G. Fournier 870be9fa8e Clean up th ecompile process by centralizing the include files
- code compile tested, but due to a yet unresolved problem with
          parse.h's creation, compile not completed...
1996-08-28 07:27:54 +00:00
Marc G. Fournier 1054097464 More cleanups of the include files
- centralizing to simplify the -I's required to compile
1996-08-28 01:59:28 +00:00
Marc G. Fournier ad5a3141a2 c.h is included in postgres.h already 1996-08-28 01:23:59 +00:00
Marc G. Fournier a88b72ea39 #ifndef the include file like the rest, so that it doesn't get pulled
in twice...
1996-08-27 22:09:10 +00:00
Marc G. Fournier 54223de000 Oops, win32 does have one more thing in its machine.h...move that
define to config.h
1996-08-27 22:07:59 +00:00
Marc G. Fournier 3a606407c7 We have a machine.h for each platform just because of BLCKSZ, and every
platform with a machine.h has the same BLCKSZ?

Consolidate machine.h into config.h
1996-08-27 22:06:30 +00:00
Marc G. Fournier 5a8820efcd Moved from backend/access to include/access 1996-08-27 21:50:29 +00:00
Marc G. Fournier e733befeed One file at a time, one directory after the other...this is going
to be one helluva chore to clean up...
1996-08-27 07:30:55 +00:00
Marc G. Fournier 849292a188 first attempt at centralizing config information for ports 1996-08-27 06:56:08 +00:00
Marc G. Fournier 1da12ffb12 Its a start... 1996-08-27 06:14:29 +00:00