pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
URGENT: schema mess
2+ messages / 2 participants
[nested] [flat]

* URGENT: schema mess
@ 2005-04-03 11:42  Ivan Petrov <ipp@mail.bg>
  0 siblings, 1 reply; 2+ messages in thread

From: Ivan Petrov @ 2005-04-03 11:42 UTC (permalink / raw)
  To: pgsql-odbc


  Hello guys,

  I have the following problem:

  My Delphi application connect to PostgreSQL via ADO and
ODBC driver. I have properly set the ODBC data source and
everything was working file while all my tables where in
public schema.

  I decided to group my tables in different schemas. So I
created additional schema "system" and moved the few tables
there. After that I updated the "search_path" variable to
pg_catalog, public, system. But when I try to select
something from table system.sec_users I receive empty
recordset. If I try the same SQL from EMS PostgreSQL
Manager or the console application psql - it returns me
what it should.

  Where is the problem ?

-----------------------------

MP3 player APACER 256MB - Само за 99 лв.
http://best.bg/stock.asp?cat_id=737&id=3789




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: URGENT: schema mess
@ 2005-04-19 12:40  Ben Trewern <ben.trewern@_nospam_mowlem.com>
  parent: Ivan Petrov <ipp@mail.bg>
  0 siblings, 0 replies; 2+ messages in thread

From: Ben Trewern @ 2005-04-19 12:40 UTC (permalink / raw)
  To: pgsql-odbc

With Delphi use Zeosdbo instead of ODBC.  It just seems to work.

Ben

"Ivan Petrov" <ipp@mail.bg> wrote in message 
news:1112528563.1ed75f13f56d9@mail.bg...
>
>  Hello guys,
>
>  I have the following problem:
>
>  My Delphi application connect to PostgreSQL via ADO and
> ODBC driver. I have properly set the ODBC data source and
> everything was working file while all my tables where in
> public schema.
>
>  I decided to group my tables in different schemas. So I
> created additional schema "system" and moved the few tables
> there. After that I updated the "search_path" variable to
> pg_catalog, public, system. But when I try to select
> something from table system.sec_users I receive empty
> recordset. If I try the same SQL from EMS PostgreSQL
> Manager or the console application psql - it returns me
> what it should.
>
>  Where is the problem ?
>
> -----------------------------
>
> MP3 player APACER 256MB - Ñàìî çà 99 ëâ.
> http://best.bg/stock.asp?cat_id=737&id=3789
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org
> 





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-04-19 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-03 11:42 URGENT: schema mess Ivan Petrov <ipp@mail.bg>
2005-04-19 12:40 ` Ben Trewern <ben.trewern@_nospam_mowlem.com>

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