Part of the EllisLab Network
   
 
postgre driver
Posted: 26 January 2008 01:01 PM   [ Ignore ]  
Summer Student
Total Posts:  17
Joined  10-07-2007

postgre_driver.php

function _protect_identifiers($item$first_word_only FALSE)
[..]
  
else
  
{
    
return ""{$item}""
    
//-> return "`{$item}`";
  
}

  $exceptions 
= array('AS''/''-''%''+''*');
        
  foreach (
$exceptions as $exception)
  
{
        
    
if (stristr($item" "{$exception}" ") !== FALSE
    
//-> if (stristr($item, " `{$exception}` ") !== FALSE)
    
Profile
 
 
Posted: 26 January 2008 02:50 PM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4777
Joined  03-23-2006

What are you demonstrating?  Which version?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 26 January 2008 03:25 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  550
Joined  10-18-2006

He is right… Current SVN version, in database/drivers/postgre/postgre_driver.php
There are parse errors on lines 454 and 462.

 Signature 

Once in a while I remember I use Twitter

Profile
 
 
Posted: 26 January 2008 03:32 PM   [ Ignore ]   [ # 3 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4777
Joined  03-23-2006

I see.  Could you try now?

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG