[GENERAL] Question on explain

2013-06-08 Thread Enrico Pirozzi
Hi all, I have 2 tables: table1 (field1,field2,.) table2 (field1,field2,field3,.) field1 is an uuid type field2 is a timestamp with time zone type. If I execute: explain (analyze on, timing off) select B.field3,A.field1,A.field2 FROM table1 A INNER JOIN table2 B using (field1,field2)

Re: [GENERAL] Open bytea files (images, docs, excel, PDF) stored in Postgresql using a Microsoft Access form

2013-06-08 Thread Vincent Veyron
Le vendredi 07 juin 2013 à 15:13 +0200, Aitor Gil Martin a écrit : > How do I convert the bytea content stored in Postgresql into the real file so > I can put it in a local directory? (and the opposite process: store a file on > a path to a postgresql database) > I know this could be more an acce

Re: [GENERAL] Question on explain

2013-06-08 Thread Jeff Janes
On Sat, Jun 8, 2013 at 8:06 AM, Enrico Pirozzi wrote: > Hi all, > > I have 2 tables: > > table1 (field1,field2,.) > table2 (field1,field2,field3,.) > > field1 is an uuid type > Is it a primary key? Is there a foreign key constraint between them? > field2 is a timestamp with time zone

Re: [GENERAL] compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

2013-06-08 Thread c k
I changed the hwclock and date/time of the system and synced hwclock with date/time. hwclock was showing a date around a year ago, which may be due to some incorrect selection during setup. I will compile again when I will get access to the server. I will remember it and will check for other compil

Re: [GENERAL] compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

2013-06-08 Thread Scott Marlowe
Just for reference, way back in the day my laptop w/486DX50 and 16 megs of RAM took 30 minutes to run ./configure and 1.5 hours to run make. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-genera

Re: [GENERAL] compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

2013-06-08 Thread Jeff Janes
On Sat, Jun 8, 2013 at 12:46 PM, Scott Marlowe wrote: > Just for reference, way back in the day my laptop w/486DX50 and 16 > megs of RAM took 30 minutes to run ./configure and 1.5 hours to run > make. > Using MinGW and a modern laptop, it does slightly better than that. But not much. Just runni

[GENERAL] Postgres 8.4 stopped working---Please urgent help needed

2013-06-08 Thread g.singh
Hi All, I have a problem with PostgreSQL 8.4. It was working perfectly fine but after the restart (within a couple of minutes) of my system whenever I login to PostgreSQL 8.4 (localhost:5432) it gives error as under: Server doesn't listen The server doesn't accept connections: the connection l

[GENERAL] Sample database with difficult SQL questions

2013-06-08 Thread Alexander Gataric
I need a sample database and hard practice SQL questions (multiple joins, window functions, subqueries, CTEs) to write ad hoc queries or perform database tasks. Any suggestions are welcome. Thanks in advance. Sent from my smartphone - Reply message - From: g.si...@utwente.nl To: Subjec

Re: [GENERAL] Postgres 8.4 stopped working---Please urgent help needed

2013-06-08 Thread wd
On Sun, Jun 9, 2013 at 6:04 AM, wrote: > Hi All, > > > > I have a problem with PostgreSQL 8.4. It was working perfectly fine but > after the restart (within a couple of minutes) of my system whenever I > login to PostgreSQL 8.4 (localhost:5432) it gives error as under: > > > > *Server doesn't