Re: [HACKERS] A portable code question
Assuming you're using file streams to write to the pipe, fflush() will do the trick. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:20 PM To: pgsql hackers list Subject: [HACKERS] A portable code question In the little fix I came up with for psql last night, I need to be able to ensure that something sent to a pipe (and then to stdout) completes before issuing the prompt directly to stdout. I did this with: system ('sleep 1');, but I'm fairly sure that is not portable nor does it ENSURE completion. What's the proper way to do this? And what's a good book on writing portable code? -- Mike Nolan ---(end of broadcast)--- TIP 8: explain analyze is your friend ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings
[HACKERS] Multi Table Indexes
Greetings Hackers- I have an interest in developing better OO support in PostgreSQL, and have done some preliminary research in the archives and TODO list. It appears that this topic hasn't gotten much traffic in a while, so I thought I'd test the waters. What do the gurus here think of implementing multi-table indexes as a vehicle toward better inheritance of keys? Perhaps someone here who is more familiar with the code tree can comment on the magnitude of this addition. Thanks, -Ben Minshall Benjamin Minshall [EMAIL PROTECTED] Senior Developer -- Intellicon, Inc. http://www.intellicon.biz/ ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])
[HACKERS] Multi-Table Indexes
Greetings Hackers- I have an interest in developing better OO support in PostgreSQL, and have done some preliminary research in the archives and TODO list. It appears that this topic hasn't gotten much traffic in a while, so I thought I'd test the waters. What do the gurus here think of implementing multi-table indexes as a vehicle toward better inheritance of keys? Perhaps someone here who is more familiar with the code tree can comment on the magnitude of this addition. Thanks, -Ben Minshall ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])