Difference between revisions of "API:EPrints/Database/Pg"
Line 45: | Line 45: | ||
<!-- Pod2Wiki=item_index_name --> | <!-- Pod2Wiki=item_index_name --> | ||
====$name = $db->index_name( $table, @columns )==== | ====$name = $db->index_name( $table, @columns )==== | ||
+ | |||
+ | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
+ | <span style='display:none'>User Comments</span> | ||
+ | <!-- Edit below this comment --> | ||
+ | |||
+ | |||
+ | <!-- Pod2Wiki= --> | ||
+ | </div> | ||
+ | <!-- Pod2Wiki=head_postgresql_specific_annoyances --> | ||
+ | ===PostgreSQL-specific Annoyances=== | ||
+ | The {{API:PodLink|file=DBD/Pg|package_name=DBD::Pg|section=|text=DBD::Pg}} SQL_VARCHAR type is mapped to text instead of varchar(n). | ||
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> |
Revision as of 13:07, 17 June 2010
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
Contents
NAME
EPrints::Database::Pg - custom database methods for PostgreSQL DB
DESCRIPTION
TODO
epadmin create
$name = $db->index_name( $table, @columns )
PostgreSQL-specific Annoyances
The DBD::Pg SQL_VARCHAR type is mapped to text instead of varchar(n).
METHODS