From: | "Phil Endecott" <spam_from_postgresql_general(at)chezphil(dot)org> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Still unclear about PQexecParams and "create view" |
Date: | 2007-02-12 22:31:37 |
Message-ID: | 1171319497582@dmwebmail.belize.chezphil.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Dear All,
I'm still unsure about whether I am allowed to use PQexecParams to
execute a create view command with $n parameters; reading between the
lines of Peter Eisentraut's message I get the impression that this
isn't going to work. So:
- Can anyone offer a list of which commands are compatible with
PQexecParams and which aren't?
- Is this likely to change any time soon?
- Would you agree that not giving an error message immediately is a bug?
- Since I have now changed all my code to use PQexecParams and binary
parameters, I think it is easiest for me to put a wrapper around it
that substitutes $ parameters before passing them to PQexec. I'll post
the code when I have it working - but maybe someone has already done this?
Cheers,
Phil.
From | Date | Subject | |
---|---|---|---|
Next Message | Ian Harding | 2007-02-12 22:33:12 | Re: Adjacency List or Nested Sets to model file system hierarchy? |
Previous Message | Anton Melser | 2007-02-12 22:18:55 | Re: getting postgres to emulate mysql/sqlserver bit datatype |