Built-in functions - does an obect exist... - Mailing list pgsql-novice

From Loftis, Charles E
Subject Built-in functions - does an obect exist...
Date
Msg-id 25DC89BACF65D549BA045B806348C65E01AAF689@ushem201.exse01.exch.eds.com
Whole thread Raw
Responses Re: Built-in functions - does an obect exist...
List pgsql-novice
In many other db systems you can use built in functions to check to see if
an object exists in the db...

For example, in Sybase, you can use the object_id function to check to see
if an object exists...
  if object_id('some table, view, stored procedure, etc. name') is not null
     -- perform some action, like drop a stored proc
  else
     -- perform some other action
  End -- if


Does an equivalent function exist in Postgres?
Furthermore, where should I look to find the list of such built-in
functions?

pgsql-novice by date:

Previous
From: "Loftis, Charles E"
Date:
Subject: Re: selecting tables and columns
Next
From: Bruno Wolff III
Date:
Subject: Re: Built-in functions - does an obect exist...