Re: [HACKERS] INT2OID, etc.
| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | Re: [HACKERS] INT2OID, etc. |
| Дата | |
| Msg-id | m0y8PJB-00000oC@druid.net обсуждение исходный текст |
| Ответ на | Re: [HACKERS] INT2OID, etc. (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Thus spake Bruce Momjian
> I will say that pg_dump does use it, but it is not really a 3rd party
> library.
Maybe everything in src/interfaces should be considered the same way.
> I recommend you use the file, and make them supply the pgsql source
> directory as part of the compile, that way, you can access the files you
> need directly. You can do a lookup in pg_type for the names of the
> types you want. Maybe you can even write a little psql script to
> extract the oid's you need from pg_type, convert the output to #defines,
> and #include that in your compile.
That's a thought. I just pulled the defines I needed out with many
comments about what a bad boy I was for doing that. I'll look at
something like that.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-hackers по дате отправления: