diff options
author | Tom Lane | 2003-02-09 06:56:28 +0000 |
---|---|---|
committer | Tom Lane | 2003-02-09 06:56:28 +0000 |
commit | 39b7ec330923b5a2746720101fbd83c1dd418aea (patch) | |
tree | 42cce57b7c823f65091b5e10c434a494716e0f82 /src/include/parser/parsetree.h | |
parent | 3646ab58b435e53dabd863d11b052e03220bb964 (diff) |
Create a distinction between Lists of integers and Lists of OIDs, to get
rid of the assumption that sizeof(Oid)==sizeof(int). This is one small
step towards someday supporting 8-byte OIDs. For the moment, it doesn't
do much except get rid of a lot of unsightly casts.
Diffstat (limited to 'src/include/parser/parsetree.h')
-rw-r--r-- | src/include/parser/parsetree.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/parser/parsetree.h b/src/include/parser/parsetree.h index 170f6289813..49aa7228382 100644 --- a/src/include/parser/parsetree.h +++ b/src/include/parser/parsetree.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsetree.h,v 1.19 2002/09/04 20:31:45 momjian Exp $ + * $Id: parsetree.h,v 1.20 2003/02/09 06:56:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -26,16 +26,12 @@ /* * rt_fetch - * rt_store * - * Access and (destructively) replace rangetable entries. + * NB: this will crash and burn if handed an out-of-range RT index */ #define rt_fetch(rangetable_index, rangetable) \ ((RangeTblEntry *) nth((rangetable_index)-1, rangetable)) -#define rt_store(rangetable_index, rangetable, rt) \ - set_nth(rangetable, (rangetable_index)-1, rt) - /* * getrelid * |