t into an infinite loop.
     </P
></LI
><LI
><P
>      Protect against race conditions when scanning
      <TT
CLASS="STRUCTNAME"
>pg_tablespace</TT
> (Stephen Frost, Tom Lane)
     </P
><P
>      <TT
CLASS="COMMAND"
>CREATE DATABASE</TT
> and <TT
CLASS="COMMAND"
>DROP DATABASE</TT
> could
      misbehave if there were concurrent updates of
      <TT
CLASS="STRUCTNAME"
>pg_tablespace</TT
> entries.
     </P
></LI
><LI
><P
>      Prevent <TT
CLASS="COMMAND"
>DROP OWNED</TT
> from trying to drop whole databa