Skip site navigation (1) Skip section navigation (2)

SQLPrimaryKeys

From: Stephen Davies <scldad(at)sdc(dot)com(dot)au>
To: PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>, PostgreSQL general <pgsql-general(at)postgreSQL(dot)org>
Subject: SQLPrimaryKeys
Date: 1998-09-19 07:33:17
Message-ID: 199809190733.RAA23325@mustang.sdc.com.au (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-interfaces
Hello again.

Does the SQLPrimaryKeys facility work with 6.3.2 and ODBC 6.30.0249?

If so, could someone please send me the declaration and a sample of usage.

If not, how else can I determine which columns comprise a unique key of a 
PostgreSQL table via ODBC?

(I can successfully access other functions such as SQLColumns. It is just 
SQLPrimaryKeys that is causing me grief at the moment.)

Cheers and thanks,
Stephen.



========================================================================
Stephen Davies Consulting	    		                            scldad(at)sdc(dot)com(dot)au
Adelaide, South Australia.     			                            Voice: 61-8-82728863
Computing & Network solutions.	 	                            Fax: 61-8-82741015



Responses

pgsql-interfaces by date

Next:From: Neil DarlowDate: 1998-09-20 19:35:45
Subject: Core Dumps with libpgtcl.
Previous:From: Matthew ListeDate: 1998-09-19 01:55:04
Subject: postgres process grows.

pgsql-general by date

Next:From: Christopher AkritidesDate: 1998-09-20 17:23:21
Subject: BSDI 2.1, postgresql-6.3.2 HELP!!!
Previous:From: Carilda A. ThomasDate: 1998-09-18 21:59:56
Subject: Re: "don't know how to print type 715"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group