Re: [ADMIN] pg_dump doesn't save correct the sequences

2004-10-27 Thread Stephan Szabo
On Thu, 28 Oct 2004, Andrei Bintintan wrote: > I try to dump a database from a 7.4.2 postgre system and to import it on > a 7.3.2. system, but I have a problem with the sequences in the dump. In general, the above is not guaranteed to work. pg_dump will use features of the dumping version so mov

[ADMIN] Pg_restore is appending the data to existing table

2004-10-27 Thread Nageshwar Rao
I am trying to replicate the DB using pg_dump and pg_restore.When I use pg_restore  it is appending the data to existing data.This is not what I wanted.Even I used the flag -c .Can anybody throw light on this.

Re: [ADMIN] caching complete table for optimizing search ?

2004-10-27 Thread Jaime Casanova
> Hello, > > I'm running a search query on a table with > approximately 120.000 rows > (3848 relpages, dbsize tablesize 30MB). > > Because of poor performance I would like to cache > the complete table in memory, but I'm not sure which > config param I have > to use to accomplish > that. > The o

[ADMIN] pg_dump doesn't save correct the sequences

2004-10-27 Thread Andrei Bintintan
Hi to all,   I try to dump a database from a 7.4.2 postgre system and to import it on a 7.3.2. system, but I have a problem with the sequences in the dump.   This is a seq example:   CREATE SEQUENCE test_id_seq    INCREMENT BY 1    NO MAXVALUE    NO MINVALUE    CACHE 1;   This gives me an

[ADMIN] opportunities of inline funtions

2004-10-27 Thread Anton Maksimenkov
Hi. There was an idea to make access to the data only through the built - in functions (on C). There is a table 't_test' which the superuser can read and write down. There are functions of access, for example, for an insert of the data: PG_FUNCTION_INFO_V1(f_test); Datum f_test(PG_FUNCTION_ARG

Re: [ADMIN] caching complete table for optimizing search ?

2004-10-27 Thread Johnson, Heather
Title: RE: [ADMIN] caching complete table for optimizing search ? I'm not sure what to do to cache a single table, but we use a tool called memcached to accomplish what you are describing. Memcached will cache the db in RAM, allowing you to do all of your reads from memory. Writes are  more e

[ADMIN] caching complete table for optimizing search ?

2004-10-27 Thread Albrecht Berger
Hello, I'm running a search query on a table with approximately 120.000 rows (3848 relpages, dbsize tablesize 30MB). Because of poor performance I would like to cache the complete table in memory, but I'm not sure which config param I have to use to accomplish that. The other tables in the db are

Re: [ADMIN] configuring pg_hba.conf file

2004-10-27 Thread Trevor Dennis
Hi Jagdish, You shouldn't be listing each IP address in the file. If you want a specific IP address then the netmask should have been 255.255.255.255 to indicate that all octets are required for the address comparison. For your subnet you should have an IP subnet of 192.168.0.0 and a netmask o