[GENERAL] Postgres upgrade from 9.4.9 to 9.6 using pg_upgrade error

2016-10-20 Thread Ashish Chauhan
9.6, which is not compatible with this version 9.4.9. stopped waiting pg_ctl: could not start server Examine the log output. Is it possible to upgrade Postgres 9.4.9 to 9.6 with pg_upgrade option or I need to do it through pg_dump only? Any help would be appreciated. Thanks, Ashish Chauhan

[GENERAL] pg_upgrade_server.log file location

2016-10-20 Thread Ashish Chauhan
Please shutdown that postmaster and try again. Failure, exiting Thanks, Ashish Chauhan

[GENERAL] pgpoolAdmin - pgmgt.conf.php write denied error

2016-09-15 Thread Ashish Chauhan
SION - assumed '_PGPOOL2_VERSION' in /var/www/html/pgpoolAdmin-3.5.3/bootstrap.php on line 33, referer: http://xx.xx.xx.xx/pgpoolAdmin-3.5.3/install/checkDirectory.php"; Thanks, Ashish Chauhan

Re: [GENERAL] Setup pgpool-II with streaming replication

2016-09-09 Thread Ashish Chauhan
application server one by one from Load balancer and point it to PgPool which will not affect our application. Could you pls send me steps how to install PgPool without PgPoolAdmin? Thanks, Ashish From: Venkata B Nagothi [mailto:nag1...@gmail.com] Sent: Wednesday, September 07, 2016 5:46 PM, 17:46 To

[GENERAL] Setup pgpool-II with streaming replication

2016-09-07 Thread Ashish Chauhan
without any downtime? http://www.pgpool.net/pgpool-web/contrib_docs/simple_sr_setting2_3.3/ http://www.wirabumisoftware.com/en/openbravo-developer-guide/postgresqldevtutorial/25-pgsqlid/82-install-pgpool2 Thanks, Ashish Chauhan

[GENERAL] Script to check replication

2016-03-07 Thread Ashish Chauhan
behind. SELECT pg_last_xlog_receive_location() receive, pg_last_xlog_replay_location() replay, now() - pg_last_xact_replay_timestamp() AS replication_delay, (extract(epoch FROM now()) - extract(epoch FROM pg_last_xact_replay_timestamp()))::int lag Thanks for your help! Thanks, Ashish Chauhan

Re: [GENERAL] Live steraming replication setup issue!

2016-02-23 Thread Ashish Chauhan
:01.612415 | -2 Thanks, Ashish From: Venkata Balaji N [mailto:nag1...@gmail.com] Sent: Sunday, February 21, 2016 2:14 AM, 2:14 To: Ashish Chauhan Cc: Andreas Kretschmer; pgsql-general@postgresql.org Subject: Re: [GENERAL] Live steraming replication setup issue! On Fri, Feb 19, 2016 at 6:24 PM

Re: [GENERAL] Live steraming replication setup issue!

2016-02-19 Thread Ashish Chauhan
server will poll the trigger file path periodically and start as a # primary server when it's found. # trigger_file = '/data/main/primary.trigger' Thanks, Ashish -Original Message- From: Andreas Kretschmer [mailto:andr...@a-kretschmer.de] Sent: Thursday, February 18, 201

Re: [GENERAL] Live steraming replication setup issue!

2016-02-19 Thread Ashish Chauhan
? archive_mode = on and archive_command = some command? Biggest issue is, replication running between master and slave and I need to build DR from slave server. Thanks, Ashish From: Venkata Balaji N [mailto:nag1...@gmail.com] Sent: Thursday, February 18, 2016 3:45 PM, 15:45 To: Ashish Chauhan Cc

[GENERAL] Live steraming replication setup issue!

2016-02-18 Thread Ashish Chauhan
ster server are running? I cannot stop master server. Can someone please guide with steps? Thanks for your help in advance. Thanks -Ashish

Re: [GENERAL]

2013-07-28 Thread Ashish Karalkar
wow! http://cochesclasicosparabodas.com/cnn.com_world.html mjfamywelicjnyqepohu -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Postgres 9.0.4 replication issue: FATAL: requested WAL segment 0000000100000B110000000D has already been removed

2011-11-21 Thread Ashish Gupta
Hi Tomas, Thanks. Increasing the wal_keep_segments to 4000 did the trick. I will set up WAL archive as well. Thanks again. Ashish. On Sat, Nov 19, 2011 at 5:59 PM, Tomas Vondra wrote: > Hi, > > On 19 Listopad 2011, 10:44, Ashish Gupta wrote: > > I searched on various forum

[GENERAL] Postgres 9.0.4 replication issue: FATAL: requested WAL segment 0000000100000B110000000D has already been removed

2011-11-19 Thread Ashish Gupta
various forums, where people encountered similar error, however in all such issues WAL file existed on Master. In this case Master is not retaining the WAL file required by the Slave. I am unable to understand as to why Master is not retaining the WAL files. Any pointer/suggestions would be helpful. Thanks for attention. Ashish

Re: [GENERAL] newbie question - delete before insert

2010-11-20 Thread Ashish Karalkar
isting row? >> > > You can simply send the UPDATE, if nothing was updated, it's safe to > send the INSERT > > Regards > Thomas > > > something on the line of http://www.postgresql.org/docs/8.4/interactive/plpgsql-control-structures.html *Example 38-2. Exceptions with UPDATE/INSERT* -- With Regards Ashish Karalkar

[GENERAL] Problem with Constraint Exclusion ON

2010-08-11 Thread Ashish Karalkar
e is an example: http://pgsql.privatepaste.com/74d558e05f Any help would be much /appreciated./ -- With Regards Ashish Karalkar

Re: [GENERAL] Defining permissions for tables, schema etc..

2009-12-10 Thread Ashish Karalkar
way to start? > > Thanks, > Dipti http://www.postgresql.org/docs/8.4/interactive/user-manag.html this will be a good starting point --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Report all Comments

2009-03-18 Thread Ashish Karalkar
pd.objoid AND pc.relname=ic.table_name AND ic.ordinal_position=pd.objsubid AND pc.relnamespace=pn.oid AND pn.nspname in ('public') ORDER BY pn.nspname,pc.relname,ic.ordinal_position; With Regards --Ashish Karalkar - Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To

Re: [GENERAL] PostgreSql with or without Plus?

2009-03-18 Thread Ashish Karalkar
Simon Riggs wrote: On Wed, 2009-03-18 at 11:19 +0530, Ashish Karalkar wrote: Postgres Plus does support Linux and it includes all the PostgreSQL features as well as have many other additional useful features.One of which is its dyna tune module. You can check through the webpage http

Re: [GENERAL] PostgreSql with or without Plus?

2009-03-17 Thread Ashish Karalkar
useful features.One of which is its dyna tune module. You can check through the webpage http://www.enterprisedb.com/products/postgres_plus.do for detail additional features. I am using it on Linux and so far haven't faced any problem :-) With Regards --Ashish - Sent via pgsql-general ma

Re: [GENERAL] Database separation for backup

2009-03-12 Thread Ashish Karalkar
Regards --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] commit/rollback in postgre 8.2

2009-03-09 Thread Ashish Karalkar
transaction. With Regards Ashish Karalkar EnterpriseDB -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] PostgreSQL template for cacti

2009-03-05 Thread Ashish Karalkar
Ashish Karalkar wrote: Hello list, I was wondering is there any postgresql template for cacti to monitor PostgreSQL server. can anybody plz point me to the same? Thanks in advance --Ashish That worked from google, sorry for making noise... http://forums.cacti.net/about23300.html

[GENERAL] PostgreSQL template for cacti

2009-03-05 Thread Ashish Karalkar
Hello list, I was wondering is there any postgresql template for cacti to monitor PostgreSQL server. can anybody plz point me to the same? Thanks in advance --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Shared Buffers

2009-03-02 Thread Ashish Karalkar
Siddharth Take a look at http://www.westnet.com/~gsmith/content/postgresql/InsideBufferCache.pdf http://postgresql.mirrors-r-us.net/files/documentation/books/aw_pgsql/hw_performance/node3.html --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your

Re: [GENERAL] Connection refused (0x0000274D/10061).

2009-02-26 Thread Ashish Karalkar
, Najios Do you have listen_adress in postgresql.conf set properly i.e. to the listen to the adress from where connection is comming or just * to listen to all adresses. this postgresql.conf file is in PG_DDIR With Regards --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Getting time-dependent load statistics

2009-02-26 Thread Ashish Karalkar
ö, Torsten. If I understood you correctly you might get help from following: http://pgfouine.projects.postgresql.org/ With Regards Ashish Karalkar -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general

Re: [GENERAL] Restore DB

2009-02-25 Thread Ashish Karalkar
. Tyagi Sphere Networks -Original Message- From: Ashish Karalkar [mailto:ashis...@synechron.com] Sent: Wednesday, February 25, 2009 4:38 PM To: Shahbaz A. Tyagi Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Restore DB Shahbaz A. Tyagi wrote: Hi, We are using Postgres 8.3

Re: [GENERAL] Restore DB

2009-02-25 Thread Ashish Karalkar
. Shabz What is the Error? There are many ways to restore a backup and depends on how you took the backup. Plz lets us know how u took the backup and what O/S you r using --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] Restore DB

2009-02-25 Thread Ashish Karalkar
. Shabz What is the Error? There are many ways to restore a backup and depends on how you took the backup. Plz lets us know how u took the backup and what O/S you r using --Ashish -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http

Re: [GENERAL] hi all

2009-02-17 Thread Ashish Karalkar
Kusuma Pabba wrote: when creating tables, in my sql i have used create table CREATE TABLE `users` ( `user_id` int(11) NOT NULL auto_increment, `user_name` varchar(50) NOT NULL, `first_name` varchar(50) default NULL, `middle_name` varchar(50) default NULL, `last_name` varchar(50) default NUL

Re: [GENERAL] Load Testing

2009-02-13 Thread Ashish Karalkar
Abdul Rahman wrote: Hi all, Can any body tell me about tool for PostgreSQL load testing preferably freeware. Regards, Abdul Rehman. I am not sure its a freeware or not but looks promising http://bristlecone.continuent.org/HomePage --Ashish -- Sent via pgsql-general mailing list (pgsql

Re: [GENERAL] Load Testing

2009-02-13 Thread Ashish Karalkar
Ashish Karalkar wrote: Abdul Rahman wrote: Hi all, Can any body tell me about tool for PostgreSQL load testing preferably freeware. Regards, Abdul Rehman. I am not sure its a freeware or not but looks promising http://bristlecone.continuent.org/HomePage --Ashish And ofcourse the

[GENERAL] SQL fast in PSQL, very slow using MS.NET driver

2008-04-09 Thread Ashish Sharma
, Ashish Sharma Core Database Systems HYPERLINK "http://www.coredbsystems.com"http://www.coredbsystems.com No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.5/1356 - Release Date: 4/2/2008 4:14 PM

Re: [GENERAL] Need help on how to backup a table

2008-03-28 Thread ashish
what if the psql clients are different (local: 8.1.5 remote:8.2.6)? > > Thanks > Victor > > from remote m/c psql -h some_hostname -c "copy temp to stdout" -Upostgres postgres > temp.txt Will create temp

Re: [GENERAL] Need help on how to backup a table

2008-03-28 Thread ashish
gt; Install psql client on that other m/c and fire command psql -c "copy " from there :) ofcourse with proper pg_hba.conf With regards Ashish === sms START NETCORE to 575758 to get updates on Netcore's enterpr

Re: [GENERAL] Need help on how to backup a table

2008-03-28 Thread ashish
ot; does not allow me to dump from a > SQL SELECT query which is what I wanna do. > > May be selective COPY will help you. http://www.postgresql.org/docs/8.3/interactive/sql-copy.html With regards Ashish === sms START NETCORE to

[GENERAL] shared buffer hash table corrupted

2008-02-19 Thread Ashish Karalkar
Hello List membersI have just upgraded the PostgreSQL server from 8.2.4 to 8.3 on Suse 10.3 64 bit.While inspecting the log i see this errorERROR: shared buffer hash table corruptedCan anybody please help me in getting into details of it?With regardsAshish... Unlimited freedom, unlimited s

[GENERAL] ERROR: shared buffer hash table corrupted

2008-01-14 Thread Ashish Karalkar
Hello list members,I hav a table with 140M rows. While I am trying to select the count from the tableI am getting following errorERROR:  shared buffer hash table corruptedCan anybody please suggest me wht had gone wrong and how to fix it?PostgreSQL 8.2.4OS:Suse 10.3With RegardsAshish... Sa

Re: [GENERAL] Insert waiting for update?

2008-01-09 Thread Ashish Karalkar
Thanks for the replayI think you missed on second detail mail :For more details:I have two tables master,child.with child having fk to master.Now that master table contains 4M rows . while I update them (Master table) the inserts are going into waiting mode on child table.Update  acquired row exclu

Re: [GENERAL] Insert waiting for update?

2008-01-09 Thread Ashish Karalkar
--- On Wed, 9/1/08, Ashish Karalkar <[EMAIL PROTECTED]> wrote:From: Ashish Karalkar <[EMAIL PROTECTED]>Subject: [GENERAL] Insert waiting for update?To: "pggeneral" Cc: [EMAIL PROTECTED]Date: Wednesday, 9 January, 2008, 4:29 PMDear list members,I am having table with 4M rows

[GENERAL] Insert waiting for update?

2008-01-09 Thread Ashish Karalkar
Dear list members,I am having table with 4M rows.I am trying to update all these rows with statementupdate mytable set mycolumn=0;At the same time there are insert happening on the table.but all these insert are in waiting mode. does update is locking the table for insert?does insert and update con

[GENERAL] WAL Sequence

2008-01-07 Thread Ashish Karalkar
2 postgres postgres 4.0K 2008-01-07 15:09 archive_status drwxr-xr-x 3 postgres postgres 4.0K 2008-01-07 15:09 . -rw--- 1 postgres postgres 16M 2008-01-07 15:15 000100170013 With Regards Ashish - Chat on a cool, new interface. No

Re: [GENERAL] Planner ignoring to use INDEX SCAN

2007-12-14 Thread Ashish Karalkar
Richard Huxton <[EMAIL PROTECTED]> wrote: Ashish Karalkar wrote: > query which was taking seconds on the join of these two table > suddenly started taking 20/25 min Show the EXPLAIN ANALYSE of your problem query and someone will be able to tell you why. Here is the output from exp

Re: [GENERAL] Planner ignoring to use INDEX SCAN

2007-12-14 Thread Ashish Karalkar
Thanks Richard for your replay, here is the output.. Richard Huxton <[EMAIL PROTECTED]> wrote: Ashish Karalkar wrote: > > Richard Huxton wrote: Ashish Karalkar wrote: >> query which was taking seconds on the join of these two table >> suddenly started taking 20/25 m

Re: [GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
"A. Kretschmer" <[EMAIL PROTECTED]> wrote: am Wed, dem 12.12.2007, um 11:44:58 +0000 mailte Ashish Karalkar folgendes: > Hi, > I am having PostgreSQL 8.2.4 on Suse 10.3 > > Server is not using the index insted it chooses to take seq scan path. table > is > h

Re: [GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
"A. Kretschmer" <[EMAIL PROTECTED]> wrote: am Wed, dem 12.12.2007, um 12:25:20 +0000 mailte Ashish Karalkar folgendes: > > here is the output from planner: > > Nested Loop IN Join (cost=0.00..5030217.97 rows=2 width=106) > > -> Seq Scan on sm

Re: [GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
Alvaro Herrera <[EMAIL PROTECTED]> wrote: Ashish Karalkar wrote: > Thanks for your answer actually that was the part of full query here is the > actuall plan I think you are confusing this for "here is a completely different plan for a completely different query that

Re: [GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
Alvaro Herrera <[EMAIL PROTECTED]> wrote: Ashish Karalkar wrote: > Thanks for your answer actually that was the part of full query here is the > actuall plan I think you are confusing this for "here is a completely different plan for a completely different query that

Re: [GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
"A. Kretschmer" <[EMAIL PROTECTED]> wrote: am Wed, dem 12.12.2007, um 12:44:09 +0000 mailte Ashish Karalkar folgendes: > > Do you have an index on "mobile"? Can you show us the table definition > > and the output from EXPLAIN ANALYSE? >

[GENERAL] very slow query

2007-12-12 Thread Ashish Karalkar
0:00'::timestamp without time zone) AND (createddate < '2007-12-11 21:00:00'::timestamp without time zone) AND ((keyword)::text = 'CRI'::text)) column deliveryid has an index over it in sms_new table. can anybody please guide to force the u

[GENERAL] Query

2007-12-10 Thread Ashish Karalkar
count of all user group by type_id who are subscribed to only one type e.g type_id count 12 6 1 any suggestions? Thanks in advance With regards Ashish - Unlimited freedom, unlimited storage. Get it now

Re: [GENERAL] SQL Query

2007-12-05 Thread Ashish Karalkar
"A. Kretschmer" <[EMAIL PROTECTED]> wrote: am Wed, dem 05.12.2007, um 10:24:04 +0000 mailte Ashish Karalkar folgendes: > Hello List member, > > Iha a table containing two columns x and y . for single value of x there are > multiple values in y e.g > > X

[GENERAL] SQL Query

2007-12-05 Thread Ashish Karalkar
PQR:XYZ 3XYZ 4LMN Any help will be really helpful Thanks in advance With Regards Ashish - Why delete messages? Unlimited storage is just a click away.

Re: [GENERAL] WAL Recovery

2007-11-28 Thread Ashish Karalkar
Thanks Simon for your replay, Yes I have followed the same instruction givn on the link, still it is happining , should i ignore this message too? With Regards Ashish Simon Riggs <[EMAIL PROTECTED]> wrote: On Wed, 2007-11-28 at 06:05 +0000, Ashish Karalkar wrote: > I have PostgreSQL

[GENERAL] WAL Recovery

2007-11-27 Thread Ashish Karalkar
r filer 57 not found in archive area. With Regards Ashish... - Explore your hobbies and interests. Click here to begin.

[GENERAL] cp: cannot stat `/mnt/server/archivedir/00000001.history': No such file or directory

2007-11-27 Thread Ashish Karalkar
58 ,00010059 in it. Now from log it can be seen warning for WAL 00010057 Can anybody please explain me wht is going wrong? JUST for note:recover was complete. Thanks in advance With regards Ashish... - Find a mall, hotel or ATM in any part of India. Click here.

[GENERAL] Error while database creation

2007-10-04 Thread Ashish Karalkar
Hello All, I am getting following error when trying to create new database. createdb: database creation failed: ERROR: could not create directory "base/1923827": No space left on device can anybody please tell me what is going wrong. Thanks in advance. With regards Ashish

Re: [GENERAL] multiple row insertion

2007-10-04 Thread Ashish Karalkar
sertion In MySQL, I can insert multiple rows like this: insert into cars values(5, "toyota"),(5,"ford"), etc. How can I do something similiar in PostgreSQL? insert into cars (id,name) values (1,'toyota'),(2,'ford'); With Regards Ashish

[GENERAL] pgpoolAdmin:No such file or directory in /var/www/html/pgpoolAdmin-1.0.0/libs/Smarty.class.php on line 1258

2007-09-26 Thread Ashish Karalkar
poolAdmin-1.0.0/libs/Smarty.class.php on line 1258 Can anybody suggest what is going wrong. I have physicaly verifies the file 'templates_c/%%6A^6A5^6A537DD8%%login.tpl.php' is there and also the permission is 777 to user apche . Thanks in advance with regards Ashish

Fw: [GENERAL] PgpoolAdmin installation

2007-09-25 Thread Ashish Karalkar
- Original Message - From: Ashish Karalkar To: Devrim GÜNDÜZ Sent: Tuesday, September 25, 2007 4:30 PM Subject: Re: [GENERAL] PgpoolAdmin installation I got the answer for the same and is sloved it is just a file which gives information about the php installations. I have verified

Re: [GENERAL] PgpoolAdmin installation

2007-09-25 Thread Ashish Karalkar
It is confirmed that the function of php_mstring and php_pgsql is effective. a.. "Multibyte Support" is "enabled". b.. "PostgreSQL Support" is "enabled". " But I dont see any phpinfo.php file in the install directory. What may be the reason? With Re

[GENERAL] PgpoolAdmin installation

2007-09-25 Thread Ashish Karalkar
point me to the link? With Regards Ashish...

Re: [GENERAL] Why the ERROR: duplicate key violates unique constraint "master_pkey" is raised? - Is this a Bug?

2007-09-24 Thread Ashish Karalkar
As per as I think this is not bug, in first case when u update the first row In first case: M1= 1+1 =2 conflict with the second row. in second case: M1=3+1=4 no conflict with second row I hope this will help. With reagrds Ashish - Original Message - From: Anoo Sivadasan

[GENERAL] Column Ordering

2007-09-10 Thread Ashish Karalkar
Hello All, I am having a table with 5 columns. I want to add another column by altering the table at 2nd position constraint is that I can not drop and recreate the table as column ordering is of importance. Is there anyway to do so. Thanks in advance. With regards Ashish...

[GENERAL] Column ordering

2007-09-10 Thread Ashish Karalkar
Hello All, I am having a table with 5 columns. I want to add another column by altering the table at 2nd position constraint is that I can not drop and recreate the table as column ordering is of importance. Is there anyway to do so. Thanks in advance. With regards Ashish

Re: [GENERAL] invalid byte sequence for encoding "UTF8": 0xff

2007-09-03 Thread Ashish Karalkar
- Original Message - From: "Albe Laurenz" <[EMAIL PROTECTED]> To: "Ashish Karalkar *EXTERN*" <[EMAIL PROTECTED]> Cc: Sent: Monday, September 03, 2007 4:54 PM Subject: RE: [GENERAL] invalid byte sequence for encoding "UTF8": 0xff Ashish K

Re: [GENERAL] invalid byte sequence for encoding "UTF8": 0xff

2007-09-03 Thread Ashish Karalkar
- Original Message - From: "Ashish Karalkar" <[EMAIL PROTECTED]> To: "Albe Laurenz" <[EMAIL PROTECTED]> Sent: Monday, September 03, 2007 4:09 PM Subject: Re: [GENERAL] invalid byte sequence for encoding "UTF8": 0xff - Original M

[GENERAL] invalid byte sequence for encoding "UTF8": 0xff

2007-09-03 Thread Ashish Karalkar
Hello All, I have a data script which runs fine from PgAdmin SQL Editor,but when I run this from command prompt I get following error: test=# \i /usr/local/pgsql/qsweb1/QSWEB_100_4_Default_Data.sql psql:/usr/local/pgsql/qsweb1/QSWEB_100_4_Default_Data.sql:1: ERROR: invalid byt e sequence fo

[GENERAL] Export data to MS Excel

2007-09-01 Thread Ashish Karalkar
Hello All, I want to export data from PostgreSQL tables to MS Excel. Is there any way? Thanks in advance... With Regrads Ashish...

[GENERAL] Read Access to database

2007-08-27 Thread Ashish Karalkar
advance With regards Ashish...

Re: [GENERAL] Accessing tables in other databases, through functions

2007-08-16 Thread Ashish Karalkar
take a look at dblink in contrib module With Regards Ashish... - Original Message - From: "Phoenix Kiula" <[EMAIL PROTECTED]> To: "Postgres General" Sent: Thursday, August 16, 2007 6:18 PM Subject: [GENERAL] Accessing tables in other databases, throug

[GENERAL] Problem With gunzip backup

2007-08-01 Thread Ashish Karalkar
Hello All, I am having following PostgreSQL & Linux version PostgreSQL 8.2.0 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4) I am trying to create the backupfile using gunzip utility pg_dump qsweb | gzip > /usr/local/backup/backup.gzBut when I run this comm

[GENERAL] PgAdmin GUI on the Linux Server

2007-07-24 Thread Ashish Karalkar
Hello All, I am having PostgreSQL server 8.2.0 running on Redhat Linux . I want to install PgAdmin GUI on the Linux Server. can anybody please guide me to the appropriate documantation and the prerequisite required for the same . Thanks In Adavnce With Reagrds Ashish...

[GENERAL] redirecting output of pg_dump

2007-07-18 Thread Ashish Karalkar
Hello all, I want to take backup from one server and save it to another machine hard drive. The backup will be taken through a shell script attached to a cron job. something like: pg_dump -d postgres -U postgres -f is there any way? With regards ashish...

Re: [GENERAL] pgpass.conf

2007-07-10 Thread Ashish Karalkar
- Original Message - From: "Dave Page" <[EMAIL PROTECTED]> To: "Ashish Karalkar" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 10, 2007 4:25 PM Subject: Re: [GENERAL] pgpass.conf Ashish Karalkar wrote: Hello All, I am trying tu run a script to create

Re: [GENERAL] pgpass.conf

2007-07-10 Thread Ashish Karalkar
- Original Message - From: "Raymond O'Donnell" <[EMAIL PROTECTED]> To: "Ashish Karalkar" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 10, 2007 3:51 PM Subject: Re: [GENERAL] pgpass.conf On 10/07/2007 08:47, Ashish Karalkar wrote: Still the

[GENERAL] pgpass.conf

2007-07-10 Thread Ashish Karalkar
contains: localhost:5432 :*:postgres:mypass localhost:5432:qsweb:qsweb:mypass1 Still the batch asks for the password.!!! I am just not getting why its not reading password from pgpass file. can anyone please figure out what is going wrong. Thanks in Advance Ashish...

Re: [GENERAL] how to: psql -U user --password password ?

2007-07-03 Thread Ashish Karalkar
Hello Stefan, Recently I Have faced this problem and solved by .pgpass file approch Take alook on http://www.postgresql.org/docs/8.0/interactive/libpq-pgpass.html With Regards Ashish... - Original Message - From: "Stefan Zweig" <[EMAIL PROTECTED]> To: Sent: Tuesda

Re: [GENERAL] assigning password from script

2007-07-02 Thread Ashish Karalkar
- Original Message - > 2007/7/2, Ashish Karalkar <[EMAIL PROTECTED]>: Hello All, I want to create a user through script and dont want user to assign password interactively, I want it to be assigned through some file or anything else some this like createuser -P

Re: [GENERAL] Tables not created in proper schema

2007-07-02 Thread Ashish Karalkar
TH='qsweb'" The output is right till alter schema but then while setting the search path it says NOTICE:schema "qsweb" does not exist. can you suggest what is going wrong Thanks in advance Ashish... - Original Message - From: "A. Kret

Re: [GENERAL] assigning password from script

2007-07-01 Thread Ashish Karalkar
Thanks for your replay Scott, I am using just sql script and there is no option like pwd with createuser command With Regards Ashish... - Original Message - From: "Scott Marlowe" <[EMAIL PROTECTED]> To: "Ashish Karalkar" <[EMAIL PROTECTED]> Sent

[GENERAL] Tables not created in proper schema

2007-07-01 Thread Ashish Karalkar
sult OR search path = ' "$user",xyz,public' Same result OR search path = ' "$user",xyz' Error:no schema has been selected to create in Please suggest me the corrective action. Thanks In advance Ashish...

[GENERAL] assigning password from script

2007-07-01 Thread Ashish Karalkar
Hello All, I want to create a user through script and dont want user to assign password interactively, I want it to be assigned through some file or anything else some this like createuser -P * OR createuser -P Is there any way? Thanks in Advance With Regards Ashish...

[GENERAL] Create user

2007-06-29 Thread Ashish Karalkar
Hello All, I am trying to create a user and i dont understand why it is showing me any massage even after giving parameter -e to the command. command : C:\Program Files\PostgreSQL\8.2\bin>createuser ashish -S -d -R -l -P -E -e -U postgres Enter password for new role: Enter it ag

Re: [GENERAL] Auto Vaccume- Time based

2007-06-27 Thread Ashish Karalkar
Thnkas Richard for your replay. Actually ,I was looking for some setting in postgresql.conf file Is there any one? With Regards Ashish - Original Message - From: "Richard Huxton" <[EMAIL PROTECTED]> To: "Ashish Karalkar" <[EMAIL PROTECTED]> Cc: Sent:

[GENERAL] Auto Vaccume- Time based

2007-06-27 Thread Ashish Karalkar
Hello all, I want to set Auto vaccunme in such a way that it will start in the Mid night (12:00 A.M.) Is there any way to do this except Cron Job for Linux Thanks In advance With Regards ashish ...

[GENERAL] function to find difference between in days between two dates

2007-06-14 Thread Ashish Karalkar
ance With regards Ashish Karalkar

[GENERAL] sql server to postgreSQL

2007-06-13 Thread Ashish Karalkar
Hello All, I have a long list of sql server queries that needs to me remoulded in to postgres format can anyone please suggest me any tool that will convert sqlserver query into postgresql query except SwisSQL - SQLOne Console 3.0 Thanks in advance With regards Ashish Karalkar

[GENERAL] Managing Kernal resource

2007-06-08 Thread Ashish Karalkar
erstood is 512 KB+8192*number of buffers times the block +0.5M.B But I am not getting the count of number of buffres. In postgres.conf file there is size of shared buffer. shared_buffer=24 MB. can anybody point me to number of buffers if i have understood correctly Thanks In advance. With Regards Ashish...

Re: [GENERAL] failing to start posgresql.

2007-06-07 Thread Ashish Karalkar
check under $PGHOME/data/pg_log directory. Usually $PGHOME=/usr/local/pgsql if u have not changed this path during installation With Reagrds Ashish... - Original Message - From: phillip To: pgsql-general@postgresql.org Sent: Thursday, June 07, 2007 2:21 PM Subject

[GENERAL] user restriction

2007-05-31 Thread Ashish Karalkar
Hi All, I want to create a user in Postgres Database. And I want to restrict that user with some privileges. And also I want that user should be specific to particular database. He should not be able to do the following 1) Connect to any other database. 2) Connect to System da

Re: [GENERAL] Views- Advantages and Disadvantages

2007-05-09 Thread Ashish Karalkar
Ok. That is on insert update delete part. ant disadvantage on select part? With Regards Ashish... - Original Message - From: "Ron Johnson" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 09, 2007 2:18 PM Subject: Re: [GENERAL] Views- Advantages and Disadvantages

Re: [GENERAL] Views- Advantages and Disadvantages

2007-05-09 Thread Ashish Karalkar
Thanks All for your replies, But then dont we have any disadvantage of using View??? With Reagrds Ashish... - Original Message - From: "Andrej Ricnik-Bay" <[EMAIL PROTECTED]> To: "Ron Johnson" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, May 09, 20

Re: [GENERAL] Views- Advantages and Disadvantages

2007-05-09 Thread Ashish Karalkar
Thanks Brent for your replay, What about the Disadvantages, Performance issues? With Regards Ashish... - Original Message - From: <[EMAIL PROTECTED]> To: "Postgres General" Cc: "Ashish Karalkar" <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 20

Re: [GENERAL] Views- Advantages and Disadvantages

2007-05-09 Thread Ashish Karalkar
multitable query,then simple query against that view becomes a coplecated join, and it may take a long time to complete - Original Message - From: "Andrej Ricnik-Bay" <[EMAIL PROTECTED]> To: "Ashish Karalkar" <[EMAIL PROTECTED]>; "Postgres General&q

[GENERAL] Views- Advantages and Disadvantages

2007-05-08 Thread Ashish Karalkar
Hello All, Can anybody please point me to Advantages and Disadvantages of using view With Regards Ashish...

Re: [GENERAL] Permission denied to create database

2007-05-04 Thread Ashish Karalkar
Can u tell us what are the role privilages granted to user "joe" May be you r missing with the create database privilage to user joe With Regards Ashish - Original Message - From: "Kevin Murphy" <[EMAIL PROTECTED]> To: Sent: Friday, May 04, 2007

Re: [GENERAL] WAL

2007-05-03 Thread Ashish Karalkar
l help With Regards Ashish jasme <[EMAIL PROTECTED]> wrote: hi, i had made necessary change in the postgresql.conf for enabling WAL. How can i know that WAL is working? The configurations done in the postgr

[GENERAL] WAL

2007-04-19 Thread Ashish Karalkar
files to higher segment numbers." So there are 4/5 files. Now i want to switch to archiving mode. which file name should be given in place of %f parameter of archive command my command looks like this: 'cp -i /usr/local/pgsql/data/pg_xlog /mnt/server/archivedir/%f' Thanks in advance With Regards Ashish...

[GENERAL] seeking PITR archive_command advice

2007-04-17 Thread Ashish Karalkar
/usr/local/pgsql/data/pg_xlog ? is yes it is giving me following error cp: omitting directory `/usr/local/pgsql/data/pg_xlog/ 2) which file name i should give in place of %f parameter as there are 5/6 files already? Thanks in Advance With Regards Ashish Karalkar

  1   2   >