Re: [ADMIN] Connection limit per user

2009-03-19 Thread Vibhor Kumar
Hello Lukas, You would be able to achieve it using the alter user command as given below: alter user with CONNECTION LIMIT 2; Lukas wrote: Hello, is here any way to set connection limit to database per database user? For ex. if I have postgresql database user XXX I want limit it to 2 conne

Re: [ADMIN] Execute VACUUM FULL when DB touches a specific size ?

2010-04-04 Thread Vibhor Kumar
If you are writing Bash script capture the return value of pg_database_size function, in some variable and perform vacuum. Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified. On 05-Apr-2010, at 9:38 AM, Nilesh Govindarajan wrote: > On 04/05/10 08:54, Scott Marlowe wrote:

Re: [ADMIN] how to disconnect users

2010-04-12 Thread Vibhor Kumar
_terminate_backend() function. Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified. Mob: +91-9011042623 Web:www.EnterpriseDB.com

Re: [ADMIN] [NOVICE] Prepared statement issue in Pgpool-II

2010-06-28 Thread Vibhor Kumar
is not set In the pgpool.conf file set the "reset_query_list" ='ABORT; RESET ALL; SET SESSION AUTHORIZATION DEFAULT' Change the parameter setting reset_query_list = 'ABORT; DISCARD ALL' -- Thanks& Regards, Vibhor Kumar. Senior System Engineer. EnterpriseDB

Re: [ADMIN] Zip file for windows 8.4.4 binary

2010-07-05 Thread Vibhor Kumar
<http://www.enterprisedb.com/products/pgbindownload.do> of the binaries, without the installer. ... Following is a link: http://downloads.enterprisedb.com/postgresql/postgresql-8.4.4-1-windows-binaries.zip -- Thanks & Regards, Vibhor Kumar. EnterpriseDB Corporation The Enterprise Postgres Comp

Re: [ADMIN] Partitioned table system info

2010-08-05 Thread Vibhor Kumar
Following query would help you: select inhparent::pg_catalog.regclass, inhrelid::pg_catalog.regclass from pg_inherits; Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified. On Aug 5, 2010, at 7:11 PM, Kevin Kempter wrote: > Hi All; > > can anyone point me to a sys

Re: [ADMIN] Tracing SQL statements that run against my DB

2010-09-11 Thread Vibhor Kumar
ment. Setting this parameter, postgresql will write the SQL in postgresql log files. For more information, follow the link given below: http://www.postgresql.org/docs/8.4/static/runtime-config-logging.html#GUC-LOG-STATEMENT Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified.

Re: [ADMIN] Slony-I installation Package compatible with PostgreSQL 8.4

2010-09-27 Thread Vibhor Kumar
http://www.slony.info/downloads/ Or If you have installed postgreSQL 84 using One-CLick Installer, then using stackbuilder you would be able to download the slony Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified. Web:www.EnterpriseDB.com -- Sent via pgsql-ad

Re: [ADMIN] pg_dump and table exclusion: multiple patterns

2010-09-28 Thread Vibhor Kumar
*' . > > > seems that the use of the -n flag requires to use these schema names within > the patterns ... By default tablename without namespace get search in Public Schema. Please try something like this pg_dump -i -v -n -T '*.2008*' Thanks & Regards,

Re: [ADMIN] pg_dump and table exclusion: multiple patterns

2010-09-28 Thread Vibhor Kumar
*' . > > > seems that the use of the -n flag requires to use these schema names within > the patterns ... By default tablename without namespace get search in Public Schema. Please try something like this pg_dump -i -v -n -T '*.2008*' Thanks & Regards,

Re: [ADMIN] PG 9.0.1 upgrade issues

2010-10-15 Thread Vibhor Kumar
s, p.proname, ds.description, pn.nspname AS procnsp FROM pg_trigger t > LEFT OUTER JOIN pg_proc p Seems you are using connectors of PG8.4.4 with PG9.0 tgisconstraint column is no more part of pg_trigger table of PG9.0 Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftifi

Re: [ADMIN] postgres 8.4.5 jdbc is 8.4-701.jdbc3

2010-10-26 Thread Vibhor Kumar
h 8.4.1 then, no need to. Thanks & Regards, Vibhor Kumar (PCP & OCP) DB2 Certified ITIL V3 Cerftified. Web:www.EnterpriseDB.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Integrity Error

2010-11-01 Thread Vibhor Kumar
data into a table > but how can i find this key and delete it? > > thanks I think error message itself is giving the information of item_id=230 Since parent table "document_director" does not have this value therefore it's not allowing to insert the values in tab

Re: [ADMIN] Serial key is different in master and slave machine

2010-12-18 Thread Vibhor Kumar
quences on New Master using Following command: SELECT pg_catalog.setval('', , true); Thanks & Regards, Vibhor Kumar (PCP & OCP) ITIL V3 Cerftified. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] pg_standby and compressed archive

2011-02-06 Thread Vibhor Kumar
On Feb 4, 2011, at 11:30 PM, Joby Joba wrote: > in order to reduce disk space used by postgresql's archived logs I use the > following command for the parameter archive_command : > archive_command = 'gzip -c %p >/u10/pgmi/postgresql/archive/%f.gz' > I have configured a standby database with the c

Re: [ADMIN] BLP Model on Postgresql

2011-02-24 Thread Vibhor Kumar
On Feb 24, 2011, at 5:29 AM, H S wrote: > no read up and no write down policies in BLP model, what sort of queries/ > statements in SQL are read and write!? READ: SELECT WRITE: UPDATE/DELETE Thanks & Regards, Vibhor -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make cha

Re: [ADMIN] How to upgrade PostgreSQL minor releases without a dump/restore?

2011-03-01 Thread Vibhor Kumar
On Mar 1, 2011, at 1:23 PM, Gnanakumar wrote: > > PostgreSQL Versioning policy says: "Upgrading to a minor release does not > require a dump and restore; merely stop the database server, install the > updated binaries, and restart the server." Install the Binaries of Specific Minor Release and

Re: [ADMIN] Backup question

2011-03-01 Thread Vibhor Kumar
On Mar 1, 2011, at 3:20 PM, A B wrote: > > But what would happen if you > 1. run rsync > 2. throw server through the window and buy new server > 3. copy the rsynced data > 4. start server > now, what would happen? > I guess the server would think: uh-oh, it has crashed, I'll try to fix it. This

Re: [ADMIN] Export Tool and Edit grid

2011-03-01 Thread Vibhor Kumar
e drop down. Edit Data. 1. Right Click on table -> view data option. Please note Edit Grid is only for tables which primary key or any constraint which can uniquely identify each row. Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via pgs

Re: [ADMIN] Server doesn't listen error

2011-03-04 Thread Vibhor Kumar
my > own app. All the credentials are ok, there is no NAT (it's LAN), > firewall or antivirus. Please share error message, which you are getting while adding server in pgAdmin. Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via

Re: [ADMIN] LONDISTE SKYTOOLS MODULE RPM NOT AVAILABLE FOR POSTGRES-9.0 VERSION

2011-03-04 Thread Vibhor Kumar
On Mar 5, 2011, at 3:29 AM, Prabhjot S. Sheena wrote: > skytools-90-2.1.11-1.rhel5.x86_64 http://yum.pgrpms.org/9.0/redhat/rhel-5-x86_64/ http://pgfoundry.org/frs/download.php/2872/skytools-2.1.12.tar.gz Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogs

Re: [ADMIN] RLS/PLS/FGAC

2011-03-06 Thread Vibhor Kumar
, manuals, and so on You can use views to implement such type of security. Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] FW: backup using pg_dump postgreSQL 8.3.8

2011-03-09 Thread Vibhor Kumar
password when prompted? Include following in dos script. set PGPASSWORD= Or you can use pgpass.conf file option. > 3. Is there a way of running the pg_dump with a user that doesn't have a > password? For that user, you have to mention trust with hostname in pg_hba.conf Thanks

Re: [ADMIN] Question about upgrading multiple clusters in v9.0.2

2011-03-16 Thread Vibhor Kumar
Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Hot-standby/Reporting database.

2011-03-23 Thread Vibhor Kumar
ny Replication, which replicate data from mater to slave and also, gives ability to create temporary table, without allowing user to tamper/modify the data of Replicated Tables of (Master). Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via

Re: [ADMIN] unsupported header version error

2011-04-11 Thread Vibhor Kumar
s, > > Fredy Khan Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blog:http://vibhork.blogspot.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] unsupported header version error

2011-04-13 Thread Vibhor Kumar
on of pg_dump and pg_restore, you can use following command: pg_dump --version pg_restore --version. Thanks & Regards, Vibhor. On Apr 12, 2011, at 4:13 PM, Fredy Khan wrote: > Well please find attached here the error details > > On Mon, Apr 11, 2011 at 9:35 PM, Vibhor Kumar wrote: >

Re: [ADMIN] database system identifier differs between the primary and standby

2011-04-20 Thread Vibhor Kumar
The primary's identifier is > 5592072752411433371, the standby's identifier is 5597615802844953578. > > PostgreSQL Version: 9.0.2 How did you setupt the replication? Please mention the steps. It seems you have not used the PITR Backup of Primary for creating standby. Tha

Re: [ADMIN] Too many IDLE in current_query

2011-07-12 Thread Vibhor Kumar
lient_port to find the informaiton of client machine. Thanks & Regards, Vibhor Kumar vibhor@gmail.com Blogs: http://vibhork.blogspot.com http://vibhorkumar.wordpress.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] Restore database after drop command

2011-07-24 Thread Vibhor Kumar
PITR would help you. Thanks & Regards, Vibhor Kumar Blogs: http://vibhork.blogspot.com http://vibhorkumar.wordpress.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] flashback concept in postgres

2011-10-17 Thread Vibhor Kumar
L.org, devrim.gunduz~linux.org.tr > http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz Thanks & Regards, Vibhor Kumar Blogs:http://vibhork.blogspot.com http://vibhorkumar.wordpress.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin

Re: [ADMIN] dropping a large table is taking a very long time (about 2 hours so far)

2012-09-24 Thread Vibhor Kumar
and is in waiting state. Also looked at pg_locks for more information on locks. Thanks & Regards, Vibhor Kumar Blogs:http://vibhork.blogspot.com http://vibhorkumar.wordpress.com -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.p

Re: [ADMIN] Migration from Oracle 11g to Postgresql

2013-05-02 Thread Vibhor Kumar
You can use Migration Tool kit or xDB Replication solution from Oracle to PostgreSQL. http://www.enterprisedb.com/docs/en/9.2/repguide/Postgres_Plus_xDB_Replication_Server_Users_Guide-51.htm#P6096_508028 Thanks & Regards, Vibhor Kumar Blogs:http://vibhork.blogspot.com http://vibhorkumar.wordpr

Re: [ADMIN] Migration from Oracle 11g to Postgresql

2013-05-02 Thread Vibhor Kumar
to configure and provides GUI mode to monitor your replication etc. I did many migration from Oracle Production database to PostgreSQL. Getting long downtime window for Production is the main issue I have seen for crucial customer facing applications. Thanks & Regards, Vibhor Kumar Blogs:http://