[GENERAL] change of oid values?

2009-11-25 Thread Yadira Lizama Mue
Hi, I'd like to know if the values of postgres's Oids can changes its values for the same object. I want to use them in my aplication, but I'm afraid they could change and I get errors. I use the field Oid of table pg_type to identify the type of a field in a query. It could bring me errors in

Re: [GENERAL] Execute a query passed by parameters to a function

2009-11-09 Thread Yadira Lizama Mue
Thanks, it works.. The problem is that .. I create dynamically the query and verified a few things inside the function before execute it. Regards, Yadira - Mensaje original - De: "Thom Brown" Para: "Yadira Lizama Mue" CC: pgsql-general@postgresql.org E

[GENERAL] Execute a query passed by parameters to a function

2009-11-09 Thread Yadira Lizama Mue
Hi, I have a function which receive a parameters as text. This text is a query. I want to execute this query, but I don't know how. Can any one help me? Regards, Yadira CREATE OR REPLACE FUNCTION myfunction(text) RETURNS void AS $BODY$ --I want execute the text I pass by parameters as a

[GENERAL] PGCluster vs CyberCluster

2009-10-15 Thread Yadira Lizama Mue
Hi. Can anyone tell me, which are the differences between PGCluster and CyberCluster? I need a multi-master, synchronous replication solution based on PostgreSQl and I have founded these tools. But I think they are almost ident and I'd like to see your opinions about... Regards, Y. --