mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -643,9 +643,8 @@ List *i, *list;
|
||||
return the i'th element in list.
|
||||
|
||||
lconsi, ...
|
||||
There are integer versions of these: lconsi, lappendi, nthi.
|
||||
List's containing integers instead of Node pointers are used to
|
||||
hold list of relation object id's and other integer quantities.
|
||||
There are integer versions of these: lconsi, lappendi, etc.
|
||||
Also versions for OID lists: lconso, lappendo, etc.
|
||||
|
||||
You can print nodes easily inside gdb. First, to disable output
|
||||
truncation when you use the gdb print command:
|
||||
|
@ -779,10 +779,8 @@
|
||||
|
||||
<DT>lconsi, ...</DT>
|
||||
|
||||
<DD>There are integer versions of these: <I>lconsi, lappendi,
|
||||
nthi.</I> <I>List's</I> containing integers instead of Node
|
||||
pointers are used to hold list of relation object id's and
|
||||
other integer quantities.</DD>
|
||||
<DD>There are integer versions of these: <I>lconsi, lappendi</I>,
|
||||
etc. Also versions for OID lists: <I>lconso, lappendo</I>, etc.</DD>
|
||||
</DL>
|
||||
</BLOCKQUOTE>
|
||||
You can print nodes easily inside <I>gdb.</I> First, to disable
|
||||
|
Reference in New Issue
Block a user