I've installed this module on a postgreSQL system and thought I'd share the create table code. I'm not positive that you'd need the CREATE SEQUENCE code, but here's everything. It hasn't been rigorously tested, but so far works for me. Jamie.

CREATE SEQUENCE taxonomy_block_bid_seq
  INCREMENT 1
  MINVALUE 1
  MAXVALUE 9223372036854775807
  START 1
  CACHE 1;
ALTER TABLE taxonomy_block_bid_seq OWNER TO drupal;


CREATE TABLE taxonomy_block
(
  description varchar(100) NOT NULL,
  teaser int4 NOT NULL DEFAULT 0,
  name varchar(100) NOT NULL,
  length int4 NOT NULL DEFAULT 1,
  bid int4 NOT NULL DEFAULT nextval('taxonomy_block_bid_seq'::regclass),
  tid int4 NOT NULL DEFAULT 0,
  "type" varchar(100) NOT NULL DEFAULT 'vocabulary'::character varying
  CONSTRAINT type_cons CHECK ("type" IN ('vocabulary','term')),
  CONSTRAINT bid_pkey PRIMARY KEY (bid)
) 
WITHOUT OIDS;
ALTER TABLE taxonomy_block OWNER TO drupal;

Comments

drewish’s picture

Status: Needs review » Closed (duplicate)