Permalink
Browse files

use 64-bit types for auto_inc columns

git-svn-id: http://kazuho.31tools.com/svn/incline/trunk@243 4d3e2a30-9d6d-0410-bc8c-dac56cff10b3
  • Loading branch information...
1 parent 2c10663 commit 3aafdb515556127a441bb409c281b7d9cee45eaa kazuho committed Nov 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/incline_pgsql.h
View
@@ -14,7 +14,7 @@ class incline_pgsql : public incline_dbms {
virtual unsigned short default_port() const { return 5432; }
virtual std::vector<std::string> create_trigger(const std::string& name, const std::string& event, const std::string& time, const std::string& table, const std::map<std::string, std::string>& funcvar, const std::string& funcbody) const;
virtual std::vector<std::string> drop_trigger(const std::string& name, const std::string& table, bool if_exists) const;
- virtual std::string serial_column_type() const { return "SERIAL"; }
+ virtual std::string serial_column_type() const { return "BIGSERIAL"; }
virtual std::string create_table_suffix() const { return std::string(); }
virtual std::string delete_using(const std::string& table_name, const std::vector<std::string>& using_list) const;
};

0 comments on commit 3aafdb5

Please sign in to comment.