pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedConnect without queries?
5+ messages / 3 participants
[nested] [flat]
* Connect without queries?
@ 2007-02-02 18:29 Richard Wesley <hawkfish.tableau@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Richard Wesley @ 2007-02-02 18:29 UTC (permalink / raw)
To: pgsql-odbc
Hi -
I am attempting to connect to a Postgres-like database with PGODBC.
The driver seems to be able to communicate with the server, but it
complains that the pg_type table could not be found (hardly
surprising - none of the PG metadata tables are there).
Is there some way to just turn the driver into a data conduit? Just
open a connection, make queries and get back data?
TIA,
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connect without queries?
@ 2007-02-02 18:35 Joshua D. Drake <jd@commandprompt.com>
parent: Richard Wesley <hawkfish.tableau@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Joshua D. Drake @ 2007-02-02 18:35 UTC (permalink / raw)
To: Richard Wesley <hawkfish.tableau@gmail.com>; +Cc: pgsql-odbc
Richard Wesley wrote:
> Hi -
>
> I am attempting to connect to a Postgres-like database with PGODBC. The
> driver seems to be able to communicate with the server, but it complains
> that the pg_type table could not be found (hardly surprising - none of
> the PG metadata tables are there).
>
> Is there some way to just turn the driver into a data conduit? Just
> open a connection, make queries and get back data?
Not likely, PGODBC requires libpq which is going to at some level try to
communicate with the server beyond the protocol.
Joshua D. Drake
>
> TIA,
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connect without queries?
@ 2007-02-02 18:56 Dave Page <dpage@postgresql.org>
parent: Joshua D. Drake <jd@commandprompt.com>
0 siblings, 1 reply; 5+ messages in thread
From: Dave Page @ 2007-02-02 18:56 UTC (permalink / raw)
To: Joshua D. Drake <jd@commandprompt.com>; +Cc: Richard Wesley <hawkfish.tableau@gmail.com>; pgsql-odbc
Joshua D. Drake wrote:
> Richard Wesley wrote:
>> Hi -
>>
>> I am attempting to connect to a Postgres-like database with PGODBC. The
>> driver seems to be able to communicate with the server, but it complains
>> that the pg_type table could not be found (hardly surprising - none of
>> the PG metadata tables are there).
>>
>> Is there some way to just turn the driver into a data conduit? Just
>> open a connection, make queries and get back data?
>
> Not likely, PGODBC requires libpq which is going to at some level try to
> communicate with the server beyond the protocol.
It doesn't require libpq, but it will still be looking for catalogues.
I'm interested to know what a 'postgres-like' database is though -
especially one that doesn't have any catalogues.
/D
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connect without queries?
@ 2007-02-02 19:20 Joshua D. Drake <jd@commandprompt.com>
parent: Dave Page <dpage@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Joshua D. Drake @ 2007-02-02 19:20 UTC (permalink / raw)
To: Dave Page <dpage@postgresql.org>; +Cc: Richard Wesley <hawkfish.tableau@gmail.com>; pgsql-odbc
Dave Page wrote:
> Joshua D. Drake wrote:
>> Richard Wesley wrote:
>>> Hi -
>>>
>>> I am attempting to connect to a Postgres-like database with PGODBC. The
>>> driver seems to be able to communicate with the server, but it complains
>>> that the pg_type table could not be found (hardly surprising - none of
>>> the PG metadata tables are there).
>>>
>>> Is there some way to just turn the driver into a data conduit? Just
>>> open a connection, make queries and get back data?
>> Not likely, PGODBC requires libpq which is going to at some level try to
>> communicate with the server beyond the protocol.
>
> It doesn't require libpq, but it will still be looking for catalogues.
Oh did you guys go back to the protocol speak in the current version?
Sincerely,
Joshua D. Drake
>
> I'm interested to know what a 'postgres-like' database is though -
> especially one that doesn't have any catalogues.
>
> /D
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connect without queries?
@ 2007-02-02 19:43 Dave Page <dpage@postgresql.org>
parent: Joshua D. Drake <jd@commandprompt.com>
0 siblings, 0 replies; 5+ messages in thread
From: Dave Page @ 2007-02-02 19:43 UTC (permalink / raw)
To: Joshua D. Drake <jd@commandprompt.com>; +Cc: Richard Wesley <hawkfish.tableau@gmail.com>; pgsql-odbc
Joshua D. Drake wrote:
> Dave Page wrote:
>> Joshua D. Drake wrote:
>>> Richard Wesley wrote:
>>>> Hi -
>>>>
>>>> I am attempting to connect to a Postgres-like database with PGODBC. The
>>>> driver seems to be able to communicate with the server, but it complains
>>>> that the pg_type table could not be found (hardly surprising - none of
>>>> the PG metadata tables are there).
>>>>
>>>> Is there some way to just turn the driver into a data conduit? Just
>>>> open a connection, make queries and get back data?
>>> Not likely, PGODBC requires libpq which is going to at some level try to
>>> communicate with the server beyond the protocol.
>> It doesn't require libpq, but it will still be looking for catalogues.
>
> Oh did you guys go back to the protocol speak in the current version?
Yes, we support v3.0 natively now, but can dynamically load libpq for
connection setup if the user wants to use, <cough>pgpass</cough>,
Kerberos or SSL.
Regards, Dave.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2007-02-02 19:43 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02 18:29 Connect without queries? Richard Wesley <hawkfish.tableau@gmail.com>
2007-02-02 18:35 ` Joshua D. Drake <jd@commandprompt.com>
2007-02-02 18:56 ` Dave Page <dpage@postgresql.org>
2007-02-02 19:20 ` Joshua D. Drake <jd@commandprompt.com>
2007-02-02 19:43 ` Dave Page <dpage@postgresql.org>
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