From: curry <curry@mail.knm.net>
To: pgsql-sql@postgresql.org
Subject: [?]Nobody hasn't add column?
Date: Fri, 28 May 1999 17:34:10 +0900
Message-ID: <374E5502.9B2E4C2B@mail.knm.net> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: curry@mail.knm.net
Subject: Re: [?]Nobody hasn't add column?
In-Reply-To: <374E5502.9B2E4C2B@mail.knm.net>
References: <374E5502.9B2E4C2B@mail.knm.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox