[pgsql-es-ayuda] Lanzamiento oficial de PostgreSQL 9.3

2013-09-09 Por tema Rafael Martinez
usuario La nota de prensa oficial se puede consultar en: http://www.postgresql.org/about/press/presskit93 http://www.postgresql.org/about/press/presskit93/es/ A disfrutar de esta nueva versión. - -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public

Re: [pgsql-es-ayuda] Leer una tabla en Oracle desde Postgres

2012-02-04 Por tema Rafael Martinez
, esta operacion la debo repetir 1 vez por hora Que me recomienda usar para hacer esta tarea? lo ven factible? Hola Con postgreSQL 9.1 y SQL/MED tienes oracle_fdw para acceder a datos en una base Oracle desde postgreSQL. http://pgxn.org/dist/oracle_fdw/ - -- Rafael Martinez Guerrero Center

Re: [pgsql-es-ayuda] Problemas con PostgreSQL 9.1.2

2011-12-22 Por tema Rafael Martinez
? Hola Tienen por casualidad tus tablas columnas INET con indices asociados? - -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG

Re: [pgsql-es-ayuda] pgcrypto

2011-12-06 Por tema Rafael Martinez
lo primero que tienes que hacer es arreglar y desinstalar lo que has hecho y volver a instalar de la manera correcta. Mas informacion: http://www.postgresql.org/docs/9.1/interactive/sql-createextension.html regards, - -- Rafael Martinez Guerrero Center for Information Technology University

Re: [pgsql-es-ayuda] consulta función

2011-11-22 Por tema Rafael Martinez
que definir un nuevo tipo (TYPE) [1] con VARCHAR(255),INTEGER y cambiar la definicion de la funcion para que devuelva un SETOF de este tipo y no de la tabla tabla1. [1] http://www.postgresql.org/docs/9.1/interactive/sql-createtype.html - -- Rafael Martinez Guerrero Center for Information

Re: [pgsql-es-ayuda] PITR exclusivo

2011-10-10 Por tema Rafael Martinez
- -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [pgsql-es-ayuda] shared_buffers

2011-05-09 Por tema Rafael Martinez
parametros del kernel para PostgreSQL http://www.postgresql.org.es/node/229 -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ signature.asc Description: This is a digitally signed message part

Re: [pgsql-es-ayuda] Funciones ventana

2011-04-18 Por tema Rafael Martinez
sacar las filas con media100: SELECT * FROM ( SELECT marea, lance, fraccion, avg(talla) OVER(PARTITION BY marea,lance,fraccion) AS media FROM bio ) AS medias WHERE media 100; regards, - -- Rafael Martinez Guerrero Center for Information Technology University

Re: [pgsql-es-ayuda] error en ejecucion de trigger

2011-04-18 Por tema Rafael Martinez
por disparadores que se ejecutan una sola vez per comando SQL (statement-level) tienen que devolver siempre NULL. Mas información en: http://www.postgresql.org.es/node/301 -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no

Re: [pgsql-es-ayuda] Plan de Ejecucion

2011-03-30 Por tema Rafael Martinez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 star trek wrote: pero a parte necesitaria informacion sobre algun sitio que explique como hacer los trigger's. Hola Aqui tienes una introduccion: http://www.postgresql.org.es/node/301 http://www.postgresql.org.es/node/297 - -- Rafael Martinez

Re: [pgsql-es-ayuda] Problemas con COPY

2011-03-24 Por tema Rafael Martinez
pg_settings WHERE NOT source='default' AND NOT name IN ('DateStyle','lc_messages','lc_monetary','lc_numeric','lc_time', 'lc_collate','lc_ctype','TimeZone','timezone_abbreviations', 'default_text_search_config','application_name'); - -- Rafael Martinez Guerrero Center for Information Technology

Re: [pgsql-es-ayuda] Obtener el nombre del ejecutable desde donde se conectan

2011-03-23 Por tema Rafael Martinez
la base de datos: http://www.postgresql.org/docs/9.0/interactive/libpq-connect.html#LIBPQ-CONNECT-APPLICATION-NAME - -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [pgsql-es-ayuda] Consulta sobre pg_hba.conf

2011-03-09 Por tema Rafael Martinez
una netmask 255.255.255.255. -- Rafael Martinez Guerrero Center for Information Technology University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ signature.asc Description: This is a digitally signed message part

Re: [pgsql-es-ayuda] convertir fecha a interval definido

2011-02-11 Por tema Rafael Martinez
exacto de segundos en el intervalo definido. Este comando retorna el numero de segundos exactos: SELECT EXTRACT(EPOCH FROM('2011-02-10 15:56:39'::timestamp - '2011-02-02 15:56:39'::timestamp)::interval); - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] convertir fecha a interval definido

2011-02-10 Por tema Rafael Martinez
') de que manera se podria hacer?? Usa EXTRACT(EPOCH FROM INTERVAL). Te quedaria asi: select EXTRACT(EPOCH FROM('2011-02-10 15:56:39'::timestamp - '2011-02-02 15:56:39'::timestamp)::interval); Mas informacion en: http://www.postgresql.org/docs/current/interactive/functions-datetime.html -- Rafael

Re: [pgsql-es-ayuda] Controlador JDBC pg 9

2011-02-09 Por tema Rafael Martinez
alguna experiencia (buena o mala de su uso). Saludos. Yo he utilizado jdbc4 con postgres-9 y java 1.6 y ha funcionado sin problemas. La version que he utilizado es 9.0-801 JDBC 4 y la puedes conseguir en http://jdbc.postgresql.org/download.html - -- Rafael Martinez Guerrero Center

Re: [pgsql-es-ayuda] Problemas para Levantar la Base de Datos (SHHMAX)

2010-12-28 Por tema Rafael Martinez
On Tue, 2010-12-28 at 10:23 -0500, Jaime Giraldo wrote: Hola Ramón, Hay documentos de Tunning postgres con el SHMMAX si buscas en el histórico encontrarás bastante. [.] http://www.postgresql.org.es/node/229 -- Rafael Martinez University of Oslo signature.asc Description

Re: [pgsql-es-ayuda] PgDay 2011

2010-12-21 Por tema Rafael Martinez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Milton Labanda wrote: Disculpen que pregunte esto: Alguien va a asistir al PgDay en Cuba el otro año? Yo voy a dar una charla sobre PostgreSQL y seguridad en general. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information

Re: [pgsql-es-ayuda] Problemas a la hora de cargar archivos WAL

2010-10-20 Por tema Rafael Martinez
distribucion, que utiliza diferentes directorios que en el articulo. Tendras o que ajustar los directorios utilizados en el articulo a los de tu sistema, o seguir el articulo al pie de la letra. Un saludo - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] Directorio de datos

2010-10-18 Por tema Rafael Martinez
/data/pgsql-9.0/data/base/16394/ Un saludo - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway http://www.postgresql.org.es/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux

Re: [pgsql-es-ayuda] Conexiones SSL

2010-10-18 Por tema Rafael Martinez
forma de agregar a la instalación esta opción Hola Consulta este articulo: http://www.postgresql-es.org/node/384 - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway http://www.postgresql.org.es/ -BEGIN PGP SIGNATURE

Re: [pgsql-es-ayuda] Conexiones seguras con SSL

2010-09-23 Por tema Rafael Martinez
- -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkybQKoACgkQBhuKQurGihSXewCfW9Uu1/ztBKpW6rMSAipS93hE

Re: [pgsql-es-ayuda] Activar SSL

2010-08-30 Por tema Rafael Martinez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Javier Fritz Aliste wrote: Hola. Necesito incrementar la seguridad de mis conexiones PostgreSQL, para ello me gustaria activar SSL. Donde puedo encontrar un how-to para activar esto. http://www.postgresql-es.org/node/384 - -- Rafael

Re: [pgsql-es-ayuda] velocidad en postgres

2010-07-09 Por tema Rafael Martinez
informacion que se necesita cuando se intenta solucionar un problema de rendimiento: http://www.postgresql-es.org/node/329 Un saludo - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael

Re: [pgsql-es-ayuda] Rv: Modificar tamaño de pg_xlog

2010-06-04 Por tema Rafael Martinez
ficheros WAL que se generan en este directorio? - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG

[pgsql-es-ayuda] [OT] Terremoto en Chile

2010-02-27 Por tema Rafael Martinez
Hola Aunque es totalmente offtopic, quiero aprovechar este mensaje para mandar mi apoyo moral a todos los usuarios chilenos de la lista española de PostgreSQL. Espero sinceramente volver a leeros pronto por aqui y que los efectos de esta tragedia no os este afectando mucho. Un saludo -- Rafael

Re: [pgsql-es-ayuda] Charla sobre seguridad en PostgreSQL !!!!!

2010-02-01 Por tema Rafael Martinez
informacion se encuentra de forma general en el documento de IBM. Un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 2: puedes desuscribirte de todas las listas

Re: [pgsql-es-ayuda] SOT: Mejor estrategia para realizar copias de seguridad de BD PostgrSQL

2009-12-09 Por tema Rafael Martinez
completos de las BD hasta el momento y partir de ese volcado comenzar a generar el fichero .wal? ¿donde encuentro documentación relacionada al tema de habilitar el fichero .wal? http://www.postgresql-es.org/node/238 - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology

Re: [pgsql-es-ayuda] Problema con Funcion Llamada por Trigger

2009-11-26 Por tema Rafael Martinez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge Jacques wrote: Hola, beun día Tengo un problema con una función, que al ejecutarse por un Trigger devuelve NULL y no encuentro la razón. Hola ¿Puedes poner un ejemplo del comando INSERT que ejecutas? - -- Rafael Martinez

Re: [pgsql-es-ayuda] Como aumenta el performance de Postgres

2009-11-26 Por tema Rafael Martinez
sobre tu base? vacuum analyze? - a grandes rasgos qué hace tu función? podrias copiarla? Y un 'EXPLAIN comando' del comando que dura 7 dias. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http

Re: [pgsql-es-ayuda] No me funciona la base de datos

2009-11-23 Por tema Rafael Martinez
. Suerte y ya contaras. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 3: Si encontraste la respuesta a tu problema, publícala, otros te lo agradecerán

Re: [pgsql-es-ayuda] Problema con shared buffers and SHMMAX

2009-11-11 Por tema Rafael Martinez
No falta decir que con 24GB de memoria tienes que instalar un SO de 64bit para que PostgreSQL pueda utilizar mas de 3GB de memoria. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael

Re: [pgsql-es-ayuda] dblink sin clave

2009-11-08 Por tema Rafael Martinez
puedo extraer a través de funciones. Alguna posibilidad de que utilice el mismo usuario/clave de la sesión activa? Hola Utiliza el fichero .pgpass Mas informacion en: http://www.postgresql.org/docs/current/static/libpq-pgpass.html - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center

Re: [pgsql-es-ayuda] Particionamiento de Tablas

2009-10-15 Por tema Rafael Martinez
shared_buffer. Ya contaras. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.7 (GNU/Linux

Re: [pgsql-es-ayuda] Usar varias BDs o una sola?

2009-10-15 Por tema Rafael Martinez
, tolerante a fallos y que pueda hacer frente al crecimiento del mismo en el futuro. Ya contaras. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version

Re: [pgsql-es-ayuda] Particionamiento de Tablas

2009-10-15 Por tema Rafael Martinez
/interactive/ddl-partitioning.html#DDL-PARTITIONING-CAVEATS De todas maneras, 40GB de datos no son muchos datos y en teoria no deberias de tener problemas sin usar particionamiento. Has visto si los JOIN que estas realizando estan optimizados? - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-13 Por tema Rafael Martinez
como si tuviese una coma despues del No. La interprete como que si tenias un OS de 64bit. Como Jose dice, en un sistema de 32bit olvidate de tener procesos mayores de 3GB, independientemente del kernel que tengas. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-13 Por tema Rafael Martinez
Edwin Quijada wrote: Entonces , necesariamnete debo moverme a 64 bits? Lo que no se es si mi server soportara ese kernel? ¿Que CPU tiene tu servidor? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway -- TIP 10: no uses HTML

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-13 Por tema Rafael Martinez
Edwin Quijada wrote: Pero si el SO reconoce los 16GB de RAM como puede solo redireccionar 3.6 Aqui tienes una explicacion del tema: http://es.wikipedia.org/wiki/Extensión_de_dirección_física -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-12 Por tema Rafael Martinez
operativo de 64bit. Yo tengo instalaciones de postgres en maquinas de 64bit, utilizando el mas de 3GB sin problemas. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-12 Por tema Rafael Martinez
shared memory size overflows size_t ¿Cual es el valor de SHMALL? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway -- TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo

Re: [pgsql-es-ayuda] Postgres con 16GB de RAM

2009-10-12 Por tema Rafael Martinez
? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway -- TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo

Re: [pgsql-es-ayuda] Problemas de Performance con Postgres

2009-10-12 Por tema Rafael Martinez
de rendimiento http://www.postgresql-es.org/node/329 -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway -- TIP 4: No hagas 'kill -9' a postmaster

Re: [pgsql-es-ayuda] Crear claves aleatorias

2009-10-08 Por tema Rafael Martinez
plpgsql; - Ejemplo: SELECT generate_password(8); generate_password - --- r58R1N=Z (1 row) - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway

Re: [pgsql-es-ayuda] OFF TOPIC Recomendación de una buena lista para PHP muy transitada

2009-10-02 Por tema Rafael Martinez
respuestas a mis dudas en el tiempo menor posible. Me puedan dar alguna sugerencia? php...@lists.php.net ? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 4: No hagas

Re: [pgsql-es-ayuda] Notify/listen

2009-10-01 Por tema Rafael Martinez
. No pertenece ahí. Lo que debería hacer es publicar un artículo con toda la explicación y agregando este programa a él. Si te decides a publicarlo, PostgreSQL-es.org esta a tu disposicion ;-) -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] fallo en el server Out of Memory

2009-09-29 Por tema Rafael Martinez
datos de nuevo y mientras que ves los mensajes de ... en modo de recuperacion? Tambien deberias de averiguar porque te has quedado sin memoria libre y cuanta memoria libre tienes cuando arrancas postgres de nuevo. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology

Re: [pgsql-es-ayuda] migración y join de tablas

2009-09-24 Por tema Rafael Martinez
/2008' AND a.oficina=841; - - Que valor tienes en el parametro default_statistics?¿Puedes probar con el valor 100? - - Has ejecutado 'VACUUM VERBOSE ANALYZE' o 'ANALYZE VERBOSE' despues de cambiar default_statistics? Esto es muy importante. Ya contaras - -- Rafael Martinez, r.m.guerr

Re: [pgsql-es-ayuda] migración y join de tablas

2009-09-24 Por tema Rafael Martinez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafael Martinez wrote: SELECT a.*,b.* FROM cabecera a INNER JOIN detalles b ON(a.id=b.id AND a.oficina=b.oficina) WHERE a.fecha='03/03/2008' AND a.oficina=841; - Que valor tienes en el parametro default_statistics?¿Puedes probar con el valor

Re: [pgsql-es-ayuda] Problemas de concurrencia?

2009-09-18 Por tema Rafael Martinez
- -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFKs0y3BhuKQurGihQRAnchAJ0UX3gFsNzXGgEe8H1xVl2yKjz6vgCfaUS0

Re: [pgsql-es-ayuda] Problemas de concurrencia?

2009-09-18 Por tema Rafael Martinez
python tienes en cuenta que los valores a insertar no tienen caracteres que necesiten ser escapados, especialmente la comilla simple ('). Creo que este fallo tambien daria lugar al mismo mensaje de error. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] Problemas de concurrencia?

2009-09-18 Por tema Rafael Martinez
en la tupla no son iguales al resto de datos de la tupla que se ha insertado previamente, vas a perder los datos del segundo insert si ignoras el error en python. - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key

Re: [pgsql-es-ayuda] Rendimiento de postgres

2009-09-15 Por tema Rafael Martinez
PostgreSQL no pueda con la carga. Un buen documento para empezar que te puedes leer es Identificando problemas de rendimiento, en esta direccion: http://www.postgresql-es.org/node/329 -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway

Re: [pgsql-es-ayuda] Missing or erroneous pg_hba.conf file

2009-09-09 Por tema Rafael Martinez
Alvaro Herrera wrote: Rafael Martinez escribió: Alvaro Herrera wrote: [...] (Aunque, en realidad, si no usan SSL es posible que cualquiera otro de la red pueda capturar el tráfico y quizás obtener la contraseña, con lo cual esta protección no serviría de nada). Si utilizan md5 como

Re: [pgsql-es-ayuda] Missing or erroneous pg_hba.conf file

2009-09-08 Por tema Rafael Martinez
nada el valor md5 de la clave que capturen ya que no podran utilizarlo para autentificarse. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 9: visita nuestro canal de IRC

Re: [pgsql-es-ayuda] Missing or erroneous pg_hba.conf file

2009-09-07 Por tema Rafael Martinez
tienes bien definida. Lo que es raro es que hayas podido arrancar postgreSQL con este fichero erroneo. Yo creia que si era erroneo, postgreSQL se negaba a arrancar. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key

Re: [pgsql-es-ayuda] Ayuda con funcion en C

2009-08-28 Por tema Rafael Martinez
buf[BUFSIZ] a este espacio. ¿Que valor tiene BUFSIZ?, probablemente mayor que 40, con lo que no tienes suficiente memoria asignada/reservada para copiar buf en new_t. un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway

Re: [pgsql-es-ayuda] Ayuda con funcion en C

2009-08-28 Por tema Rafael Martinez
Rafael Martinez wrote: Edwin Quijada wrote: ERROR: invalid memory alloc request size 4294967293 [..] text *new_t = (text *) palloc(LENMAX); [..] memcpy(VARDATA(new_t),buf,strlen(buf)); Hola Asignas/reservas el espacio a usar por new_t con palloc(40) y despues

Re: [pgsql-es-ayuda] Ayuda con funcion en C

2009-08-28 Por tema Rafael Martinez
sobre las macros disponibles y como utilizarlas. Voy a intentar escribir un articulo sobre el tema para intentar sintetizar lo que hay/sabemos. Yo no trabajo de desarrollador sino de administrador, asi que tendre que desempolvar mis libros de C ;-) Un saludo -- Rafael Martinez, r.m.guerr

Re: [pgsql-es-ayuda] documentacion Pgpool II

2009-08-27 Por tema Rafael Martinez
://www.postgresql-es.org/node/313 -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 3: Si encontraste la respuesta a tu problema, publícala, otros te lo agradecerán

Re: [pgsql-es-ayuda] Procesos de parados ?

2009-08-26 Por tema Rafael Martinez
no suele dar problemas en absoluto. A los que hay que controlar son los que tienen el estatus idle in transaction durante un periodo de tiempo muy grande, pueden indicar transacciones abiertas y no terminadas con los problemas que esto puede causar. Un saludo - -- Rafael Martinez, r.m.guerr

Re: [pgsql-es-ayuda] Problema ejecutando funcion en C

2009-08-26 Por tema Rafael Martinez
PG_RETURN_BOOL()? Un saludo - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFKlRGwBhuKQurGihQRAn3EAKCK

Re: [pgsql-es-ayuda] requerimientos

2009-07-22 Por tema Rafael Martinez
fundamental en sistemas de produccion. Los backups y los datos deberian de estar tambien en sitios separados para evitar perdida de datos en caso de fallos. un saludo - -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public

Re: [pgsql-es-ayuda] Problema con pg_dump en cron

2009-06-24 Por tema Rafael Martinez
probablemente es que el entorno que ejecuta tu script via cron, no sabe donde encontrar a pg_dump. Ya contaras -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 8: explain analyze

Re: [pgsql-es-ayuda] Two Phase commit.

2009-06-15 Por tema Rafael Martinez
esto, olvidate del tema. Two Phase commit se puede utilizar para implementar un sistema de replicacion asincrono multimaestro (Synchronous Multimaster Replication) un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP

Re: [pgsql-es-ayuda] INFORMACION

2009-06-12 Por tema Rafael Martinez
de forma remota en una red abierta y no utilizas SSL para encriptar tu conexion. Sinceramente nunca he entendido porque existe password, cuando se puede utilizar md5. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public

Re: [pgsql-es-ayuda] Bloqueo en registro-tabla

2009-06-12 Por tema Rafael Martinez
. ¿O necesitas lo que has contado para otra cosa? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 9: visita nuestro canal de IRC #postgresql-es en irc.freenode.net

Re: [pgsql-es-ayuda] INFORMACION

2009-06-12 Por tema Rafael Martinez
Alvaro Herrera wrote: Rafael Martinez escribió: Sinceramente nunca he entendido porque existe password, cuando se puede utilizar md5. Existe porque era lo que había antes que se inventara md5. Me lo imaginaba, de los tiempos cuando telnet era el no va mas y todo el mundo era bueno en la

Re: [pgsql-es-ayuda] Prehistoria de PostgreSql en Chile (off topic)

2009-06-03 Por tema Rafael Martinez
comunidad y se convierta en un punto de encuentro para los usuarios hispanohablantes de PostgreSQL. La unica pagina oficial de PostgreSQL por ahora es http://www.postgresql.org/ Un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo

Re: [pgsql-es-ayuda] ¿Por qué PostgreSQL Dev elopment Group usa CVS?

2009-06-03 Por tema Rafael Martinez
mucho la manera de trabajar que utilizan y que les funciona tan bien. Esta semana empezo una discusion (no acabada) en pgsql-hackers sobre el tema, en la que puedes leer las causas de no haber cambiado ya: http://archives.postgresql.org/pgsql-hackers/2009-06/msg00163.php un saludo -- Rafael

Re: [pgsql-es-ayuda] Prehistoria de PostgreSql en Chile (off topic)

2009-06-03 Por tema Rafael Martinez
lanzada para no hacer un trabajo en balde? Tienen pensado cambiar el diseño grafico, pero si entendi bien tambien puede que vayan a reorganizar el contenido, o ¿lo he malentendido y el contenido no lo van a cambiar? un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information

Re: [pgsql-es-ayuda] Prehistoria de PostgreSql en Chile (off topic)

2009-06-03 Por tema Rafael Martinez
Jaime Casanova wrote: 2009/6/3 Rafael Martinez r.m.guerr...@usit.uio.no: Si la gente se anima a traducir, ¿no deberiamos esperar un poco hasta que la nueva web sea lanzada para no hacer un trabajo en balde? nueva web? me perdi de algo? Mas informacion aqui, http://www.postgresql-es.org

Re: [pgsql-es-ayuda] ayuda con hba.conf

2009-05-29 Por tema Rafael Martinez
??? Saludos y gracias Hola ¿Que tienes definido en el parametro listen_addresses definido en el fichero de configuracion postgresql.conf? ¿Cual es el error que te da y cual es la linea que has definido en pg_hba.conf para dar acceso a tu cliente? -- Rafael Martinez, r.m.guerr

Re: [pgsql-es-ayuda] ayuda con hba.conf

2009-05-29 Por tema Rafael Martinez
. Tendras que realizar un 'restart' de postgresql para que este cambio en postgresql.conf se instale. PS.-Por favor la proxima vez manda copia tambien a la lista. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key

Re: [Fwd: Re: [pgsql-es-ayuda] ayuda con hba.conf]

2009-05-29 Por tema Rafael Martinez
en tu maquina y que IP tienen asignados. Cuando utilizas listen_addresses='*' , postgresql se podra acceder desde la red por cualquiera de los interfaces de red instalados en tu maquina. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo

Re: [pgsql-es-ayuda] ayuda con hba.conf

2009-05-29 Por tema Rafael Martinez
datos. Lo que tengas definido en ese fichero de configuracion, tiene que tener acceso a tu base de datos para que funcione. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 5

Re: [pgsql-es-ayuda] Una pregunta???

2009-05-28 Por tema Rafael Martinez
. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 2: puedes desuscribirte de todas las listas simultáneamente (envía unregister TuDirecciónDeCorreo a majord...@postgresql.org)

Re: [pgsql-es-ayuda] Consulta 1:Problemas con un simple delete

2009-05-27 Por tema Rafael Martinez
vas a borrar algo de la misma? Puedes mandarnos el resultado de ejecutar el siguiente comando en psql? : \d con_datos_generales_per -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael

Re: [pgsql-es-ayuda] Tshirt Tom Lane

2009-05-21 Por tema Rafael Martinez
Edwin Quijada wrote: Como se llama esa persona? Si te refieres a los que le pusieron la camiseta Dan Langille. Bruce Momjian estaba presente. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http

Re: [pgsql-es-ayuda] OT: Posible solución a este problema

2009-05-20 Por tema Rafael Martinez
Reynier Perez Mira wrote: Cuando reinicie el sistema debería tomar esos valores pero no lo está haciendo. ¿Alguna idea o solución alternativa? http://www.postgresql-es.org/node/229 -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo

Re: [pgsql-es-ayuda] error ... con el comando EXECUTE

2009-05-20 Por tema Rafael Martinez
integer) RETURNS bigint AS $BODY$ DECLARE cant bigint; BEGIN SELECT INTO cant cnt FROM (SELECT count(*) AS cnt FROM quote_ident (nom_table) WHERE id= pk_parent) value; RETURN cant; END; $BODY$ LANGUAGE 'plpgsql' VOLATILE; Ya contaras -- Rafael Martinez, r.m.guerr...@usit.uio.no Center

Re: [pgsql-es-ayuda] Acerca de roles

2009-05-19 Por tema Rafael Martinez
datos? Depende de lo que quieras hacer, lee la informacion del manual en http://www.postgresql.org/docs/8.3/static/sql-grant.html -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael

Re: [pgsql-es-ayuda] autentificacion Ident

2009-05-16 Por tema Rafael Martinez
-- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 8: explain analyze es tu amigo

Re: [pgsql-es-ayuda] backups incrementales

2009-05-14 Por tema Rafael Martinez
Edwin Quijada wrote: Viene con los scripts incluidos. Esta casi listo, si tengo tiempo de terminarlo lo publicare hoy o mañana. Esa es una muy buena noticia. Enhorabuena!!! El articulo ya esta disponible en http://www.postgresql-es.org/ Espero que te sirva de algo. -- Rafael

Re: [pgsql-es-ayuda] backups incrementales

2009-05-14 Por tema Rafael Martinez
ficheros subidos. Ya estan accesibles para todo el mundo. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 1: para suscribirte y desuscribirte, visita http://archives.postgresql.org

Re: [pgsql-es-ayuda] backups incrementales

2009-05-14 Por tema Rafael Martinez
Alvaro Herrera wrote: Rafael Martinez escribió: Alvaro Herrera wrote: Finalmente, parece que los scripts no están adjuntos al artículo ... Gracias por comentar esto, no me habia dado cuenta que solo el administrador podia ver los ficheros subidos. Ya estan accesibles para todo el mundo

Re: [pgsql-es-ayuda] Funciones en C

2009-05-14 Por tema Rafael Martinez
://www.postgresql-es.org/node/217 -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 8: explain analyze es tu amigo

Re: [pgsql-es-ayuda] backups incrementales

2009-05-13 Por tema Rafael Martinez
hoy o mañana. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 8: explain analyze es tu amigo

Re: [pgsql-es-ayuda] querys pesados

2009-05-07 Por tema Rafael Martinez
JOIN? -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 2: puedes desuscribirte de todas las listas simultáneamente (envía unregister TuDirecciónDeCorreo a majord

Re: [pgsql-es-ayuda] querys pesados

2009-05-07 Por tema Rafael Martinez
Ernesto Quiñones wrote: uds. creen que creando un indice sobre las columns que hacen group by mejore?? saludos Eso no va a ayudar mucho porque tiene que ordenar de *todas* maneras a todas las entradas. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services

Re: [pgsql-es-ayuda] Backup de BD PostgreSQL

2009-05-05 Por tema Rafael Martinez
de una posible caida del sistema por problemas de hardware. Mas informacion en: http://www.postgresql.org/docs/8.3/interactive/backup.html Un saludo -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http

Re: [pgsql-es-ayuda] Codigo sql de una tabla

2009-05-05 Por tema Rafael Martinez
markos wrote: Hola: Mi duda es como puedo obtener el código SQL de una tabla existente, ¿No puedes usar pg_dump? pg_dump -s -t nombre_tabla nombre_database -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public

Re: [pgsql-es-ayuda] Nombre de base de datos

2009-04-28 Por tema Rafael Martinez
-- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- TIP 8: explain analyze es tu amigo

Re: [pgsql-es-ayuda] Errores desde función

2009-01-28 Por tema Rafael Martinez
array_to_string(arreglo_id,',') no deberias de tener este problema. Si arreglo_id hubiese sido solo un integer, podrias haber escrito directamente arreglo_id::text para convertirlo a un tipo texto. Suerte y ya contaras. -- Rafael Martinez, r.m.guerr...@usit.uio.no Center for Information Technology