[SQL] Table to Excel

2009-03-25 Thread Nicholas I
Hi , Does any one how to convert table to excel. I just tried the COPY table_name to '/home/user/output.xls' using delimiters ','; but the out put of the table that is the column in a table are tab separted, all were merged in a single cell. -Nicholas I

Re: [SQL] Can we load all database objects in memory?

2009-03-25 Thread ries van Twisk
Deepak, please don't cross-post the same question to 3 different lists. The short answer is no, you cannot force PostgreSQL to load all objects into memory. However when you proper configure PostgreSQL most, if not all of your data will be cached by the OS and/or PostgreSQL shared memory

[SQL] Can we load all database objects in memory?

2009-03-25 Thread DM
Hi All, I have a database of 10GB. My Database Server has a RAM of 16GB Is there a way that I can load all the database objects to memory? Thanks for your time and taking a look at this question. Thanks Deepak

[SQL] Special sort querstion

2009-03-25 Thread Dominik Piekarski
Hello everyone, the following query SELECT id, start_lat, start_lng, end_lat, end_lng FROM strecken WHERE ST_Intersects(strecke, geomfromtext('POLYGON(( 52.5204252 13.3169317, 52.5407887 13.3169317, 52.5407887 13.3534097, 52.5204252 13.3534097, 52.5204252 13.3169317 ))')) ORDER BY id; produces by

Re: [SQL] Alter Table/Indexing

2009-03-25 Thread Steve Midgley
At 02:20 AM 3/25/2009, pgsql-sql-ow...@postgresql.org wrote: To: Zdravko Balorda cc: pgsql-sql@postgresql.org Subject: Re: Alter Table/Indexing In-reply-to: <49c89fea.8060...@siix.com> References: <49c89fea.8060...@siix.com> Comments: In-reply-to Zdravko Balorda message dated "Tue, 24 M