Built-in functions - does an obect exist...

Поиск
Список
Период
Сортировка
От Loftis, Charles E
Тема Built-in functions - does an obect exist...
Дата
Msg-id 25DC89BACF65D549BA045B806348C65E01AAF689@ushem201.exse01.exch.eds.com
обсуждение исходный текст
Ответы Re: Built-in functions - does an obect exist...  (Bruno Wolff III <bruno@wolff.to>)
Список 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 по дате отправления:

Предыдущее
От: "Loftis, Charles E"
Дата:
Сообщение: Re: selecting tables and columns
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Built-in functions - does an obect exist...