| From: | Andy Colson <andy(at)squeakycode(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Define OID |
| Date: | 2014-07-09 19:57:24 |
| Message-ID: | 53BD9EA4.6010508@squeakycode.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 7/9/2014 2:41 PM, frank ernest wrote:
> Hello, I can't seem to find the allowed values for OIDs.
> result = PQprepare(parrentcon, insertstmt, insert, 2, /*FIXME*/);
> Both arguments are to be of type char * in C and of type varchar(255) in
> sql.
> I looked in the docs but I can't seem to find where OIDs are enumerated,
> please point me in the right direction.
> Thanks, David
You don't need to specify them if you dont want to. Pass NULL and it'll
guess. Did you read the tip just prior to the PQprepare description?
http://www.postgresql.org/docs/9.3/static/libpq-exec.html
-Andy
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sergey Konoplev | 2014-07-09 23:58:17 | Synonym/thesaurus dictionaries for FTS |
| Previous Message | frank ernest | 2014-07-09 19:41:06 | Define OID |