you could use a table level constraint for the UNIQUE constraint;
CONSTRAINT name_unique UNIQUE(name)
so...
create table search(
id serial,
name varchar(50) not null default 'n/a', info text,
CONSTRAINT search_pk PRIMARY KEY(id),
CONSTRAINT name_unique UNIQUE(name)
);
hope that helps.