Error de funciones en Postgresql 8

From: gabriela lópez <gabydhi(at)hotmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Error de funciones en Postgresql 8
Date: 2005-08-18 20:38:37
Message-ID: BAY12-F208D4946C638AAA3E74B3AB7B20@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hola a todos!!!::
Ya pude solucionar mi problema!, y lo subo aqui para contribuir con el foro.
Les agradezco su atencion.

CREATE OR REPLACE FUNCTION sp_nuevoinicio(text, text)
RETURNS void AS
$BODY$
begin
execute 'CREATE USER ' || quote_ident($1) || ' WITH PASSWORD ''' ||
quote_ident($2) || ''' VALID UNTIL ''infinity''';
execute 'ALTER GROUP ' || quote_ident('AW') ||' ADD USER ' ||
quote_ident($1);
return;
end$BODY$
LANGUAGE 'plpgsql' VOLATILE;
ALTER FUNCTION sp_nuevoinicio(text, text) OWNER TO "Administrador";

_________________________________________________________________
Platica con tus amigos en linea con T1msn Messenger
http://messenger.t1msn.com.mx/

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Abdiel Bernal H. 2005-08-18 20:38:51 pgSQL 8
Previous Message proves_es@yahoo.es 2005-08-18 20:16:12 Re: SuSe o Mandrake? para postgres