Begin main content

Sun to integrate PostgreSQL into Solaris 10 [software.newsforge.com]

This is very good news. Hopefully this will be another tool to help IT departments and companies look at Postgres as an alternative for mid-range databases.

The sort of things that are implemented in MySQL or Sybase are much better (IMO) developed on Postgresql. The only impediment to being a total replacement for all enterprise DBMS products apart from Oracle is better replication support. Even many applications using Oracle would be excellent candidates for Postgres if they are not using Oracle's real winning features like the Media server.

02:14 PM, 24 Nov 2005 by Mark Aufflick Permalink | Short Link | Comments (0)

del.icio.us uses perl/mason

And I discovered this tidbit because i hit a bad database handle in their code and they have fatal error display turned on!


System error

error:  Can't call method "prepare" on an undefined value at /www/del.icio.us/comp/user/get line 13.
context: 
... 
9:  my $usedb = 'master';
10:  my $ret;
11: 
12:  if (!$auth_user) { $usedb = 'user' }
13:  if (!exists ($db->{$usedb})) { $usedb = 'master' }
14:  $user_name_q->{$usedb} = $db->{$usedb}->prepare('select * from users where user_name = ?');
15:  my $query = $user_name_q->{$usedb};
16:  $query->execute(lc($user_name));
17: 
... 
code stack:  /www/del.icio.us/comp/user/get:13
/www/del.icio.us/site/dhandler:194
/www/del.icio.us/site/autohandler:108

I'm surprised they don't use some sort of global cache for prepared statements - that query must get run a LOT.

10:50 AM, 24 Nov 2005 by Mark Aufflick Permalink | Short Link | Comments (0)

XML

Blog Categories

software (39)
..cocoa (21)
  ..heads up 'tunes (5)
..ruby (6)
..lisp (3)
..perl (4)
..openacs (1)
mac (20)
embedded (2)
..microprocessor (2)
  ..avr (1)
electronics (3)
design (1)
photography (25)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)

Notifications

Icon of Envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Unregistered Visitor: An other Script
  2. Unregistered Visitor: A message in there?
  3. Unregistered Visitor: using Amazon S3
  4. Unregistered Visitor: Thank you ! Thank you ! Thank you !
  5. Unregistered Visitor: Umbrello on leopard
  6. Unregistered Visitor: Script gor generate for library
  7. Unregistered Visitor: Similar but different
  8. Unregistered Visitor: Thanks for fixing my problem!
  9. Unregistered Visitor: Pop up once the category is been defined
  10. Unregistered Visitor: smal amendment