Re: [GENERAL] Slow join over three tables

2016-06-08 Thread MOLINA BRAVO FELIPE DE JESUS
Hi!! what happens if you change your query to: SELECT r.id, r.age, r.gender, r.created, a.adverse, d.drug   FROM reports r   INNER JOIN report_drugs d USING (rid)    INNER JOIN report_adverses a USING (rid)   WHERE a.adverse = ANY (ARRAY['back pain - nonspecific', 'nonspecific back pain', 'back

[GENERAL] query reboot pgsql 9.5.1

2016-03-07 Thread MOLINA BRAVO FELIPE DE JESUS
Hi!!! I try to explain my problem...sorry for my english :( In pgsql 9.5.1 I have a two tables with the next structure: 1. Tabla unlogged «public._gc_cat»    Columna | Tipo | Modificadores     -+--+---    idppicat| integer  | 

Re: [GENERAL] puzzling perl DBI vs psql problem

2014-03-14 Thread MOLINA BRAVO FELIPE DE JESUS
De: pgsql-general-ow...@postgresql.org [pgsql-general-ow...@postgresql.org] en nombre de Susan Cassidy [susan.cass...@decisionsciencescorp.com] Enviado: jueves, 13 de marzo de 2014 02:48 p.m. Para: Rodrigo Gonzalez CC: Steve Atkins; pgsql-general@postgresql.org Asunto: Re: [GENERAL] puzzling perl

[GENERAL] pl-perl for 64 bits in Solaris 9

2010-06-25 Thread MOLINA BRAVO FELIPE DE JESUS
Hi I don't have experience with solaris. I know it is a 64 bits: bash-2.05# isainfo -v 64-bit sparcv9 applications 32-bit sparc applications I tried to compile postgres (Version of postgres: 8.4.4 ) with plperl for 64 bits. The options for the configure are: /configure --with-CC=/usr/local

Re: [GENERAL] xpath

2010-02-11 Thread MOLINA BRAVO FELIPE DE JESUS
try to cast to "xml" xml_payload::xml El mié, 10-02-2010 a las 12:39 +0300, Allan Kamau escribió: > As advised by Peter, > Below is an example (including the ddl and dml statements), it _drops_ > and creates a table called "simple_table" and a sequence called > "simple_table_seq" both in th

Re: [GENERAL] triggers problems whit function

2008-10-23 Thread MOLINA BRAVO FELIPE DE JESUS
El mié, 22-10-2008 a las 15:01 -0500, Ma. Cristina Peña C. escribió: > I want to use a function in to a trigger > > > > This is my > > CREATE FUNCTION "subradio"(integer) RETURNS integer AS 'select > cast(count (claveubica) as integer ) from asradios where ubicacion > =0;' LANGUAGE 'sql'; >

Re: [GENERAL] Tsearch2 - spanish

2007-09-20 Thread MOLINA BRAVO FELIPE DE JESUS
Hi Thank's Teodor and Marcelo the problem is solved regards -Mensaje original- De: marcelo Cortez [mailto:[EMAIL PROTECTED] Enviado el: jue 20/09/2007 7:13 Para: MOLINA BRAVO FELIPE DE JESUS; Teodor Sigaev CC: PostgreSQL General Asunto: Re: [GENERAL] Tsearch2 - spanish F