[GENERAL] Is 'Peer authentication' supported on HPUX ?

2013-04-05 Thread tushar
L: Peer authentication failed for user "postgres" psql: FATAL: Peer authentication failed for user "postgres" Regards, Tushar

[GENERAL] Is 'Peer authentication' supported on HPUX ?

2013-04-05 Thread tushar ahuja
ication failed for user "postgres" psql: FATAL: Peer authentication failed for user "postgres" Regards, Tushar

[GENERAL] i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt()

2011-10-10 Thread tushar nehete
Hi, i could not found exact steps for using pgp_sym_encrypt() and pgp_sym_decrypt(). I want to encrypt the data of column and then in a function decrypt that column using pgp_sym_encrypt() and pgp_sym_decrypt() functions. Its working fine with postgres 8.4 eg: select pgp_sym_encrypt('tushar

[GENERAL] Can we use sqlcode in functions of plpgsql

2011-10-07 Thread tushar nehete
Hi, For backward compatibility and some other reasons we want to use SQLCODE in our functions of PLPGSQL. But in Postgres Server 9.0 it gives error for SQLCODE. Is there any way to use SQLCODE in functions of PLPGSQL at the place of SQLSTATE? Also what is the datatype of SQLSTATE?

Re: [GENERAL] How to create database link and synonym in postgresql 9.0

2011-10-07 Thread tushar nehete
27;); > > -- remote UPDATE: > CREATE RULE emp_upd AS ON UPDATE TO emp DO INSTEAD > SELECT dblink_exec( 'db2', > 'UPDATE emp SET id=' || quote_nullable(NEW.id) || ', name=' || > quote_nullable(NEW.name) > || ' WHERE id=' || quote_nu

[GENERAL] How to create database link and synonym in postgresql 9.0

2011-10-05 Thread tushar nehete
Hi, In one of the migration porject want to access and update some tables from other database on same postgresql server. The question is how to access tables from other database on the same postgres server. If it is by database link like Oracle then what is the syntax. And how to create synonym?

Re: [GENERAL] Bidirectional replication

2011-05-05 Thread tushar nehete
#x27;t get a return item from mksafefunc bucardo=# so there must be something wrong at mksafefunc or in that perl file. Any solution? On Wed, May 4, 2011 at 1:14 PM, tushar nehete wrote: > Hi Thanks to ALL, > John I tried Perl built into RHEL 5.5 but i got some errors so I download > ac

Re: [GENERAL] Bidirectional replication

2011-05-04 Thread tushar nehete
from mksafefunc ) Can any one help to deal with this error !!! Thanks, Tushar On Wed, May 4, 2011 at 12:59 PM, Greg Smith wrote: > Merlin Moncure wrote: > >> I know some people do some cool, usable things with that stuff, >> but the whole concept seems awfully awkward

Re: [GENERAL] Bidirectional replication

2011-05-03 Thread tushar nehete
Thanks you all, I started with Bucardo. I installed activeperl 5.12 on my Linux(RHEL5.5) server. Can you please suggest some link which describe the installation steps in details. Thanks, Tushar On Tue, May 3, 2011 at 2:49 PM, Simon Riggs wrote: > On Tue, May 3, 2011 at 7:31 AM, Sim Za

[GENERAL] Bidirectional replication

2011-05-02 Thread tushar nehete
Hi, Is there any way to do bidirectional replication for Postgresql Plus Advance Server 8.4.5? I tried SLONY-I but its master-slave asynchronous replication. Can we configure master-master replication by slony? Or is there any trusted tool to do it? Regards, Tushar

Re: [GENERAL] Autocommit off - commits/rollbacks

2011-03-29 Thread tushar nehete
Yes We can use exception for each statement to restrict the rollback. But how we can use SAVEPOINT and rollback to SAVEPOINT in the stored function or procedure in POSTGRES? We can only use the savepoints in transactions but not in stored functions. Regards, Tushar On Tue, Mar 29, 2011 at 12:54

[GENERAL] how to use savepoint and rollback in function

2011-03-15 Thread tushar nehete
know Postgresql has autocommit. But I want to rollback to a particular savepoint. Thanks & Regards, Tushar