Skip to content

tds-fdw/rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tds_fdw

CentOS/RH/Amazon RPMs for tds_fdw https://github.com/tds-fdw/tds_fdw and postgresql 9.3.4 or later

Tested on CentOS 7, Rocky Linux 8 x86_64 and openSUSE Leap 15.5. Should work for other RPM base distributions such as Amazon Linux

tds_fdw is a PostgreSQL foreign data wrapper that can connect to databases that use the Tabular Data Stream (TDS) protocol, such as Sybase databases and Microsoft SQL server.

It does not yet support write operations, as added in PostgreSQL 9.3.

PostgreSQL versions that the SPEC can support

  • 9.3 >= 9.3.4 (EoL and not maintained by tds_fdw upstream anymore)
  • 9.4 >= 9.4.1 (EoL and not maintained by tds_fdw upstream anymore)
  • 9.5 >= 9.5.1 (EoL and not maintained by tds_fdw upstream anymore)
  • 9.6 >= 9.6.1 (EoL and not maintained by tds_fdw upstream anymore)
  • 10 >= 10.0 (EoL and not maintained by tds_fdw upstream anymore)
  • 11 >= 11.0 (EoL and not maintained by tds_fdw upstream anymore)
  • 12 >= 12.0
  • 13 >= 13.0
  • 14 >= 14.0
  • 15 >= 15.0
  • 16 >= 16.0

Requirements

To build:

  • freetds-devel
  • gcc
  • Git
  • make
  • rpmbuild

And:

  • postgresql[version]-devel

Being [version] one of: 93, 94, 95, 96, 10, 11, 12, 13, 14, 15, or 16

To install the RPM for PostgreSQL

  • freetds >= 0.91

And:

  • postgresql[version]
  • postgresql[version]-server
  • postgresql[version]-libs

Being [version] one of: 93, 94, 95, 96, 10, 11, 12, 13, 14, 15 or 16

Building fresh RPMs

Clone the repo:

git@github.com:juliogonzalez/tds_fdw-rpm.git
cd tds_fdw-rpm

Build the tds_fdw RPM

Build the RPMs for with:

./tds-fdw_rpm -p [version]

Where [version] is one of: 9.3, 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, or 16

And install with

rpm -Uvh RPMS/$HOSTTYPE/postgresql-[version]-tds_fdw-*.*.$HOSTTYPE.rpm

Where [version] is one of: 9.3, 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, or 16