![]() ![]() You can view the properties of the default template1 template using the following psql meta-command: \l template1. In such cases, please notify us immediately at info(dot)in(at)infics(dot)com and delete this email from your records. CREATE DATABASE dbname This will create a database called dbname on the current server with the current user set as the new database's owner using the default database settings. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. Tel +91-80-5193-0000| Fax +91-80-51930009 | Cell No +91-9986463365|Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. Infinite Computer Solutions | Exciting Times.Infinite Possibilities. Please tel me.because im the new one for postgreSQL. How access table from one server to another server? I have 2 servers access i.e local and mainserver. Now i am in PAO database.now i want access table 'activity' in schema 'cas' in CAS database. PAO contains 3 schemas named Public,pao,stsĬAS contains 4 schemas named Public,cao,sts,reports Subject: How to access table from one database to another database To: pgadmin-support(at)postgresql(dot)org pgsql-admin-owner(at)postgresql(dot)org You may wish to spend some time re-thinking the structure of your DB system. inserts tells it to use the INSERT() syntax which otherwise would not work for me :(then, on the new server, simpy: sudo su - postgres psql newdatabasename < dump. also i had to use -c to force the creation of the database on the new server. The best way to keep data separate, yet give your users access to the uniqueness of a separate structure, is to create different schemas. I had to use the postgres linux user to create the dump. ![]() You should never design a database structure that requires you to access a completely different database. Those who actually know how to do proper design?Īs an aside, Vivekananda, your questions (all of the recent ones) belong on the pgsql maillistĪnd not on the pgadmin maillist and you shouldn't be emailing the The query, but that takes a lot more time and effort for a one timeĪs food for thought, do you think dblink was created for idiots whoĭon't know how to design a database and it has no real purpose for You might think it is better to move the data together before running I don't think it has anything to do with design. Query against databases on different databases or servers. I can think of numerous examples where someone might want to run a
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |