Received: from white.knm.net (www.kyongnam.co.kr [210.123.182.10]) by hub.org (8.9.3/8.9.3) with ESMTP id EAA32510 for ; Fri, 28 May 1999 04:33:25 -0400 (EDT) (envelope-from curry@mail.knm.net) Received: from mail.knm.net ([210.123.182.7]) by white.knm.net (8.8.8H1/8.8.8) with ESMTP id RAA10129 for ; Fri, 28 May 1999 17:23:12 +0900 (KST) Message-ID: <374E5502.9B2E4C2B@mail.knm.net> Date: Fri, 28 May 1999 17:34:10 +0900 From: curry X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: [?]Nobody hasn't add column? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit I'm first time in postgresql... Um.... I made little program... with C and postgres on the web. Everything is OK. But I want to add a column. So ....... sprintf(rest, "alter table danga add (a%s float)",entries[0].val); res = PQexec(conn, rest); if (PQresultStatus(res) != PGRES_COMMAND_OK) { fprintf(stderr,"command failed\n"); PQclear(res); printf("###"); exit_nicely(conn); } PQclear(res); ......... Excute this program print JUST ### WHY? Maybe Nobody hasn't create column.... I don't know... My English write level is very low. so my message reading thank you so much.