[GENERAL] Error in crosstab using date_trunc

2009-12-05 Thread Jose Maria Terry Jimenez
Hello all, I'm trying to do a crosstab from data that row names are times. These times are timestamps and i want to use they truncating to minutes this works for me: select distinct date_trunc('minute',"timestamp") as "timestamp" from historico order by "timestamp"; Getting times "norm

Re: [GENERAL] Error in crosstab using date_trunc

2009-12-06 Thread José María Terry Jiménez
Richard Broersma escribió: On Sat, Dec 5, 2009 at 11:11 AM, Jose Maria Terry Jimenez wrote: select distinct date_trunc('minute',"timestamp") as "timestamp" from historico order by "timestamp"; Notice the example from the documentation: http:/

Re: [GENERAL] Error in crosstab using date_trunc

2009-12-06 Thread José María Terry Jiménez
Scott Marlowe escribió: On Sat, Dec 5, 2009 at 12:11 PM, Jose Maria Terry Jimenez wrote: Hello all, I'm trying to do a crosstab from data that row names are times. These times are timestamps and i want to use they truncating to minutes this works for me: select distinct date_

Re: [GENERAL] Error in crosstab using date_trunc

2009-12-06 Thread José María Terry Jiménez
Alban Hertroys escribió: On 6 Dec 2009, at 4:13, Scott Marlowe wrote: On Sat, Dec 5, 2009 at 12:11 PM, Jose Maria Terry Jimenez wrote: Hello all, I'm trying to do a crosstab from data that row names are times. These times are timestamps and i want to use they truncati

Re: [GENERAL] pgadmin save password

2010-01-09 Thread José María Terry Jiménez
glaucomag escribió: Hi, I've a problem with pgadmin. If I access to database with user X and I save password, when I access to database from shell (psql) password is not required. Of course pg_hba.conf is: local database X md5 If I don't save password in pgadmin, it's ok (psql required password

<    1   2   3   4