- 23 Feb, 1998 1 commit
-
-
Marc G. Fournier authored
The diff looks so simple and easy. But to find it wasn't fun. It must have been there for a long time. What happened: When a tuple in one of some central catalogs was updated, the referenced relation got flushed, so it would be reopened on the next access (to reflect new triggers, rules and table structure changes into the relation cache). Some data (the tupleDescriptor e.g.) is used in the system cache too. So when a relation is subject to the system cache, this must know too that a cached system relation got flushed because the tupleDesc data gets freed during the flush! For the GRANT/REVOKE on pg_class it was slightly different. There is some local data in inval.c that gets initialized on the first invalidation of a tuple in some central catalogs. This needs a SysCache lookup in pg_class. But when the first of all commands is a GRANT on pg_class, exactly the needed tuple is the one actually invalidated. So I added little code snippets that the initialization of the local variables in inval.c will already happen during InitPostgres().
-
- 29 Jan, 1998 1 commit
-
-
Marc G. Fournier authored
Attached is the patch to fix the warning messages from my code. I also fixed one which wasn't my code. Apart from the usual warnings about the bison/yacc generated code I only have one other warning message. This is in gramm.y around line 2234. I wasn't sure of the fix. I've also replaced all the calls to free() in gramm.y to calls to pfree(). Without these I was getting backend crashes with GRANT. This might already have been fixed.
-
- 20 Dec, 1997 1 commit
-
-
Marc G. Fournier authored
-
- 24 Nov, 1997 1 commit
-
-
Bruce Momjian authored
-
- 18 Nov, 1997 1 commit
-
-
Vadim B. Mikheev authored
-
- 17 Nov, 1997 1 commit
-
-
Marc G. Fournier authored
From: Bryan Henderson <bryanh@giraffe.netgate.net>
-
- 10 Nov, 1997 1 commit
-
-
Thomas G. Lockhart authored
-
- 07 Nov, 1997 2 commits
-
-
Bruce Momjian authored
-
Thomas G. Lockhart authored
-
- 08 Sep, 1997 1 commit
-
-
Bruce Momjian authored
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
-
- 07 Sep, 1997 1 commit
-
-
Bruce Momjian authored
-
- 27 Aug, 1997 1 commit
-
-
Bruce Momjian authored
-
- 19 Aug, 1997 1 commit
-
-
Bruce Momjian authored
-
- 12 Aug, 1997 1 commit
-
-
Bruce Momjian authored
-
- 24 Jul, 1997 1 commit
-
-
Bruce Momjian authored
Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
-
- 14 Feb, 1997 1 commit
-
-
Bruce Momjian authored
-
- 08 Jan, 1997 1 commit
-
-
Bryan Henderson authored
-
- 12 Nov, 1996 1 commit
-
-
Bryan Henderson authored
-
- 08 Nov, 1996 1 commit
-
-
Bruce Momjian authored
-
- 06 Nov, 1996 1 commit
-
-
Marc G. Fournier authored
-
- 31 Oct, 1996 1 commit
-
-
Bruce Momjian authored
-
- 27 Aug, 1996 1 commit
-
-
Marc G. Fournier authored
-
- 09 Jul, 1996 1 commit
-
-
Marc G. Fournier authored
-