TechSpider
A searchable, categorised online resourse for finding technical information and solutions to problems
Welcome! You are viewing the Database category.
Below are the PostgreSQL and sincronizar funciones en diferentes esquemas related pages
Custom Search
You can search the database for more PostgreSQL articles using the box below:
Custom Search

PostgreSQL Articles:

Hola.. este es mi primer post..alguien que me puede ayudarpor neces=
idades de dise=F1o se cuenta con "n" esquemas en postgresql 8.4 que se comp=
ortan exactamente igual (cuentan con las mismas tablas=2C funciones etc)=3B=
La idea principal es que las funciones que se desarrollen=2C sean e=
jecutadas en automaticos=2C en los esquemas almacenados en una tabla .<=
br>si alguien sabe se alguna herramienta o algunos tips les agradeceria.usando el comman=
do de la consula \iCREATE OR REPLACE FUNCTION sincroniza_fun_anuari=
os (funcion TEXT) RETURNS =3B INTEGER AS $$DECLAREsql =3B&n=
bsp=3B =3B =3B =3B =3B =3B =3B =3B =3B =
p=3B =3B =3B =3B =3B =3B =3B SELECT x FROM esquemas=
LOOP =3B =3B -- aqui recorremos los schemas que se encuentran alma=
cenados en la tabla =3B =3B =3B =3B =3B =3B&nbs=
p=3B =3B =3B =3B sql:=3D'set search_path to '||x=3B =3B&nbs=
p=3B =3B =3B =3B =3B -- para ejecutar el search_path&nb=
sp=3B =3B =3B =3B =3B =3B =3B =3B =3B =
nbsp=3B =3B =3B =3B EXECUTE '\i '||funcion=3BEND =
mi Messenger
Article list Name Date
Currently Viewing : This ArticleMario Reyna2010-02-08 21:14:08
Click Here Julio Cesar Rodriguez Dominguez 2010-02-08 23:29:48
Click Here Alvaro Herrera 2010-02-09 01:38:41


Copyright Techspider V0.81   |   Techspider Sitemap