Hi, i have a schema called : test_survey i have within this schema this table: CREATE TABLE test_survey.accounts ( "ID" bigint NOT NULL DEFAULT nextval('test_survey."accounts_ID_seq"'::regclass), "login" character varying(300) NOT NULL, pwd character varying(100) NOT NULL, creation_date timestamp without time zone NOT NULL, CONSTRAINT accounts_pkey PRIMARY KEY ("ID") ) WITH (OIDS=FALSE); ALTER TABLE test_survey.accounts OWNER TO mysurvey;
and this sequence: CREATE SEQUENCE test_survey."accounts_ID_seq" INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1; ALTER TABLE test_survey."accounts_ID_seq" OWNER TO mysurvey; when i write the following query i get the error :ERROR: relation "accounts_id_seq" does not exist SET search_path = test_survey; insert into accounts values (nextval('accounts_ID_seq'),'[EMAIL PROTECTED]','ab4ef51934f2d3f02f1a','11/19/2007 15:46:09'); why ? -- Alain ------------------------------------ Windows XP SP3 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008