Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
#1697: CHECK() doesn't create in postgresql
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Doctrine  
View profile   Translate to Translated (View Original)
 More options 27 Nov 2008, 18:39
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Thu, 27 Nov 2008 18:39:10 -0000
Local: Thurs 27 Nov 2008 18:39
Subject: [Doctrine] #1697: CHECK() doesn't create in postgresql
#1697: CHECK() doesn't create in postgresql
-----------------------------------+--------------------------------------- -
 Reporter:  phprus                 |       Owner:  jwage  
     Type:  defect                 |      Status:  new    
 Priority:  major                  |   Milestone:  1.0.5  
Component:  Import/Export          |     Version:  1.0-DEV
 Keywords:                         |    Has_test:  0      
 Mystatus:  Pending Core Response  |   Has_patch:  1      
-----------------------------------+--------------------------------------- -
 Function createTableSql from file Doctrine/Export/Pgsql.php doesn't have
 code to generation CHECK() block.
 Replace:
 {{{
 $query = 'CREATE TABLE ' . $this->conn->quoteIdentifier($name, true) . '
 (' . $queryFields . ')';
 }}}
 To:
 {{{
 $query = 'CREATE TABLE ' . $this->conn->quoteIdentifier($name, true) . '
 (' . $queryFields;
 if ($check = $this->getCheckDeclaration($fields)) {
     $query .= ', ' . $check;
 }
 if (isset($options['checks']) && $check =
 $this->getCheckDeclaration($options['checks'])) {
     $query .= ', ' . $check;
 }
 $query .= ')';
 }}}

--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1697>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google