pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgreSQL ODBC
11+ messages / 10 participants
[nested] [flat]

* postgreSQL ODBC
@ 2001-05-30 14:57 Erick Murray <murray@espace-strategie.com>
  2001-06-06 05:13 ` Re: postgreSQL ODBC Cedar Cox <cedarc@visionforisrael.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Erick Murray @ 2001-05-30 14:57 UTC (permalink / raw)
  To: pgsql-odbc

Hi,

I would like to download the PostgreSQL ODBC Driver for windows but i don't
have access to ftp site.

ftp://ftp.postgresql.org/pub/odbc/versions/msi/

How can i do ?

Thank you
Erick




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

* Re: postgreSQL ODBC
  2001-05-30 14:57 postgreSQL ODBC Erick Murray <murray@espace-strategie.com>
@ 2001-06-06 05:13 ` Cedar Cox <cedarc@visionforisrael.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Cedar Cox @ 2001-06-06 05:13 UTC (permalink / raw)
  To: Erick Murray <murray@espace-strategie.com>; +Cc: pgsql-odbc


Try a mirror site.. the main one is probably busy.  Or you can look here
 http://odbc.postgresql.org/

-Cedar

On Wed, 30 May 2001, Erick Murray wrote:

> Hi,
> 
> I would like to download the PostgreSQL ODBC Driver for windows but i don't
> have access to ftp site.
> 
> ftp://ftp.postgresql.org/pub/odbc/versions/msi/
> 
> How can i do ?
> 
> Thank you
> Erick
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 




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

* postgresql ODBC
@ 2001-09-10 23:45 allan d. go <batusaix@pacific.net.ph>
  0 siblings, 0 replies; 11+ messages in thread

From: allan d. go @ 2001-09-10 23:45 UTC (permalink / raw)
  To: pgsql-odbc

greetings,

i compiled postgresql 7.1.2 with odbc option

i created .odbc.ini on /home/pgsql    <--- directory of my postgres user 
 
.odbc.ini                                

[ODBC Data Source]
Driver=/usr/lib/libpsqlodbc.so
Database=db1
Servername=localhost  <---- should i put the IP address?
Port=5432

i installed psqlODBC and setup on my Win OS

Datasource=postgresql
Database=db1
Server=10.2.1.1  <----- ip address of my postgresql box
post=5432

and i tried to connect via Visual Basic 6.0

VB6 Connection

DNS=postgresql
UID=postgres
DATABASE=db1

i'm having "ODBC Database Open Failed, Check connect Info" error

how can i check if i properly installed pgsql ODBC on my linux box?

i know my postgresql is working, cause i can retrieve data via PHP program on my Win OS

____________

another one, i copied the postgresql script of rpm to my compiled box and issued this command to start postgres

  echo -n "Starting postgresql service: "
  su -l postgres -c 'nohup postmaster -D /home/pgsql/data </dev/null >>server.log 2>&1 </dev/null &'
  sleep 1
  pid='pidof postmaster'
  if [$pid]
  then
    ...
    create pid file for postgres
    ....
  else
     echo failed
  fi    

  i can't start postgresql using this script
  but i can when i issue "nohup postmaster -D /home/pgsql/data </dev/null >>server.log 2>&1 </dev/null &'"
  on bash prompt using postgres user.

  something wrong with my script file?


just wondering...

        ^_^x

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

* Postgresql & ODBC
@ 2003-01-30 15:53 Art Fore <afore@sonic.net>
  2003-01-31 21:16 ` Re: Postgresql & ODBC Giuliano Gavazzi <dev +pgsql@humph.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Art Fore @ 2003-01-30 15:53 UTC (permalink / raw)
  To: pgsql-odbc

I went through the info on the documentation to setup ODBC for 
Postgresql, but when I use isql PostgresQL-test, I get a no connect 
error. Could someone tell me what I did wrong? The two ini files are 
below. I can connect with Rekall, but it does not use ODBC, it uses 
python script.

odbc.ini

[PostgreSQL]
Description         = Test to Postgres
Driver              = PostgreSQL
Trace               = Yes
TraceFile           = sql.log
Database            = test
Servername          = localhost
UserName            =
Password            =
Port                = 5432
Protocol            = 6.4
ReadOnly            = No
RowVersioning       = No
ShowSystemTables    = No
ShowOidColumn       = No
FakeOidIndex        = No
ConnSettings        =

odbcinst.ini

[PostgreSQL]
Description	= PostgreSQL driver
Driver	= /usr/lib/unixODBC/libodbcpsql.so
Setup	= /usr/lib/unixODBC/libodbcpsqlS.so
FileUsage	= 1





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

* Re: Postgresql & ODBC
  2003-01-30 15:53 Postgresql & ODBC Art Fore <afore@sonic.net>
@ 2003-01-31 21:16 ` Giuliano Gavazzi <dev +pgsql@humph.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Giuliano Gavazzi @ 2003-01-31 21:16 UTC (permalink / raw)
  To: afore@sonic.net; pgsql-odbc

At 7:53 -0800 2003/01/30, Art Fore wrote:
>I went through the info on the documentation to setup ODBC for 
>Postgresql, but when I use isql PostgresQL-test, I get a no connect 
>error. Could someone tell me what I did wrong? The two ini files are 
>below. I can connect with Rekall, but it does not use ODBC, it uses 
>python script.
>
>odbc.ini
>
>[PostgreSQL]
>Description         = Test to Postgres
>Driver              = PostgreSQL
>Trace               = Yes
>TraceFile           = sql.log
>Database            = test
>Servername          = localhost
>UserName            =
>Password            =
>Port                = 5432
>Protocol            = 6.4
>ReadOnly            = No
>RowVersioning       = No
>ShowSystemTables    = No
>ShowOidColumn       = No
>FakeOidIndex        = No
>ConnSettings        =
>
>odbcinst.ini
>
>[PostgreSQL]
>Description	= PostgreSQL driver
>Driver	= /usr/lib/unixODBC/libodbcpsql.so
>Setup	= /usr/lib/unixODBC/libodbcpsqlS.so
>FileUsage	= 1
>

I do not know isql, but your odbc.ini does not contain the list of 
datasources and the definition of the PostgresQL-test datasource 
itself.

Giuliano



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

* postgresql odbc
@ 2017-07-22 03:45 Malik Al-RaWahi <malik_alrawahi@hotmail.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Malik Al-RaWahi @ 2017-07-22 03:45 UTC (permalink / raw)
  To: pgsql-odbc

Dears

i have oracle on red hat 5.3 i want to connect to postgresql 9.3 by DB LINK from oracle to postgresql 9.3,
So what the best postgresql-odbc i have to install in red hat 5.6.

Is postgresql-odbc 9.3 (same database version) or postgresql-odbc 9.5.

and do you have any documentation for the connection and how using it

Regards
Malik Alrawahi

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

* Postgresql-ODBC
@ 2020-03-30 10:05 Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
  2020-03-30 16:36 ` Re: Postgresql-ODBC Clemens Ladisch <clemens@ladisch.de>
  2020-04-07 18:06 ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
  0 siblings, 2 replies; 11+ messages in thread

From: Abhinav, Kumar @ 2020-03-30 10:05 UTC (permalink / raw)
  To: pgsql-odbc; +Cc: Ebadi, Abdul <abdul.ebadi@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>

Hi Team,

Our PostgreSQL server  is on Azure and the version is 11.5 on linux . We want to create a db link from oracle server . We have a question .

  1.  Which version of ODBC driver we have to install . Do PostgreSQL has 11.5 ODBC ? Can we use the ODBC version 9 for our 11.5 version PostgreSQL . Will it work?

Warm Regards
Kumar Abhinav
DBA
918147858803.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.

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

* Re: Postgresql-ODBC
  2020-03-30 10:05 Postgresql-ODBC Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
@ 2020-03-30 16:36 ` Clemens Ladisch <clemens@ladisch.de>
  1 sibling, 0 replies; 11+ messages in thread

From: Clemens Ladisch @ 2020-03-30 16:36 UTC (permalink / raw)
  To: pgsql-odbc@lists.postgresql.org

Abhinav, Kumar wrote:
> Which version of ODBC driver we have to install .

The network protocol is the same.
You should use the latest version of the ODBC driver (currently 12.01) to get all bugfixes.


Regards,
Clemens





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

* RE: Postgresql-ODBC
  2020-03-30 10:05 Postgresql-ODBC Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
@ 2020-04-07 18:06 ` Ebadi, Abdul <abdul.ebadi@centurylink.com>
  2020-04-07 21:28   ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
  1 sibling, 1 reply; 11+ messages in thread

From: Ebadi, Abdul @ 2020-04-07 18:06 UTC (permalink / raw)
  To: Abhinav, Kumar <Kumar.Abhinav@centurylink.com>; pgsql-odbc; Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.com>; Santiago Simosis <Santiago.Simosis@amdocs.com>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>

Adding Jose and Santiago to see if we can get some help on this issue from Amdocs (trying to create db link from oracle to postgres).  See details of odbc version issue below...

FYI Kumar is our offshore CTL Postgres DBA.

Thanks,
Abdul

From: Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
Sent: Monday, March 30, 2020 4:06 AM
To: pgsql-odbc@postgresql.org
Cc: Ebadi, Abdul <abdul.ebadi@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>
Subject: Postgresql-ODBC

Hi Team,

Our PostgreSQL server  is on Azure and the version is 11.5 on linux . We want to create a db link from oracle server . We have a question .

  1.  Which version of ODBC driver we have to install . Do PostgreSQL has 11.5 ODBC ? Can we use the ODBC version 9 for our 11.5 version PostgreSQL . Will it work?


Warm Regards
Kumar Abhinav
DBA
918147858803.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.

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

* RE: Postgresql-ODBC
  2020-03-30 10:05 Postgresql-ODBC Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
  2020-04-07 18:06 ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
@ 2020-04-07 21:28   ` Ebadi, Abdul <abdul.ebadi@centurylink.com>
  2020-04-09 13:17     ` RE: Postgresql-ODBC Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.com>
  0 siblings, 1 reply; 11+ messages in thread

From: Ebadi, Abdul @ 2020-04-07 21:28 UTC (permalink / raw)
  To: Abhinav, Kumar <Kumar.Abhinav@centurylink.com>; pgsql-odbc; Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.com>; Santiago Simosis <Santiago.Simosis@amdocs.com>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>; Perambur Subramanian, Saravanan <saravanan.perambursubramanian@centurylink.com>

Forgot to include Saravanan earlier...

From: Ebadi, Abdul
Sent: Tuesday, April 7, 2020 12:06 PM
To: Abhinav, Kumar <Kumar.Abhinav@centurylink.com>; pgsql-odbc@postgresql.org; Joseraul.DaConceicao@amdocs.com; Santiago Simosis <Santiago.Simosis@amdocs.com>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>
Subject: RE: Postgresql-ODBC

Adding Jose and Santiago to see if we can get some help on this issue from Amdocs (trying to create db link from oracle to postgres).  See details of odbc version issue below...

FYI Kumar is our offshore CTL Postgres DBA.

Thanks,
Abdul

From: Abhinav, Kumar <Kumar.Abhinav@centurylink.com<mailto:Kumar.Abhinav@centurylink.com>>
Sent: Monday, March 30, 2020 4:06 AM
To: pgsql-odbc@postgresql.org<mailto:pgsql-odbc@postgresql.org>
Cc: Ebadi, Abdul <abdul.ebadi@centurylink.com<mailto:abdul.ebadi@centurylink.com>>; Hass, Sandy <Sandy.Hass@CenturyLink.com<mailto:Sandy.Hass@CenturyLink.com>>
Subject: Postgresql-ODBC

Hi Team,

Our PostgreSQL server  is on Azure and the version is 11.5 on linux . We want to create a db link from oracle server . We have a question .

  1.  Which version of ODBC driver we have to install . Do PostgreSQL has 11.5 ODBC ? Can we use the ODBC version 9 for our 11.5 version PostgreSQL . Will it work?


Warm Regards
Kumar Abhinav
DBA
918147858803.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.

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

* RE: Postgresql-ODBC
  2020-03-30 10:05 Postgresql-ODBC Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
  2020-04-07 18:06 ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
  2020-04-07 21:28   ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
@ 2020-04-09 13:17     ` Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Jose Raul Da Conceicao @ 2020-04-09 13:17 UTC (permalink / raw)
  To: Ebadi, Abdul <abdul.ebadi@centurylink.com>; Abhinav, Kumar <Kumar.Abhinav@centurylink.com>; pgsql-odbc; Hass, Sandy <Sandy.Hass@CenturyLink.com>; Perambur Subramanian, Saravanan <saravanan.perambursubramanian@centurylink.com>; +Cc: Santiago Simosis <Santiago.Simosis@amdocs.com>; Nicholas Vidamour <Nicholas.Vidamour@amdocs.com>; Andriy Gupalenko <Andriy.Gupalenko@amdocs.com>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com>

Hi Abdul, good day,

Please see below the feedback from our DBA

You can  just install on host with Oracle database:


$ yum install postgresql-odbc

$ yum list installed|grep -i odbc

postgresql-odbc.x86_64           09.03.0100-2.el7            @RHEL-7.5-x86_64

unixODBC.x86_64                  2.3.1-11.el7                @RHEL-7.5-x86_64

It should automatically configure the psqlODBC driver libraries in ODBC Driver file odbcinst.ini.
Like:

# more /etc/odbcinst.ini

# Example driver definitions



# Driver from the postgresql-odbc package

# Setup from the unixODBC package

[PostgreSQL]

Description     = ODBC for PostgreSQL

Driver          = /usr/lib/psqlodbcw.so

Setup           = /usr/lib/libodbcpsqlS.so

Driver64        = /usr/lib64/psqlodbcw.so

Setup64         = /usr/lib64/libodbcpsqlS.so

FileUsage       = 1

And go on with a Data Source Name (DSN) configuration in the odbc.ini

Please let us know if this works on your end and if you have any additional questions.

Regards,
Jose Raul Da ConceiƧao
Amdocs Optima

+56-977018407 (Mobile + IM)

[amdocs-2017-brand-mark-rgb]

From: Ebadi, Abdul <abdul.ebadi@centurylink.com>
Sent: Tuesday, April 7, 2020 5:28 PM
To: Abhinav, Kumar <Kumar.Abhinav@centurylink.com>; pgsql-odbc@postgresql.org; Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.com>; Santiago Simosis <Santiago.Simosis@amdocs.com>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com>; Hass, Sandy <Sandy.Hass@CenturyLink.com>; Perambur Subramanian, Saravanan <saravanan.perambursubramanian@centurylink.com>
Subject: RE: Postgresql-ODBC

Forgot to include Saravanan earlier...

From: Ebadi, Abdul
Sent: Tuesday, April 7, 2020 12:06 PM
To: Abhinav, Kumar <Kumar.Abhinav@centurylink.com<mailto:Kumar.Abhinav@centurylink.com>>; pgsql-odbc@postgresql.org<mailto:pgsql-odbc@postgresql.org>; Joseraul.DaConceicao@amdocs.com<mailto:Joseraul.DaConceicao@amdocs.com>; Santiago Simosis <Santiago.Simosis@amdocs.com<mailto:Santiago.Simosis@amdocs.com>>; Iyer, Sangeetha <sangeetha.iyer@centurylink.com<mailto:sangeetha.iyer@centurylink.com>>; Hass, Sandy <Sandy.Hass@CenturyLink.com<mailto:Sandy.Hass@CenturyLink.com>>
Subject: RE: Postgresql-ODBC

Adding Jose and Santiago to see if we can get some help on this issue from Amdocs (trying to create db link from oracle to postgres).  See details of odbc version issue below...

FYI Kumar is our offshore CTL Postgres DBA.

Thanks,
Abdul

From: Abhinav, Kumar <Kumar.Abhinav@centurylink.com<mailto:Kumar.Abhinav@centurylink.com>>
Sent: Monday, March 30, 2020 4:06 AM
To: pgsql-odbc@postgresql.org<mailto:pgsql-odbc@postgresql.org>
Cc: Ebadi, Abdul <abdul.ebadi@centurylink.com<mailto:abdul.ebadi@centurylink.com>>; Hass, Sandy <Sandy.Hass@CenturyLink.com<mailto:Sandy.Hass@CenturyLink.com>>
Subject: Postgresql-ODBC

Hi Team,

Our PostgreSQL server  is on Azure and the version is 11.5 on linux . We want to create a db link from oracle server . We have a question .

  1.  Which version of ODBC driver we have to install . Do PostgreSQL has 11.5 ODBC ? Can we use the ODBC version 9 for our 11.5 version PostgreSQL . Will it work?


Warm Regards
Kumar Abhinav
DBA
918147858803.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service;

Attachments:

image001.png (image/png, 3.7K) download view image
^ permalink raw reply [nested|flat] 11+ messages in thread


end of thread, other threads:[~2020-04-09 13:17 UTC | newest]

Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-05-30 14:57 postgreSQL ODBC Erick Murray <murray@espace-strategie.com>
2001-06-06 05:13 ` Cedar Cox <cedarc@visionforisrael.com>
2001-09-10 23:45 postgresql ODBC allan d. go <batusaix@pacific.net.ph>
2003-01-30 15:53 Postgresql & ODBC Art Fore <afore@sonic.net>
2003-01-31 21:16 ` Re: Postgresql & ODBC Giuliano Gavazzi <dev +pgsql@humph.com>
2017-07-22 03:45 postgresql odbc Malik Al-RaWahi <malik_alrawahi@hotmail.com>
2020-03-30 10:05 Postgresql-ODBC Abhinav, Kumar <Kumar.Abhinav@centurylink.com>
2020-03-30 16:36 ` Re: Postgresql-ODBC Clemens Ladisch <clemens@ladisch.de>
2020-04-07 18:06 ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
2020-04-07 21:28   ` RE: Postgresql-ODBC Ebadi, Abdul <abdul.ebadi@centurylink.com>
2020-04-09 13:17     ` RE: Postgresql-ODBC Jose Raul Da Conceicao <Joseraul.DaConceicao@amdocs.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