Skip site navigation (1) Skip section navigation (2)

Re: current_schemas()

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Halley Pacheco de Oliveira <halleypo(at)yahoo(dot)com(dot)br>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: current_schemas()
Date: 2005-07-05 14:06:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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);
(1 fila)

alvherre=# select current_schemas(false);
(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]>)

In response to

pgsql-docs by date

Next:From: Halley Pacheco de OliveiraDate: 2005-07-07 10:29:33
Subject: buffer freelist
Previous:From: Halley Pacheco de OliveiraDate: 2005-07-05 11:14:40
Subject: current_schemas()

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group