Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2FCAE9FCB7A for ; Thu, 8 Nov 2007 12:14:27 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 05816-09 for ; Thu, 8 Nov 2007 12:14:25 -0400 (AST) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by postgresql.org (Postfix) with ESMTP id ED2569F9266 for ; Thu, 8 Nov 2007 12:14:23 -0400 (AST) Received: by rv-out-0910.google.com with SMTP id l15so165570rvb for ; Thu, 08 Nov 2007 08:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=/zMgyYK1eVHLn5z2wZso96S/JJycswuXm3b62xsy/5c=; b=fjFrftAazIj/ZNwIMPmw9Oo2/1R3AB/smy9KHE25UTV5U9nzWDJrxM9HYNNusaou/FXYA5czOs1g0QhYUosPEMJcz70xFIHGfLJ7wVkJ5wpQJDvwuIcXW5FTLK18fJn4cJxKd/s6da4uVfG6Zr6Kg85IFMpby40zlpUhO9WfHCU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qp3bmMVoMSSqCou5VxT1d/Z48kQZ7Dyg+qtvx9PXk0ovmidzmnnle4303mt2UUpXFSz1tLlC9E/2Rn4tcdOSTt/lAlXv/fDgk4YfChW7hS9csfOfyMWcUTn5MoJT8weKRfori2lByPpZUDp5lt4QbyLD4YQg/WO2VR337u6FHlg= Received: by 10.141.180.5 with SMTP id h5mr333446rvp.1194538462521; Thu, 08 Nov 2007 08:14:22 -0800 (PST) Received: by 10.64.233.15 with HTTP; Thu, 8 Nov 2007 08:14:22 -0800 (PST) Message-ID: Date: Thu, 8 Nov 2007 11:14:22 -0500 From: "Erik Aronesty" To: pgsql-admin@postgresql.org Subject: Re: alter table serial->int In-Reply-To: <7625.1194412270@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7625.1194412270@sss.pgh.pa.us> X-Google-Sender-Auth: 99942fde87c37ad7 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/68 X-Sequence-Number: 27311 > "Erik Aronesty" writes: > > for some odd reason when i try to change a table from serial to just > > plain "int with a default" postgres seems to ignore me. > > What PG version? (PostgreSQL) 8.1.10 > The fact that you even tried that suggests that you don't understand > very well what "serial" is. See the manual ... I tried to change the data type first. Which implies I know what it means.