Re: current_schemas()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: current_schemas()
Дата
Msg-id 20050705140638.GE4511@alvh.no-ip.org
обсуждение исходный текст
Ответ на current_schemas()  (Halley Pacheco de Oliveira <halleypo@yahoo.com.br>)
Список pgsql-docs
On Tue, Jul 05, 2005 at 08:14:40AM -0300, Halley Pacheco de Oliveira wrote:

> teste=# SELECT current_schemas();
> ERROR:  function current_schemas() does not exist
> HINT:  No function matches the given name and argument types. You may need to add explicit type
> casts.

alvherre=# select current_schemas(true);
   current_schemas
---------------------
 {pg_catalog,public}
(1 fila)

alvherre=# select current_schemas(false);
 current_schemas
-----------------
 {public}
(1 fila)


Function parameters are essential when determining if a function exists
or not.

alvherre=# \df current_schema*
                                 Listado de funciones
   Schema   |     Nombre      | Tipo de dato de salida | Tipos de datos de argumentos
------------+-----------------+------------------------+------------------------------
 pg_catalog | current_schema  | name                   |
 pg_catalog | current_schemas | name[]                 | boolean
(2 filas)

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
FOO MANE PADME HUM

В списке pgsql-docs по дате отправления:

Предыдущее
От: Halley Pacheco de Oliveira
Дата:
Сообщение: current_schemas()
Следующее
От: Halley Pacheco de Oliveira
Дата:
Сообщение: buffer freelist