Tips & Tricks
Shared memory su Mac OsX
Posted November 17th, 2009 by scottyNel compilare PostgreSQL sul mio Macbook ho notato che quando da utente postgresql andavo ad eseguire
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
ottenevo un errore in quanto avevo poca shared memory a disposizione, la soluzione al problema è la seguente:
Un link interessante
Posted June 19th, 2009 by scottyQui di seguito un link che penso possa essere interessante
http://www.postgresonline.com/
Un saluto
Enrico
- scotty's blog
- Login or register to post comments
Ruby - Postgresql Istruzioni per l'uso
Posted June 18th, 2009 by scottyRuby
Nota tutta la procedura si intende utilizzata in ambiente shell bash e PostgreSQL compilato in /usr/local/pgsql direttamente dal codice sorgente
Scarichiamo il pacchetto
$ wget -c ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
$ tar xvfz ruby-1.8.7-p72.tar.gz
$cd ruby-1.8.7-p72
$ ./configure --prefix=/usr/local/ruby
$ make
$ sudo su
# make install
- scotty's blog
- Login or register to post comments
- Read more
Ssh PostgreSQL tunnel
Posted January 28th, 2009 by scottyPiccola Tip per tunnellizzare tramite ssh una connessione remota postgresql verso una porta locale
ssh -p porta -L portalocale:localhost:5432 root@ipremoto
- scotty's blog
- Login or register to post comments
Caricare PostgreSQL 8.3 come modulo su PHP 5.2.6 su Windows Vista
Posted June 23rd, 2008 by MassimilianoPHP v. 5.2.6 ha un bug nel caricamento del modulo php_pgsql.dll, come riportato qui:
http://bugs.php.net/bug.php?id=44905
Il modulo php_pgsql.dll supporta PostgreSQL alla versione 8.3.1
Per fare in modo che PHP 5.2.6 sia in grado di caricare php_pgsql.dll si può utilizzare questo workaround:
- Massimiliano's blog
- Login or register to post comments
- Read more
