Re: [SQL] .psql_history: No such file

2009-06-29 Thread ivan marchesini
Thanks to all... in effect it is a very little problem if you consider that probably I will call psql from normal accounts... :-) thanks Il giorno dom, 28/06/2009 alle 01.04 +0930, Shane Ambler ha scritto: Guillaume Lelarge wrote: Hi Ivan, Le vendredi 26 juin 2009 à 17:53:15, ivan

[SQL] .psql_history: No such file

2009-06-26 Thread ivan marchesini
Dear users, I have installed a postgres db using a datadir different from /var/lib/pgsql/.psql_history. then: su postgres psql postgres All went fine but when I exit from psql from a db I obtain: ___ could not save history to file /var/lib/pgsql/.psql_history: No such file or

[SQL] 2 tables or two db?

2009-06-18 Thread ivan marchesini
Dear postgres users, Suppose I have two tables of data. suppose the two table are really similar in dimensions suppose they will receive the same number and type of queries. in tems of performance (velocity of answer) it is better to place the two tables in the same db or into two different

[SQL] store pdf files

2008-12-09 Thread ivan marchesini
inviarmi files .dwg, .doc, .xls, .ppt. Preferisco formati liberi. Please try to avoid to send me .dwg, .doc, .xls, .ppt files. I prefer free formats. http://it.wikipedia.org/wiki/Formato_aperto http://en.wikipedia.org/wiki/Open_format Ivan Marchesini Department of Civil and Environmental Engineering

[SQL] foreign key problem

2007-09-24 Thread ivan marchesini
://en.wikipedia.org/wiki/Open_format Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax (university): +39(0)755853756 fax (home): +39(0

[SQL] date problems

2007-08-30 Thread ivan marchesini
prefer free formats. http://it.wikipedia.org/wiki/Formato_aperto http://en.wikipedia.org/wiki/Open_format Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0

[SQL] insert a sequence

2007-05-10 Thread ivan marchesini
to avoid to send me .doc, .xls, .ppt, .dwg files. I prefer free formats. http://it.wikipedia.org/wiki/Formato_aperto http://en.wikipedia.org/wiki/Open_format Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail

[SQL] join a lot of columns of two tables

2006-12-14 Thread ivan marchesini
prego di cercare di non inviarmi files .doc, .xls, .ppt, .dwg. Preferisco formati liberi. Please try to avoid to send me .doc, .xls, .ppt, .dwg files. I prefer free formats. http://it.wikipedia.org/wiki/Formato_aperto http://en.wikipedia.org/wiki/Open_format Ivan Marchesini Department of Civil

[SQL] drop a check

2006-11-13 Thread ivan marchesini
-- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0)755853756 jabber: [EMAIL PROTECTED] ---(end of broadcast

Re: [SQL] drop a check

2006-11-13 Thread ivan marchesini
it sounds strange! thanks!!! Ivan On lun, 2006-11-13 at 19:41 +0200, Volkan YAZICI wrote: On Nov 13 05:32, ivan marchesini wrote: I have created a check constraint without giving it a name.. now I have a check named $25 in my table that I need to drop or modify!!! How can I do

Re: [SQL] drop a check

2006-11-13 Thread ivan marchesini
. or it depend on the fact I'm using postgres 7.4.13 many thanks... Ivan On lun, 2006-11-13 at 19:41 +0200, Volkan YAZICI wrote: On Nov 13 05:32, ivan marchesini wrote: I have created a check constraint without giving it a name.. now I have a check named $25 in my table that I need

[SQL] could not connect to server

2006-10-13 Thread ivan marchesini
you suggest me some ideas for solving this problem??? thank you Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0)755853756

Re: [SQL] could not connect to server

2006-10-13 Thread ivan marchesini
/current/static/client-authentication.html HTH, Andreas -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0)755853756 jabber

[SQL] simple problem???

2006-07-20 Thread ivan marchesini
for plotting also the value of B??? Thank you very much Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0)755853756

Re: [SQL] how to solve this problem

2006-04-14 Thread ivan marchesini
... As to the binary representation mentioned elsewhere, the idea is that you can view vinc1-vinc20 as bits in a binary number equal to vinc1 + 2*vinc2 + 4*vinc3 + 8*vinc4...2^19*vinc20. Whether or not this is useful depends on what you are trying to do. Cheers, Steve -- Ivan Marchesini Department

[SQL] how to solve this problem

2006-04-13 Thread ivan marchesini
this result??? thank you very much Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0)755853756 jabber: [EMAIL PROTECTED

Re: [SQL] how to solve this problem

2006-04-13 Thread ivan marchesini
of an integer? Regards, Richard --- ivan marchesini [EMAIL PROTECTED] wrote: Dear users, I have this problem I have a table where there are 20 columns named vinc1, vinc2, vinc3, vinc4, etc the values contained into each column are simply 1 or 0 (each column

[SQL] COPY tablename FROM and null values

2006-03-22 Thread ivan marchesini
to use COPY tablename FROM 'filename.txt' I obtain an error I have tried also using WITH NULL AS ' ' but without good results... can someone explain me how to solve this problem??? thank you very much Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University

[SQL] newbie question

2006-03-03 Thread ivan marchesini
suggestions to start.. then I can go on by myself!! thank you very much Ivan -- Ivan Marchesini Department of Civil and Environmental Engineering University of Perugia Via G. Duranti 93/a 06125 Perugia (Italy) e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] tel: +39(0)755853760 fax: +39(0

Re: [SQL] newbie question

2006-03-03 Thread ivan marchesini
Thanks to all... another question... is it possible to copy a table to a view and then back the view to a table??? thank you very much... ivan Il giorno ven, 03/03/2006 alle 11.51 +0100, Andreas Kretschmer ha scritto: ivan marchesini [EMAIL PROTECTED] schrieb: Dear users.. I have fastly