[SQL] Comparing arrays

2003-08-09 Thread Bertrand Petit
Hello, I advance in my postgres exploration and found something that looks quite strange, or at least unexpected regarding the present 7.3.3 documentation. In two table I store "objects" and their attributes. The attributes, which are not meant to be searched, are stored

Re: [SQL] duplicate dates

2003-08-09 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 01 August 2003 08:56, Jodi Kanter wrote: > I have one table that has a date/time field in it. I'd like to identify > the records in the database where the date/time fields are the same. How > can I do this? Do I need to create a view or temp

[SQL] PostgreSql under Linux

2003-08-09 Thread Wilson A. Galafassi Jr.
Hello people.   I'm installing Postgresql under linux for better performance and i want to know how is the best configuration.   My server is a dual pentium3 1ghz/1gb ram/36gb scsi. running only postgresql. My question is: 1. What is the best linux distribuition for better performance? 2. Doe

Re: [SQL] [pg-sql] - Problem with duplicate table (PostgreSQL 7.2.3

2003-08-09 Thread Stephan Szabo
On Fri, 8 Aug 2003, BenLaKnet wrote: > When I duplicate this code in an other table named spectacle_v without > Foreygn key ... all is running. > > But when I try to delete a spectacle_membre, linked value in spectacle > are correctly deleted, but I have an error for spectacle_v which is not > lin

Re: [SQL] length of recordset read through a cursor

2003-08-09 Thread Rod Taylor
Yes, a move takes less time, but can still a significant amount of time. Do you need to know exactly what to expect? Run ANALYZE recently? A cheat I've used before is to parse the EXPLAIN (not EXPLAIN ANALYZE) output for the expected number of records involved. If that number was less than 2000

Re: [SQL] How to check: is some key referenced from sometable

2003-08-09 Thread Stephan Szabo
On Sun, 10 Aug 2003, eVl One wrote: > Hello, Bruno. > > You wrote 9 08 2003, 18:08:09: > > BWI> On Mon, Aug 04, 2003 at 11:17:56 +0300, > BWI> [EMAIL PROTECTED] wrote: > >> Please help. > >> > >> Need a boolean function which returns true if given key in table is > >> referensed from another tab

Re: [SQL] [PERFORM] EXTERNAL storage and substring on long strings

2003-08-09 Thread Scott Cain
Oh, and I forgot to mention: it's highly compressed (bzip2 -9) and is 109M. Scott On Tue, 2003-08-05 at 11:01, Scott Cain wrote: > Joe, > > Good idea, since I may not get around to profiling it this week. I > created a dump of the data set I was working with. It is available at > http://www.gm