Help Center/ Data Warehouse Service/ FAQs/ Database Use/ How Do I View GaussDB(DWS) Foreign Table Information?
Updated on 2025-06-12 GMT+08:00
How Do I View GaussDB(DWS) Foreign Table Information?
To query information about OBS/GDS foreign tables such as OBS paths, run the following statement:
1 | SELECT * FROM pg_get_tabledef ('foreign_table_name') |
The following uses table traffic_data.GCJL_OBS as an example:
1 | SELECT * FROM pg_get_tabledef('traffic_data.GCJL_OBS'); |

Parent topic: Database Use
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.