Re: Check the existance of temporary table
От | Martin Gainty |
---|---|
Тема | Re: Check the existance of temporary table |
Дата | |
Msg-id | BAY133-DAV980F324FFC1159F12BBF7AE680@phx.gbl обсуждение исходный текст |
Ответ на | Check the existance of temporary table ("dfx" <dfx@dfx.it>) |
Список | pgsql-general |
Domenico- Assuming your schema will be pg_temp_1 vi InitialTableDisplayStatements.sql select * from pg_tables where pg_namespace = 'pg_temp1'; /usr/local/pgsql/bin/psql -f InitialTableDisplayStatements.sql -U username -h dbname -p Port > db.out then write a quick java app to parse the db.out contents for 'Temp' Ciao- M-- --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressedand may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you arenot the intended recipient, you are notified that any dissemination, distribution or copying of this communication isstrictly prohibited. --------------------------------------------------------------------------- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiquéet peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document,nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. ----- Original Message ----- From: "dfx" <dfx@dfx.it> To: <pgsql-general@postgresql.org> Sent: Sunday, March 25, 2007 8:32 AM Subject: [GENERAL] Check the existance of temporary table > Dear Sirs, > > how I can check the existance of temporary table? > I.e. wich query I have to use to know if MY_TEMP_TABLE exists? > > IF EXISTS(??? query ???) THEN > > Thank you in advance > > Domenico > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >
В списке pgsql-general по дате отправления: