@@ -127,15 +127,17 @@ <H2>Operational Questions</H2>
127127< SMALL > TID</ SMALL > ?< BR >
128128< A href ="#4.18 "> 4.18</ A > ) What is the meaning of some of the terms
129129 used in PostgreSQL?< BR >
130- < A href ="#4.19 "> 4.19</ A > ) How do I tell what PostgreSQL version I
130+ < A href ="#4.19 "> 4.19</ A > ) Why do I get the error< I > "ERROR:
131+ Memory exhausted in AllocSetAlloc()?"</ I > < BR >
132+ < A href ="#4.20 "> 4.20</ A > ) How do I tell what PostgreSQL version I
131133 am running?< BR >
132- < A href ="#4.20 "> 4.20 </ A > ) My large-object operations get
134+ < A href ="#4.21 "> 4.21 </ A > ) My large-object operations get
133135< I > invalid large obj descriptor.</ I > Why?< BR >
134- < A href ="#4.21 "> 4.21 </ A > ) How do I create a column that will
136+ < A href ="#4.22 "> 4.22 </ A > ) How do I create a column that will
135137 default to the current time?< BR >
136- < A href ="#4.22 "> 4.22 </ A > ) Why are my subqueries using
138+ < A href ="#4.23 "> 4.23 </ A > ) Why are my subqueries using
137139< CODE > < SMALL > IN</ SMALL > </ CODE > so slow?< BR >
138- < A href ="#4.23 "> 4.23 </ A > ) How do I perform an outer join?< BR >
140+ < A href ="#4.24 "> 4.24 </ A > ) How do I perform an outer join?< BR >
139141
140142
141143< CENTER >
@@ -147,7 +149,7 @@ <H2>Extending PostgreSQL</H2>
147149 and functions to PostgreSQL?< BR >
148150< A href ="#5.3 "> 5.3</ A > ) How do I write a C function to return a
149151 tuple?< BR >
150- < A href ="#5.4 "> 5.4 </ A > ) I have changed a source file. Why does the
152+ < A href ="#5.4 "> 5.3 </ A > ) I have changed a source file. Why does the
151153 recompile not see the change?< BR >
152154
153155< HR >
@@ -1132,13 +1134,32 @@ <H4><A name="4.18">4.18</A>) What is the meaning of some of the
11321134< P > A list of general database terms can be found at:< A href =
11331135 "http://www.comptechnews.com/~reaster/dbdesign.html "> http://www.comptechnews.com/~reaster/dbdesign.html</ A > </ P >
11341136
1135- < H4 > < A name ="4.19 "> 4.19</ A > ) How do I tell what PostgreSQL version
1137+ < H4 > < A name ="4.19 "> 4.19</ A > ) Why do I get the error< I > "ERROR:
1138+ Memory exhausted in AllocSetAlloc()?"</ I > < BR >
1139+ </ H4 >
1140+
1141+ < P > It is possible you have run out of virtual memory on your
1142+ system, or your kernel has a low limit for certain resources. Try
1143+ this before starting the< I > postmaster:</ I > </ P >
1144+ < PRE >
1145+ ulimit -d 262144
1146+ limit datasize 256m
1147+ </ PRE >
1148+ Depending on your shell, only one of these may succeed, but it will
1149+ set your process data segment limit much higher and perhaps allow
1150+ the query to complete. This command applies to the current process,
1151+ and all subprocesses created after the command is run. If you are
1152+ having a problem with the< SMALL > SQL</ SMALL > client because the
1153+ backend is returning too much data, try it before starting the
1154+ client.
1155+
1156+ < H4 > < A name ="4.20 "> 4.20</ A > ) How do I tell what PostgreSQL version
11361157 I am running?< BR >
11371158</ H4 >
11381159
11391160< P > From< I > psql,</ I > type< CODE > select version();</ CODE > </ P >
11401161
1141- < H4 > < A name ="4.20 "> 4.20 </ A > ) My large-object operations get
1162+ < H4 > < A name ="4.21 "> 4.21 </ A > ) My large-object operations get
11421163< I > invalid large obj descriptor.</ I > Why?< BR >
11431164</ H4 >
11441165
@@ -1155,7 +1176,7 @@ <H4><A name="4.20">4.20</A>) My large-object operations get
11551176< P > If you are using a client interface like< SMALL > ODBC</ SMALL > you
11561177 may need to set< CODE > auto-commit off.</ CODE > </ P >
11571178
1158- < H4 > < A name ="4.21 "> 4.21 </ A > ) How do I create a column that will
1179+ < H4 > < A name ="4.22 "> 4.22 </ A > ) How do I create a column that will
11591180 default to the current time?< BR >
11601181</ H4 >
11611182
@@ -1165,7 +1186,7 @@ <H4><A name="4.21">4.21</A>) How do I create a column that will
11651186</ CODE >
11661187</ PRE >
11671188
1168- < H4 > < A name ="4.22 "> 4.22 </ A > ) Why are my subqueries using
1189+ < H4 > < A name ="4.23 "> 4.23 </ A > ) Why are my subqueries using
11691190< CODE > < SMALL > IN</ SMALL > </ CODE > so slow?< BR >
11701191</ H4 >
11711192
@@ -1188,7 +1209,7 @@ <H4><A name="4.22">4.22</A>) Why are my subqueries using
11881209</ PRE >
11891210 We hope to fix this limitation in a future release.
11901211
1191- < H4 > < A name ="4.23 "> 4.23 </ A > ) How do I perform an outer join?< BR >
1212+ < H4 > < A name ="4.24 "> 4.24 </ A > ) How do I perform an outer join?< BR >
11921213</ H4 >
11931214
11941215< P > PostgreSQL 7.1 and later supports outer joins using the SQL