23a24,46 > case 'pgsql': > > /* > * Stuff to make this module work with PostgreSQL. > * We're doing things a bit different then the mysql stuff above because we're using a real database. > */ > > db_query(" CREATE SEQUENCE path_access_seq; > > CREATE TABLE path_access ( > pid integer not null default nextval('path_access_seq'), > rid integer not null default 0, > pages text, > visibility smallint not null default 0, > PRIMARY KEY(pid) > ); > "); > > db_query("INSERT INTO path_access (rid, pages, visibility) VALUES (1, '', 0)"); > db_query("INSERT INTO path_access (rid, pages, visibility) VALUES (2, '', 0)"); > > $success = TRUE; > break; 33a57,61 > function path_access_uninstall() { > db_query('DROP TABLE path_access'); > db_query('DROP SEQUENCE path_access_seq'); > } >