1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

A little reformatting for better print appearance.

This commit is contained in:
Peter Eisentraut
2001-10-31 20:39:30 +00:00
parent 8e144b09ae
commit d63805a469
3 changed files with 51 additions and 47 deletions

View File

@@ -2821,11 +2821,13 @@ execq(text *sql, int cnt)
Now, compile and create the function:
<ProgramListing>
CREATE FUNCTION execq (TEXT, INT4) RETURNS INT4 AS '...path_to_so' LANGUAGE 'c';
CREATE FUNCTION execq (text, integer) RETURNS integer
AS '...path_to_so'
LANGUAGE C;
</ProgramListing>
<ProgramListing>
vac=> SELECT execq('CREATE TABLE a (x INT4)', 0);
vac=> SELECT execq('CREATE TABLE a (x INTEGER)', 0);
execq
-----
0