[?]Nobody hasn't add column?

From: curry <curry(at)mail(dot)knm(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: [?]Nobody hasn't add column?
Date: 1999-05-28 08:34:10
Message-ID: 374E5502.9B2E4C2B@mail.knm.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Remigiusz Sokolowski 1999-05-28 08:59:11 Re: [SQL] [?]Nobody hasn't add column?
Previous Message Ivanko Alexandr 1999-05-28 06:04:50 (no subject)